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
Intent intent = new Intent(); intent.setAction("com.htcp.taxinear.ACTION_REQUEST"); getContext().sendBroadcast(intent);
public void createServiceRequest() { getMainActivity().startService(new Intent(getMainActivity(), RequestService.class)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View view) {\n Intent intent = new Intent(getApplicationContext(), StartActivityReceiver.class);\n intent.putExtra(\"zjf\", \"123\");\n sendBroadcast(intent);\n }", "public s...
[ "0.6952104", "0.6922103", "0.6709119", "0.6491547", "0.64187586", "0.6360514", "0.6269979", "0.61103505", "0.60874057", "0.60874057", "0.6083545", "0.6070041", "0.6069342", "0.6052907", "0.60437685", "0.6038829", "0.6015985", "0.60112727", "0.6005652", "0.600535", "0.5991901"...
0.0
-1
===================== SETUP AUTO COMPLETE ADDRESS =====================
public void setStartMarker() { if (startLocation != null) { preferencesManager.putStringValue("STARTLATITUDE", startLocation.latitude + ""); preferencesManager.putStringValue("STARTLONGITUDE", startLocation.longitude + ""); if (mMarkerStartLocation != null) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void changeBTAddress() {\n\t\t\n\t\t// if ( this.beacon.getAppType() == AppType.APPLE_GOOGLE_CONTACT_TRACING ) {\n\t\tif ( this.useRandomAddr()) {\n\t\t\t// try to change the BT address\n\t\t\t\n\t\t\t// the address is LSB..MSB and bits 47:46 are 0 i.e. bits 0 & 1 of right-most byte are 0.\n\t\t\tbyte btRandomAddr...
[ "0.65069276", "0.6393255", "0.62979937", "0.62128645", "0.62128645", "0.62128645", "0.62128645", "0.6149296", "0.6141274", "0.61329114", "0.6119398", "0.61004996", "0.6078713", "0.5948459", "0.59325516", "0.59184414", "0.59060544", "0.5903969", "0.5903902", "0.5894703", "0.58...
0.0
-1
Click on map to get latitude and longitude.
public void setUpMapOnClick() { mMap.setOnMapClickListener(new OnMapClickListener() { @Override public void onMapClick(LatLng loc) { // Hiding the keyboard when tab on map. // new MapsUtil.GetAddressByLatLng(new IMaps() { // @Override // ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onMapClick(LatLng latLng) {\n Log.i(TAG, \"receive google maps's onMapClick\");\n OnMapClick(latLng.latitude, latLng.longitude);\n\n }", "@OnClick({R.id.address_img, R.id.address})\n void OnClickMap() {\n // Open location on map\n Intent mapIntent=new Intent(Inten...
[ "0.7036787", "0.69214106", "0.69186443", "0.69186443", "0.67823726", "0.669044", "0.6592516", "0.6581388", "0.6520054", "0.6473973", "0.64368564", "0.6412558", "0.6365377", "0.6357343", "0.63375795", "0.63354963", "0.63307047", "0.6325018", "0.6299001", "0.627899", "0.6278451...
0.62018806
23
returns to the main window after pressing the goBack button
public void GoBack(ActionEvent actionEvent) throws IOException { Main.backToMain(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void goBack() {\r\n\t\tfinish();\r\n\t}", "public static void goBack() {\n\t\tif (touchGUI.getTouchModel().getGuiModel().isDialogShown()) {\n\t\t\ttouchGUI.getTouchModel().getGuiModel().closeActiveDialog();\n\t\t} else {\n\t\t\t// else go to last view in history\n\t\t\tif (!appWidget.goBack()) {\n\t\t\...
[ "0.83861405", "0.8352866", "0.831213", "0.8193562", "0.8040172", "0.8040172", "0.80289704", "0.8014975", "0.7925476", "0.7879068", "0.78746617", "0.78674734", "0.78578323", "0.78578323", "0.7855014", "0.78536224", "0.7850714", "0.7850714", "0.7850714", "0.78456813", "0.782698...
0.7931264
8
sends the user to the Wikipedia site after clicking on the white circle next to MyMazeGenerator The link is an explanation of the Prim algorithm used to create the mazes
public void PrimInfo(ActionEvent actionEvent) { try { Desktop.getDesktop().browse(new URL("https://en.wikipedia.org/wiki/Prim%27s_algorithm").toURI()); } catch (IOException e) { e.printStackTrace(); } catch (URISyntaxException e) { e.printStackTrac...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void MakeMaze() {\n\n\t\t// ints for random x , y and direction\n\t\tint rx = 0;\n\t\tint ry = 0;\n\t\tint rd = 0;\n\t\tgenMaze = true;\n\n\t\t// c used to count tries, if there are too many the main loop jumps to\n\t\t// the end of the function\n\t\tint c = 0;\n\n\t\t// fill the map with walls\n\t\tfor (in...
[ "0.58455616", "0.58431137", "0.5788204", "0.57825077", "0.5703584", "0.56637096", "0.5623228", "0.5615895", "0.5606724", "0.55127734", "0.54263955", "0.5331907", "0.53257024", "0.5291036", "0.5278551", "0.52474046", "0.52427137", "0.520333", "0.51802117", "0.5170479", "0.5164...
0.6014329
0
sends the user to the Wikipedia site after clicking on the white circle next to DepthFirstSearch The link is an information about the DFS algorithm that can be used to solve the maze
public void DFSInfo(ActionEvent actionEvent) { try { Desktop.getDesktop().browse(new URL("https://en.wikipedia.org/wiki/Depth-first_search").toURI()); } catch (IOException e) { e.printStackTrace(); } catch (URISyntaxException e) { e.printStackTrace...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void BFSInfo(ActionEvent actionEvent)\n {\n try {\n Desktop.getDesktop().browse(new URL(\"https://en.wikipedia.org/wiki/Breadth-first_search\").toURI());\n } catch (IOException e) {\n e.printStackTrace();\n } catch (URISyntaxException e)\n {\n ...
[ "0.60178214", "0.5927061", "0.5775893", "0.565942", "0.56152546", "0.5501384", "0.54703546", "0.5401407", "0.53442925", "0.53272116", "0.52683115", "0.5253782", "0.5252733", "0.5239505", "0.5227072", "0.52230495", "0.52163035", "0.52161026", "0.5193444", "0.5138374", "0.51380...
0.6776658
0
sends the user to the Wikipedia site after clicking on the white circle next to BreadthFirstSearch The link is an information about the BFS algorithm that can be used to solve the maze
public void BFSInfo(ActionEvent actionEvent) { try { Desktop.getDesktop().browse(new URL("https://en.wikipedia.org/wiki/Breadth-first_search").toURI()); } catch (IOException e) { e.printStackTrace(); } catch (URISyntaxException e) { e.printStackTra...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void BFS() {\n visitedCells = 1;\n\n // Initialize the vertices\n for (int j = 0; j < maze.getGrid().length; j++) {\n for (int k = 0; k < maze.getGrid().length; k++) {\n Cell cell = maze.getGrid()[j][k];\n cell.setColor(\"WHITE\");\n ...
[ "0.5818953", "0.5770357", "0.5750626", "0.57081795", "0.5704773", "0.5627888", "0.5601473", "0.5551523", "0.55490315", "0.5542918", "0.553044", "0.54596597", "0.5458822", "0.5423115", "0.5418548", "0.5401184", "0.5400057", "0.53891003", "0.5368308", "0.5367328", "0.5366148", ...
0.6956993
0
sends the user to the Wikipedia site after clicking on the white circle next to BestFirstSearch The link is an information about the BestFirstSearch algorithm that can be used to solve the maze
public void bestInfo(ActionEvent actionEvent) { try { Desktop.getDesktop().browse(new URL("https://en.wikipedia.org/wiki/Best-first_search").toURI()); } catch (IOException e) { e.printStackTrace(); } catch (URISyntaxException e) { e.printStackTrace...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void searchNext(CrawlingSession executor, Link link) {\n HTMLLinkExtractor htmlLinkExtractor = HTMLLinkExtractor.getInstance();\n// htmlLinkExtractor.setWorking(link);\n \n Source source = CrawlingSources.getInstance().getSource(link.getSourceFullName());\n if(source == null) return;\n \n ...
[ "0.5996992", "0.59895134", "0.5883461", "0.5833879", "0.5765127", "0.57466066", "0.56393707", "0.56137055", "0.55989283", "0.5584571", "0.55763024", "0.55734915", "0.55658525", "0.5538099", "0.5492685", "0.54006994", "0.5348234", "0.5333798", "0.53282887", "0.52828217", "0.52...
0.65892416
0
Gives higher number in decimal.
static double getMax(double a, double b) { return (a > b) ? a : b; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.apache.xmlbeans.XmlDecimal xgetMaximum();", "java.math.BigDecimal getMaximum();", "org.apache.xmlbeans.XmlDecimal xgetWBMaximum();", "java.math.BigDecimal getWBMaximum();", "public int getMaxPayRaise ()\r\n {\r\n return maxPayRaise;\r\n }", "org.apache.xmlbeans.XmlDecimal xgetSingleBetMi...
[ "0.6933689", "0.6820043", "0.67792183", "0.67693865", "0.65794015", "0.65389204", "0.65350705", "0.6361425", "0.6333892", "0.6327956", "0.6289617", "0.62718475", "0.62576747", "0.62535304", "0.623305", "0.61996466", "0.6182421", "0.61359614", "0.6132406", "0.61192167", "0.611...
0.6066815
28
Gives highest number in int array.
static int getMax(int[] array) { if (array.length > 6 && array.length < 0) { throw new IndexOutOfBoundsException("There is no that index in this array."); } int max = 0; for (int i = 0; i < array.length; i++) { if (max < array[i]) { max = array[i]; } } return max; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int maximo (int[] array) {\n\t\tint max = array[0], i;\n\t\t\n\t\tfor (i = 1; i < array.length; i++) {\n\t\t\tif (array[i] > max) {\n\t\t\t\tmax = array[i];\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn max;\n\t}", "public static int getMaximum(int[] array) {\n int length = array.length;\n int ma...
[ "0.81475556", "0.8140058", "0.80680007", "0.80083996", "0.796417", "0.7954349", "0.79373926", "0.79357475", "0.7897247", "0.78801405", "0.7878352", "0.78782845", "0.7877623", "0.782156", "0.7781657", "0.7708227", "0.7681356", "0.7632299", "0.7625066", "0.7605763", "0.76056254...
0.78070813
14
Gives highest number in double array.
static double getMax(double[] array) { if (array.length < 0) { throw new IndexOutOfBoundsException("Arrays start from index 0"); } double max = 0; for (int i = 0; i < array.length; i++) { if (max < array[i]) { max = array[i]; } } return max; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public T findHighest(){\n T highest = array[0];\n for (int i=0;i<array.length; i++)\n {\n if (array[i].doubleValue()>highest.doubleValue())\n {\n highest = array[i];\n } \n }\n return highest;\n }", "public stati...
[ "0.8246089", "0.81027085", "0.79382277", "0.7756322", "0.7731905", "0.7725459", "0.77120316", "0.7605752", "0.7573945", "0.7541709", "0.7538086", "0.73937035", "0.7361307", "0.73548055", "0.72687566", "0.7180147", "0.7180147", "0.71617234", "0.714301", "0.7129007", "0.7118661...
0.7955396
2
OWB will cache instances where the resolution by type is successful, but does not when it fails The upshot is that if resolution happens again, the InjectionResolver will need to attempt resolution again, before then trying implResolveByType() on the context.getParent() InjectionResolver, and this will happen each and ...
@Override public Set<Bean<?>> implResolveByType(final boolean delegate, final Type injectionPointType, final Class<?> injectionPointClass, final Annotation... qualifiers) { Set<Bean<?>> set; if (!startup && cacheResolutionFailure) { final ScannerService scannerService = context.getScann...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public abstract boolean needsResolving();", "@Override\r\n\tprotected void doResolve() {\n\r\n\t}", "@Override synchronized public void resolve()\n{\n if (isResolved()) return;\n\n RebaseMain.logD(\"START RESOLVE\");\n for (RebaseJavaFile jf : file_nodes) {\n RebaseMain.logD(\"FILE: \...
[ "0.55733407", "0.5553563", "0.55229694", "0.54481137", "0.5345599", "0.5343188", "0.5339399", "0.5227321", "0.51742584", "0.5134388", "0.5123746", "0.51086503", "0.5092168", "0.508897", "0.5079216", "0.50244653", "0.502028", "0.4940617", "0.49133527", "0.489282", "0.48761064"...
0.6247026
0
private static final Logger logger = LoggerFactory.getLogger(M_studentController.class);
@GetMapping("/reg_m_student") public String m_studentReg() { return "m_student_Form"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface IndexController {\n\n @LoggerInfo(Method = \"/sys/index\",Name = \"系统模块首页\")\n String index(Model model);\n}", "@Override\n public void logs() {\n \n }", "public LogMessageController() {\n\t}", "@GetMapping(\"/log-test\")\n public String logTest(){\n String name = \"Spr...
[ "0.6288515", "0.6261482", "0.6094932", "0.6026774", "0.6010404", "0.59837735", "0.5849763", "0.5794989", "0.57677263", "0.57620674", "0.5729131", "0.57287025", "0.5677112", "0.5675863", "0.5669396", "0.5632055", "0.56278825", "0.56241745", "0.56215954", "0.5609542", "0.558984...
0.55579054
24
test the number of packages objects in sefer Bereshit
@Test public void testPackagesTriples() { int expected = 12 + 50; // parashot + perakim, sefer is not added assertEquals(expected, packagesJson[1].subjects.size()); // note that element in position 0 is null // test the number of packages objects in sefer Devarim expected = 11 + 34;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getPackagesCount();", "int getFHPackagesCount();", "public int getPackageCount() {\r\n return myPackages.size();\r\n }", "public int getPackagesCount() {\n return packages_.size();\n }", "public int getObjectCount() {\n\t\treturn objects.size(); // Replace with your code\n\t}", "pub...
[ "0.74387294", "0.732865", "0.67641616", "0.6619808", "0.6560779", "0.6509685", "0.64469916", "0.6428652", "0.6413642", "0.63212204", "0.62663263", "0.6246039", "0.6224586", "0.6167909", "0.6167204", "0.60692394", "0.60653526", "0.60653526", "0.60653526", "0.60653526", "0.6065...
0.64032656
9
note that the main "sefer" object is removed from packages
private int numOfObjectsInPackage(int bookNum) { int prakimForBook[] = {0, 50, 40, 27, 36, 34, 24, 21, 31, 24, 22, 25, 66, 52, 48, 14, 4, 9, 1, 4, 7, 3, 3, 3, 2, 14, 3, 150, 31, 42, 8, 4, 5, 12, 10, 12, 10, 13, 29, 36}; int parashotForBook[] = {0, 12, 11, 10, 10, 11, 0, 0...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Unescaper() {\n\n\t}", "SmallEcorePackage getSmallEcorePackage();", "private stendhal() {\n\t}", "private SolutionsPackage() {}", "public void clearMainClass();", "MystPackage getMystPackage();", "@Override\n\tpublic void deneme() {\n\t\tsuper.deneme();\n\t}", "@Override\r\n\tprotected EPacka...
[ "0.5903958", "0.5855794", "0.58345515", "0.5692693", "0.5651611", "0.56259835", "0.55659884", "0.5545366", "0.5536691", "0.5527489", "0.5527489", "0.549825", "0.5486443", "0.5382099", "0.53526133", "0.53475094", "0.5342462", "0.5327184", "0.5316245", "0.52936286", "0.5281972"...
0.0
-1
generate getter setters for all Employee members
@Override public int compareTo(Employee o) { // @TODO // compare employee by their salary, if salaries are equal, compare by age if (o instanceof Employee) { Employee emp = (Employee) o; int i = this.salary.compareTo(emp.salary); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void getAllEmployee() {\n\t\t\n\t}", "public String getEmployee()\r\n/* 38: */ {\r\n/* 39:43 */ return this.employee;\r\n/* 40: */ }", "public Employee getEmployee() {\n return employee;\n }", "@Override\n\tpublic void ModifyEmployee() {\n\t\t\n\t}", "public void s...
[ "0.6179755", "0.6175282", "0.6070518", "0.6044905", "0.59557456", "0.58305365", "0.5814516", "0.5638532", "0.5609106", "0.55681133", "0.5561301", "0.555909", "0.55508935", "0.5550102", "0.55248564", "0.5495764", "0.5493144", "0.5489755", "0.5485306", "0.54642236", "0.54501885...
0.0
-1
BeanFactory ac = new ClassPathXmlApplicationContext("bean.xml"); ApplicationContext ac = new ClassPathXmlApplicationContext("bean.xml"); IAccountDao accountDao = (IAccountDao) ac.getBean("accountDao"); accountDao.saveAccount();
public void saveAccount() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void saveAccount(){\n ApplicationContext ac = new AnnotationConfigApplicationContext(SpringConfiguration.class);\n\n AccountService as = ac.getBean(\"accountService\", AccountService.class);\n Account account = new Account();\n account.setName(\"zlsg\");\n accou...
[ "0.7346744", "0.6961396", "0.6886585", "0.67809063", "0.6555416", "0.64729494", "0.63944453", "0.63608104", "0.6343797", "0.6098978", "0.60952026", "0.6061681", "0.60046834", "0.596985", "0.5969149", "0.5959453", "0.5955135", "0.59215117", "0.5903098", "0.588573", "0.58554775...
0.0
-1
private static final PropertiesUtil PROPS = new PropertiesUtil("log4j2.StatusLogger.properties"); public static final Logger log = new SimpleLogger("StatusLogger", Level.ERROR, false, true, false, false, Strings.EMPTY, null, PROPS, System.err); convert float to String with two fractional digits
public static String floatToString(float value) { if(Float.isNaN(value)) { return " --- "; } return String.format("%.2f", value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public JmxLogLevel() {\n this(RunTimeSingleton.instance());\n log.error(\"Wrong constructor\");\n }", "protected static Logger initLogger() {\n \n \n File logFile = new File(\"workshop2_slf4j.log\");\n logFile.delete();\n return LoggerFactory.getLogger(Slf4j.class.g...
[ "0.5856714", "0.5770758", "0.5716053", "0.56486714", "0.56319827", "0.55770785", "0.55676365", "0.5505521", "0.55054784", "0.55038804", "0.5452266", "0.54470086", "0.5438733", "0.54386735", "0.5388557", "0.5383515", "0.5383064", "0.5376696", "0.53689843", "0.5363944", "0.5358...
0.0
-1
create position map of array of Strings: name > array position
public static Map<String,Integer> stringArrayToMap(String[] entries, boolean ignoreNull) { Map<String,Integer> map = new HashMap<String,Integer>(); if(entries==null) { throw new RuntimeException("StringArrayToMap: entries==null"); } for(int i=0;i<entries.length;i++) { if(entries[i]==null) { if(!ignore...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void createMap()\r\n {\r\n position = new String[8][8];\r\n for(int i=0;i<8;i++)\r\n {\r\n int z=0;\r\n for(int j=72;j>=65;j--)\r\n {\r\n position[i][z]=(char)j+\"\"+(i+1); //uses ascii char placement for letters\r\n ...
[ "0.6554694", "0.6039436", "0.5869684", "0.5656721", "0.5600335", "0.5423876", "0.53835386", "0.53597564", "0.5259704", "0.5257844", "0.51998407", "0.51661277", "0.5161264", "0.51552445", "0.5085635", "0.5075469", "0.5059923", "0.5058317", "0.50539476", "0.5053384", "0.5052690...
0.0
-1
create an array of positions of entries in resultNames with positions of sourcePosStringArray
public static int[] stringArrayToPositionIndexArray(String resultNames[], String[] sourcePosStringArray, boolean warn, boolean exception) { return stringArrayToPositionIndexArray(resultNames,stringArrayToMap(sourcePosStringArray), warn, exception); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int[] stringArrayToPositionIndexArray(String resultNames[], Map<String,Integer> sourcePosStringMap, boolean warn, boolean exception) {\n\t\tint[] sourcePos = new int[resultNames.length];\n\t\tfor(int i=0;i<resultNames.length;i++) {\n\t\t\tInteger pos = sourcePosStringMap.get(resultNames[i]);\n\t\t\ti...
[ "0.732996", "0.5719858", "0.5710777", "0.55973184", "0.5474036", "0.5421515", "0.5329068", "0.527262", "0.523117", "0.52018476", "0.51645744", "0.5103693", "0.51008123", "0.50895774", "0.50467014", "0.5045877", "0.5031452", "0.5026034", "0.4996739", "0.49746475", "0.49742454"...
0.7234961
1
create an array of positions of entries in resultNames with positions of sourcePosStringMap
public static int[] stringArrayToPositionIndexArray(String resultNames[], Map<String,Integer> sourcePosStringMap, boolean warn, boolean exception) { int[] sourcePos = new int[resultNames.length]; for(int i=0;i<resultNames.length;i++) { Integer pos = sourcePosStringMap.get(resultNames[i]); if(pos==null) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int[] stringArrayToPositionIndexArray(String resultNames[], String[] sourcePosStringArray, boolean warn, boolean exception) {\n\t\treturn stringArrayToPositionIndexArray(resultNames,stringArrayToMap(sourcePosStringArray), warn, exception);\n\t}", "private ArrayList<int[]> resolvePositions(List<Obje...
[ "0.6586699", "0.5731191", "0.57163185", "0.5522134", "0.55080444", "0.5400221", "0.5330236", "0.51967317", "0.5086358", "0.5024179", "0.5012198", "0.500771", "0.50013965", "0.49890864", "0.49869844", "0.49700397", "0.49288514", "0.48883605", "0.48837572", "0.4882499", "0.4865...
0.7105559
0
print array of values in one line
public static void printArray(double[] a) { for(int i=0;i<a.length;i++) { System.out.format("%.2f ",a[i]); } System.out.println(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void displayValues(int [] array){\n System.out.println(Arrays.toString(array));\n }", "public String print(int[] array)\n {\n StringBuilder inputSB = new StringBuilder();\n String input;\n\n for(int i = 0; i < array.length; i++)\n {\n inputSB....
[ "0.73164487", "0.7301957", "0.72029066", "0.7126968", "0.7093157", "0.7065954", "0.7057568", "0.70449764", "0.7036986", "0.70313686", "0.70313686", "0.69705296", "0.6962305", "0.69348043", "0.6890752", "0.6870862", "0.6867457", "0.6864596", "0.68396646", "0.68366337", "0.6823...
0.69677544
12
print array of values in one line
public static void printArray(String[] a,String sep) { for(int i=0;i<a.length;i++) { System.out.print(a[i]+sep); } System.out.println(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void displayValues(int [] array){\n System.out.println(Arrays.toString(array));\n }", "public String print(int[] array)\n {\n StringBuilder inputSB = new StringBuilder();\n String input;\n\n for(int i = 0; i < array.length; i++)\n {\n inputSB....
[ "0.73164487", "0.7301957", "0.72029066", "0.7126968", "0.7093157", "0.7065954", "0.7057568", "0.70449764", "0.7036986", "0.70313686", "0.70313686", "0.69705296", "0.69677544", "0.6962305", "0.69348043", "0.6890752", "0.6870862", "0.6867457", "0.6864596", "0.68396646", "0.6836...
0.0
-1
Reads a list of range float values from inifile section
public static List<FloatRange> readIniSectionFloatRange(String fileName, String sectionName) { try { Wini ini = new Wini(new File(fileName)); Section section = ini.get(sectionName); if(section!=null) { ArrayList<FloatRange> resultList = new ArrayList<FloatRange>(); for(Entry<String, String> entry:sec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static float[] readFloatArray( URL loc ) throws IOException {\n DataInputStream in =\n new DataInputStream( new BufferedInputStream( loc.openStream() ) );\n FloatList flist = new FloatList();\n try {\n while ( true ) {\n float value = in.readFloat()...
[ "0.5966048", "0.5958239", "0.5878128", "0.56543773", "0.56426555", "0.5584048", "0.55600065", "0.55516225", "0.5536247", "0.5464596", "0.544041", "0.5344757", "0.5279332", "0.526864", "0.5265176", "0.5258291", "0.5254997", "0.5250033", "0.52416223", "0.5204", "0.5156913", "...
0.74867404
0
return result of func if a is not null else null
public static <A, B> B ifnull(A a, Function<A,B> func){ if(a==null) { return null; } else { return func.apply(a); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static <A,B> B passThruNull(A a, Function<A, B> myfunc)\r\n\t{\r\n\t\treturn (a == null ? null : myfunc.apply(a));\r\n\t}", "public static <A, B> B ifnull(A a, Function<A,B> funcArg, Supplier<B> funcNull){\n\t\tif(a==null) {\n\t\t\treturn funcNull.get();\n\t\t} else {\n\t\t\treturn funcArg.apply(a);\n\t\...
[ "0.7358668", "0.682009", "0.61921513", "0.6089755", "0.5958947", "0.57312626", "0.5723966", "0.56462914", "0.56193644", "0.5616762", "0.56165516", "0.56116605", "0.56010115", "0.55861473", "0.557166", "0.55650896", "0.553756", "0.55345786", "0.55168945", "0.55073476", "0.5476...
0.778577
0
return result of funcArg if a is not null else result of funcNull
public static <A, B> B ifnull(A a, Function<A,B> funcArg, Supplier<B> funcNull){ if(a==null) { return funcNull.get(); } else { return funcArg.apply(a); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static <A, B> B ifnull(A a, Function<A,B> func){\n\t\tif(a==null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\treturn func.apply(a);\n\t\t}\n\t}", "public static <A,B> B passThruNull(A a, Function<A, B> myfunc)\r\n\t{\r\n\t\treturn (a == null ? null : myfunc.apply(a));\r\n\t}", "@Override\n pu...
[ "0.73894775", "0.72274685", "0.60435754", "0.5969514", "0.5869522", "0.58575", "0.58362526", "0.5802884", "0.5797619", "0.5796389", "0.57832867", "0.57648456", "0.57569283", "0.5741859", "0.57382876", "0.5697779", "0.5679107", "0.5667772", "0.5636817", "0.5633124", "0.5627837...
0.748684
0
creates a map of all entries in one section of an "ini"file
public static Map<String, String> readIniSectionMap(Section section) { Map<String,String> sectionMap = new HashMap<String, String>(); for(String key:section.keySet()) { if(!key.equals("NaN")) { if(section.getAll(key).size()>1) { // TODO always == 1 ??? log.warn("multiple entries: "+key+" from "+section....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initialilzeMapEntry(String file){\n\t\tmap.put(file, new LinkedList<HashMap<Integer, Integer>>());\n\t}", "public ArrayList<HashMap<String, String>> getIniContent() {\n return this.sections;\n }", "public static void parseIni() {\r\n\t\t//Find the indexes of the division headers.\r\n\t\ti...
[ "0.61706233", "0.61288655", "0.6037109", "0.58764195", "0.5875147", "0.5829386", "0.58175343", "0.5764613", "0.5751704", "0.5672278", "0.5631507", "0.5551332", "0.55451727", "0.55066764", "0.5498245", "0.54856247", "0.54628223", "0.5458867", "0.53736156", "0.53661674", "0.535...
0.6841836
0
overrid mathod define in class Thread
public void run(){ for(;;) System.out.println("Hello" + name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "NetThread(){}", "private ThreadUtil() {\n \n }", "@Override\n public void threadStarted() {\n }", "@WorkerThread\n public abstract void zzaso();", "public void createThread() {\n }", "public Thread getThread();", "public void setThread(Thread t);", "public abstract int get...
[ "0.6690146", "0.65984905", "0.652539", "0.65091753", "0.6437531", "0.6418294", "0.6413191", "0.63193345", "0.62536806", "0.62316936", "0.62004226", "0.6184327", "0.61354685", "0.6133561", "0.6118065", "0.6087504", "0.6055459", "0.6043336", "0.6040799", "0.60246295", "0.602188...
0.0
-1
The class holding records for this type
@Override public Class<CarmodelRecord> getRecordType() { return CarmodelRecord.class; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}", "public Class<?> getRecordClass() \n\t{\n\t return recordClass ;\n\t}", "public DataRecord() {\n super(DataTable.DATA);\n }", "@Override\n public Class<Record> getRecordType() {\n return Re...
[ "0.68004626", "0.66954035", "0.64103794", "0.6398801", "0.6398801", "0.6398801", "0.6398801", "0.6393993", "0.6354873", "0.6192012", "0.61258304", "0.61258304", "0.61258304", "0.6104736", "0.60470754", "0.60470754", "0.60470754", "0.6040716", "0.6029211", "0.6020949", "0.6008...
0.57927567
46
Create a gara.CarModel table reference
public Carmodel() { this("CarModel", null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TableDefinition(Class<T> model){\n this.singleton = this;\n this.model = model;\n try {\n OBJECT = Class.forName(model.getName());\n createTableDefinition();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "Model createModel...
[ "0.60008365", "0.59704787", "0.59704787", "0.59704787", "0.59704787", "0.59704787", "0.59704787", "0.59704787", "0.587301", "0.58429927", "0.5666859", "0.566088", "0.564998", "0.56082016", "0.5599159", "0.5596713", "0.5576229", "0.5565854", "0.5540268", "0.5529169", "0.550338...
0.6100884
0
Create an aliased gara.CarModel table reference
public Carmodel(String alias) { this(alias, CARMODEL); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "FromTableJoin createFromTableJoin();", "TableOrAlias createTableOrAlias();", "FromTable createFromTable();", "public TableDefinition(Class<T> model){\n this.singleton = this;\n this.model = model;\n try {\n OBJECT = Class.forName(model.getName());\n createTableDefin...
[ "0.53084", "0.5291946", "0.5275585", "0.5195287", "0.51599604", "0.51221997", "0.50836784", "0.507634", "0.4986283", "0.49192402", "0.49074113", "0.4905656", "0.48918802", "0.4877816", "0.476132", "0.47147003", "0.47094467", "0.4688216", "0.46878773", "0.4675855", "0.46492797...
0.57042867
0
Use this factory method to create a new instance of this fragment using the provided parameters.
public static PickPowerFragment newInstance(String param1, String param2) { PickPowerFragment fragment = new PickPowerFragment(); Bundle args = new Bundle(); args.putString(ARG_PARAM1, param1); args.putString(ARG_PARAM2, param2); fragment.setArguments(args); return fragme...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static FragmentTousWanted newInstance() {\n FragmentTousWanted fragment = new FragmentTousWanted();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }", "protected abstract Fragment createFragment();", "public void createFragment() {\n\n ...
[ "0.7259329", "0.72331375", "0.71140355", "0.69909847", "0.69902235", "0.6834592", "0.683074", "0.68134046", "0.6801526", "0.6801054", "0.67653185", "0.6739714", "0.6739714", "0.6727412", "0.6717231", "0.6705855", "0.6692112", "0.6691661", "0.66869426", "0.66606814", "0.664618...
0.0
-1
TODO: Rename method, update argument and hook method into UI event
public void onButtonPressed(Uri uri) { if (mListener != null) { mListener.onFragmentInteraction(uri); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t}", "@Override\n\t\t\t\tpublic void handle(ActionEvent event) {\n\n\t\t\t\t}", "@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}", "@...
[ "0.6619185", "0.65246344", "0.6473144", "0.6473144", "0.64351684", "0.6325494", "0.62368196", "0.6189416", "0.6158721", "0.61455715", "0.6123594", "0.6107332", "0.6101038", "0.6092755", "0.6049496", "0.6049496", "0.60442764", "0.604003", "0.604003", "0.6007846", "0.59999037",...
0.0
-1
This interface must be implemented by activities that contain this fragment to allow an interaction in this fragment to be communicated to the activity and potentially other fragments contained in that activity. See the Android Training lesson Communicating with Other Fragments for more information.
public interface OnFragmentInteractionListener { // TODO: Update argument type and name void onFragmentInteraction(Uri uri); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface OnFragmentInteractionListener {\n void onFragmentMessage(String TAG, Object data);\n}", "public interface FragmentInteraction {\n void switchToBoardView();\n void switchToPinsView();\n void switchToPins(PDKBoard pdkBoard);\n void switchToDescription(PDKPin pin);\n}", "public int...
[ "0.73245984", "0.72083515", "0.71344024", "0.7124397", "0.7121651", "0.7015244", "0.69770265", "0.69770265", "0.69770265", "0.6974299", "0.6967729", "0.6966127", "0.69612694", "0.69538033", "0.694325", "0.69331574", "0.69292706", "0.6927241", "0.6923228", "0.69110304", "0.690...
0.0
-1
TODO: Update argument type and name
void onFragmentInteraction(Uri uri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public String getFirstArg() {\n return name;\r\n }", "@Override\n public int getNumberArguments() {\n return 1;\n }", "java.lang.String getArg();", "@Override\n public int getArgLength() {\n return 4;\n }", "Argument createArgument();", "@Override\r\n\tpublic ...
[ "0.7164074", "0.6946075", "0.6714363", "0.65115863", "0.63969076", "0.6375468", "0.63481104", "0.63162106", "0.6260299", "0.6208487", "0.6208487", "0.62070644", "0.6197276", "0.61806154", "0.6177103", "0.61530507", "0.61472267", "0.61243707", "0.60771817", "0.6054482", "0.599...
0.0
-1
/ access modifiers changed from: protected / renamed from: zzj
public zzeo zzc(IBinder iBinder) { return zzeo.zza.zzp(iBinder); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "public abstract void mo2624j();", "@Override\n protected void prot() {\n }", "public abstract Object mo26777y();", "public final void zzjk() {\n }", "public abstract void mo70713b();", "private final zzgy zzgb() {\n }", "private void kk12() {\n\n\t}", "public ...
[ "0.68510145", "0.6708894", "0.667761", "0.6565258", "0.6519668", "0.6495956", "0.6490065", "0.6484957", "0.6482457", "0.6465639", "0.64366025", "0.64340657", "0.6408734", "0.63986146", "0.6380117", "0.63542825", "0.6321485", "0.6318071", "0.6277723", "0.6276835", "0.6269605",...
0.0
-1
TODO Autogenerated method stub
@Override public void realFun() { }
{ "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 run() { realFun(); }
{ "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
method to return input from result page
public String checkInput() { return ((WebElement) links.get(0)).getAttribute("alt"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getResponse()\n {\n System.out.println();\n System.out.println(\"Enter id number to look up, 'd' to display list, 'q' to quit\");\n System.out.print(\"Your choice: \");\n return scanner.nextLine();\n }", "String askForData();", "@GetMapping(\"\")\n public Object get(RetrieveInpu...
[ "0.6213819", "0.61651564", "0.6153666", "0.61259514", "0.61259514", "0.61259514", "0.61218494", "0.5988201", "0.59844047", "0.5974194", "0.58771056", "0.5804802", "0.57793635", "0.57698333", "0.57474244", "0.5737294", "0.5721991", "0.5701802", "0.56939524", "0.5687184", "0.56...
0.0
-1
method to return result from result page
public String getResult() { return ((WebElement) links.get(1)).getAttribute("alt"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Result getResult();", "public String getResult();", "public String getResult();", "public String getResult();", "public abstract String getResult();", "public Result getResults()\r\n {\r\n return result;\r\n }", "public String getResults() {\r\n return returnObject.getResults();\r\n }"...
[ "0.66391253", "0.6507641", "0.6507641", "0.6507641", "0.6402793", "0.6365042", "0.63197035", "0.6319495", "0.6313332", "0.62052155", "0.61935437", "0.61713624", "0.61352074", "0.6129759", "0.6121543", "0.60849273", "0.60786533", "0.6047976", "0.6024471", "0.6024471", "0.60238...
0.0
-1
Called when the activity is first created.
@Override public void onCreate(Bundle savedInstanceState) { //requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); super.onCreate(savedInstanceState); setContentView(R.layout.video_list); mPreference =getSharedPreferences(Const.PREF_SETTING_FILE_NAME, 0); mShowI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinit();\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "@Override\n\tpublic void onActivit...
[ "0.791686", "0.77270156", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7637394", "0.7637394", "0.7629958", "0.76189965", "0.76189965", "0.7543775", "0.7540053", "0.7540053", "0.7539505", "0.75269467", "0.75147736", "0.7509639", "0.7500879",...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { switch(v.getId()){ case R.id.title_button_refresh:{ startProgress(); Uri uri=Uri.parse("content://"+getPackageName()+".YouTubeProvider/"+YT.TABLE_PLAYLIST+"/"+mPlayListId); mQueryHandler.startQuery(0, null, uri, null, null, null, null); } break; ...
{ "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
/ PRJ_TITLE+" text, "+ PRJ_PLAYLIST_ID+" text, "+ PRJ_DESCRIPTION+" text, "+ PRJ_DURATION+" text, "+ PRJ_THUMNAIL+" text, "+ PRJ_VIDEO_ID+" text"+
private void addSelectedtoFavorites(){ Cursor c=getContentResolver().query(Uri.parse(Const.URI_STRING+"/videolist/"+mPlayListId), null, null, null, null); if(mCheckData==null || c==null){ Logging.e("Error Data NULL"); return; } if(mCheckData.size()!=c.getCount()){ Logging.e("Error Data and Cursor...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String playlistToString(){\n String out = \"\";\n out =\"********** Playlist **********\\n\"+\n \"** Title: \"+name+\"\\n\"+\n \"** Duration: \"+timeToFormat(updateDuration())+\"\\n\"+\n \"** Genre: \"+changeGendersOfPlaylist(playlistAllGenders())+\"\\n\";\n...
[ "0.6216823", "0.6148112", "0.5917581", "0.5906783", "0.5768484", "0.57216305", "0.5696869", "0.56568974", "0.5638026", "0.55705565", "0.55697453", "0.5555814", "0.55330104", "0.55261433", "0.55219907", "0.54791737", "0.5453971", "0.5442871", "0.54369164", "0.53826946", "0.535...
0.0
-1
TODO Change to check event only if new window is created
@TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR2) @Override public void onAccessibilityEvent(AccessibilityEvent event) { int eventType = event.getEventType(); Log.i(TAG, "UI event detected!" + getEventText(eventType) + " from " + event.getPackageName()); if (eventType == AccessibilityEvent...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void windowOpened(WindowEvent e) {\n \n }", "@Override public void windowOpened(WindowEvent evt) { }", "@Override public void windowOpened(WindowEvent evt) { }", "@Override\r\n public void windowOpened(WindowEvent e) {\n }", "@Override\n public void windowOp...
[ "0.69724286", "0.6960897", "0.6960897", "0.69043654", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", "0.6892428", ...
0.0
-1
TODO Autogenerated method stub
@Override public void onInterrupt() { }
{ "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
The constructor for the MicrocontrollerProperties class creates a new instance with the specified register size, flash size, etc. All such fields are immutable, and the pin assignments and IO register assignments cannot be changed.
public MicrocontrollerProperties(int is, int ss, int fs, int es, int np, int ni, CodeSegment.Factory csf, HashMap pa, RegisterLayout rl, HashMap inta) { ioreg_size = is; sram_size = ss; flash_size = fs; eeprom_size = es; num_pins = np; num_interrupts = ni; codeSe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AVRMemory()\n {\n super(32, 256, 4096, 65535);\n }", "public Property(int xLength, int yWidth, int xLeft, int yTop, int regNum) {\n setXLength(xLength);\n setYWidth(yWidth);\n setXLeft(xLeft);\n setYTop(yTop);\n setRegNum(regNum);\n }", "public MicroConfiguration() {\n ...
[ "0.5827998", "0.5611626", "0.54207563", "0.5320263", "0.5300164", "0.5265076", "0.51523244", "0.50988245", "0.50770456", "0.50733346", "0.5013976", "0.49805018", "0.4980215", "0.491957", "0.49039748", "0.4900787", "0.48731056", "0.4859421", "0.48479897", "0.48468018", "0.4839...
0.5046412
10
The getPin() method retrieves the pin number for the given pin name for this microcontroller.
public int getPin(String n) { Integer i = (Integer)pinAssignments.get(n); if ( i == null ) throw new NoSuchElementException(StringUtil.quote(n)+" pin not found"); return i.intValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getPinNumber();", "public java.lang.String getPin() {\r\n return pin;\r\n }", "public String getPin() {\n\t\treturn pin;\n\t}", "public String getPin() {\n return this.pin;\n }", "public String getPIN();", "public static int getPin()\n\t{\n\n\t\tSystem.out.print(\"Please enter the...
[ "0.72068554", "0.70561844", "0.69067633", "0.68641615", "0.6381593", "0.62909275", "0.6213005", "0.61833775", "0.60353523", "0.59711593", "0.5882023", "0.5828697", "0.5717853", "0.5598607", "0.556245", "0.5553296", "0.5543528", "0.54023665", "0.53406495", "0.5319595", "0.5307...
0.61380106
8
The getIOReg() method retrieves the IO register number for the given IO Register name for this microcontroller.
public int getIOReg(String n) { return layout.getIOReg(n); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getIORegName(int ioreg) {\n return ioreg_name[ioreg];\n }", "public int get_ioreg(int index)\n {\n if ((index < 0) || (index >= IO_REG_COUNT))\n return 0;\n else\n return getDataMemory(index+IO_REG_COUNT);\n }", "public i...
[ "0.75345457", "0.71572804", "0.63783157", "0.62976927", "0.60675323", "0.58784044", "0.57070243", "0.5656056", "0.56413466", "0.54604274", "0.53990597", "0.53908896", "0.53228146", "0.5276711", "0.52044666", "0.5179526", "0.51139295", "0.51109815", "0.51109815", "0.5106269", ...
0.74011844
1
The hasIOReg() method queries whether the IO register exists on this device.
public boolean hasIOReg(String n) { return layout.hasIOReg(n); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasRegistry() {\n return registry_ != null;\n }", "boolean hasDevice();", "boolean hasRegistry();", "public boolean hasRegistry() {\n return registryBuilder_ != null || registry_ != null;\n }", "public int IORegCount() { return IO_REG_COUNT; }", "public boolean isBusy (...
[ "0.6370547", "0.6323503", "0.62459075", "0.6147613", "0.5871864", "0.57587004", "0.56513166", "0.5577545", "0.5577545", "0.5502069", "0.5458207", "0.5407854", "0.5392375", "0.53690994", "0.52974534", "0.5293315", "0.5284759", "0.5283311", "0.52596617", "0.5255216", "0.5252355...
0.7513619
0
The getInterrupt() method retrieves the interrupt number for the given interrupt name for this microcontroller
public int getInterrupt(String n) { Integer i = (Integer)interruptAssignments.get(n); if ( i == null ) throw new NoSuchElementException(StringUtil.quote(n)+" interrupt not found"); return i.intValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getInterruptName(int inum) {\n return interrupt_name[inum];\n }", "InterruptResource createInterruptResource();", "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// Retr...
[ "0.737655", "0.5735445", "0.5466365", "0.53937596", "0.53803325", "0.53669626", "0.5231773", "0.52234936", "0.51608044", "0.51442856", "0.51249355", "0.51197284", "0.5019475", "0.49871314", "0.49538484", "0.48365474", "0.4814911", "0.4800804", "0.47801968", "0.47619718", "0.4...
0.7066798
1
The getIORegName() method returns the name of the IO register specified by the given number.
public String getIORegName(int ioreg) { return ioreg_name[ioreg]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getIOReg(String n) {\n return layout.getIOReg(n);\n }", "public int get_ioreg(int index)\n {\n if ((index < 0) || (index >= IO_REG_COUNT))\n return 0;\n else\n return getDataMemory(index+IO_REG_COUNT);\n }", "public String g...
[ "0.7036273", "0.6506685", "0.59053457", "0.58473873", "0.5774015", "0.56478673", "0.5599102", "0.5588238", "0.54075074", "0.53558105", "0.5249758", "0.5210849", "0.5142178", "0.50915015", "0.5080788", "0.5044784", "0.49952608", "0.49856228", "0.49847454", "0.49822325", "0.498...
0.8452561
0
The getInterruptName() method returns the name of an interrupt specified by the given number.
public String getInterruptName(int inum) { return interrupt_name[inum]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getInterrupt(String n) {\n Integer i = (Integer)interruptAssignments.get(n);\n if ( i == null )\n throw new NoSuchElementException(StringUtil.quote(n)+\" interrupt not found\");\n return i.intValue();\n }", "public String getSignalName(int index);", "public String ...
[ "0.6253935", "0.55914927", "0.5473924", "0.52815294", "0.5017134", "0.5008725", "0.4949627", "0.4941136", "0.4916716", "0.4871657", "0.48568588", "0.48262474", "0.48237875", "0.48144314", "0.48133484", "0.48025817", "0.47845414", "0.4779483", "0.47540867", "0.47292733", "0.47...
0.8023703
0
Checks whether or not the model is owned by the user in the current security context.
public interface SecurityContextModelOwnershipChecker<T> { /** * Whether or not the specified model is owned in the current context. * * @param model * Model. Never {@code null}. * @return {@code true} if the input model is considered owned. */ public boolean isOwnedInSecurityContext(T model) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkAppInstanceOwnership(){\n\n\t\ttry {\n\t\t\t\n\t\t\t\n\t \tif(getUser() != null){\n\t \t\t\n\t \t\tif(getUser().getRole().equalsIgnoreCase(UserRoles.admin.toString()))\n\t \t\t\treturn true;\n\t \t\telse{\n\t \t\t\t\n\t\t\t\t\tAppInstance app = AHEEngine.getAppInstanceEntity(...
[ "0.6628734", "0.63869447", "0.63364506", "0.6277321", "0.62576085", "0.62573016", "0.6249703", "0.62209547", "0.620525", "0.60914177", "0.6073843", "0.6045211", "0.60220593", "0.59775674", "0.5976052", "0.5928277", "0.58952314", "0.58910733", "0.58557576", "0.5810135", "0.580...
0.65011644
1
///////////////////////////////////////// PUBLIC METHODS (BEAN to ENTITY) /////////////////////////////////////////
public static <S extends BaseBean, D extends BaseEntity> D parserBeanToEntity(S sourceObject, Class<D> destinationType) { return dozerMapper.map(sourceObject, destinationType); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void toEntity(){\n\n }", "protected abstract Serializable getEntity();", "@Override\n public Entity getEntity() {\n return super.getEntity();\n }", "public abstract P toEntity();", "public abstract V getEntity();", "public abstract Integer getEntity();", "protected abstract ENTIT...
[ "0.6858344", "0.6564367", "0.6347119", "0.6331082", "0.6282477", "0.60432535", "0.6034716", "0.5992775", "0.5991318", "0.5991318", "0.5988807", "0.5967397", "0.5949273", "0.5938862", "0.59147966", "0.5901171", "0.58914363", "0.58731645", "0.58481824", "0.5801682", "0.579742",...
0.0
-1
///////////////////////////////////////// PUBLIC METHODS (ENTITY to BEAN) /////////////////////////////////////////
public static <S extends BaseEntity,D extends BaseBean> D parserEntityToBean(S sourceObject, Class<D> destinationType) { return dozerMapper.map(sourceObject, destinationType); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void toEntity(){\n\n }", "public abstract P toEntity();", "protected abstract Serializable getEntity();", "Object toExternal (Object entity, Settings settings);", "protected abstract ENTITY createEntity();", "public abstract T convertToEntity(D dto);", "@Override\n public Entity getEntity(...
[ "0.7356258", "0.684833", "0.6369579", "0.6228244", "0.6193273", "0.6183061", "0.61218226", "0.60512257", "0.59255123", "0.5925299", "0.59179133", "0.59070843", "0.58484334", "0.58345866", "0.5805921", "0.5793928", "0.5782119", "0.57794803", "0.57789445", "0.577769", "0.574325...
0.0
-1
/////////////////////////////////////////////////////////////////////////////// PUBLIC METHODS (KEY BEAN to KEY ENTITY) ///////////////////////////////////////////////////////////////////////////////
public static <IDB extends Serializable, IDE extends Serializable> IDE parserKeyBeanToKeyEntity(IDB sourceObject, Class<IDE> destinationType) { return dozerMapper.map(sourceObject, destinationType); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void setKey(byte[] key) {\n }", "void privateSetTechStuffKey(com.hps.july.persistence.WorkerKey inKey) throws java.rmi.RemoteException;", "public abstract Key translateKey(Key key) throws InvalidKeyException;", "@Override\n\tpublic void Encrypt(Object key) {\n\n\t}", "OpenSSLKey mo...
[ "0.63890076", "0.63259816", "0.6313407", "0.6265493", "0.62640387", "0.6261643", "0.6259715", "0.6251805", "0.6237699", "0.6232145", "0.6221332", "0.61967885", "0.6172337", "0.6114171", "0.60985684", "0.6049491", "0.60435325", "0.60300976", "0.5985061", "0.59823793", "0.59761...
0.0
-1
/////////////////////////////////////////////////////////////////////////////// PUBLIC METHODS (KEY ENTITY to KEY BEAN) ///////////////////////////////////////////////////////////////////////////////
public static <IDE extends Serializable, IDB extends Serializable> IDB parserKeyEntityToKeyBean(IDE sourceObject, Class<IDB> destinationType) { return dozerMapper.map(sourceObject, destinationType); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Key translateKey(Key key) throws InvalidKeyException;", "@Override\n public void setKey(byte[] key) {\n }", "OpenSSLKey mo134201a();", "@Override\n\tpublic void Encrypt(Object key) {\n\n\t}", "abstract public String getKey();", "void privateSetTechStuffKey(com.hps.july.persistence.W...
[ "0.63865244", "0.6264689", "0.6232229", "0.62057006", "0.6154788", "0.61351216", "0.6063158", "0.60488206", "0.6044882", "0.6042015", "0.6040418", "0.60138303", "0.598677", "0.59765923", "0.5976369", "0.5976369", "0.59757423", "0.5973666", "0.595098", "0.5939286", "0.5932641"...
0.0
-1
Gets the path1 value for this ResponsiveSearchAd.
public java.lang.String getPath1() { return path1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPath1(java.lang.String path1) {\n this.path1 = path1;\n }", "public String getPath() {\n\t\treturn getString(\"path\");\n\t}", "public String getPath() { \n\t\treturn getPathElement().getValue();\n\t}", "public java.lang.String getDirection1() {\r\n return direction1;\r\n ...
[ "0.6460653", "0.593184", "0.58688396", "0.57320076", "0.5731948", "0.57144487", "0.5664622", "0.56231344", "0.55998063", "0.5585513", "0.55738616", "0.5573484", "0.55601525", "0.55601525", "0.55601525", "0.55601525", "0.55601525", "0.55601525", "0.55601525", "0.55601525", "0....
0.7990764
0
Sets the path1 value for this ResponsiveSearchAd.
public void setPath1(java.lang.String path1) { this.path1 = path1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getPath1() {\n return path1;\n }", "public void setPath(String path)\n {\n try\n {\n // Tokenize the path\n pathArray = getPathResolved(path);\n \n // Set path property\n this.path = path;\n }\n catch ...
[ "0.70960677", "0.59409976", "0.56034595", "0.55913854", "0.5588868", "0.5563695", "0.5557354", "0.5549405", "0.55095327", "0.5480519", "0.5456291", "0.5440243", "0.5431941", "0.5431941", "0.54184806", "0.5394778", "0.5394778", "0.5394778", "0.53475285", "0.533068", "0.532554"...
0.81688017
0
Return type metadata object
public static org.apache.axis.description.TypeDesc getTypeDesc() { return typeDesc; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MetadataType getType();", "public MetadataType getType() {\n return type;\n }", "public MilanoTypeMetadata.TypeMetadata getMetadata()\n {\n if (typeMetadata == null) {\n return null;\n }\n\n return typeMetadata;\n }", "private Metadata getMetadata(RubyModule type)...
[ "0.7969707", "0.7373198", "0.7358018", "0.7090138", "0.67353225", "0.67259765", "0.66725683", "0.65644145", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223", "0.6543223",...
0.0
-1
Weno pos a medias
public boolean borraLocalidad(String p){ boolean devolver = false; Localidad2 key = null; TreeSet<Localidad2> cercanas = new TreeSet<Localidad2>(); //Value TreeSet<Localidad2> borrar = new TreeSet<Localidad2>(); TreeSet<Localidad2> borrar2 = new TreeSet<Localidad2>(); for (Map.Entry<...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int notaMedia() {\n\t\tint media = 0;\n\t\t//sumatoria\n\t\tfor (Integer integer : notas) {\n\t\t\tmedia += integer.intValue();\n\t\t}\n\t\t//division\n //control divison por 0\n if(notas.size() != 0){\n\t\tmedia /= notas.size();\n }\n\t\treturn media;\n\t}", "...
[ "0.6021696", "0.5814011", "0.57578206", "0.5601257", "0.55668783", "0.5482884", "0.5324553", "0.5312054", "0.52519697", "0.5210362", "0.51483715", "0.51305354", "0.5087691", "0.5070968", "0.50477964", "0.504465", "0.5031118", "0.5028696", "0.5002101", "0.49869645", "0.4968490...
0.0
-1
Called when a drawer has settled in a completely closed state.
public void onDrawerClosed(View view) { super.onDrawerClosed(view); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onDrawerClosed(View view) {\n }", "public void onDrawerClosed(View view) {\n super.onDrawerClosed(view);\n Log.d(TAG, \"onDrawerClosed\");\n }", "@Override\n public void onDrawerClosed(View drawerView) {\n ...
[ "0.7115407", "0.6926059", "0.6869123", "0.6850017", "0.6850017", "0.67975765", "0.67975765", "0.67596", "0.6725664", "0.6725664", "0.6725664", "0.6725664", "0.6725664", "0.6725664", "0.6725664", "0.6725664", "0.6725664", "0.6725664", "0.6725664", "0.6725664", "0.6725664", "...
0.6745561
8
Called when a drawer has settled in a completely open state.
public void onDrawerOpened(View drawerView) { String mTitle = getResources().getString(R.string.mTitle); super.onDrawerOpened(drawerView); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void onDrawerOpened() {\n\t\t\t\tshowDown();\n\t\t\t}", "public void onDrawerOpened(View drawerView) {\n super.onDrawerOpened(drawerView);\n handleEvent_onDrawerOpened(drawerView);\n }", "@Override\n public void onDrawerStateCh...
[ "0.70575815", "0.6901369", "0.67309564", "0.67309564", "0.67309564", "0.67309564", "0.6724413", "0.67101437", "0.67101437", "0.67101437", "0.67101437", "0.65850323", "0.645492", "0.6450285", "0.6450285", "0.6450285", "0.6450285", "0.6450285", "0.6450285", "0.6450285", "0.6450...
0.0
-1
Add code here if clicked on planner
private void selectItem(int position) { if (position == 0) { //joj Toast.makeText(this, " clicked on planner ", Toast.LENGTH_SHORT).show(); //Call the method, actions to take place when clicked on planner } //add code if clicked on Recipes else if (pos...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (isTest) {\n\t\t\t\t} else {\n\t\t\t\t\tif (isSwitch) {// 电梯\n\t\t\t\t\t\tAppManager.getAppManager().finishActivity(\n\t\t\t\t\t\t\t\tNearbyElevatorPlaygroundListActivity.class);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tAppManager.getAppManager().finishActivity...
[ "0.61023647", "0.6086949", "0.6086949", "0.6031291", "0.60177815", "0.5994519", "0.5932244", "0.59251124", "0.58823735", "0.5844758", "0.5833951", "0.58330435", "0.5756417", "0.5745905", "0.574195", "0.57344544", "0.5722098", "0.57153463", "0.57151186", "0.57151186", "0.57134...
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu_main, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { if (mDrawerToggle.onOptionsItemSelected(item)) { return true; } // Handle your other action bar items... return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.7904454", "0.78056747", "0.77659833", "0.7727365", "0.7631989", "0.76223314", "0.7584553", "0.75306034", "0.7487836", "0.745791", "0.745791", "0.7438328", "0.74220496", "0.74034584", "0.7391494", "0.73866826", "0.73788977", "0.7370167", "0.7362255", "0.73555887", "0.734525...
0.0
-1
Toast.makeText(this,side_menu[position] + " was selected",Toast.LENGTH_SHORT).show();
@Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { selectItem(position); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(DialogInterface dialog, int which, boolean isChecked) {\n if (isChecked) {\n Toast.makeText(MainActivity.this, item[which], Toast.LENGTH_SHORT).show();\n }\n ...
[ "0.73212445", "0.7320144", "0.7244717", "0.7229475", "0.7117944", "0.7090832", "0.70494", "0.697148", "0.69656736", "0.69525707", "0.69509643", "0.69372505", "0.69253606", "0.6915518", "0.68961984", "0.68942285", "0.6832241", "0.6830837", "0.68203276", "0.6814115", "0.6804322...
0.0
-1
Calculates the factorial of an integer. If p=0, the factorial is returned.
public static int factorial(int p){ // in this application p cannot be negative, so no logic for negative factorials // is included. if p=0 or 1 then 1 is returned. // if p>1 then p! is returned // also, in this application p is small (p will generally be 5, // but could range from 2 to 7) // so no logic ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int factorial(int n){\n return (n==1||n==0)?1: n*factorial(n-1);\n }", "public static int factorial(int n) {\n int res = 0;\n if (n == 0) res = 1;\n if (n > 0) res = n*factorial(n-1);\n return res;\n }", "private long factorial(int i) {\n\t\t/*\n\t\t * if the nu...
[ "0.74441564", "0.7302672", "0.72729766", "0.7117756", "0.71007645", "0.7093111", "0.7086781", "0.702024", "0.693877", "0.6926094", "0.6924882", "0.6922939", "0.689742", "0.6859882", "0.68513376", "0.68267924", "0.6791579", "0.675135", "0.67376345", "0.67297006", "0.6657211", ...
0.8361888
0
Create the combinations of possible operations used in the Krypto Expression
public static int[][] allCombo(int possibleOperations, int N){ // in this application N is generally 5 but may range from 2 to 7 // there are usually 4^(N-1) possibleOperations meaning that the // four operations (+ - * /) can be arranged in 4^(5-1)=256 different ways // the N-1 power is used since there are N...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String operate() {\r\n\r\n\t\t// Logger log = Logger.getLogger(IterationFactory.class);\r\n\t\tDecimalFormat form = new DecimalFormat(\"0.0000\");\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\t\tOperationFactory operateF;\r\n\t\tList<Integer> valueList;\r\n\r\n\t\tIterator<String> inputItr = this.getInp...
[ "0.6107534", "0.5854871", "0.5818154", "0.5707991", "0.5637872", "0.5571695", "0.55414116", "0.5495677", "0.54749495", "0.54698306", "0.5418413", "0.5416861", "0.5333825", "0.52744704", "0.5264959", "0.5261574", "0.5258522", "0.5191383", "0.5135822", "0.51317704", "0.51219183...
0.56286633
5
TODO Autogenerated method stub
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); AppendMainBody(R.layout.os_jsh_wdj_ldss_introduce); isShowSlidingMenu(false); AppendTitleBody1(); initView(); initListener(); initData(); }
{ "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 protected void onDestroy() { super.onDestroy(); unregisterReceiver(mReceiver); }
{ "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
private void initView() { cb_show = (CheckBox) findViewById(R.id.cb_show); btn_next = (Button) findViewById(R.id.btn_next); }
{ "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
private void initListener() { btn_next.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub if(cb_show.isChecked()){ SharepreferenceUtil.write(JshWdjLdssIntroduceActivity.this, SharepreferenceUtil.fileName, "ldss_show", fals...
{ "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(View v) { if(cb_show.isChecked()){ SharepreferenceUtil.write(JshWdjLdssIntroduceActivity.this, SharepreferenceUtil.fileName, "ldss_show", false); OpenActivityFinsh(JshWdjLdssSetActivity.class); }else{ SharepreferenceUtil.write(JshWdjLdssIntroduceActivity.this...
{ "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
private void initData() { SetTopBarTitle(getString(R.string.os_jsh_wdj_add_ldss)); regFliter(); }
{ "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
private void regFliter() { IntentFilter filter = new IntentFilter(); filter.addAction(OsConstants.JSH.ADD_DEVICES_SUCCES); filter.addAction(OsConstants.JSH.SETTIING_WIFI_SUCCESS); registerReceiver(mReceiver, filter); }
{ "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 onReceive(Context context, Intent intent) { if (intent.getAction().equals(OsConstants.JSH.ADD_DEVICES_SUCCES) || intent.getAction().equals(OsConstants.JSH.SETTIING_WIFI_SUCCESS)) { 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
@Override public List<BoardVo> boardSelectList(String keyword, int start, int end, String searchOption) { Map<String, Object> map = new HashMap<>(); map.put("keyword", keyword); map.put("searchOption", searchOption); map.put("start", start); map.put("end", end); return sqlSession.selectList(n...
{ "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 BoardVo boardSelectOne(int boardNo) { return sqlSession.selectOne(namespace +"boardSelectOne", boardNo); }
{ "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 boardInsertOne(BoardVo boardVo) { sqlSession.insert(namespace +"boardInsertOne", boardVo); }
{ "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 boardUpdateOne(BoardVo boardVo) { sqlSession.update(namespace +"boardUpdateOne", boardVo ); }
{ "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 boardDelete(int boardNo) { sqlSession.delete(namespace +"boardDelete", boardNo); }
{ "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 boardUpdateRecommendUp(int boardNo) { sqlSession.update(namespace +"boardUpdateRecommendUp", boardNo); }
{ "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 boardUpdateRecommendDown(int boardNo) { sqlSession.update(namespace +"boardUpdateRecommendDown", boardNo); }
{ "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 HitsVo hitsSelectOne(Map<String, Object> map) { return sqlSession.selectOne(namespace + "hitsSelectOne", map); }
{ "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 boardUpdateHitsUp(int boardNo) { sqlSession.update(namespace +"boardUpdateHitsUp", boardNo); }
{ "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 hitsUpdateDate(int hitsNo) { sqlSession.update(namespace +"hitsUpdateDate", hitsNo); }
{ "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 hitsDeleteWithBoard(int boardNo) { sqlSession.delete(namespace +"hitsDeleteWithBoard", boardNo); }
{ "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 insertFile(Map<String, Object> map) { sqlSession.insert(namespace + "insertFile", map); }
{ "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 List<Map<String, Object>> fileSelectList(int no) { return sqlSession.selectList(namespace + "fileSelectList", no); }
{ "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 int fileDelete(int no) { return sqlSession.delete(namespace + "fileDelete", no); }
{ "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 Map<String, Object> fileSelectStoredFileName(int no) { return sqlSession.selectOne(namespace + "fileSelectStoredFileName", no); }
{ "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 int boardCommentCount(int boardNo) { return sqlSession.selectOne(namespace + "boardCommentCount", boardNo); }
{ "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 boardDeleteWithMember(int memberNo) { sqlSession.delete(namespace +"boardDeleteWithMember", memberNo); }
{ "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 hitsDeleteWithMember(int memberNo) { sqlSession.delete(namespace +"hitsDeleteWithMember", memberNo); }
{ "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 List<Integer> boardNoSelectList(int memberNo) { return sqlSession.selectList(namespace + "boardNoSelectList", memberNo); }
{ "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
The constructor tells the game to reset, and then sets up the variables not set up by that function, like the points, the game over, the two timers, the score, and the file. It also fills the list of high scores.
public GameController() { //mySnake = null; lives = 5; reset(); gameOver = false; moveTimer.start(); points = 0; rand = new Random(); mushroomTimer = new Timer(1000, new MushroomTimerHelper()); mushroomTimer.start(); scores = new HighScore[10]; file = new File("highscore...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public HighScore() {\n try {\n BufferedReader a = new BufferedReader(new FileReader(\"points.txt\"));\n BufferedReader b = new BufferedReader(new FileReader(\"names.txt\"));\n ArrayList<String> temp = new ArrayList(0);\n temp = createArray(a);\n names =...
[ "0.7023813", "0.700041", "0.6941887", "0.68747705", "0.679536", "0.66986406", "0.6697973", "0.66608477", "0.6644005", "0.6551681", "0.6528818", "0.6521329", "0.6461459", "0.6418977", "0.63937205", "0.63722944", "0.6326724", "0.6323347", "0.62576145", "0.6254795", "0.623576", ...
0.7678846
0
The snakeUp function tells the snake to speed up and increases the points.
public void snakeUp(){ speedUp(); points += 100; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void up(){\n\t\tmoveX=0;\n\t\tmoveY=-1;\n\t}", "public void moveUp() {\n\t\tposY += speed;\n\t}", "public void updateUp() {\n int newY = this.getY() + 1;\n this.setY(newY);\n }", "public void laserMoveUp()\r\n\t{\r\n\r\n\t\tif (y > 0)\r\n\t\t\ty -= 20;\r\n\r\n\t\telse\r\n\t\t\tdestroy...
[ "0.67567474", "0.673968", "0.6708367", "0.6691939", "0.6690538", "0.6682965", "0.662258", "0.662258", "0.6597299", "0.6588957", "0.65778315", "0.65311104", "0.64305764", "0.6391028", "0.6385049", "0.63750684", "0.63540524", "0.63370615", "0.6325789", "0.63067013", "0.62401587...
0.8933589
0
The speed up function is called by the purple mushroom to increase the speed of the snake without increasing the size as well, and by the snake up function when the snake is increasing in size.
public void speedUp(){ moveSpeed+=1; moveTimer.setDelay(1000/moveSpeed); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void snakeUp(){\r\n\t\tspeedUp();\r\n\t\tpoints += 100;\r\n\t}", "public void upSpeed()\n\t{\n\t\tmoveVec.setLocation(moveVec.getX() * 1.1, moveVec.getY() * 1.1);\n\n\t\t//this.speed *= 1.1;\n\t}", "public void intake(double up_speed, double down_speed) //上面&下面的intake\n {\n intake_up.set(ControlM...
[ "0.83163726", "0.7230362", "0.69811684", "0.663461", "0.6562407", "0.64777374", "0.6464174", "0.64608246", "0.63671064", "0.62443703", "0.6241464", "0.62084526", "0.6191824", "0.6151793", "0.60792005", "0.6029359", "0.6014258", "0.60111636", "0.59921485", "0.5985254", "0.5979...
0.7252804
1
The reset function is called when the game is first constructed and every time that the snake dies. It resets the move timer, creates a new snake, creates a new list of mushrooms, and resets the number of strokes to ignore. It also checks to see if the player is out of lives, and if so sets the game over boolean to be ...
public void reset(){ if (moveTimer != null) moveTimer.stop(); mySnake = new Snake(MAX_WIDTH/2, MAX_HEIGHT/2, MAX_WIDTH, MAX_HEIGHT); moveSpeed = mySnake.getList().size(); moveTimer = new Timer(1000/moveSpeed, new MoveTimerHelper()); moveTimer.start(); shrooms = new ArrayList<Mushroom>(); ignoreSt...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void resetGame()\n {\n createRooms();\n createItems();\n createCharacters();\n\n int itemsToAdd = getRandomNumber(10,items.size());\n addRoomItems(itemsToAdd);\n winItem = createWinItem();\n\n moves = 1;\n currentRoom = getRoom(STARTROOM); // Play...
[ "0.73509896", "0.72499186", "0.7166151", "0.7045908", "0.6976466", "0.697567", "0.6917361", "0.6894628", "0.6891908", "0.68879443", "0.6771543", "0.6750661", "0.6744202", "0.67438215", "0.6692685", "0.6639476", "0.65997964", "0.65710264", "0.65649915", "0.6564397", "0.6555668...
0.87714976
0