query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
TODO Autogenerated method stub /getSupportFragmentManager().beginTransaction() .replace(R.id.detail_frame, fragment,"News_SKVK").addToBackStack(null).commit();
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { getActivity().getActionBar(); mRoot = inflater.inflate(R.layout.mopwheathome, null); mTabHost = (FragmentTabHost)mRoot.findViewById(android.R.id.tabhost); mTabHost.setup(getActivity(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View v) {\n CompteEnsg nextFrag = new CompteEnsg();\n getActivity().getFragmentManager().beginTransaction()\n .replace(R.id.content_frame, nextFrag, \"TAG_FRAGMENT\")\n .addToBackStack(null)\n ...
[ "0.72344387", "0.69688666", "0.6968817", "0.69378304", "0.6902663", "0.6900973", "0.6870499", "0.67988604", "0.6793345", "0.67597723", "0.67586386", "0.67317414", "0.67273283", "0.6716356", "0.6628445", "0.6573508", "0.65374863", "0.64510447", "0.6450377", "0.6428224", "0.640...
0.0
-1
TODO Autogenerated method stub /InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Activity.INPUT_METHOD_SERVICE); imm.toggleSoftInput(InputMethodManager.HIDE_IMPLICIT_ONLY, 0);
@Override public void onTabChanged(String tabId) { for(int i=0;i<mTabHost.getTabWidget().getChildCount();i++) { mTabHost.getTabWidget().getChildAt(i).setBackgroundColor(Color.parseColor("#96E0D2")); } mTabHost.getTabWidget().getChildAt(Integer.parseInt(tabId)).setBackgroundCol...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void hideSoftKeyboard(){\n InputMethodManager imm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);\n imm.hideSoftInputFromWindow(view.getWindowToken(), 0);\n // imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, InputMethodManager.HIDE_IMPLICIT_ONLY);\n ...
[ "0.818005", "0.80555844", "0.78742856", "0.782863", "0.7775774", "0.7731705", "0.76832104", "0.76426154", "0.7642004", "0.75618863", "0.7476846", "0.7475574", "0.74635553", "0.739553", "0.73675025", "0.73430145", "0.7259107", "0.7236833", "0.7188352", "0.7187892", "0.71744275...
0.0
-1
generating the jobs to the HDD
public void genaratePCB() { while (HDD > 0) { nJobs++; PCB k = new PCB(nJobs); k.setBasedOnSize(true); HDDQ.add(k); HDD -= k.getSize(); sizeJ += k.getSize(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void generateTasks() {\r\n int tasks = Integer.parseInt(this.getProperty(\"numTask\", \"1000\"));\r\n setNumOfTasks(tasks);\r\n //TODO:fixed port here !!!! need to change!!!\r\n serverPort = Integer.parseInt(this.getProperty(\"reqServerPort\", \"5560\")); ...
[ "0.67839026", "0.6228215", "0.60409784", "0.5933338", "0.59258074", "0.5899096", "0.5858369", "0.58535945", "0.58158326", "0.57834584", "0.56976897", "0.56863827", "0.5668336", "0.56637883", "0.56589174", "0.56427324", "0.56407666", "0.56316465", "0.562847", "0.5622011", "0.5...
0.6013406
3
removing the jobs from HDD to Ram
public void ToRam() { while (ram > 0) { if (HDDQ.isEmpty()) { break; } PCB k = HDDQ.remove(); k.setBasedOnSize(false); RAMQ.add(k); ram -= k.getSize(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeJob(int jNo);", "void destroy() {\n \t\ttry {\r\n \t\t\tupKeep.stopRunning();\r\n \t\t} catch (InterruptedException e) {\r\n \t\t}\r\n \r\n \t\t// Kill all running processes.\r\n \t\tfor (MaximaProcess mp : pool) {\r\n \t\t\tmp.kill();\r\n \t\t}\r\n \t\tpool.clear();\r\n \r\n \t\t// Kill all us...
[ "0.64199436", "0.62654036", "0.60693586", "0.6027427", "0.6015852", "0.591459", "0.5912258", "0.5885632", "0.58541995", "0.5844955", "0.58102655", "0.57816786", "0.5770546", "0.57326627", "0.5715188", "0.57098126", "0.5681323", "0.56777287", "0.5673245", "0.5663424", "0.56621...
0.56424856
23
checking if an interrupt happened
public Boolean IsInterrupt() { Random r = new Random(); int k = r.nextInt(100); //10% if (k <= 10) { return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isInterruptible();", "public boolean isInterruptible() {\n/* 31 */ return true;\n/* */ }", "private void checkForIOInterrupt() {\r\n\t\t// If there is no interrupt to process, do nothing\r\n\t\tif (m_IC.isEmpty()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t// Retreive the interrupt data...
[ "0.7755758", "0.74252075", "0.7270287", "0.713674", "0.7063796", "0.69149303", "0.67383176", "0.6707289", "0.6589893", "0.64622927", "0.64368296", "0.64314973", "0.63853323", "0.6339417", "0.6262144", "0.61953336", "0.61063975", "0.60757995", "0.59577745", "0.5939045", "0.590...
0.6843923
6
checking if an IO request happened
public Boolean IsIOrequest() { Random r = new Random(); int k = r.nextInt(100); //20% if (k <= 20) { return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void checkOpen() throws IOException {\n if (this.stopRequested.get() || this.abortRequested) {\n throw new IOException(\"Server not running\");\n }\n if (!fsOk) {\n throw new IOException(\"File system not available\");\n }\n }", "protected void checkForFirstRequest() throw...
[ "0.6673379", "0.6547962", "0.6324346", "0.6157006", "0.6157006", "0.6157006", "0.6157006", "0.6157006", "0.6157006", "0.6157006", "0.6157006", "0.6157006", "0.6157006", "0.61237186", "0.6031521", "0.5931946", "0.59264845", "0.59252954", "0.59206694", "0.585966", "0.5850759", ...
0.7236481
0
checking if IO terminated happened
public Boolean IsIOtrminate() { Random r = new Random(); int k = r.nextInt(100); //20% if (k <= 20) { return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void checkOpen() throws IOException {\n if (this.stopRequested.get() || this.abortRequested) {\n throw new IOException(\"Server not running\");\n }\n if (!fsOk) {\n throw new IOException(\"File system not available\");\n }\n }", "boolean isTerminated();", "boolean isFile...
[ "0.64848506", "0.6411939", "0.6358648", "0.6003718", "0.59872824", "0.5948427", "0.5939527", "0.58241093", "0.5768767", "0.5766752", "0.57411325", "0.57375294", "0.57299125", "0.5722212", "0.57151383", "0.5709597", "0.5689567", "0.5683109", "0.5682535", "0.56573105", "0.56466...
0.0
-1
checking if the job terminated normally happened
public Boolean IsNormally() { Random r = new Random(); int k = r.nextInt(100); //5% if (k <= 5) { normally++; return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isTerminated();", "boolean isMonitoringTerminated();", "boolean isDone(long number) throws NoSuchJobException;", "protected boolean isFinished() {\n return Math.abs(pid.getError()) < 0.25;\n }", "public boolean killJob(Job job) {\n\t\tProcess process = jobProcesses.get(job);\n\t\tif (proc...
[ "0.7145616", "0.70984507", "0.6815474", "0.6600845", "0.65745497", "0.64722407", "0.6407827", "0.63345236", "0.6310814", "0.63070154", "0.627838", "0.6269326", "0.6207064", "0.61793303", "0.6164945", "0.61306983", "0.61246264", "0.6120175", "0.612", "0.61089766", "0.6104418",...
0.0
-1
//checking if the job terminated Abnormally happened
public Boolean IsAbnormally() { Random r = new Random(); int k = r.nextInt(100); //1% if (k <= 1) { abnormally++; return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isTerminated();", "public boolean killJob(Job job) {\n\t\tProcess process = jobProcesses.get(job);\n\t\tif (process == null) { \n\t\t\tlogger.info(\"Attempt to kill unknown job (already finished?): \"\n\t\t\t\t+ job);\n\t\t\treturn true;\n\t\t}\n\t\ttry {\n\t\t\tprocess.exitValue();\n\t\t\tlogger.info(\"...
[ "0.7122118", "0.694067", "0.68479514", "0.6634365", "0.6631918", "0.6433538", "0.6407004", "0.6400621", "0.6370217", "0.63373405", "0.63238525", "0.62868726", "0.6266291", "0.6179069", "0.61749715", "0.61712116", "0.6151066", "0.61418617", "0.6125113", "0.6125113", "0.6125113...
0.0
-1
method to receive the broaddcast send a popup to display message
@Override public void onReceive(Context context, Intent intent) { Toast.makeText(context, "Broadcast Received", Toast.LENGTH_LONG).show(); /* first param is the context second param is message to display third param is the duration to display the message */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean onMessageBubbleClick(EMMessage message);", "@Override\n\t\tpublic void handleMessage(Message msg) {\n\t\t\tsuper.handleMessage(msg);\n\t\t\tswitch(msg.what){\n\t\t\tcase 0:\n\t\t\t\t//打开常用面板广播\n\t\t\t\tIntent openIntent = new Intent(\"android.touch.action.TOUCH_PANEL_OPEN\");\n\t\t\t\topenIntent.putExtra...
[ "0.6177769", "0.6046681", "0.60179", "0.60097927", "0.5992784", "0.59559876", "0.5923466", "0.5900184", "0.5885291", "0.5881776", "0.5861869", "0.58216316", "0.58074737", "0.57980645", "0.5798006", "0.5785179", "0.5767512", "0.5735923", "0.57358706", "0.571683", "0.57051426",...
0.0
-1
Constructor that reads in a DataSet to initialize
public AreaChart(DataSet inputdataset) { super.setDataset(inputdataset); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DataSet() {\r\n \r\n }", "public DataSet(){\r\n\t\tdocs = Lists.newArrayList();\r\n//\t\t_docs = Lists.newArrayList();\r\n\t\t\r\n\t\tnewId2trnId = HashBiMap.create();\r\n\t\t\r\n\t\tM = 0;\r\n\t\tV = 0;\r\n\t}", "public DataSet() {\n labels = new HashMap<>();\n locations = new H...
[ "0.7981028", "0.74318755", "0.7385203", "0.7228956", "0.7117705", "0.6959947", "0.6926828", "0.69054705", "0.6897583", "0.68227595", "0.6701771", "0.6633735", "0.6613703", "0.66027045", "0.6465125", "0.6438546", "0.63986206", "0.63635945", "0.636011", "0.63179606", "0.6308157...
0.0
-1
Method that creates the area chart
public JFreeChart MakeChart() { DefaultCategoryDataset areaDataset = new DefaultCategoryDataset(); Object[] column1Data = super.getDataset().GetColumnData( super.getAttribute1()); Object[] column2Data = super.getDataset().GetColumnData( super.getAttribute2()); String column2Header = super.getData...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PlotAreaType createPlotAreaType();", "public AreaChart(DataSet inputdataset) {\n\t\tsuper.setDataset(inputdataset);\n\t}", "AREA createAREA();", "public Rectangle getChartArea() {\n return chartArea;\n }", "public AreaRenderer() {\n\t\tsuper();\n\t\tthis.endType = AreaRendererEndType.TAPER;\n\t}"...
[ "0.7139235", "0.6688046", "0.6643608", "0.6449961", "0.63709074", "0.62746215", "0.624772", "0.62017655", "0.62017655", "0.62017655", "0.6162636", "0.6118251", "0.60937494", "0.6082745", "0.6058724", "0.6058724", "0.60376436", "0.5999511", "0.59941983", "0.59941983", "0.59941...
0.6615951
3
Unit test used to test AreaChart class.
public static void main(String args[]){ DataSet testdataset = new DataSet(); File inputfile = new File("test.csv"); testdataset.BuildDataSet(inputfile); System.out.println("AreaChart:: AreaChart()"); AreaChart testAreaChart = new AreaChart(testdataset); System.out.println("AreaChart::BarChart()- Test Pas...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void CanvasChartTest() {\n }", "public void testArea () throws Exception {\n AreaClient client = new AreaClient();\n double area = client.areaCircle(4.0);\n assertEquals (50.265, area, .5);\n }", "public void testAreaInfo()\n\t{\n\t\tGameArea ga = new GameArea();\n\t\tga....
[ "0.7519652", "0.67401844", "0.67012835", "0.6504268", "0.63818157", "0.63695157", "0.6307687", "0.6299313", "0.626453", "0.6257743", "0.6250851", "0.6235142", "0.6198026", "0.6171572", "0.61484796", "0.61473674", "0.6130302", "0.612896", "0.61150783", "0.6109462", "0.6097738"...
0.68451244
1
closing main method calculating the MWST, implementing algorithm from Weiss textbook
public static void mwst() { for (int i = 0; i < mwst1.length; i++) { double min = mwst1[i].weight; int minCheck = i; for (int j = i + 1; j < mwst1.length; j++) { if ((double) mwst1[j].weight < min) { min = mwst1[j].weight; minCheck = j; } } if (minCheck != i) { Edge e = mwst1[mi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int calculateMST();", "private void computeWeights(double w_m) {\n\t\t// Initialise\n\t\tdouble m = Math.floor(lambda);\n\t\tif (!flag) return;\n\t\t\n\t\t// Down\n\t\tint j = (int) m;\n\t\twhile (j > leftTruncation) {\n\t\t\tweights[j-1-leftTruncation] = (j / lambda) * weights[j-leftTruncation];\n\t\t\tj = j - ...
[ "0.68078524", "0.6219735", "0.616725", "0.6130699", "0.58661354", "0.58267015", "0.57282275", "0.5625566", "0.5600303", "0.5580203", "0.5574053", "0.55024546", "0.549171", "0.54828507", "0.5471693", "0.5469787", "0.54508257", "0.54469126", "0.5430148", "0.5409281", "0.5388952...
0.62704414
1
method to convert list of edges into an array list
public static Edge[] listToArray(ArrayList<Edge> list){ Edge[] EdgeAry = new Edge[list.size()]; for (int i = 0; i < list.size(); i++) { EdgeAry[i] = list.get(i); } return EdgeAry; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Edge<V>> getEdgeList();", "ArrayList<Edge> getAdjacencies();", "List<CyEdge> getInternalEdgeList();", "public abstract ArrayList<Pair<Vector2, Vector2>> getEdges();", "java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge> \n getEdgeList();", "@Override\n\tpublic List<ET...
[ "0.68267655", "0.66469806", "0.6573727", "0.64886767", "0.64739484", "0.64628357", "0.64479584", "0.6389622", "0.63760597", "0.63632286", "0.63588035", "0.6350646", "0.6297592", "0.620353", "0.6188558", "0.61483413", "0.61252755", "0.6110632", "0.60882485", "0.60307497", "0.6...
0.754946
0
Services from sample data: service_id, owner_id, user_name 1;102;"fforgeadmin" 2;102;"fforgeadmin"
@Test public void testInsertSharedService () { ArrayList<SharedService> sharedServicesBefore = given(). header("AJP_eppn", userEPPN). expect(). statusCode(200). when(). ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "net.zyuiop.ovhapi.api.objects.services.Service getServiceNameServiceInfos(java.lang.String serviceName) throws java.io.IOException;", "List<ServiceSegmentModel> queryServiceSegments(@Param(\"serviceId\") String serviceId);", "public void setService (String service) {\n\t this.service = service;\n\t}", "p...
[ "0.5487799", "0.54206705", "0.5317089", "0.5270241", "0.5154535", "0.5129795", "0.5129795", "0.5129795", "0.5086941", "0.5055299", "0.50454307", "0.5003394", "0.49882248", "0.49881265", "0.4983649", "0.49731606", "0.49670827", "0.49668252", "0.4938548", "0.49261904", "0.49232...
0.0
-1
/change color on "read" item name, time read /on notification read color will be back to normal using read flag
@Override public void onBackPressed() { databaseReference.addValueEventListener(new ValueEventListener() { com.dineout.code.admin.NotificationClass notification; @Override public void onDataChange(@NonNull DataSnapshot dataSnapshot) { for (DataSnapshot ds...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void updateTextColor() {\n if (mLauncher == null) {\n return;\n }\n ItemInfo info = (ItemInfo) getTag();\n if (info == null || mSupportCard) {\n return;\n }\n int color = getDyncTitleColor(info);\n mIconTitleColor = color;\n setP...
[ "0.590944", "0.57488084", "0.5664485", "0.563209", "0.5524987", "0.5494769", "0.543124", "0.54305947", "0.5371686", "0.5346938", "0.52966326", "0.529276", "0.5235452", "0.5227482", "0.5219421", "0.5218877", "0.5203313", "0.5196161", "0.5193837", "0.5186806", "0.51500404", "...
0.0
-1
Fall back to class name as cache key, for backwards compatibility with custom callers.
private InjectionMetadata findReferenceMetadata(String beanName, Class<?> clazz, PropertyValues pvs) { String cacheKey = (StringUtils.hasLength(beanName) ? beanName : clazz.getName()); // Quick check on the concurrent map first, with minimal locking. ReferenceInjectionMetadata metadata = this.in...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getClassNameKey() {\n\t\treturn CLASS_NAME_KEY;\n\t}", "public static String getCacheClassName( ) {\n return CACHE_CLASS_NAME;\n }", "default String getKey() {\n return key(getClassName(), getName());\n }", "protected abstract CacheKey getCacheKey(CacheKey cache...
[ "0.6826894", "0.6542121", "0.6520929", "0.64099216", "0.6384606", "0.6180157", "0.616486", "0.61605555", "0.6078432", "0.6058492", "0.59171253", "0.58618087", "0.5840191", "0.5762291", "0.57397664", "0.57300216", "0.5691929", "0.5669035", "0.5654489", "0.56507415", "0.5648129...
0.0
-1
Get current assigned users to a team
public static UITeamUsers getUITeamUsers(String unitID) { UITeamUsers uiTeamUsers = new UITeamUsers(); uiTeamUsers.makeTransient(); uiTeamUsers.setUnitID(unitID); UITeamUsers.Assignments assignments = new UITeamUsers.Assignments(); uiTeamUsers.setAssignmentsObject(assig...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GET\n @Path(\"Current/Team\")\n public Response findTeamsByCurrentUser() {\n Response r = Response.noContent().build();\n Collection<Team> teamsToReturn = new ArrayList<>();\n User currentUser = userFacade.getCurrentUser();\n final List<Player> players = currentUser.getPlayers();...
[ "0.6341172", "0.6224509", "0.6224264", "0.61895543", "0.6146746", "0.609734", "0.60915977", "0.5973124", "0.5960806", "0.5945739", "0.5920836", "0.5899917", "0.5895883", "0.5884465", "0.5859353", "0.58336794", "0.5774156", "0.5718153", "0.56804997", "0.5660252", "0.5660252", ...
0.52422976
95
Updates will be done by user by reusing the Teams/Team functionality in de domain layer. This will also take care of setting the principle unit properly. To be added/removed assignments are determined by user.
public void onUpdate() { String unitID = this.getUnitID(); // hashmap for all assignments from tuple-old/new by seqNo HashMap<Integer, UITeamUsers.Assignments.Assignment> allAssignments = new HashMap<Integer, UITeamUsers.Assignments.Assignment>(); // assigned setting for each assignment by s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void assignDepartment(String departmentName);", "boolean updateUser(SchoolSubject schoolSubject);", "protected abstract void assignTeam(boolean playerR, boolean playerB);", "public void updateUserTeam() {\n\t\tUser user = users.get(userTurn);\n\t\tSystem.out.println(user.getName());\n\t\tSystem.out.pr...
[ "0.577997", "0.5706163", "0.57054675", "0.56743914", "0.5669031", "0.56520265", "0.5605924", "0.55728805", "0.5562794", "0.5473884", "0.5449521", "0.5440168", "0.5408465", "0.53895587", "0.53884894", "0.5372731", "0.53660226", "0.5364416", "0.5350227", "0.5336091", "0.5323183...
0.6452391
0
Initializer for the CoasterCreateNodeEvent
public CoasterCreateNodeEvent(Player who, TrackNode node) { super(who, node); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NodeEvent() {\n\t\tthis(new Note(), DEFAULT_LIKELIHOOD);\n\t}", "private void init() {\n myNodeDetails = new NodeDetails();\n try {\n //port will store value of port used for connection\n //eg: port = 5554*2 = 11108\n String port = String.valueOf(Integer.pars...
[ "0.6333609", "0.6059212", "0.5989215", "0.5912223", "0.5670919", "0.56642085", "0.5618231", "0.5615007", "0.56031907", "0.55986", "0.5590049", "0.55762017", "0.5566724", "0.55525637", "0.5547591", "0.5520259", "0.5520259", "0.55109704", "0.55057186", "0.55021006", "0.55021006...
0.78460956
0
Fluxo de Saida com Arquivo OutputStream fos = new FileOutputStream("lorem2.txt"); Writer osw = new OutputStreamWriter(fos); BufferedWriter bw = new BufferedWriter(osw);
public static void main(String[] args) throws IOException { BufferedWriter bw = new BufferedWriter(new FileWriter("lorem4.txt")); bw.write("It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. "); bw.newLine(); bw.w...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void dosyaYazici(String text)\n {\n File log = new File(\"log.txt\");\n try\n {\n if (!log.exists())\n {\n log.createNewFile();\n }\n FileWriter fileWriter = new FileWriter(log,true);\n BufferedWriter buffe...
[ "0.68440807", "0.65411603", "0.6521921", "0.6513828", "0.64009005", "0.6379831", "0.6333538", "0.629848", "0.62929636", "0.62726134", "0.62262845", "0.6191862", "0.6189869", "0.6178235", "0.6154424", "0.61472017", "0.61385316", "0.6128983", "0.6119782", "0.6084271", "0.606899...
0.6383442
5
data Structure that we use to save the file
public FileRecord(String name) { this.name = name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String saveToFile(Object data, String fileName, FileFormat fileFormat) throws IOException;", "private void saveData() {\n\t\tlogger.trace(\"saveData() is called\");\n\t\t\n\t\tObjectOutputStream out = null;\n\t\ttry {\n\t\t\tFileOutputStream fileOut = new FileOutputStream(\"server-info.dat\");\n\t\t\tout = new O...
[ "0.69055927", "0.6865498", "0.681555", "0.67542696", "0.6751076", "0.6741293", "0.6740019", "0.6732826", "0.67061985", "0.66911805", "0.667925", "0.66504204", "0.6638765", "0.6585405", "0.6582502", "0.6531198", "0.6530616", "0.6504783", "0.6469607", "0.6453647", "0.6449454", ...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(DialogInterface dialog, int which) { timeSet.performClick(); if(ifFO.equals("Time_On")){ AppConstants.open.getTime(); }else{ AppConstants.close.getTime(); } }
{ "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 onClick(DialogInterface dialog, int which) { dialog.dismiss(); }
{ "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
Created by admin on 2017/6/30.
@Component public interface UserMapper { int insert(User user); int delete(Long id); User findById(Long id); User findByName(String name); List<User> listAll(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "pub...
[ "0.6213155", "0.6173781", "0.58513945", "0.5786305", "0.578485", "0.574664", "0.5724158", "0.57212836", "0.5681946", "0.5668559", "0.5648072", "0.5646229", "0.56284356", "0.56284356", "0.5628417", "0.56177706", "0.56137043", "0.5604823", "0.5604823", "0.5592822", "0.55923754"...
0.0
-1
TODO Autogenerated method stub
@Override public String execute() throws Exception { HttpServletResponse response =null; //避免输出乱码 response=ServletActionContext.getResponse(); response.setContentType("text/html;charset=UTF-8"); response.setCharacterEncoding("UTF-8"); //获取输出 PrintWriter out = response.getWriter(); ...
{ "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
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(activity); String city = sp.getString("city", ""); get the name of the city
public void setCityTextView(Activity activity, String city) { int comma_index; if (city != null) { comma_index = city.indexOf(","); if (comma_index != -1) { city = city.substring(0, comma_index); } } TextView city_tv = (TextView) activi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getCity(){\n return prefs.getString(\"city\", null);\n }", "public void save(String city){\n\n SharedPreferences sp = mcontext.getSharedPreferences(\"city\",Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sp.edit();\n editor.putString(\"local\",city);\n edi...
[ "0.85916686", "0.7772877", "0.7202666", "0.6847274", "0.669867", "0.65740216", "0.6533245", "0.6433874", "0.6433874", "0.64304304", "0.64153653", "0.64086753", "0.6378041", "0.6363092", "0.6297892", "0.62835234", "0.62585723", "0.6253685", "0.62336993", "0.6183976", "0.614304...
0.0
-1
Creates an empty JSON array
public JSONArray() { super(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public JSONArray() {\n\t\tthis.rawArrayList = new ArrayList<Object>();\n\t}", "public JsonArray() {\n }", "public JsonWriter array() {\n startValue();\n\n stack.push(context);\n context = new JsonContext(JsonContext.Mode.LIST);\n writer.write('[');\n\n return this;\n }"...
[ "0.6810179", "0.67794746", "0.6258534", "0.6185311", "0.60834205", "0.6055896", "0.59373367", "0.59127045", "0.5889704", "0.5869352", "0.57476056", "0.5743415", "0.5721501", "0.5711221", "0.57087076", "0.5661256", "0.5657131", "0.565579", "0.55924106", "0.55525213", "0.555009...
0.6836909
0
Creates a JSON array from the given collection
public JSONArray(Collection<?> collection) { this(); if(collection == null) return; for(Object value : collection) { if(value instanceof Collection<?>) value = new JSONArray((Collection<?>) value); if(value instanceof Map<?, ?>) value = new JSONObject((Map<?, ?>) value); if(JSONType.typeOf(value) == nu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public JsonArray(final Collection<?> collection) {\n super(collection);\n }", "static Object[] m59445a(Collection<?> collection) {\n return m59444a((Iterable<?>) collection, new Object[collection.size()]);\n }", "private void arrayToCollection(String name, Collection<Object>lst, JSONArray j...
[ "0.70724726", "0.6533405", "0.6243356", "0.6098679", "0.5922739", "0.57776713", "0.57048786", "0.56955683", "0.56723917", "0.56661046", "0.5659443", "0.56477344", "0.5614747", "0.5611143", "0.5598087", "0.5592467", "0.5538426", "0.5510186", "0.55072004", "0.5506519", "0.55025...
0.6555718
1
Creates a JSON array from the given source string The string has to be a valid JSON array
public JSONArray(String source) { if(source == null) { this.values = new ArrayList<>(); return; } JSONArray parsed = (JSONArray) JSONParser.parse(source); this.values = parsed.values; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static JSONArray string2JSONArray(String source) {\n\t\tif (null == source) {\n\t\t\treturn null;\n\t\t}\n\t\tJSONArray jsonArray = JSON.parseArray(source);\n\t\tfor (Object o : jsonArray) {\n\t\t\tlogger.debug(o);\n\t\t}\n\t\tlogger.debug(jsonArray);\n\t\treturn jsonArray;\n\t}", "public JSONArray(String...
[ "0.7919633", "0.7385733", "0.6714521", "0.6284147", "0.6241508", "0.61001194", "0.59843117", "0.5969656", "0.5855488", "0.5760098", "0.5696433", "0.5622395", "0.5584514", "0.5550795", "0.5519828", "0.5431384", "0.53786695", "0.528988", "0.5287974", "0.528229", "0.52645236", ...
0.73728395
2
Adds an element to this JSON array
public void add(Object value) { if(JSONType.typeOf(value) == null) throw new JSONException("Invalid value type"); this.values.add(value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addToArray(JsonElement element){\n values.add(element);\n }", "public void addElement(Object obj);", "void add(Object element);", "public JSONArray put(Object value) {\n\t\tthis.add(value);\n\t\treturn this;\n\t}", "void add(byte[] element);", "void add(int index, Object element);",...
[ "0.77637696", "0.67277503", "0.65831685", "0.6501405", "0.64767116", "0.6461102", "0.6405809", "0.6320724", "0.6281135", "0.6259695", "0.6230084", "0.62034816", "0.61941785", "0.6180721", "0.6180638", "0.6130356", "0.6124758", "0.60939986", "0.60889906", "0.60889906", "0.6068...
0.62280774
11
Checks whether a value exists within this JSON array
public boolean has(int index) { return index >= 0 && index < values.size(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean containsValue(Object value) {\n\t\treturn false;\r\n\t}", "boolean containsValue(Object value) throws NullPointerException;", "@Override\n\t\t\tpublic boolean containsValue(Object value) {\n\t\t\t\treturn false;\n\t\t\t}", "@Override\n\tpublic boolean containsValue(Object value) {\n\t\treturn ...
[ "0.6714613", "0.66129804", "0.6604504", "0.65112567", "0.6503383", "0.649321", "0.64712286", "0.64441276", "0.6429401", "0.6380401", "0.63791686", "0.63454634", "0.63315713", "0.6294518", "0.62882197", "0.6270612", "0.6258555", "0.62530476", "0.61800516", "0.6138517", "0.6130...
0.5716886
70
Gets an element from this JSON array
public Object get(int index) { if(!has(index)) throw new JSONException("Index out of range"); return values.get(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object getArrayElement(int index);", "Object getArrayElement(int index);", "Object getElementAt(int index);", "Object get(int index) throws PropertyException {\n Object object = this.opt(index);\n if (object == null) {\n throw new PropertyException(\"JSONArray[\" + index + \"] not fo...
[ "0.7262636", "0.7262636", "0.6622813", "0.640189", "0.6398762", "0.63798314", "0.6333086", "0.63203174", "0.62134457", "0.6203562", "0.6199366", "0.6160092", "0.6154527", "0.6154527", "0.61362123", "0.61141354", "0.60789174", "0.6077857", "0.6077857", "0.6054231", "0.60494345...
0.58840054
36
Checks whether a value is of the given type
public boolean isOfType(int index, JSONType type) { if(!has(index)) return false; return JSONType.isOfType(get(index), type); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isType(String type, Object value) {\n boolean ret = false;\n String val = String.valueOf(value).toUpperCase();\n if (val.equals(\"NULL\")) {\n ret = true;\n } else if (val.contains(\"BASE64\")) {\n ret = true;\n } else {\n if (type...
[ "0.78744155", "0.70796907", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", "0.7009986", ...
0.59984463
63
Converts this JSON object into a JSON string according to
@Override public String toString() { return JSONFormatter.formatArray(this, 0, false).toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String toJsonString();", "@Override\n\tprotected String toJSON()\n\t{\n\t\treturn getJSON(null);\n\t}", "String toJSON();", "public String toJSON(){\n Gson gson = new Gson();\n return gson.toJson(this);\n }", "public abstract String toJson();", "public String serializeJSO...
[ "0.7527441", "0.72496825", "0.72174925", "0.71392035", "0.71336263", "0.71327645", "0.70943266", "0.70025903", "0.70015764", "0.6959437", "0.69590783", "0.69590783", "0.69590783", "0.69590783", "0.69590783", "0.69590783", "0.69590783", "0.69590783", "0.69590783", "0.69590783", ...
0.0
-1
Update state of objects
public void updateObjects() { //update states for (Ball ball : balls) { if(ball!=null) { if(ball.GetVisible()) ball.MoveDown(); } else ball=null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void update() {\n\t\tobj.update();\n\t}", "public void updateState();", "abstract public void updateState();", "public void updateByObject()\r\n\t{\n\t}", "@Override\r\n\tpublic void update(Object object) {\n\t\t\r\n\t}", "public void update() {\r\n gameObjects.update(playState...
[ "0.7535246", "0.73382205", "0.7117514", "0.69605577", "0.6884775", "0.68628156", "0.6847158", "0.67203206", "0.66263306", "0.66263306", "0.66263306", "0.6615515", "0.6615515", "0.65888745", "0.656023", "0.65583473", "0.6535139", "0.6491649", "0.6491649", "0.64893043", "0.6489...
0.72454137
2
Clear balls, surface and panel
public void ClearAll() { balls.clear(); board.SetMissedBall(0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clearBalls();", "public void Reset() {\n //print(\"reset\");\n done=false;\n splatshown=false;\n outputSplat.beginDraw();\n outputSplat.clear();\n outputSplat.endDraw();\n //world.clear();\n for (int i=0; i<10; i++) {\n randomize();\n r[i]=c1;\n g[i]=c2;\n b[i]=c3;\n }\n for (in...
[ "0.79097366", "0.69075227", "0.69001555", "0.68961567", "0.6771356", "0.67021817", "0.66780937", "0.6590715", "0.6589354", "0.6580011", "0.6577567", "0.6554548", "0.6478112", "0.64741516", "0.6456599", "0.6436621", "0.64332646", "0.6431394", "0.64069074", "0.64066565", "0.637...
0.7415386
1
TODO Autogenerated method stub
@Override public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { }
{ "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
Stop thread that insert new balls
public static void ThreadStop() { thread_running=false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stop() {\n done=true;\n bridges.forEach(Bridge::stop);\n bridges.clear();\n }", "public void removeBalls() {\r\n for (Ball ball : this.ballsList) {\r\n ball.removeFromGame(this);\r\n }\r\n this.ballsList.clear();\r\n }", "void lostBall()\n ...
[ "0.6023518", "0.59368914", "0.5879563", "0.58443815", "0.5774273", "0.577063", "0.5770246", "0.57580984", "0.5738023", "0.5722532", "0.5703196", "0.5683861", "0.56812835", "0.5668489", "0.565079", "0.563043", "0.56235254", "0.5620827", "0.56126463", "0.55914795", "0.55693334"...
0.5486388
35
Start thread that insert new balls
public void ThreadStart() { thread_running=true; NewBallTheard.start(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unused\")\n\tprivate void insert(Ball ball) throws Exception {\n\t\tBallService ballService = new BallService();\n\t\tballService.insert(ball);\n\t}", "public void createBalls() {\n // add the required amount of balls according to the levelinfo.\n for (int i = 0; i < this.levelI...
[ "0.64916813", "0.5961393", "0.59253937", "0.5894304", "0.5685782", "0.5669446", "0.5658748", "0.56484723", "0.56192845", "0.5560596", "0.5552856", "0.55497736", "0.55428374", "0.55366087", "0.5520309", "0.55091673", "0.54621744", "0.54607755", "0.5424066", "0.541323", "0.5393...
0.58140856
4
Add more columns to SNP, DArT, Allelic and ABH Uploads
@Override public void buttonClick(ClickEvent event) { String strSelectedDataType = _strMarkerType.replace(" ", ""); UploadVariableFieldsDialog uploadVariableFieldsDialog = null; if (strSelectedDataType.equalsIgnoreCase("SNPGenotype") || strSelectedDataType.equalsIgnoreCase("AllelicData") || strSelec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initColumns() {\n columnNames = new LinkedList<String>();\n columnNames.add(\"table.ededb.datatable.action\");\n columnNames.add(\"table.ededb.datatable.filename\");\n columnNames.add(\"table.ededb.datatable.mime\");\n columnNames.add(\"table.ededb.datatable.size\");...
[ "0.57896745", "0.5454141", "0.5352506", "0.5270884", "0.5204446", "0.5154191", "0.5060553", "0.5047045", "0.5035472", "0.5034527", "0.49765113", "0.49611965", "0.4943708", "0.4931372", "0.4920955", "0.49159798", "0.49010038", "0.4859525", "0.48135984", "0.4808761", "0.4808741...
0.0
-1
String strSourceFileName = ""; String strDataFileName = ""; String strAdditonalGIDsFileNameForDArt = "";
private void getMarkerFields() { String strMarkerType = _strMarkerType.replace(" ", ""); FieldProperties[] listOfSourceFieldProperties = null; FieldProperties[] listOfDataFieldProperties = null; FieldProperties[] listOfGIDsFieldPropertiesForDArT = null; listOfSourceColumnFields = new ArrayList<F...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void fillFilenames() {\r\n if (this.pl_LastFiles.getParam(\"nodelist-file\") != null\r\n && this.pl_LastFiles.getParam(\"edgelist-file\") != null) {\r\n this.nodefileText.setText(this.pl_LastFiles.getParam(\"nodelist-file\"));\r\n this.edgeFileText.setText(this.pl...
[ "0.5563499", "0.5434317", "0.5381785", "0.5352601", "0.53440696", "0.5309008", "0.5307019", "0.5306587", "0.5279566", "0.5249748", "0.52440846", "0.5241028", "0.5222611", "0.5193205", "0.5166061", "0.5131416", "0.51127994", "0.51123554", "0.5085756", "0.5077277", "0.50747156"...
0.5007407
24
TODO Autogenerated method stub
@SuppressWarnings("unchecked") protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { act=request.getParameter("act"); PrintWriter out=response.getWriter(); response.setContentType("text/html;charset=UTF-8"); if(act.equalsIgnoreCase("null"))...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void 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
/ We check if a return to the original provider registers the bikes again. Therefore, we first book a quote and then call registerReturn() to return the bikes. We check if the bikes in the booking are back in the list of available bikes.
@Test public void testReturnOriginal() { this.quotes = Controller.getQuotes(desiredBikes, this.dateRange, this.customer.getLocation(), false); Quote chosenQuote = this.quotes.get(0); ArrayList<Bike> availableBikesProvider = new ArrayList<>(); Provider ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testDeliveryReturn() {\n //Set up use case\n this.quotes = Controller.getQuotes(desiredBikes, this.dateRange,\n this.customer.getLocation(),\n true);\n Quote chosenQuote = this.quotes.get(0);\n Provider originalProvider = chosenQuote....
[ "0.69415873", "0.5955853", "0.5877854", "0.57911396", "0.5774199", "0.5717972", "0.5714513", "0.5643128", "0.5637345", "0.5571804", "0.5534776", "0.54701835", "0.5461857", "0.5460093", "0.5453418", "0.5451151", "0.5410774", "0.5391291", "0.5364659", "0.5351854", "0.5347959", ...
0.75504977
0
/ Check if the return from a partner provider to the original provider is possible. Therefore, we first book a quote, register the partner provider as a partner, and then call registerReturn() from the partner provider to return the bikes. We then carry out pickups and dropoffs, and finally check if the bikes from the ...
@Test public void testDeliveryReturn() { //Set up use case this.quotes = Controller.getQuotes(desiredBikes, this.dateRange, this.customer.getLocation(), true); Quote chosenQuote = this.quotes.get(0); Provider originalProvider = chosenQuote.provider; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testReturnOriginal() {\n this.quotes = Controller.getQuotes(desiredBikes, this.dateRange,\n this.customer.getLocation(),\n false);\n Quote chosenQuote = this.quotes.get(0);\n ArrayList<Bike> availableBikesProvider = new ArrayList<>();\n ...
[ "0.7310594", "0.7002873", "0.58276737", "0.57830447", "0.56637657", "0.56566626", "0.56094885", "0.5580428", "0.55403733", "0.5464932", "0.5453032", "0.53378963", "0.5325359", "0.5311293", "0.5288146", "0.52782017", "0.5265528", "0.5254946", "0.5254409", "0.5235689", "0.52323...
0.746302
0
/ If someone is trying to return bikes at a non partner provider, we throw an error.
@Test public void testWrongPartner() { /* Set up scenario. As one might see, no partnership was registered hence we throw an error. */ this.quotes = Controller.getQuotes(desiredBikes, this.dateRange, this.customer.getLocation(), true); Quote c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testReturnOriginal() {\n this.quotes = Controller.getQuotes(desiredBikes, this.dateRange,\n this.customer.getLocation(),\n false);\n Quote chosenQuote = this.quotes.get(0);\n ArrayList<Bike> availableBikesProvider = new ArrayList<>();\n ...
[ "0.611122", "0.60145307", "0.5897577", "0.5684624", "0.5678194", "0.56466186", "0.5613034", "0.556052", "0.55535", "0.5440334", "0.5422324", "0.54076254", "0.53996885", "0.53969496", "0.5353785", "0.52762973", "0.5262252", "0.5226833", "0.520438", "0.5181065", "0.5168397", ...
0.72058034
0
Initializes all the views in the fragment.
private void initializeFields(View view) { aboutUsButton = (Button) view.findViewById(R.id.aboutUsButton); contactUsButton = (Button) view.findViewById(R.id.contactUsButton); upcomingEventsButton = (Button) view.findViewById(R.id.upcomingEventsButton); makeADonationButton = (Button) view...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override protected void initViews() {\n\t\tsetFragments(F_PopularFragment.newInstance(T_HomeActivity.this), F_TimelineFragment.newInstance(T_HomeActivity.this));\n\t}", "@Override\r\n\tprotected void initViews(Bundle savedInstanceState) {\n\t\t\r\n\t}", "private void initializeViews() {\n list_latest_f...
[ "0.8365351", "0.75966036", "0.7551107", "0.75496596", "0.7539028", "0.75137246", "0.7508593", "0.7506489", "0.7495448", "0.7495202", "0.7461255", "0.7461255", "0.7457442", "0.73808885", "0.7364875", "0.73642355", "0.7354452", "0.73512125", "0.73509896", "0.7334281", "0.732767...
0.0
-1
On click listeners for all the buttons on the fragment.
private void setButtonOnClickListeners() { aboutUsButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { goToFragment(v, new AboutUsFragment()); } }); contactUsButton.setOnClickListener(new View.OnClickL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void listenButtons() {\n\n playGameButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n mActivities = MyActivities.PLAY_GAME;\n startActivity();\n }\n });\n\n freePlayButton...
[ "0.6811224", "0.67888546", "0.669654", "0.66865766", "0.666748", "0.6632802", "0.66044784", "0.6564812", "0.65406626", "0.64983475", "0.6489321", "0.647864", "0.64768904", "0.642739", "0.64136744", "0.6399911", "0.63984984", "0.6394731", "0.6383068", "0.63694775", "0.6296699"...
0.77203405
0
Inflates and displays the given fragment.
private void goToFragment(View v, Fragment fragment) { v.setEnabled(false); getFragmentManager().beginTransaction() .replace(R.id.fragment_container, fragment) .addToBackStack(null) .commit(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createFragment() {\n\n }", "protected abstract Fragment createFragment();", "public void showFragment(Fragment fragment, String tagFragment) {\n // In tablet layout, do not try to display the Home Fragment again. Show empty fragment.\n if (isDualPanel() && tagFragment.equalsIgnoreC...
[ "0.625285", "0.61733377", "0.616521", "0.6142406", "0.6133185", "0.6114922", "0.6053807", "0.60405064", "0.60231113", "0.60148406", "0.59998214", "0.59627867", "0.5915595", "0.58985883", "0.586992", "0.58674216", "0.586474", "0.5842991", "0.58353686", "0.5832647", "0.58287907...
0.0
-1
Retorna el artista seleccionado.
String darArtistaSeleccionado( ) { return ( ( Artista ) Objects.requireNonNull( cbArtistas.getSelectedItem( ) ) ).darNombre( ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public List<SpriteDefinition> getChosen () {\n return mySelected.getListView().getItems();\n }", "@Override\r\n\t\t\tpublic void seleccionar() {\n\r\n\t\t\t}", "Object getSelection();", "@Override\r\n\tpublic void seleccionarPersona() {\n\t\t\r\n\t}", "@FXML\n private void getMe...
[ "0.6854356", "0.68222284", "0.63531506", "0.62592214", "0.6186123", "0.6183073", "0.61471134", "0.61200064", "0.6091136", "0.6022794", "0.6018653", "0.6018653", "0.5932553", "0.5927888", "0.5869759", "0.5867983", "0.5780852", "0.5762728", "0.5758714", "0.57489556", "0.5748241...
0.6560051
2
Handle updating the time periodically in interactive mode.
private void handleUpdateTimeMessage() { invalidate(); if (shouldTimerBeRunning()) { long timeMs = System.currentTimeMillis(); long delayMs = INTERACTIVE_UPDATE_RATE_MS - (timeMs % INTERACTIVE_UPDATE_RATE_MS); mUpdateTimeHan...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Command\n\t@NotifyChange(\"currentTime\")\n\tpublic void updateTime() {\n\t}", "public abstract void updateTime(int currentTime);", "public void update(int time);", "public void timeChanged();", "public void updateChangedTime(int hour, int minute);", "public void updateTime() {\n\t\tthis.currentTime = S...
[ "0.73422796", "0.7269392", "0.7124857", "0.70313686", "0.70293134", "0.6901823", "0.68647027", "0.6848783", "0.6825434", "0.6774713", "0.67741597", "0.67260456", "0.6702027", "0.66888845", "0.66514474", "0.6637782", "0.65636086", "0.65627605", "0.65549445", "0.6521443", "0.65...
0.64134926
31
Fonction start, lancement de la HomeView ( Menu ) du jeu.
@Override public void start(Stage primaryStage) throws Exception { primaryStage.setTitle("PACMAN"); View v = new HomeView(); v.start(primaryStage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public startingMenu() {\r\n initComponents();\r\n }", "public void start()\n {\n uploadDataFromFile();\n menu.home();\n home();\n }", "public void home() {\n\t\tUserUI ui = new UserUI();\n\t\tui.start();\n\t}", "void startView();", "@Override protected void startup() {\...
[ "0.74894", "0.7392565", "0.73030835", "0.72638845", "0.7259625", "0.722702", "0.71344006", "0.70434034", "0.7028653", "0.6977038", "0.6968218", "0.6946735", "0.6936644", "0.6917377", "0.6916726", "0.68983144", "0.6896072", "0.68834966", "0.6868395", "0.68513876", "0.6840085",...
0.676018
25
initialize your data structure here.
public MedianFinder() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initData() {\n\t}", "private void initData() {\n }", "private void initData() {\n\n }", "public void initData() {\n }", "public void initData() {\n }", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Over...
[ "0.7977482", "0.7960524", "0.77892214", "0.77469254", "0.77469254", "0.7558169", "0.7558169", "0.7558169", "0.7558169", "0.7558169", "0.7558169", "0.7555887", "0.74711394", "0.74664557", "0.7456787", "0.7442776", "0.74332404", "0.74293566", "0.74293566", "0.74293566", "0.7424...
0.0
-1
initialize your data structure here.
public MedianFinderElegant() { minHeap = new PriorityQueue<>(); maxHeap = new PriorityQueue<>((v1, v2) -> v2 - v1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initData() {\n\t}", "private void initData() {\n }", "private void initData() {\n\n }", "public void initData() {\n }", "public void initData() {\n }", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Over...
[ "0.7977482", "0.7960524", "0.77892214", "0.77469254", "0.77469254", "0.7558169", "0.7558169", "0.7558169", "0.7558169", "0.7558169", "0.7558169", "0.7555887", "0.74711394", "0.74664557", "0.7456787", "0.7442776", "0.74332404", "0.74293566", "0.74293566", "0.74293566", "0.7424...
0.0
-1
Test of getAntrian method, of class AntrianController.
@Test public void testGetAntrian() throws Exception { System.out.println("getAntrian"); setHostPort(); Menursepsionis ui = new Menursepsionis(client, "resp1"); AntrianController instance = new AntrianController(client); DefaultTableModel expResult = instance.getAntrian(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testGetAntrianDetail() throws Exception {\n System.out.println(\"getAntrianDetail\");\n String id = \"AN001\";\n setHostPort();\n AntrianController instance = new AntrianController(client);\n\n Antrian expResult = instance.getAntrianDetail(id);\n Ant...
[ "0.8006476", "0.65548086", "0.6118535", "0.5956627", "0.5770957", "0.5757933", "0.5757511", "0.5736039", "0.5730205", "0.5719353", "0.56633383", "0.563417", "0.53280884", "0.5298101", "0.5271149", "0.5223041", "0.52226716", "0.51894236", "0.5163759", "0.5140477", "0.5139441",...
0.6724774
1
Test of getAntrianDetail method, of class AntrianController.
@Test public void testGetAntrianDetail() throws Exception { System.out.println("getAntrianDetail"); String id = "AN001"; setHostPort(); AntrianController instance = new AntrianController(client); Antrian expResult = instance.getAntrianDetail(id); Antrian result = ins...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testGetDetailPasien() throws Exception {\n System.out.println(\"getDetailPasien\");\n String idPasien = \"PS001\";\n setHostPort();\n AntrianController instance = new AntrianController(client);\n\n Pasien expResult = instance.getDetailPasien(idPasien);\n ...
[ "0.71466845", "0.6495666", "0.613428", "0.6065138", "0.5904807", "0.5867911", "0.58672947", "0.58568627", "0.57723266", "0.5771036", "0.57140607", "0.57027954", "0.56598556", "0.5640054", "0.56144774", "0.55714947", "0.55547345", "0.5548808", "0.5535915", "0.5524293", "0.5509...
0.8346784
0
Test of getDetailPasien method, of class AntrianController.
@Test public void testGetDetailPasien() throws Exception { System.out.println("getDetailPasien"); String idPasien = "PS001"; setHostPort(); AntrianController instance = new AntrianController(client); Pasien expResult = instance.getDetailPasien(idPasien); Pasien resul...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testGetAntrianDetail() throws Exception {\n System.out.println(\"getAntrianDetail\");\n String id = \"AN001\";\n setHostPort();\n AntrianController instance = new AntrianController(client);\n\n Antrian expResult = instance.getAntrianDetail(id);\n Ant...
[ "0.7525109", "0.6655488", "0.6616222", "0.657604", "0.64107096", "0.6293393", "0.62584066", "0.6257977", "0.62135345", "0.61686695", "0.61212033", "0.61189175", "0.61129785", "0.6050284", "0.60083085", "0.6001666", "0.59943604", "0.59936976", "0.5984586", "0.5977154", "0.5972...
0.8234796
0
TODO Autogenerated method stub
@Override public Integer call() throws Exception { return ps.executeUpdate(); // TDOD release resources }
{ "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
Used to store the yCoordinate of the animal Empty argument constructor initializes the variables
public Location() { xCoord=0; yCoord=0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setY(int y) { loc.y = y; }", "public int getY() { return y;}", "public int getY() { return y;}", "public int getY() { return y; }", "public int getY() { return y; }", "public void setY(int y) { this.y=y; }", "public int getY() {return y;}", "public void setY(int y){ yPosition = y; }", "...
[ "0.67702746", "0.67048347", "0.67048347", "0.6701455", "0.6701455", "0.66593415", "0.66565907", "0.6591783", "0.6585569", "0.6569101", "0.65108025", "0.6495188", "0.64610416", "0.6458293", "0.64306086", "0.64267725", "0.64182156", "0.64178324", "0.640901", "0.6393537", "0.638...
0.6306684
45
end emptyargument constructor The preferred constructor sets the x and y coordinate variables equal to what is currently being executed.
public Location(int x, int y) { this.xCoord=xCoord; this.yCoord=yCoord; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Shape() { this(X_DEFAULT, Y_DEFAULT); }", "public Coordinate() { row = col = -1; }", "public Coordinate() {\n this.xCoordinate = -1;\n this.yCoordinate = -1;\n }", "public Coordinates(int x, int y)\r\n {\r\n xCoord = x;\r\n yCoord = y;\r\n }", "public Coordinate(...
[ "0.70846164", "0.68762255", "0.6812452", "0.6781406", "0.6763588", "0.6762958", "0.6755626", "0.67414284", "0.6741321", "0.6738132", "0.67345536", "0.6715856", "0.66596496", "0.6652229", "0.6646096", "0.6588026", "0.65702814", "0.65671635", "0.65476704", "0.6543448", "0.65385...
0.63244665
43
ends the preferred constructor The update method updates the coordinates to what they are being changed to and does error checking to try to prevent the user from setting the points outside of the bounds.
public void update(int x, int y) { InvalidCoordinateException ice = new InvalidCoordinateException("Coordinates cannot be less than 0!"); try { if(x>=0) { x=xCoord; }else { throw ice; }//ends else if(y>=0) { y=yCoord; }else { throw ice; }//ends else }catch(InvalidCoordin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void update(){\n\t\t_offx = _x.valueToPosition(0);\n\t\t_offy = _y.valueToPosition(0);\n\t}", "public void updateCoords() {\n line.setLine(parent.getFullBounds().getCenter2D(), child.getFullBounds().getCenter2D());\n Rectangle2D r = line.getBounds2D();\n // adding 1 to the width an...
[ "0.642374", "0.62751704", "0.6113422", "0.60633177", "0.6034647", "0.6001072", "0.59243834", "0.59036165", "0.5855592", "0.58161086", "0.57810926", "0.5775649", "0.5765212", "0.57554203", "0.5737906", "0.5705673", "0.5699364", "0.5694502", "0.5682807", "0.5678658", "0.5675543...
0.0
-1
ends update method getCoordinates method sets the coordinates to what they currently are and then returns them.
public int[] getCoordinates() { int[] a=new int[2]; a[0]=xCoord; a[1]=yCoord; return a; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double[] getCoordinates() {\n \tdouble []coords = this.position.getCoordinates();\n \tthis.currentX = coords[0];\n \tthis.currentY = coords[1];\n \treturn coords;\n }", "public ArrayList<Coordinate> getCoordinates() {\n return coordinates;\n }", "private void updateArrayListCoor...
[ "0.6912261", "0.6823522", "0.68196064", "0.6794206", "0.67535925", "0.67115927", "0.6662605", "0.66319776", "0.6607654", "0.65715104", "0.65479255", "0.65479255", "0.6398364", "0.63842505", "0.6364947", "0.6335889", "0.63239956", "0.6152689", "0.6121011", "0.6080076", "0.6025...
0.59107333
26
ends getCoordinates GETTERS AND SETTERS
protected int getxCoord() { return xCoord; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getCoordinates();", "long getCoordinates();", "public String getCoordinates() {\n return this.coordinates;\n }", "@Override\n\tpublic double[] getCoordinates() {\n\t\tdouble[] coordinates = { x1, y2, x2, y1 };\n\t\treturn coordinates;\n\t}", "public List<LatLng> getCoordinates() {\n r...
[ "0.7234231", "0.7234231", "0.6786241", "0.6774372", "0.67251205", "0.6720844", "0.6720507", "0.67162204", "0.67049", "0.66792035", "0.66632396", "0.66267467", "0.65956175", "0.6530911", "0.64739597", "0.64349896", "0.640251", "0.6398997", "0.6394838", "0.63946056", "0.6388417...
0.0
-1
TODO Autogenerated method stub
public void setxCoord(Location l) { }
{ "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
public void setyCoord(Location l) { }
{ "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
XMLElement element = XMLElement.loadElementFrom(this.getClass().getResource("pro.xml"));
private void testProXml(){ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void readxml() throws JAXBException, FileNotFoundException {\n Player loadplayer = xml_methods.load();\n logger.info(\"player name: \" + loadplayer.getName());\n if (!item.isEmpty()) {\n logger.trace(loadplayer.getitem(0).getName());\n }\n tfName.setText(loadpla...
[ "0.6226146", "0.60405487", "0.60343945", "0.60013473", "0.5867085", "0.5830823", "0.58268386", "0.58069503", "0.57690763", "0.5768823", "0.5767677", "0.5552329", "0.55283564", "0.5522237", "0.55046755", "0.5504177", "0.5480665", "0.54514164", "0.54351443", "0.5433039", "0.541...
0.5876229
4
/ access modifiers changed from: protected
public void onBoundsChange(Rect bounds) { this.boxWidth = bounds.width(); this.boxHeight = bounds.height() - this.pointerHeight; super.onBoundsChange(bounds); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
Constructor for class MessageTransportLayer
public MessageTransportLayer(ServiceID routingServiceID, ServiceID unicastRoutingAlgorithmID, ServiceID anyCastRoutingRoutingAlgorithmID, ServiceID locationFloodingRoutingAlgorithmID, ServiceID multicastRoutingServiceID, double defaultTimeout) { this...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ServiceMessage() {\r\n\t}", "public MultiChannelMessageImpl() {\n }", "public MessageRequest() {\n\t}", "private SocketMessage() {\n initFields();\n }", "public HazelcastMQMessage() {\n this(new DefaultHeaders(), null);\n }", "public MessageTran() {\n\t}", "public Transportation(N...
[ "0.68315613", "0.67590934", "0.67044777", "0.6660222", "0.6645371", "0.6630748", "0.66304684", "0.6569585", "0.64940107", "0.64708537", "0.64493686", "0.64180547", "0.64180547", "0.641773", "0.6395443", "0.6363291", "0.6363291", "0.63512886", "0.6345141", "0.6326721", "0.6301...
0.6317966
20
TODO Autogenerated method stub
public void deliverLocally(RoutingHeader routingHeader) { }
{ "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
public void routingStarted(RoutingHeader routingHeader) { }
{ "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
public void routingStarted(RoutingHeader routingHeader) { }
{ "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
public ServiceID getServiceID() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void 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
public void finish() { }
{ "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
public Shape getShape() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void 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
public void getParameters(Parameters parameters) { }
{ "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
mmh was passiert hier!?!
public void ignoreLocally(RoutingHeader routingHeader) { callbackHandler.notifyUnicastLost(routingHeader,data); operatingSystem.finishListener(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void cajas() {\n\t\t\n\t}", "private void strin() {\n\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "void berechneFlaeche() {\n\t}", "private stendhal() {\n\t}", "@Override\n ...
[ "0.6638622", "0.62334186", "0.62189025", "0.6202228", "0.61643827", "0.6109036", "0.6107807", "0.6098843", "0.609261", "0.6061196", "0.6052165", "0.60474586", "0.59922314", "0.5990598", "0.5961734", "0.5936895", "0.5936895", "0.5933608", "0.59277076", "0.5918801", "0.59172475...
0.0
-1
create activity rest api
@PostMapping("/activities") public Activity createActivity(@RequestBody Activity activity) { return activityRepository.save(activity); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Post \n public JsonRepresentation createActivity(Representation entity) {\n \tJSONObject jsonReturn = new JSONObject();\n \tlog.info(\"createActivity(@Post) entered ..... \");\n\t\tEntityManager em = EMF.get().createEntityManager();\n\t\t\n\t\tString apiStatus = ApiStatusCode.SUCCESS;\n\t\tthis.setStatu...
[ "0.7573287", "0.6691284", "0.6669779", "0.66390914", "0.6433159", "0.615524", "0.6127", "0.6035935", "0.59877217", "0.59541315", "0.58683854", "0.57975394", "0.57329726", "0.56938815", "0.56399584", "0.5588331", "0.5562671", "0.5560297", "0.5552876", "0.5528431", "0.5524181",...
0.6974131
1
get activity by id rest api
@GetMapping("/activities/{id}") public ResponseEntity<Activity> getActivityById(@PathVariable long id) { Activity activity = activityRepository.findById(id) .orElseThrow(()-> new ResourceNotFoundException("Activity not exist with id :" +id)); return ResponseEntity.ok(activity); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@CustomAnnotation(value = \"FIND_ONE_ACTIVITY\")\n\t@RequestMapping(\n\t\t\tvalue=\"/activity/{id}\",\n\t\t\tmethod=RequestMethod.GET,\n\t\t\tproduces=MediaType.APPLICATION_JSON_VALUE\n\t\t\t)\n\tpublic ResponseEntity<Activity> findActivity(@PathVariable(\"id\") Long id, @Context HttpServletRequest request){\n\t\...
[ "0.7530818", "0.72153765", "0.68172634", "0.6796547", "0.67019236", "0.6617928", "0.648845", "0.64677846", "0.6462945", "0.64399654", "0.64290357", "0.63996774", "0.6381524", "0.6367271", "0.63584304", "0.63137674", "0.6311758", "0.6253088", "0.6244037", "0.61926204", "0.6172...
0.77963823
0
update activity rest api
@PutMapping("/activities/{id}") public ResponseEntity<Activity> updateActivity(@PathVariable Long id,@RequestBody Activity activityDetails){ Activity activity = activityRepository.findById(id) .orElseThrow(()-> new ResourceNotFoundException("Activity not exist with id :" +id)); activity.setActivity_name(activi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@PostMapping(path = \"/api/activity/update\")\n public Response updateActivity(@RequestBody ActivityDTO activityDTO){\n return activityService.updateActivity(activityDTO);\n }", "private void update() {\n ambianceModel.ambiance.uniq_id = ambianceModel._id.$oid;\n\n RestAdapter restAdap...
[ "0.7484016", "0.695946", "0.6648161", "0.6463321", "0.6421563", "0.6398429", "0.63336754", "0.62050873", "0.6188973", "0.6073003", "0.6060982", "0.5971131", "0.59699917", "0.5924464", "0.5906015", "0.5805969", "0.57971007", "0.57850087", "0.5758926", "0.569652", "0.5687875", ...
0.7138153
1
delete activity rest api
@DeleteMapping("/activities/{id}") public ResponseEntity <Map<String,Boolean>> deleteActivity(@PathVariable Long id) { Activity activity = activityRepository.findById(id) .orElseThrow(()-> new ResourceNotFoundException("Activity not exist with id :" +id)); activityRepository.delete(activity); Map<String,Bool...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(path = \"/api/activity/delete/{id}\")\n public Response deleteActivity(@PathVariable long id){\n return activityService.deleteActivity(id);\n }", "@CustomAnnotation(value = \"DELETE_ACTIVITY\")\n\t@RequestMapping(\n\t\t\tvalue=\"/activity/{id}\",\n\t\t\tmethod=RequestMethod.DELETE,\n\t\t...
[ "0.8069296", "0.76524454", "0.69251", "0.6900706", "0.68269646", "0.6809066", "0.6808663", "0.6768283", "0.67003626", "0.6664906", "0.6577283", "0.6571528", "0.65189034", "0.6508918", "0.64785516", "0.6471872", "0.647014", "0.6452407", "0.6434014", "0.6431227", "0.6427856", ...
0.73670644
2
Interface that permits to implement the update method called by the notify method of the class that extend Observable.
public interface Observer <T> { /** * The method that is called by the notify method of the Observable classes. * @param message The message sent by the notify method of the observable classes. */ void update(T message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void update(Observable arg0, Object arg1) {\n\t\t\n\t}", "@Override\n public void update(Observable arg0, Object arg1) {\n \n }", "@Override\r\n\tpublic void update(Observable arg0, Object arg1) {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void update(Observable arg0, Object arg...
[ "0.82498986", "0.8197349", "0.81922406", "0.8167212", "0.8110071", "0.81074965", "0.80742955", "0.80639184", "0.80521476", "0.8003872", "0.8003872", "0.79579365", "0.79124373", "0.78705066", "0.78202254", "0.7729932", "0.7713272", "0.75673425", "0.75332355", "0.7515903", "0.7...
0.7659899
17
The method that is called by the notify method of the Observable classes.
void update(T message);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void notifyObservers() {\n\t\t\r\n\t}", "@Override\n\tpublic void NotifyObserver() {\n\n\t}", "protected void notifyObservers() {\n os.notify(this, null);\n }", "public void notifyObservers() {}", "@Override\r\n public void notify(Object arg) {\n }", "public void not...
[ "0.78026193", "0.7457492", "0.73099875", "0.7301605", "0.7264649", "0.70627666", "0.70627666", "0.70627666", "0.7013699", "0.6937308", "0.6937308", "0.6878546", "0.687384", "0.68315935", "0.6820634", "0.67893344", "0.67696345", "0.6753598", "0.6726934", "0.67213875", "0.67121...
0.0
-1
Gets the current callback.
public TransitionalCssPropertyCallback<T> getCallback(){ return callback; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static Handler getCallbackHandler() {\n return sCallbackHandler;\n }", "EventCallbackHandler getCallbackHandler();", "DeliverTask getCallback()\n {\n synchronized (m_lock)\n {\n return m_callback;\n }\n }", "public CommandInvokedCallback getCo...
[ "0.69261575", "0.6849191", "0.6781825", "0.66085273", "0.6585254", "0.6530468", "0.647774", "0.64288545", "0.62839216", "0.6246148", "0.62369376", "0.6224376", "0.6207508", "0.61992925", "0.6137155", "0.58574444", "0.58118945", "0.58004975", "0.57365006", "0.5727878", "0.5725...
0.5685621
22
Gets the current progress of the transition.
public double getTransition(){ return transition; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getProgress();", "public int getProgress() {\n return Math.round(mProgress);\n }", "public int getProgress() {\n\t\treturn mProgress;\n\t}", "public int progress() {\n return _progress;\n }", "public double getProgress()\n {\n return ((double)getCount() / (d...
[ "0.7913237", "0.7853281", "0.7835135", "0.78201586", "0.77461636", "0.77370304", "0.76614356", "0.7639509", "0.7603702", "0.75544125", "0.74871546", "0.7391795", "0.7358085", "0.73436475", "0.73436475", "0.73331165", "0.73261815", "0.7315185", "0.7185073", "0.71806484", "0.71...
0.6475064
54
retrieve the Tile Letter
public char getLetter() { return letter; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTile(int row, int column)\n {\n return tiles.get(row).get(column).getLetter(); \n }", "public Tile getTile(Character letter) {\r\n int index;\r\n Tile returnedTile;\r\n if(isAvailable(letter)) {\r\n index = frame.indexOf(new Tile(letter));\r\n ...
[ "0.80676025", "0.76967424", "0.68200386", "0.6656307", "0.65406775", "0.6464764", "0.63953185", "0.6355637", "0.6346043", "0.6346043", "0.63347524", "0.62867135", "0.628254", "0.627926", "0.62692493", "0.6262007", "0.62459946", "0.620555", "0.6145982", "0.61130553", "0.606350...
0.62761724
14
Get the Score value of the Tile
public int getValue() { return value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getScoreValue();", "public int getScore() {\n return getStat(score);\n }", "long getScore();", "long getScore();", "long getScore();", "long getScore();", "public static int getScore()\n {\n return score;\n }", "int getScore();", "float getScore();", "float getScore();", "p...
[ "0.76616925", "0.76270115", "0.7317885", "0.7317885", "0.7317885", "0.7317885", "0.7313418", "0.729276", "0.72891706", "0.72891706", "0.72672176", "0.72420436", "0.7239214", "0.72366256", "0.7234409", "0.7212521", "0.72018605", "0.72018605", "0.72018605", "0.7175162", "0.7172...
0.0
-1
Determine if the tile is a valid spot to move
public boolean valid() { if(habitat != 0 && habitat != -1 && minKnight() <= 4 - numKnights) return true; return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean legalMove() {\n\n\t\t// empty landing spot\n\t\tif (tilePath.size() == 0) {\n\t\t\tdebug(\"illegal, empty landing spot\");\n\t\t\treturn false;\n\t\t}\n\n\t\tif (!mBoard.tileIsEmpty(tilePath.get(tilePath.size() - 1))) {\n\t\t\tdebug(\"illegal, tile not empty\");\n\t\t\treturn false;\n\t\t}\n\n\t\t/...
[ "0.794994", "0.7538065", "0.71785825", "0.69988734", "0.6970094", "0.6954411", "0.6947541", "0.69307196", "0.6915515", "0.68977195", "0.6896299", "0.6878005", "0.68522096", "0.6829722", "0.6829714", "0.6817874", "0.6768394", "0.6768099", "0.6762757", "0.67143875", "0.6706003"...
0.0
-1
Set Knights onto the Tile
public void setKnight(int[] token) throws Exception { if(4-numKnights < token.length) throw new Exception(); for(int i = 0; i < token.length; i++) { knights[numKnights] = token[i]; numKnights++; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setStepCounterTileXY();", "public KnightsPosition() {\r\n row = 0;\r\n column = 0;\r\n }", "protected abstract void setTile( int tile, int x, int y );", "public void updatePossibleMovesKnights(){}", "public void generateLevel() {\n\t\tfor (int y = 0; y < this.height; y++) {\n\t\t\tfor...
[ "0.64374924", "0.64172184", "0.62831384", "0.6271354", "0.6266375", "0.6018772", "0.6008625", "0.5957885", "0.5918987", "0.59113085", "0.5883235", "0.58454126", "0.57885605", "0.57756114", "0.57747716", "0.57524973", "0.57178706", "0.5681865", "0.56291896", "0.56060797", "0.5...
0.640919
2
Retrieve Knights from the top of the Knight Stack
public int[] popKnight(int pop) throws Exception { if(4-numKnights < pop) throw new Exception(); int[] removed = new int[pop]; int valid = topKnight(); for(int i = 0; i < pop; i++){ if(topKnight() != valid) throw new Exception(); removed[i] = knights[numKnights - 1]; numKn...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int topKnight() {\r\n\t\treturn knights[numKnights - 1];\r\n\t}", "public int top();", "private int getLatestRuns() {\n // return 90 for simplicity\n return 90;\n }", "public int knightWithJugIn() {\n \n return knightsBefore.car();\n }", "public int getTopWeight(){\r\n\t \tr...
[ "0.7620839", "0.58072567", "0.56363755", "0.56321734", "0.5602532", "0.5592016", "0.55864805", "0.55523324", "0.5509411", "0.55070084", "0.54650843", "0.5375158", "0.5344377", "0.53319335", "0.53201264", "0.53201264", "0.5315511", "0.53035927", "0.52943724", "0.5281669", "0.5...
0.54212946
11
Return the current winning Knight
public int topKnight() { return knights[numKnights - 1]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int knightWithJugIn() {\n \n return knightsBefore.car();\n }", "@Override\n public boolean isKnight() {\n return true;\n }", "public int minKnight() {\r\n\t\treturn enviroment;\r\n\t}", "private TeamId findWinningTeam(){\n if (state.score().totalPoints(TeamId.TEAM_1)>=Jass.WIN...
[ "0.70683336", "0.6956835", "0.69036776", "0.667772", "0.65258527", "0.63773966", "0.63530904", "0.63501316", "0.63396513", "0.633157", "0.62992877", "0.62823415", "0.6272624", "0.62318915", "0.62239254", "0.62066185", "0.6204708", "0.6164562", "0.61550564", "0.6132057", "0.60...
0.7437884
0
Return the required knights to take the Tile
public int minKnight() { return enviroment; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getTileWidth() {\n return 8;\n }", "public int getTileHeight() {\n return 8;\n }", "public int getTileLevel()\n {\n return tileLevel;\n }", "int getTileSize();", "public int getActualTileWidth() {\n return 32;\n }", "public int getActualTileHeight() {\n return 32;\n }", ...
[ "0.6695432", "0.6585491", "0.6535262", "0.6524665", "0.6452372", "0.63613045", "0.63507444", "0.62541986", "0.6247743", "0.6235268", "0.6231381", "0.6153087", "0.6150639", "0.6128358", "0.6092957", "0.6078748", "0.60770035", "0.6059524", "0.60589147", "0.6029841", "0.60249287...
0.5597945
55
Clear operation is not supported for Native Select. This operation has no effect on Native Select element.
@Override public void clear() { super.clear(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder clearSelect() {\n\n select_ = getDefaultInstance().getSelect();\n onChanged();\n return this;\n }", "@Override\n\tpublic void unselect() {\n\t}", "public void clearAllSelected() {\n getSelectHelper().clearAllSelected();\n }", "public void resetSelectPresenta...
[ "0.7164514", "0.6779094", "0.67055905", "0.67041135", "0.6678043", "0.664397", "0.6614255", "0.6605362", "0.6574903", "0.65296423", "0.64471287", "0.63624275", "0.6334759", "0.63079166", "0.6304618", "0.629037", "0.6287902", "0.6274167", "0.6247206", "0.624684", "0.6238421", ...
0.0
-1
Return value of the selected item in the native select element
public String getValue() { return selectElement.getFirstSelectedOption().getText(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getSelectItemValue(Element e) {\r\n String value = e.getAttribute(RichFaces.ATTR_SELECT_ITEM_LABEL);\r\n \r\n if (isBlank(value)) {\r\n value = e.getAttribute(RichFaces.ATTR_SELECT_ITEM_VALUE);\r\n if (ComponentUtil.isBlank(value)) {\r\n ...
[ "0.7504858", "0.7431765", "0.73555386", "0.7336961", "0.69690377", "0.6844897", "0.6796859", "0.6728005", "0.6689814", "0.66047096", "0.659402", "0.6514147", "0.6513911", "0.6505705", "0.6439616", "0.64358157", "0.64108646", "0.6396129", "0.6391545", "0.63893545", "0.635244",...
0.7905363
0
Select item of the native select element with the specified value
public void setValue(CharSequence chars) throws ReadOnlyException { selectByText((String) chars); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void selectValue(WebElement element,String value){\n\t\tSelect options = new Select(element);\n\t\toptions.selectByVisibleText(value);\n\t}", "public static void selectValueFromDropDownByValue(WebElement element, String value) {\n \t\n \tselect = new Select(element);\n \tselect.selectByValue(valu...
[ "0.76083857", "0.74617594", "0.7341798", "0.7255073", "0.7185019", "0.7098579", "0.70477563", "0.6983061", "0.6900862", "0.68043697", "0.67706287", "0.67696965", "0.6754585", "0.67384636", "0.6738245", "0.66567993", "0.6559938", "0.6541722", "0.6536854", "0.65311515", "0.6524...
0.0
-1
TODO Autogenerated method stub
public List listAllByDate(Date minDate) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void 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 procesareMesajChat(MesajChat mesaj) { if(mesaj.getDestinatie(). isEmpty() || mesaj.getDestinatie().equals("@Everyoane")) { if(this.next!=null) this.next.procesareMesajChat(mesaj); } else { //procesare mesaj privat System.out.println(String.format("Mesaj privat pentru %s =...
{ "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
Buscamos cliente con el mismo id en clientes
public void cambiar(Cliente c) { for (int i=0; i<noCliente; i++) { if (clientes[i].id == c.id) { //Cambiamos el elemento de la lista clientes[i] = c; break; } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Client buscarClientePorId(String id){\n Client client = new Client();\n \n // Faltaaaa\n \n \n \n \n \n return client;\n }", "@Override\n\t\tpublic Cliente buscarPorId(int id) throws ExceptionUtil {\n\t\t\treturn daoCliente.buscarPorId(id);...
[ "0.8166449", "0.7677907", "0.7617981", "0.76082724", "0.7569471", "0.7513811", "0.73283404", "0.72554016", "0.7245662", "0.71881", "0.7165972", "0.7100953", "0.70952743", "0.7038221", "0.7034999", "0.70278925", "0.70083624", "0.69941944", "0.6976294", "0.6927254", "0.6884156"...
0.0
-1
This class was generated by Apache CXF 3.1.11 20170524T17:30:59.681Z Generated source version: 3.1.11
@WebService(targetNamespace = "http://www.z2systems.com/schemas/neonws/", name = "MembershipService") @XmlSeeAlso({com.z2systems.schemas.membership.ObjectFactory.class, com.z2systems.schemas.common.ObjectFactory.class, com.z2systems.schemas.account.ObjectFactory.class, com.z2systems.schemas.donation.ObjectFactory.class...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@WebService(targetNamespace = \"http://demo.cxf.com/\", name = \"SampleService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface SampleService {\n\n @WebMethod\n @RequestWrapper(localName = \"serviceMethod\", targetNamespace = \"http://demo.cxf.com/\", className = \"com.cxf.demo.sample.client.ServiceM...
[ "0.6592584", "0.6446573", "0.6385702", "0.63722014", "0.6343612", "0.6331787", "0.62849486", "0.6189102", "0.61656225", "0.61559725", "0.61371976", "0.6131478", "0.61262953", "0.60968345", "0.6096655", "0.60563403", "0.6045833", "0.60404015", "0.60163844", "0.60059375", "0.59...
0.55919105
82
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_account_remain); parseUrl(); findViews(); initSize(); // getContents(); initTitle(); registerBoradcastReceiver(); showWindow(accountRemainTitle); }
{ "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