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
we don't need to trigger the change listener for this modification, so it's ok to operate on the original configuration object
public void modifyXmlAndProperties(Properties properties, XmlEntity xmlEntity, String[] groups) { lockSharedConfiguration(); try { Region<String, Configuration> configRegion = getConfigurationRegion(); for (String group : listOf(groups)) { Configuration configuration = configRegion.get(group...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void configurationUpdated();", "private void updateConfig(){\n try {\n BeanUtils.copyProperties(config_,newConfig_);//copy the properties of newConfig_ into config_\n } catch (IllegalAccessException ex) {\n ReportingUtils.logError(ex, \"Failed to make copy of settings\");\n } catch...
[ "0.74922365", "0.7433838", "0.7209328", "0.7198759", "0.7175791", "0.7159056", "0.71509475", "0.7149138", "0.7134607", "0.711507", "0.7063787", "0.7027647", "0.7009588", "0.7009588", "0.7009588", "0.7009588", "0.7009588", "0.7009588", "0.69813406", "0.697433", "0.69650227", ...
0.0
-1
Add jar information into the shared configuration and save the jars in the file system used when deploying jars
public void addJarsToThisLocator(List<String> jarFullPaths, String[] groups) throws IOException { addJarsToThisLocator(getDeployedBy(), Instant.now().toString(), jarFullPaths, groups); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void updateJar(){\n\t\tPath currentFile = Paths.get(\".\\\\\"+APPLICATION_JAR_NAME);\r\n\t\tPath backupFile = Paths.get(\".\\\\\"+APPLICATION_JAR_BK_NAME);\r\n\t\ttry {\r\n\t\t\tif (Files.exists(currentFile)){\r\n\t\t\t\tFiles.copy(currentFile, backupFile, StandardCopyOption.REPLACE_EXISTING);\r\n\t\t\t}\r...
[ "0.60486865", "0.603793", "0.5971513", "0.5953823", "0.58519113", "0.58258635", "0.57452667", "0.57343686", "0.56673545", "0.56594604", "0.5650776", "0.5596256", "0.5583747", "0.5578458", "0.5530511", "0.55246073", "0.5494677", "0.548225", "0.54621565", "0.544213", "0.5442025...
0.5280614
28
Removes the jar files from the shared configuration. used when undeploy jars
public boolean removeJars(String[] jarNames, String[] groups) { lockSharedConfiguration(); boolean success = true; try { Region<String, Configuration> configRegion = getConfigurationRegion(); if (groups == null) { groups = configRegion.keySet().toArray(new String[0]); } for (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void releaseConfigFiles() throws Exception {\r\n ConfigManager configManager = ConfigManager.getInstance();\r\n for (Iterator iterator = configManager.getAllNamespaces(); iterator.hasNext();) {\r\n configManager.removeNamespace((String) iterator.next());\r\n }\r\n }", "p...
[ "0.6474363", "0.63859636", "0.60487545", "0.59586674", "0.58609235", "0.58573735", "0.5834861", "0.5769986", "0.5711645", "0.56920016", "0.5664826", "0.56359905", "0.5629022", "0.55824685", "0.55813956", "0.55609465", "0.5548941", "0.55265456", "0.55261827", "0.5525859", "0.5...
0.5868566
4
Only used when a locator is initially starting up
public void downloadJarFromOtherLocators(String groupName, String jarName) throws IllegalStateException, IOException { logger.info("Getting Jar files from other locators"); DistributionManager dm = cache.getDistributionManager(); DistributedMember me = cache.getMyId(); List<DistributedMember> loca...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void initLocation() {\n }", "public void setDocumentLocator (Locator locator)\n {\n // no op\n }", "public void setLocatorCurrent(String locatorCurrent) {\n\t\t\r\n\t}", "public Locator getLocator() {\n/* 155 */ return this.sourceLocator;\n/* */ }", "public Lo...
[ "0.64343697", "0.6273153", "0.6214077", "0.6184332", "0.6150818", "0.61140937", "0.6106302", "0.602687", "0.60241157", "0.5949019", "0.5928542", "0.5928542", "0.5912697", "0.5909619", "0.5907842", "0.59051675", "0.58493143", "0.5827356", "0.57937044", "0.57868385", "0.5779919...
0.0
-1
used in the cluster config change listener when jar names are changed in the internal region
public void downloadJarFromLocator(String groupName, String jarName, DistributedMember sourceLocator) throws IllegalStateException, IOException { logger.info("Downloading jar {} from locator {}", jarName, sourceLocator.getName()); createConfigDirIfNecessary(groupName); File jarFile = downloadJar(sou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void notifyJarChange(List<Jar> changedJars) {\n\r\n\t}", "@Override\r\n\tpublic final void updateJarInfo(List<Jar> jars) throws KxException {\n\t\tString user = getClass().getName();\r\n\t\tif (jars == null)\r\n\t\t\treturn;\r\n\t\tfor (Jar jar : jars) {\r\n\t\t\tsuper.doChangedJars(jar);\r...
[ "0.6475409", "0.59476364", "0.5882185", "0.56920016", "0.560506", "0.536496", "0.53623027", "0.53335077", "0.5310795", "0.52058107", "0.5079286", "0.5019549", "0.49880305", "0.49653715", "0.4957553", "0.49472064", "0.49462676", "0.4945376", "0.4897972", "0.48898086", "0.48637...
0.0
-1
Retrieve a deployed jar from a locator. The retrieved file is staged in a temporary location.
public File downloadJar(DistributedMember locator, String groupName, String jarName) throws IOException { ClusterConfigurationLoader loader = new ClusterConfigurationLoader(); return loader.downloadJar(locator, groupName, jarName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public File downloadJar(DistributedMember locator, String groupName, String jarName)\n throws IOException {\n Path tempDir = FileUploader.createSecuredTempDirectory(\"deploy-\");\n Path tempJar = Paths.get(tempDir.toString(), jarName);\n\n downloadTo(locator, groupName, jarName, tempJar);\n\n retu...
[ "0.69562423", "0.6412918", "0.6041033", "0.58103436", "0.57141393", "0.56702256", "0.56605375", "0.5627851", "0.56071603", "0.54799044", "0.54620147", "0.5457663", "0.5451225", "0.54484075", "0.54269475", "0.53985244", "0.5388953", "0.53790385", "0.5374711", "0.5364325", "0.5...
0.58864284
3
Creates the shared configuration service
void initSharedConfiguration(boolean loadSharedConfigFromDir) throws IOException { status.set(SharedConfigurationStatus.STARTED); Region<String, Configuration> configRegion = getConfigurationRegion(); lockSharedConfiguration(); try { removeInvalidXmlConfigurations(configRegion); if (loadShar...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Map<String, LocalResource> prepareAMAndConfigForLaunch(HoyaFileSystem hoyaFileSystem,\n Configuration serviceConf,\n ClusterDescription clusterSpec,\n ...
[ "0.6267106", "0.6210422", "0.6196643", "0.61028326", "0.60944843", "0.6036309", "0.59636", "0.59636", "0.59117913", "0.57353926", "0.5721086", "0.5721086", "0.57165366", "0.57134086", "0.5656223", "0.5649461", "0.56291896", "0.56154215", "0.5614366", "0.5614181", "0.56130487"...
0.5471217
25
Creates a ConfigurationResponse based on the configRequest, configuration response contains the requested shared configuration This method locks the ConfigurationPersistenceService
public ConfigurationResponse createConfigurationResponse(Set<String> groups) { ConfigurationResponse configResponse = null; boolean isLocked = lockSharedConfiguration(); if (isLocked) { try { configResponse = new ConfigurationResponse(); groups.add(ConfigurationPersistenceService.CLUS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(value = \"/api/v1/device/config\", method = RequestMethod.POST, consumes = \"application/json\", produces = \"application/json\")\n\tpublic RestResponse configuration(@RequestBody DeviceConfigurationRequest request) {\n\t\tRestResponse response = new RestResponse();\n\n\t\ttry {\n\t\t\tAuthenticate...
[ "0.59363556", "0.5458385", "0.5431075", "0.5403056", "0.53718275", "0.5279916", "0.52246386", "0.51955354", "0.5114935", "0.51085466", "0.51063406", "0.5091771", "0.50857043", "0.5077599", "0.5011021", "0.49947476", "0.49747726", "0.4952781", "0.49526298", "0.49517906", "0.49...
0.58547616
1
configDir is the dir that has all the groups structure underneath it.
public void loadSharedConfigurationFromDir(File configDir) throws IOException { if (!configDir.exists()) { throw new IOException("ConfigDir does not exist: " + configDir.toPath()); } lockSharedConfiguration(); try { File[] groupNames = configDir.listFiles((FileFilter) DirectoryFileFilter.INS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static File getConfigDirectory() {\n return getDirectoryStoragePath(\"/NWD/config\", false);\n }", "public Path getRepositoryGroupBaseDir();", "public static String getConfigFolder() {\n\t\tString progArg = System.getProperty(ConfigConstants.CONFIG_DIR_PROG_ARGUMENT);\n\t\tif (progArg != null)...
[ "0.62265664", "0.6012874", "0.5617723", "0.5578895", "0.55150115", "0.54857045", "0.5472786", "0.5470412", "0.53951406", "0.538576", "0.5352737", "0.5276664", "0.5260029", "0.52591336", "0.52518", "0.52494913", "0.523557", "0.5224267", "0.51663136", "0.5113506", "0.5108845", ...
0.5665266
2
Write the content of xml and properties into the file system for exporting purpose
public void writeConfigToFile(Configuration configuration, File rootDir) throws IOException { File configDir = createConfigDirIfNecessary(rootDir, configuration.getConfigName()); File propsFile = new File(configDir, configuration.getPropertiesFileName()); BufferedWriter bw = new BufferedWriter(new Fi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void exportPropertiesToXML(PropertySet properties, String xmlPath){\n\t\t\n\t\t\n\t\ttry {\n\n\t\t\t//Call the method to get the root element of this document\n\t\t\tElement root = createJDOMRepresentation(properties);\n\t\t\t\n\t\t\t//Create an XML Outputter\n\t\t\tXMLOutputter outputter = new XMLOutputter...
[ "0.7228888", "0.6980838", "0.67652124", "0.6601896", "0.6580025", "0.64929384", "0.6474439", "0.6458921", "0.64496857", "0.63479096", "0.6345235", "0.63344055", "0.6290573", "0.62878054", "0.6267758", "0.6225822", "0.61985826", "0.6192789", "0.6173476", "0.6126701", "0.612372...
0.0
-1
Creates a directory for this configuration if it doesn't already exist.
private File createConfigDirIfNecessary(String configName) throws IOException { return createConfigDirIfNecessary(configDirPath.toFile(), configName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createDirectory() {\r\n\t\tpath = env.getProperty(\"resources\") + \"/\" + Year.now().getValue() + \"/\";\r\n\t\tFile file = new File(path);\r\n\t\tif (!file.exists())\r\n\t\t\tfile.mkdirs();\r\n\t}", "private void createDir(){\n\t\tPath path = Path.of(this.dir);\n\t\ttry {\n\t\t\tFiles.createDirecto...
[ "0.79943055", "0.74227685", "0.71167195", "0.6911041", "0.69014263", "0.68949646", "0.67299193", "0.67112195", "0.6623557", "0.6563847", "0.6553988", "0.65287447", "0.6408777", "0.63719773", "0.63676256", "0.6354002", "0.6344271", "0.6340659", "0.63280594", "0.63230395", "0.6...
0.72663474
2
no need to delete all
@Override public void setUp() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "public void deleteAll() {\n\t\t\n\t}", "public void deleteAll();", "public...
[ "0.83115643", "0.83115643", "0.83115643", "0.83115643", "0.82519555", "0.82144636", "0.8182551", "0.81797814", "0.8171629", "0.8171629", "0.8171629", "0.8171629", "0.8171629", "0.8171629", "0.8171629", "0.8171629", "0.8146129", "0.8146129", "0.8146129", "0.81361794", "0.81361...
0.0
-1
no need to delete all
@Override public void tearDown() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void deleteAll() {\n\t\t\r\n\t}", "public void deleteAll() {\n\t\t\n\t}", "public void deleteAll();", "public...
[ "0.83115643", "0.83115643", "0.83115643", "0.83115643", "0.82519555", "0.82144636", "0.8182551", "0.81797814", "0.8171629", "0.8171629", "0.8171629", "0.8171629", "0.8171629", "0.8171629", "0.8171629", "0.8171629", "0.8146129", "0.8146129", "0.8146129", "0.81361794", "0.81361...
0.0
-1
This Method loads the image file to a particular location.
private void loadData(String fileName, String cobrandPath) throws ParserConfigurationException, SAXException, IOException { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(cobrandPath); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadImage() {\n\t\tif (images.containsKey(name)) {\n\t\t\treturn;\n\t\t}\n\n\t\ttry {\n\t\t\tString fullPath = BASE_PATH + this.sprite_sheet;\n\t\t\tFile imageFile = new File(fullPath);\n\t\t\tImage initialImage = ImageIO.read(imageFile);\n\t\t\tImage scaledImage = initialImage.getScaledInstance(\n\t\t...
[ "0.6810463", "0.6803666", "0.67970884", "0.67833585", "0.6715241", "0.6703379", "0.668282", "0.6655686", "0.65557814", "0.65435725", "0.64607686", "0.64583796", "0.6413021", "0.63284767", "0.6325403", "0.6252172", "0.6231728", "0.62236077", "0.6141234", "0.61012596", "0.60993...
0.0
-1
Validates the form values.
private ActionMessages validateFormValues(UploadForm fileForm) { ActionMessages messages = new ActionMessages(); FormFile file = fileForm.getFile(); // retrieve the file name String fileName = file.getFileName().toLowerCase(); if (!fileName.equals("")) { if (!fileN...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void validate() {\n\t\tFormFieldValidator.validateStudent(this, student);\n\t\tFormFieldValidator.validateCourseList(this, courseID);\n\t}", "public boolean validateForm() {\r\n\t\tint validNum;\r\n\t\tdouble validDouble;\r\n\t\tString lengthVal = lengthInput.getText();\r\n\t\tString widthVal...
[ "0.69909817", "0.69056743", "0.6796175", "0.67661446", "0.671128", "0.65651816", "0.65629387", "0.65126765", "0.64321667", "0.6412695", "0.6405144", "0.6391596", "0.6374487", "0.6347514", "0.6288846", "0.6252558", "0.625109", "0.6228298", "0.6199159", "0.6152231", "0.6144438"...
0.6192104
19
endregion region METHODS region PRIVATE METHODS
private void init() { if (getSupportActionBar() != null && (presenter.getRepositoryName() != null && !presenter.getRepositoryName().isEmpty())) { getSupportActionBar().setTitle(presenter.getRepositoryName()); } rcvItems.setLayoutManager(new LinearLayoutManager(this))...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tprotected void interr() {\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "protected OpinionFinding() {/* intentionally empty block */}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", ...
[ "0.6435379", "0.6294852", "0.6235686", "0.61931217", "0.61680734", "0.6163933", "0.61574703", "0.6135892", "0.608322", "0.608322", "0.608322", "0.608322", "0.608322", "0.608322", "0.60587656", "0.6033424", "0.6021239", "0.6021239", "0.6005736", "0.6005736", "0.59868515", "0...
0.0
-1
Verify that the user provided settings overrides are NOT overwritten.
@Test public void testExecuteValidSettingsExistingSettings() throws Exception { final EntityService entityService = mock(EntityService.class); final GlobalSettingsInfo existingSettings = new GlobalSettingsInfo() .setViews(new GlobalViewsSettings() .setDefaultView(UrnUtils.getUrn("urn:li:da...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean overridesSet(){\n return overrides.stream().anyMatch(k->!k.dontAllowSet());\n }", "private void checkForDefaultSharedPreferences(){\n preferenceValuesAreDefault = (preferredMovieGenre.equals(getString(R.string.pref_genre_any_value)) &&\n preferredStartYear.equals(getStrin...
[ "0.6966035", "0.6014862", "0.6009405", "0.5840707", "0.5691096", "0.56696826", "0.5649938", "0.5649938", "0.562475", "0.5554669", "0.5521627", "0.5514923", "0.5470071", "0.54249805", "0.5418585", "0.53852946", "0.5331542", "0.5328571", "0.5325747", "0.52970886", "0.5293691", ...
0.6207864
1
TODO Autogenerated method stub
public static void main(String[] args) throws IOException { Properties p=new Properties(); File f=new File("Test.txt"); f.createNewFile(); FileInputStream fis=new FileInputStream("Test.txt"); p.load(fis); String username=p.getProperty("user"); System.out.println("user name="+username); String pass=p.get...
{ "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
Metodo que permite crear una copia del archivo.
public ArchivoAula descargarArchivo(){ ArchivoAula nuevoArchivo = this; nuevoArchivo.setNombre(this.nombre); nuevoArchivo.setFormato(this.formato); return nuevoArchivo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void copyFile(String sourceFile, String destinationFile, boolean overwrite) throws IOException;", "private static void copyFile(File scrFile, File file) {\n\t\r\n}", "public Contenido copiar() {\n\t\tthrow new NotImplementedException();\r\n\t}", "void copyFile(String sourceFile, String destinationFile) throw...
[ "0.6864702", "0.6854246", "0.6558118", "0.6417705", "0.6133766", "0.6130576", "0.612607", "0.6124225", "0.60919076", "0.609101", "0.60644877", "0.60487926", "0.60396045", "0.6023103", "0.6014606", "0.5996195", "0.59385127", "0.5888451", "0.58751863", "0.58713615", "0.5869564"...
0.0
-1
Metodo que retorna el nombre del archivo.
public String getNombre() { return nombre; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String getFileName();", "java.lang.String ge...
[ "0.78808904", "0.78808904", "0.78808904", "0.78808904", "0.78808904", "0.78808904", "0.78808904", "0.78808904", "0.78808904", "0.7782802", "0.7713284", "0.76802474", "0.7639231", "0.7639231", "0.7639231", "0.7639231", "0.7639231", "0.76370716", "0.7578981", "0.75580114", "0.7...
0.0
-1
Metodo que retorna el formato del archivo.
public String getFormato() { return formato; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "FileFormat getFormat();", "public String getFileFormat()\r\n\t{\r\n\t\treturn this.getSerializer().getFileFormat();\r\n\t}", "public abstract String getFileFormatName();", "Object getFormat();", "@UML(identifier=\"fileFormat\", obligation=MANDATORY, specification=ISO_19139)\n Format getFileFormat();", ...
[ "0.80812454", "0.77230024", "0.72689414", "0.7111601", "0.7066903", "0.6723799", "0.67053324", "0.664873", "0.66039705", "0.65956604", "0.64770526", "0.64747083", "0.64747083", "0.64747083", "0.64736074", "0.6447236", "0.64456964", "0.6414011", "0.6391773", "0.63609445", "0.6...
0.63226837
23
Metodo que redefine el nombre del arhivo.
public void setNombre(String nombre) { this.nombre = nombre; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void actualizarNombrePoder(){\n\t\tString name = ( game.getCurrentSorpresa() == null )?\"No hay sorpresa\":game.getCurrentSorpresa().getClass().getName();\n\t\tn2.setText(name.replace(\"aplicacion.\",\"\"));\n\t}", "private void setName() {\n\t\t//MAKE SURE NOT TO GET ACCIDENTAL RECURSION HERE\n\t\t//DO ...
[ "0.63407826", "0.63201994", "0.6313232", "0.62314296", "0.62105477", "0.6176316", "0.61527246", "0.6136042", "0.61336344", "0.6043739", "0.603055", "0.60187006", "0.60144657", "0.60105854", "0.60008025", "0.599342", "0.5970138", "0.59666085", "0.5966526", "0.5956818", "0.5942...
0.0
-1
Metodo que redefine el formato del arhivo.
public void setFormato(String formato) { this.formato = formato; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object getFormat();", "public void resetFormato()\r\n {\r\n this.formato = null;\r\n }", "@Override\n\tpublic KRRFormat format() {\n\t\treturn null;\n\t}", "@Override\n public String saveFormat() {\n return \"E\" + super.saveFormat() + \",\" + by;\n }", "public void mo1606a(Format...
[ "0.6530492", "0.63429886", "0.62547326", "0.6150024", "0.60508156", "0.60349953", "0.6025999", "0.60257936", "0.60096014", "0.60061634", "0.59909135", "0.59852064", "0.5970895", "0.5970895", "0.5970895", "0.59389776", "0.5914124", "0.5908886", "0.59067357", "0.5900948", "0.58...
0.59925175
10
Inflate the layout for this fragment
@Nullable @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView=inflater.inflate(R.layout.fragment_serv_frag1, container, false); Button btn1= (Button) rootView.findViewById(R.id.btnP1); Bu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
super.onViewCreated(view, savedInstanceState); recyclerView = (RecyclerView) findViewById(R.id.recycle_view); layoutManager = new LinearLayoutManager(this); recyclerView.setLayoutManager(layoutManager); // specify an adapter (see also next example) mAdapter = new MyAdapter(myDataset); recyclerView.setAdapter(mAdapter);
@Override public void onViewCreated(View view , Bundle savedInstanceState) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initRecyclerView() {\n\r\n\r\n recyclerView.setHasFixedSize(true);\r\n recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));\r\n\r\n\r\n adapter = new LokerAdapter(getContext(), itemList);\r\n recyclerView.setAdapter(adapter);\r\n\r\n }", "@Override\n ...
[ "0.7766171", "0.760382", "0.75730354", "0.7572461", "0.7567145", "0.7433522", "0.7407372", "0.74025", "0.73884875", "0.7326082", "0.729377", "0.7265622", "0.72559744", "0.7247287", "0.7234488", "0.7211226", "0.7188227", "0.718348", "0.7181893", "0.7142922", "0.70933735", "0...
0.0
-1
Instantiates a new user personal info controller.
public UserPersonalInfoController() { MainAllControllers = controllers.MainAllControllers.getInstance(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void populateUserInformation()\n {\n ViewInformationUser viewInformationUser = new ViewFXInformationUser();\n\n viewInformationUser.buildViewProfileInformation(clientToRegisteredClient((Client) user), nameLabel, surnameLabel, phoneLabel, emailLabel, addressVbox);\n }", "public UserCont...
[ "0.6610778", "0.64147913", "0.6339084", "0.6224866", "0.62153375", "0.61912113", "0.616196", "0.615445", "0.6077961", "0.6064332", "0.6062178", "0.6060598", "0.59622335", "0.5950716", "0.5898776", "0.58910066", "0.5875158", "0.5825962", "0.5810569", "0.577782", "0.5769785", ...
0.788809
0
Mouse click event, if "Add request" button clicked, open the screen of "Add new request".
@FXML void addreBTNE(MouseEvent event) throws IOException { MainAllControllers.setWindowVar("UserAddRequest"); MainAllControllers.changeWin(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void actionPerformed(ActionEvent e){\n\t\t\topenAdd();\n\t\t}", "public void verifyAddNewRequestPopUp() {\n try {\n openAddNewRequestWindow();\n waitForVisibleElement(addNewRequestWindow, \"Add new request popup\");\n } catch (Exception e) {\n NXGReports.addS...
[ "0.7073736", "0.656703", "0.6540937", "0.6511192", "0.6436402", "0.6427776", "0.6418089", "0.63023865", "0.62971777", "0.6281474", "0.6263054", "0.62588674", "0.6236127", "0.62163854", "0.6206133", "0.6199666", "0.6171503", "0.61488974", "0.6136008", "0.6115369", "0.61117685"...
0.6227463
13
Mouse click event, if "help" button clicked, open the screen of "help".
@FXML void helpBTNE(MouseEvent event) throws IOException { MainAllControllers.setWindowVar("UserHelp"); MainAllControllers.changeWin(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleHelp() {\n if (!helpWindow.isShowing()) {\n helpWindow.show();\n } else {\n helpWindow.focus();\n }\n }", "@Override\n\tprotected void handleHelp(ClickEvent event) {\n\t\t\n\t}", "@Override\n public void actionPerformed(ActionEvent e) {\n...
[ "0.7721038", "0.7716505", "0.7710899", "0.7668165", "0.7648887", "0.7602542", "0.75459445", "0.748401", "0.7478591", "0.7443865", "0.74386305", "0.74061257", "0.7396894", "0.73424524", "0.7314813", "0.73114645", "0.7271041", "0.72663474", "0.72501314", "0.72224873", "0.721970...
0.65497464
61
Mouse click event, if "Home" button clicked, open the screen of "Home".
@FXML void backHome(MouseEvent event) throws IOException { MainAllControllers.setWindowVar("userHome"); MainAllControllers.changeWin(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void pressHomeButton() {\n System.out.println(\"TV is already on the home screen\\n\");\n }", "default public void clickHome() {\n\t\tremoteControlAction(RemoteControlKeyword.HOME);\n\t}", "void showHome() {\n\t\tsetContentView(R.layout.home);\r\n\t\tView homeView = findViewById(R.id.home_imag...
[ "0.7713819", "0.74952024", "0.7434817", "0.7386474", "0.7356927", "0.72567964", "0.721184", "0.7038172", "0.70271736", "0.6984265", "0.69765526", "0.69739497", "0.69636196", "0.6921914", "0.69093275", "0.68904316", "0.6872165", "0.68396336", "0.68271565", "0.6818448", "0.6812...
0.64955336
46
Mouse click event, if "logOut" button clicked, open the screen of "LogOut" and clean the fields.
@FXML void logoutBTNE(MouseEvent event) throws IOException { MainAllControllers.setWindowVar("login"); MainAllControllers.changeWin(); MainAllControllers.logOutUser(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void logoutBtnMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_logoutBtnMouseClicked\n ((AppDraftGUI) this.getRootPane().getParent()).showPanel(0);\n frameInstance.p0.username.setText(\"\");\n frameInstance.p0.password.setText(\"\");\n }", "@Step(\"Log out\")\n pu...
[ "0.79005826", "0.76951575", "0.7527617", "0.75217384", "0.7476776", "0.74681216", "0.7457283", "0.7417302", "0.7414143", "0.7280237", "0.7274405", "0.7266837", "0.72281516", "0.72019285", "0.7192695", "0.7190203", "0.7181327", "0.71777326", "0.7165254", "0.71495575", "0.70649...
0.6608115
63
Mouse click event, if "Personal info" button clicked, open the screen of "Personal information".
@FXML void personBTNE(MouseEvent event) throws IOException { MainAllControllers.setWindowVar("UserPersonalInfo"); MainAllControllers.changeWin(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void ClickUserInformationPage() {\r\n\t\tuserinfo.click();\r\n\t\t\tLog(\"Clicked the \\\"User Information\\\" button on the Birthdays page\");\r\n\t}", "public void ClickPartnerInformationPage() {\r\n\t\tpartnerinfo.click();\r\n\t\t\tLog(\"Clicked the \\\"Partner Information\\\" button on the Birthdays p...
[ "0.7041001", "0.64827126", "0.64775634", "0.6473549", "0.6453813", "0.63949996", "0.6393885", "0.63795096", "0.63247377", "0.6292865", "0.62344426", "0.6229744", "0.6225908", "0.61477655", "0.61420125", "0.61225736", "0.61003286", "0.609519", "0.6082123", "0.6061018", "0.6060...
0.58926713
32
Mouse click event, if "Show requests" button clicked, open the screen of "Show requests".
@FXML void showreBTNE(MouseEvent event) throws IOException { MainAllControllers.setWindowVar("UserShowRequests"); MainAllControllers.changeWin(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void doScreenClick() {\r\n\t\tbtnColonyInfo.visible = btnButtons.down;\r\n\t\tbtnPlanet.visible = btnButtons.down;\r\n\t\tbtnStarmap.visible = btnButtons.down;\r\n\t\tbtnBridge.visible = btnButtons.down;\r\n\t\trepaint();\r\n\t}", "public void clickDemandSideManagement();", "public void Open() {\r\n\...
[ "0.6415521", "0.6353794", "0.62077236", "0.6179645", "0.61567676", "0.60954285", "0.6084053", "0.6073083", "0.6047019", "0.60023874", "0.59893787", "0.59851384", "0.596929", "0.59446913", "0.5940504", "0.5935153", "0.5922866", "0.59201837", "0.59201", "0.5914222", "0.5903743"...
0.62279695
2
Initializes GUI components before this window open. Get the relevant information from DB and set the user information on the screen: user name, email and position.
@Override public void initialize(URL location, ResourceBundle resources) { UserName.setText(MainAllControllers.user.getName()); email.setText(MainAllControllers.user.getName() + "@braude.ac.il"); position.setText(MainAllControllers.user.getstrPosition()); switch (MainAllControllers.user.getstrPosition()) { c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void init(){\n this.firstNameTF.setText(user.getFirstName());\n this.nameTF.setText(user.getName());\n this.phoneTF.setText(user.getPhone());\n\n this.mailLabel.setText(user.getMail());\n this.roleLabel.setText(user.getFirstName());\n }", "private void populateUserIn...
[ "0.72135955", "0.7012484", "0.69331217", "0.6814907", "0.67592764", "0.6744137", "0.67440355", "0.67223173", "0.66847956", "0.6669885", "0.6632134", "0.6602735", "0.6550981", "0.6525343", "0.65206003", "0.6514579", "0.6505933", "0.6478602", "0.647685", "0.647685", "0.64732033...
0.0
-1
/ / / / / /
public void a(boolean ☃) { /* 64 */ this.ab.b(a, Boolean.valueOf(☃)); /* */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void divide() {\n\t\t\n\t}", "private int parent(int i){return (i-1)/2;}", "private int leftChild(int i){return 2*i+1;}", "public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }", "public abstract void bepaalGrootte();", "public static void bottomHalf(...
[ "0.5472371", "0.5383522", "0.52979374", "0.5293668", "0.5211566", "0.51842105", "0.5161626", "0.51377255", "0.5100369", "0.5067393", "0.5064298", "0.50376177", "0.49875325", "0.49361488", "0.49140826", "0.49058613", "0.49058613", "0.48946288", "0.48945552", "0.48931476", "0.4...
0.0
-1
Creates a new unparented new anonymous class expression node owned by the given AST. N.B. This constructor is packageprivate.
NewAnonymousClassExpression(AST ast) { super(ast); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ASTNode clone0(AST target) {\r\n\t\tNewAnonymousClassExpression result = new NewAnonymousClassExpression(target);\r\n\t\tresult.setSourceRange(this.getStartPosition(), this.getLength());\r\n\tresult.setExpression((Expression) ASTNode.copySubtree(target, getExpression()));\r\n\t\tresult.newArguments.addAll(ASTNode....
[ "0.67966145", "0.6100002", "0.60215586", "0.59974724", "0.5823601", "0.57373947", "0.5718059", "0.5705876", "0.5690312", "0.5680362", "0.5643667", "0.5609661", "0.5596847", "0.55906135", "0.5585543", "0.54958326", "0.5369083", "0.5341284", "0.52828753", "0.52790207", "0.52619...
0.8565441
0
/ (omit javadoc for this method) Method declared on ASTNode.
final List internalStructuralPropertiesForType(int apiLevel) { return propertyDescriptors(apiLevel); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected ASTNode() {\n\t\t\n\t}", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "@Override\n public void visit(Index node) {\n }", "@Override\r\n\tpublic void visit() {\n\r\n\t}", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArra...
[ "0.66075706", "0.66048765", "0.6345367", "0.61468834", "0.6121789", "0.6117572", "0.61149824", "0.6100488", "0.60657996", "0.6057922", "0.60470754", "0.6045281", "0.60449874", "0.59991354", "0.5956863", "0.5943082", "0.59196484", "0.58950776", "0.5893351", "0.5871289", "0.584...
0.0
-1
/ (omit javadoc for this method) Method declared on ASTNode.
final ASTNode internalGetSetChildProperty(ChildPropertyDescriptor property, boolean get, ASTNode child) { if (property == EXPRESSION_PROPERTY) { if (get) { return getExpression(); } else { setExpression((Expression) child); return null; } } // allow default implementation to flag the...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected ASTNode() {\n\t\t\n\t}", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "@Override\n public void visit(Index node) {\n }", "@Override\r\n\tpublic void visit() {\n\r\n\t}", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArra...
[ "0.66075706", "0.66048765", "0.6345367", "0.61468834", "0.6121789", "0.6117572", "0.61149824", "0.6100488", "0.60657996", "0.6057922", "0.60470754", "0.6045281", "0.60449874", "0.59991354", "0.5956863", "0.5943082", "0.59196484", "0.58950776", "0.5893351", "0.5871289", "0.584...
0.0
-1
/ (omit javadoc for this method) Method declared on ASTNode.
final List internalGetChildListProperty(ChildListPropertyDescriptor property) { if (property == NEW_ARGUMENTS_PROPERTY) { return newArguments(); } if (property == CONSTRUCTOR_ARGUMENTS_PROPERTY) { return constructorArguments(); } if (property == BASE_CLASSES_PROPERTY) { return baseClasses(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "protected ASTNode() {\n\t\t\n\t}", "@Override\n public void visit(Index node) {\n }", "@Override\r\n\tpublic void visit() {\n\r\n\t}", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArra...
[ "0.66052663", "0.6604216", "0.634569", "0.61474293", "0.6123548", "0.61203265", "0.61184233", "0.61023426", "0.6065479", "0.60578996", "0.6049507", "0.6046751", "0.60447854", "0.600188", "0.59565836", "0.5944951", "0.5919324", "0.5894903", "0.589371", "0.5873394", "0.5841881"...
0.0
-1
/ (omit javadoc for this method) Method declared on ASTNode.
final int getNodeType0() { return NEW_ANONYMOUS_CLASS_EXPRESSION; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected ASTNode() {\n\t\t\n\t}", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "@Override\n public void visit(Index node) {\n }", "@Override\r\n\tpublic void visit() {\n\r\n\t}", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArra...
[ "0.66050035", "0.660482", "0.63454485", "0.6147077", "0.6121284", "0.61193436", "0.6116701", "0.6101898", "0.60658085", "0.6058039", "0.60479546", "0.604563", "0.60451406", "0.60003966", "0.59571207", "0.5943885", "0.5919159", "0.5895449", "0.58932614", "0.5871415", "0.584246...
0.0
-1
/ (omit javadoc for this method) Method declared on ASTNode.
ASTNode clone0(AST target) { NewAnonymousClassExpression result = new NewAnonymousClassExpression(target); result.setSourceRange(this.getStartPosition(), this.getLength()); result.setExpression((Expression) ASTNode.copySubtree(target, getExpression())); result.newArguments.addAll(ASTNode.copySubtrees(target,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected ASTNode() {\n\t\t\n\t}", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "@Override\n public void visit(Index node) {\n }", "@Override\r\n\tpublic void visit() {\n\r\n\t}", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArra...
[ "0.66075706", "0.66048765", "0.6345367", "0.61468834", "0.6121789", "0.6117572", "0.61149824", "0.6100488", "0.60657996", "0.6057922", "0.60470754", "0.6045281", "0.60449874", "0.59991354", "0.5956863", "0.5943082", "0.59196484", "0.58950776", "0.5893351", "0.5871289", "0.584...
0.0
-1
/ (omit javadoc for this method) Method declared on ASTNode.
final boolean subtreeMatch0(ASTMatcher matcher, Object other) { // dispatch to correct overloaded match method return matcher.match(this, other); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected ASTNode() {\n\t\t\n\t}", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "@Override\n public void visit(Index node) {\n }", "@Override\r\n\tpublic void visit() {\n\r\n\t}", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArra...
[ "0.66075706", "0.66048765", "0.6345367", "0.61468834", "0.6121789", "0.6117572", "0.61149824", "0.6100488", "0.60657996", "0.6057922", "0.60470754", "0.6045281", "0.60449874", "0.59991354", "0.5956863", "0.5943082", "0.59196484", "0.58950776", "0.5893351", "0.5871289", "0.584...
0.0
-1
/ (omit javadoc for this method) Method declared on ASTNode.
void accept0(ASTVisitor visitor) { boolean visitChildren = visitor.visit(this); if (visitChildren) { // visit children in normal left to right reading order acceptChild(visitor, getExpression()); acceptChildren(visitor, newArguments); acceptChildren(visitor, constructorArguments); acceptChildr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "protected ASTNode() {\n\t\t\n\t}", "@Override\n public void visit(Index node) {\n }", "@Override\r\n\tpublic void visit() {\n\r\n\t}", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArra...
[ "0.66052663", "0.6604216", "0.634569", "0.61474293", "0.6123548", "0.61203265", "0.61184233", "0.61023426", "0.6065479", "0.60578996", "0.6049507", "0.6046751", "0.60447854", "0.600188", "0.59565836", "0.5944951", "0.5919324", "0.5894903", "0.589371", "0.5873394", "0.5841881"...
0.0
-1
Returns the expression of this new anonymous class expression.
public Expression getExpression() { return this.expression; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "NewAnonymousClassExpression(AST ast) {\r\n\t\tsuper(ast);\r\n\t}", "Expression createExpression();", "JavaExpression createJavaExpression();", "private Expr expression() {\n return assignment();\n }", "public Expression getExpression() {\n if (this.expression == null) {\n // laz...
[ "0.6666821", "0.6624868", "0.6579266", "0.6477858", "0.6407485", "0.6321691", "0.6284187", "0.6225538", "0.6225538", "0.6225538", "0.6225538", "0.6183821", "0.617683", "0.61299366", "0.61237806", "0.6099694", "0.5972327", "0.5943613", "0.592886", "0.5917333", "0.5897512", "...
0.60089266
16
Sets the expression of this new anonymous class expression.
public void setExpression(Expression expression) { ASTNode oldChild = this.expression; preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); this.expression = expression; postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setExpression(Object expression);", "NewAnonymousClassExpression(AST ast) {\r\n\t\tsuper(ast);\r\n\t}", "public void setExpression(PrimaryExpression e)\r\n {\r\n\tm_expression = e;\r\n\te.setParent(this, COL_EXPRESSION);\r\n }", "public void setExpression(Expression expression) {\n i...
[ "0.72078496", "0.62165165", "0.6141191", "0.61222756", "0.60747457", "0.59178567", "0.58587474", "0.5784888", "0.5774652", "0.5770459", "0.574837", "0.5719333", "0.57192504", "0.5717214", "0.55198556", "0.54989904", "0.5491363", "0.54606915", "0.54466283", "0.542298", "0.5416...
0.62701994
1
Returns the live ordered list of new arguments for this new anonymous class expression.
public List<Expression> newArguments() { return this.newArguments; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Expression> getArgs()\n {\n return args;\n }", "public List<Expression> constructorArguments() {\r\n\t\treturn this.constructorArguments;\r\n\t}", "@Deprecated public List<Property> getArguments(){\n return build(arguments);\n }", "public Object[] getArguments() {\n ...
[ "0.65702325", "0.6495536", "0.62635803", "0.60654396", "0.5942374", "0.5929112", "0.585197", "0.5761088", "0.57517976", "0.5743729", "0.57011384", "0.56872505", "0.56872505", "0.5673567", "0.5664702", "0.56635016", "0.56287915", "0.5602779", "0.55896986", "0.55679375", "0.556...
0.75543714
0
Returns the live ordered list of constructor arguments for this new anonymous class expression.
public List<Expression> constructorArguments() { return this.constructorArguments; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object[] getConstructorArgs ();", "public List getConstructorList() {\n return null;\n }", "public List<Expression> newArguments() {\r\n\t\treturn this.newArguments;\r\n\t}", "List constructors();", "public List<Expression> getArgs()\n {\n return args;\n }", "private void ad...
[ "0.6694413", "0.59991026", "0.59469235", "0.5827097", "0.5587936", "0.5545517", "0.54561", "0.53208", "0.52874744", "0.5233629", "0.5217816", "0.52099", "0.5162561", "0.5132579", "0.5117641", "0.5073466", "0.5070597", "0.50553125", "0.50149596", "0.5004467", "0.50040835", "...
0.7560244
0
Returns the live ordered list of base classes for this new anonymous class expression.
public List<BaseClass> baseClasses() { return this.baseClasses; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.util.List<org.mojolang.mojo.lang.NominalType> \n getInheritsList();", "java.util.List<org.jetbrains.r.classes.S4ClassInfo.S4SuperClass> \n getSuperClassesList();", "@NotNull\n List<? extends ClassInfo> getClasses();", "public Iterator<String> listAllandAnonClasses()\r\n\t{\r\n\t\treturn new...
[ "0.61863", "0.61337805", "0.57498455", "0.5672017", "0.56511456", "0.56495047", "0.56423146", "0.56165075", "0.56107104", "0.5592119", "0.5588253", "0.5579409", "0.5575986", "0.5569595", "0.55294925", "0.55242455", "0.552115", "0.5507252", "0.54755855", "0.5452642", "0.542888...
0.6648808
0
Returns the live ordered list of declarations for this new anonymous class expression.
public List<Declaration> declarations() { return this.declarations; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Identifier> getDeclarations() \n {\n return this.declarations;\n }", "public List<Declaration> getIntroducedMembers();", "public List<Declaration> implicitMembers();", "public CodeFragmentList getStatesDeclaration()\n {\n StatesGenerator generator = new StatesGenerator(stan...
[ "0.6606954", "0.61926347", "0.6056443", "0.59716064", "0.59231925", "0.57538843", "0.575083", "0.572007", "0.5563433", "0.55344886", "0.5530981", "0.55298465", "0.55265355", "0.55211085", "0.538667", "0.5311049", "0.530821", "0.52793944", "0.52597886", "0.5250736", "0.5208671...
0.6554726
1
/ (omit javadoc for this method) Method declared on ASTNode.
int memSize() { return BASE_NODE_SIZE + 5 * 4; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected ASTNode() {\n\t\t\n\t}", "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "@Override\n public void visit(Index node) {\n }", "@Override\r\n\tpublic void visit() {\n\r\n\t}", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArra...
[ "0.66075706", "0.66048765", "0.6345367", "0.61468834", "0.6121789", "0.6117572", "0.61149824", "0.6100488", "0.60657996", "0.6057922", "0.60470754", "0.6045281", "0.60449874", "0.59991354", "0.5956863", "0.5943082", "0.59196484", "0.58950776", "0.5893351", "0.5871289", "0.584...
0.0
-1
/ (omit javadoc for this method) Method declared on ASTNode.
int treeSize() { return memSize() + (this.expression == null ? 0 : getExpression().treeSize()) + (this.newArguments.listSize()) + (this.constructorArguments.listSize()) + (this.baseClasses.listSize()) + (this.declarations.listSize()) ; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void VisitMethodCallNode(MethodCallNode Node) {\n\n\t}", "protected ASTNode() {\n\t\t\n\t}", "@Override\n public void visit(Index node) {\n }", "@Override\r\n\tpublic void visit() {\n\r\n\t}", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArra...
[ "0.66052663", "0.6604216", "0.634569", "0.61474293", "0.6123548", "0.61203265", "0.61184233", "0.61023426", "0.6065479", "0.60578996", "0.6049507", "0.6046751", "0.60447854", "0.600188", "0.59565836", "0.5944951", "0.5919324", "0.5894903", "0.589371", "0.5873394", "0.5841881"...
0.0
-1
Method is part of the builder class for creating Record objects.
public RecordBuilder weekending(String date) { Date properDate = null; try { properDate = new SimpleDateFormat("MM/dd/yyyy").parse(date); } catch (ParseException e) { // TODO Auto-generated catch block e.printStackTrace(); } if (properDate == null) { System.out.println("incorrect form of String pa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}", "public BookRecord() {\n super(Book.BOOK);\n }", "private LogRecord(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "private PassageRecord(com.google.protobu...
[ "0.7230007", "0.64254856", "0.63686806", "0.63318616", "0.63284385", "0.6234541", "0.6196828", "0.616565", "0.61457974", "0.6137261", "0.61329997", "0.6111241", "0.60991913", "0.60941195", "0.60309285", "0.5996819", "0.5993492", "0.59773886", "0.59691066", "0.59515244", "0.59...
0.0
-1
Instantiates a new empty balance.
public Balance() { value = BigDecimal.ZERO; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BankAccount() {\r\n\t\tbalance=0;\r\n\t\t\r\n\t}", "public Account()\n {\n // initialise instance variables\n balance = 0.00;\n remainder = 0;\n }", "public BankAccount() {\n\t\tthis.money = 0;\n\t}", "public AccountCashBalance() {\n super();\n\n LOGGER.trace(\"Enterin...
[ "0.73819965", "0.71479326", "0.7129805", "0.71100575", "0.7051263", "0.70417565", "0.70354384", "0.68966514", "0.68513066", "0.6830195", "0.68186504", "0.6811681", "0.679994", "0.6755795", "0.6746078", "0.67176455", "0.6703138", "0.66888213", "0.6674708", "0.66268474", "0.661...
0.77285874
0
Instantiates a new balance.
public Balance(final BigDecimal value) { this.value = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BankAccount(int balance) {\n\n this.balance = balance;\n\n }", "public Account(double balance) {\n\t\tthis.balance = balance;\n\t}", "public SavingsAccount(double balance)\n {\n startingBalance = balance;\n }", "public BankAccount() {\r\n\t\tbalance=0;\r\n\t\t\r\n\t}", "public...
[ "0.7290253", "0.70970684", "0.7089609", "0.7046384", "0.702382", "0.6986113", "0.6955657", "0.6947421", "0.6911337", "0.6871641", "0.6859034", "0.681963", "0.6774508", "0.6741743", "0.66745365", "0.66647595", "0.664936", "0.6636835", "0.6634694", "0.65991396", "0.65948045", ...
0.6530734
30
Subtract the number from the balance.
public Balance subtract(final BigDecimal subtrahend) { return new Balance(this.value.subtract(subtrahend)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void reduceBalance(int amount){\n this.money.subtractMoney(amount);\n }", "public void decreaseBalance(final double balance) {\n this.balance -= balance;\n }", "public void minusMoney(int amount) {\n\t\tcurrentMoney.minusMoney(amount);\n\t}", "void deductFromAmount(double amount) {...
[ "0.7017005", "0.6811485", "0.6809507", "0.67712915", "0.66726714", "0.66323346", "0.65718704", "0.6531059", "0.6513179", "0.65028447", "0.64604634", "0.6454444", "0.64429736", "0.64021724", "0.6355159", "0.631814", "0.62951094", "0.6269956", "0.6269368", "0.6258418", "0.62470...
0.6043045
30
Adds the number to the balance.
public Balance add(final BigDecimal augend) { return new Balance(this.value.add(augend)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addNumber(int number) {\n totalNumber += number;\n availableNumber += number;\n }", "public void add(int number) {\n sum.add(number);\n }", "public void addBalance(long balance) {\r\n this.balance += balance;\r\n }", "void addBalance(double amount) {\n\t\tbala...
[ "0.76957417", "0.7614819", "0.756771", "0.7273491", "0.7219854", "0.69582224", "0.6862341", "0.68157005", "0.68043435", "0.67682207", "0.6752319", "0.67464584", "0.67432845", "0.67331195", "0.6714812", "0.664812", "0.6611706", "0.6594606", "0.6584396", "0.65700936", "0.652667...
0.0
-1
we want to get the trace text to the page irrespective of trace setting. So, we will push that into a specific field that the client page show
@Override public int execute(DataCollection dc, DbHandle handle, String gridName, String[] params) { String existingText = Spit.startWriter(); String[][] labels = DataDictionary.getAllLabels(); String fileName = ResourceManager.getResourceFolder() + Dubhashi.TRANSLATIONS_FILE_PATH_FROM_RESOURCE; String ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String getTrace() {\n return trace;\n }", "public String getTrace() {\n return trace;\n }", "Object getTrace();", "public java.lang.String getReportText(){\n return localReportText;\n }", "public String getTr...
[ "0.6666694", "0.66286236", "0.624505", "0.60966784", "0.58928674", "0.56696063", "0.56601685", "0.565606", "0.55287755", "0.5500816", "0.5493434", "0.54600626", "0.54564893", "0.5434083", "0.5433212", "0.54166985", "0.53935295", "0.53384066", "0.5334477", "0.5303263", "0.5293...
0.0
-1
The productID is set by the constructors. dabaseProductVersion added by derby to include srvrlslv
public ProductLevel(String productID, String databaseProductName, String srvrlslv) { // this.productID has the following format // CSS for Derby // vv = version id // rr = release id // m = modification level versionLevel_ = Integer.parseInt(prod...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setProductId(String productId) {\n this.productId = productId;\n }", "public void setProductId(int productId) {\n this.productId = productId;\n }", "public void setProductId(int productId) {\n this.productId = productId;\n }", "public String getProductID() {\r\n ...
[ "0.7093128", "0.6911379", "0.6911379", "0.68736887", "0.6862327", "0.68500555", "0.68363774", "0.68339616", "0.68306285", "0.678733", "0.678733", "0.677721", "0.675927", "0.675927", "0.675927", "0.675927", "0.675927", "0.675927", "0.6629608", "0.66209614", "0.66209614", "0....
0.73148924
0
A set of all region codes for which data is available.
public static Set<String> getRegionCodeSet() { // The capacity is set to 321 as there are 241 different entries, // and this offers a load factor of roughly 0.75. Set<String> regionCodeSet = new HashSet<String>(321); regionCodeSet.add("AC"); regionCodeSet.add("AD"); regionCodeSet.add("AE"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> regions() {\n return this.regions;\n }", "@RequestLine(\"GET /geoip/territories?codes={codes}\")\n Collection<Collection<Region>> getAvailableRegions(@Param(\"codes\") String codes);", "public List<PDGRegion> getPDGRegions();", "public Collection<IRegionalValidity> getValidRegi...
[ "0.736868", "0.7093013", "0.7088161", "0.6968559", "0.6910391", "0.6858674", "0.67714214", "0.6686214", "0.6676105", "0.66563416", "0.66423285", "0.66320896", "0.6602949", "0.6597918", "0.65873843", "0.6541244", "0.6493566", "0.6353971", "0.6305787", "0.62882596", "0.62666744...
0.79017
0
Convertir bits a cadena
@Override protected Map<String, String> getParams() throws AuthFailureError { String imagen = obtenerImagenBase64(bitmap); Log.i("Base64", imagen); //Creación de parámetros Map<String,String> params = new Hashtable<String, String>(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static String convert(String bits) {\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tstringBuilder.append(String.valueOf(hexLookUp.charAt(Integer.parseInt(bits, 2))));\n\t\tString hex = stringBuilder.toString();\n\t\treturn hex;\n\t}", "char convert (int c1, int c2) {\n char c = 0;\n c...
[ "0.63473356", "0.6305495", "0.6219521", "0.5949903", "0.59021264", "0.5692091", "0.5690292", "0.56359136", "0.557866", "0.55476356", "0.5538373", "0.55286986", "0.55099505", "0.5481748", "0.546788", "0.5458457", "0.54480684", "0.5425561", "0.54235613", "0.54224586", "0.540935...
0.0
-1
Codigo de error del servidor Se ejecuta cuando no llega el tipo solicitado String.
@Override public void onErrorResponse(VolleyError error) { Toast.makeText(getActivity(), "Error Servidor: " + error.getMessage(), Toast.LENGTH_LONG).show(); if (error.getMessage() != null) { Log.i("Error Servidor: ", error.g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void sendError(int arg0, String arg1) throws IOException {\n\n }", "@Override\n public void sendError(int arg0) throws IOException {\n\n }", "private void verificarCodigoErro() {\n\t\ttry {\n\t\t\tif (resultado.getStatus().isCodigoErro() && emailReplicacaoServico != null) {\n\t\t\t\tExec...
[ "0.6179553", "0.5814218", "0.57955736", "0.5776014", "0.577191", "0.5683356", "0.5636406", "0.56017476", "0.56017476", "0.55555844", "0.5554455", "0.5554455", "0.5554455", "0.5553117", "0.55253273", "0.55195427", "0.54928774", "0.5492588", "0.54914457", "0.5480949", "0.546418...
0.52842194
33
TODO Autogenerated method stub
public static void main(String[] args) { String s1="Hi Hello"; frequent(s1); // char ch[] = s1.toCharArray(); // char ch1; // char ch2[]=new char[10]; // // for(int i=0;i<ch.length;i++) { // System.out.println(ch[i]); // } // // for(int i=0;i<ch.length;i++) { // // int count=1; // for(int j=i+...
{ "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
Creating object by passing Integer as an argument
public static void main(String[] args) { NonGenericClass nonGen1 = new NonGenericClass(123); //Creating object by passing String as an argument NonGenericClass nonGen2 = new NonGenericClass("abc"); //Creating object by passing Double as an argument NonGe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IntValue createIntValue();", "IntValue createIntValue();", "IntegerValue createIntegerValue();", "IntegerValue createIntegerValue();", "public NestedInteger(int value) { }", "public IntegerGenotype create() \r\n\t{\n\t\tIntegerGenotype genotype = new IntegerGenotype(1,3);\r\n\t\tgenotype.init(new Random(...
[ "0.7229248", "0.7229248", "0.7197096", "0.7197096", "0.682166", "0.6700619", "0.6615175", "0.6605788", "0.65982467", "0.6539894", "0.65290487", "0.63790524", "0.6353196", "0.6345952", "0.6254467", "0.62350553", "0.6218181", "0.62097424", "0.6201845", "0.6198637", "0.6159993",...
0.0
-1
create view to set_visibility.xml
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.set_visibility); ClientAppApplication app = (ClientAppApplication) getApplication(); clientApp = app.getClientApp(); returnMessage = new Intent(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setVisible(boolean visible);", "void setVisible(boolean visible);", "public void setIsVisible(boolean isVisible);", "public void setVisible(boolean visible);", "public abstract void setVisible(boolean visible);", "public void setVisible(Boolean visible);", "public void setVisible(Boolean isVisible...
[ "0.64674", "0.64674", "0.64549786", "0.63661635", "0.6347286", "0.6336956", "0.6335987", "0.62572545", "0.6218294", "0.6215324", "0.6156051", "0.6088807", "0.60582113", "0.6043023", "0.60223997", "0.60153955", "0.59797776", "0.5935616", "0.5934767", "0.5928216", "0.5928151", ...
0.0
-1
Nobody button click listener Block all contacts
public void VisibleToNobodyButtonClickHandler(View view) { switch (view.getId()) { case R.id.visibleToNobodyButton: for (Person P : clientApp.getLoggedInUser().getFriends()) { clientApp.getLoggedInUser().blockFriend(P); Log.d(TAG, "Blocked: " + P.getName()); } returnMessage.putExtra("...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void disableAddContactButton();", "public void VisibleToAllButtonClickHandler(View view)\n\t{\n\t\tswitch (view.getId())\n\t\t{\n\t\t\tcase R.id.visibleToAllButton:\n\t\t\t\tSet<Person> blocked = new HashSet<Person>(clientApp.getLoggedInUser().getBlockedFriends());\n\n\t\t\t\tfor (Person P : blocked)\n\t\t\t\t{\...
[ "0.7156577", "0.6669767", "0.6416282", "0.6291492", "0.623486", "0.62139577", "0.61512125", "0.6124356", "0.60687834", "0.6006623", "0.5932163", "0.5900269", "0.58745456", "0.5872117", "0.5763291", "0.57059085", "0.56985515", "0.5678136", "0.56768584", "0.56583863", "0.557986...
0.6560202
2
All button click listener unblock all contacts
public void VisibleToAllButtonClickHandler(View view) { switch (view.getId()) { case R.id.visibleToAllButton: Set<Person> blocked = new HashSet<Person>(clientApp.getLoggedInUser().getBlockedFriends()); for (Person P : blocked) { if (clientApp.getLoggedInUser().getBlockedFriends().contains(P)) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void disableAddContactButton();", "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\n\t\t\t\tdb.deleteAllContacts();\n\t\t\t\tToast.makeText(getApplicationContext(),\"All record deleted...\",Toast.LENGTH_SHORT).show();\n\t\t\t}", "@Override\n public void onClick(View v) {\n ...
[ "0.6938001", "0.64975995", "0.6365687", "0.62144446", "0.6054121", "0.5974573", "0.5959086", "0.59151757", "0.5878193", "0.5802069", "0.5800153", "0.57527274", "0.5712136", "0.56416595", "0.56111914", "0.56068385", "0.55649847", "0.5560468", "0.55228764", "0.55146956", "0.551...
0.6111374
4
go back to my info page
public void onBackPressed() { Log.d(TAG, "Detected back pressed"); Intent back = new Intent(this, MyInfoPageActivity.class); this.startActivity(back); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void back() {\n Views.goBack();\n }", "protected void goBack() {\r\n\t\tfinish();\r\n\t}", "private void goBack() {\n Intent intent = new Intent(this, ReformTypeDetailActivity.class);\n intent.putExtra(Key.REFORM_TYPE_ID, mReformTypeId);\n intent.putExtra(Key.REFORM_TYPE_N...
[ "0.74233806", "0.7274484", "0.7049051", "0.7027369", "0.6966763", "0.6928815", "0.6808581", "0.6807076", "0.67708606", "0.67665464", "0.67665464", "0.6758967", "0.67345834", "0.67305005", "0.6710855", "0.67044383", "0.66978765", "0.6686824", "0.6685049", "0.6681895", "0.66810...
0.7093221
2
HandleException method handle Exception.
@ExceptionHandler(Exception.class) @ResponseStatus(HttpStatus.NOT_FOUND) public @ResponseBody String handleException(Exception ex) { LOGGER.debug("Exception: " + ex); return "Exception: " + ex.getMessage(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void handleException(java.lang.Throwable exception) {\n\tsuper.handleException(exception);\n}", "void handleError(Exception ex);", "void handleException(Context context, Throwable exc, String description);", "public void handleException(Exception e) {\r\n \t\te.printStackTrace();\r\n \t\tshowErrorM...
[ "0.7193069", "0.7099876", "0.7051757", "0.6882012", "0.6829818", "0.68091774", "0.6667125", "0.6497904", "0.6496537", "0.6465528", "0.6446155", "0.64111006", "0.6356763", "0.6335308", "0.6315624", "0.63154817", "0.63106", "0.62984604", "0.6282701", "0.62606573", "0.62408006",...
0.59410995
34
Adds the usage of the refined method if the feature is not selected.
private String addEvasion(FSTTerminal terminalA, FSTTerminal terminalB, FSTTerminal terminalComp, String name) { String parameterNames = getParameterNames(terminalA); String returnType = getReturnType(terminalA.getBody(), name); return terminalComp.getBody().replaceFirst("\\{", "{\n\t\tif (!FM.FeatureModel."+ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setDeprecated(Operation operation, Method method);", "@Override\n\tboolean isRegistedMethodNotNeed() {\n\t\treturn true;\n\t}", "private void assignFeatureConstantReferenceToMethod(FeatureReference featureRef, Node annotationNode) {\n // check parent nodes of the annotation until it is of type\...
[ "0.5715525", "0.5625186", "0.55700094", "0.54528445", "0.54464597", "0.5364142", "0.5349055", "0.530899", "0.5186432", "0.51765555", "0.5155213", "0.5152834", "0.5100638", "0.50988406", "0.5090626", "0.50859237", "0.50754005", "0.50522465", "0.5042547", "0.503624", "0.5029903...
0.0
-1
private final String tag = "COLLECTINF/collect.xml"; private ProjectClassLoader loader = new ProjectClassLoader(); / object naming > project object private Map mapProject = new HashMap(); / object naming > jar file private Map mapNaming = new HashMap(); / filename > file object private Map mapFile = new HashMap(); / di...
private CollectTaskPool() { super(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ClassPathManager() {\n projectCP = new LinkedList<File>();\n buildCP = new LinkedList<File>();\n projectFilesCP = new LinkedList<File>();\n externalFilesCP = new LinkedList<File>();\n extraCP = new LinkedList<File>();\n// systemCP = new LinkedList<File>();\n// openFilesCP = new LinkedLi...
[ "0.5592691", "0.5360051", "0.53147316", "0.5280931", "0.52386004", "0.5153061", "0.5128845", "0.5126984", "0.51091135", "0.50907975", "0.50735134", "0.50461787", "0.5008075", "0.50072736", "0.5003639", "0.49733883", "0.4966445", "0.49383155", "0.492468", "0.4902083", "0.48833...
0.0
-1
Adds a new blog entry to the persistence context.
void addNewEntry(BlogEntry entry) throws DAOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void addPost(Post post) {\n\t\tgetHibernateTemplate().save(post);\r\n\t}", "public void index(@NonNull final Entry entry) {\n this.blogEntryRepository.save(convert(entry));\n }", "void addNewComment(BlogComment comment) throws DAOException;", "@Secured({ PermissionConstants.ADD_PRIC...
[ "0.6623934", "0.6427048", "0.63518196", "0.62327224", "0.61754", "0.6165832", "0.6137445", "0.61268884", "0.609329", "0.6015645", "0.59358203", "0.5931311", "0.59087783", "0.58199173", "0.5786573", "0.576812", "0.57258", "0.5712588", "0.5689232", "0.56656146", "0.56614256", ...
0.7961514
0
Updates an existing entry in the database.
void updateEntry(BlogEntry entry) throws DAOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void update(Entry entry) {\n\t\tentryDAO.save(entry);\n\t}", "public void update() {\n\t\tSession session = DBManager.getSession();\n\t\tsession.beginTransaction();\n\t\tsession.update(this);\n\t\tsession.getTransaction().commit();\n\t}", "@Override\r\n\tpublic void update() throws SQLExcep...
[ "0.7666233", "0.71958345", "0.6856022", "0.6725231", "0.6624082", "0.6599631", "0.6596623", "0.65936106", "0.65936106", "0.65936106", "0.65936106", "0.65936106", "0.6581925", "0.65813214", "0.65813214", "0.6574494", "0.65370095", "0.6525068", "0.6510299", "0.65083706", "0.650...
0.73477155
1
Adds a new blog comment to the persistence context.
void addNewComment(BlogComment comment) throws DAOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addComment(BlogEntry blog, CommentForm comment);", "public void addComment(Comment comment){\n commentRepository.createComments(comment);\n }", "@Override\r\n\tpublic int addComment(Comment comment) {\n\t\treturn commentDAO.addComment(comment);\r\n\t}", "public boolean save(BlogComment...
[ "0.75745034", "0.72943044", "0.6607076", "0.66059935", "0.65712065", "0.64784473", "0.6439941", "0.6398644", "0.6382502", "0.6358235", "0.6317273", "0.62596834", "0.61851996", "0.6163723", "0.6161791", "0.6146714", "0.6135367", "0.612223", "0.6119964", "0.6115804", "0.6085877...
0.8127862
0
Returns a list of all blog users.
List<BlogUser> getUsers() throws DAOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<BlogUser> getAllUsers() throws DAOException;", "public List<User> getAllUsers();", "@GetMapping(\"/bloggers\")\n\tpublic List<User> getAllBloggers() throws UserNotFoundException {\n\t\tcontrollerLogger.info(\"list of all bloggers\");\n\t\ttry {\n\t\t\treturn service.getAllBloggers();\n\t\t} catch (...
[ "0.8210587", "0.72368985", "0.7228402", "0.7222875", "0.7174417", "0.7158434", "0.70998025", "0.70998025", "0.7099176", "0.70750016", "0.707166", "0.70319474", "0.7026082", "0.70146817", "0.6990684", "0.6984579", "0.6984548", "0.69794023", "0.6977812", "0.69678867", "0.696372...
0.7882513
1
Adds a new blog user into the persistence context.
void addUser(BlogUser user) throws DAOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addUser(User user);", "public void addUser(User user) {\n\t\t\r\n\t}", "void addUser(User user);", "void addUser(User user);", "@Override\n public void addUser(User u) {\n Session session = this.sessionFactory.getCurrentSession();\n session.persist(u);\n logger.info(\"Us...
[ "0.6873967", "0.68609047", "0.6797611", "0.6797611", "0.6594526", "0.6568453", "0.6564391", "0.647814", "0.6476355", "0.64332575", "0.636497", "0.6353504", "0.6339572", "0.62764883", "0.6240327", "0.6239575", "0.6209922", "0.62064284", "0.6197626", "0.6171287", "0.61684", "...
0.7930059
0
Provides valid and only accepted date format.
@Bean(name = "dateFormatter") public SimpleDateFormat dateFormatter() { return new SimpleDateFormat("dd/MM/yyyy"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void isValidFormat() {\n assertFalse(Deadline.isValidFormat(VALID_DAY_1));\n\n // Deadline with day and month dd/mm -> true\n assertTrue(Deadline.isValidFormat(VALID_1ST_JAN_WITHOUT_YEAR.toString()));\n\n // Deadline with all 3 fields dd/mm/yyyy -> true\n assert...
[ "0.69841737", "0.6879021", "0.6795771", "0.65900964", "0.6466696", "0.64040595", "0.6381472", "0.6359769", "0.63470614", "0.63448685", "0.6332727", "0.631772", "0.6242919", "0.6214595", "0.61829", "0.6179411", "0.6149018", "0.61478674", "0.6074522", "0.60461074", "0.59773344"...
0.554803
87
AclHandler is an interface that abstracts over the access control functionality provided by different cloud store services.
public interface AclHandler { /** * Check validity of a canned access control list name. * * @param cannedAcl Name of an access control list to check for validity * @return Returns true if the specified {@code cannedAcl} is a valid known ACL name * for a cloud store service. */ boolean isCannedAcl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAclDAO(AccessControlListDAO aclDAO);", "public void setAcl(AccessControlList acl)\n {\n this.acl = acl;\n }", "public interface AclService<T> extends PermissionEvaluator {\n\n\t/**\n\t * Creates an acl for an object if neccessary and adds an ace for that\n\t * object with the permis...
[ "0.630747", "0.5880601", "0.5796327", "0.57016784", "0.55476755", "0.5388828", "0.5307903", "0.52971727", "0.52659017", "0.5251077", "0.52404654", "0.5201041", "0.51985115", "0.51368105", "0.5081645", "0.50632805", "0.503172", "0.5018323", "0.4996693", "0.498781", "0.49595457...
0.7930027
0
Get the name of the default access control list used by a store service.
String getDefaultCannedAcl();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getDefaultLeadAccess() {\n return defaultLeadAccess;\n }", "public java.lang.String getDefaultPricebookAccess() {\n return defaultPricebookAccess;\n }", "public java.lang.String getDefaultAccountAndContactAccess() {\n return defaultAccountAndContactAccess;\n ...
[ "0.6055455", "0.59832054", "0.5950037", "0.5924183", "0.56787753", "0.5627155", "0.55983406", "0.55005914", "0.54193574", "0.54168946", "0.5403383", "0.53993374", "0.5374252", "0.53551567", "0.5287466", "0.52716494", "0.52512044", "0.52131915", "0.5209851", "0.51715606", "0.5...
0.63402957
0
Get the ACL of the given object.
ListenableFuture<Acl> getObjectAcl(String bucketName, String objectKey);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AmazonS3ObjectACL getObjectACL() {\n\t\treturn objectACL;\n\t}", "public AccessControlList getAcl()\n {\n return acl;\n }", "public ACL getACL() {\n return folderACL;\n }", "public AccessControlList getAccessControlList() {\n\t\treturn acl;\n\t}", "public List<ACL> getACL(Stri...
[ "0.7051065", "0.6381447", "0.61524314", "0.5840764", "0.5626995", "0.5491321", "0.54368263", "0.5368881", "0.527599", "0.5196316", "0.49467695", "0.49282327", "0.49006176", "0.4826222", "0.4804344", "0.4802273", "0.47713348", "0.47669908", "0.47645658", "0.47488233", "0.47212...
0.6827995
1
$ANTLR start "program" src\\calculator.g:3:1: program : statements[0] ;
public final void program() throws RecognitionException { String statements1 =null; try { // src\\calculator.g:4:2: ( statements[0] ) // src\\calculator.g:4:4: statements[0] { pushFollow(FOLLOW_statements_in_program11); statements1=statements...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Program program() throws SyntaxException {\n\t\tif(t.kind == IDENTIFIER){\n\t\t\tToken name = t, firstToken = t;\n\t\t\tconsume();\n\t\t\tArrayList<ASTNode> decsAndStatements = new ArrayList<>();\n\n\t\t\twhile (t.kind == KW_int || t.kind == KW_boolean || t.kind == KW_image\n\t\t\t\t\t|| t.kind == KW_url || t.kind...
[ "0.69265753", "0.66426426", "0.6524157", "0.64096755", "0.62759966", "0.62318665", "0.61705846", "0.6055373", "0.6052921", "0.59758323", "0.589425", "0.5833583", "0.58256376", "0.5758442", "0.57070285", "0.569663", "0.5636294", "0.5610967", "0.56005716", "0.5569877", "0.55617...
0.74471927
0
$ANTLR end "program" $ANTLR start "statements" src\\calculator.g:8:1: statements[int tab] returns [String value] : ( statement[$tab] a= statements[$tab] |);
public final String statements(int tab) throws RecognitionException { String value = null; String a =null; String statement2 =null; value = null; try { // src\\calculator.g:12:2: ( statement[$tab] a= statements[$tab] |) int alt1=2; int ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String statement(int tab) throws RecognitionException {\n String value = null;\n\n\n Token COMMENT4=null;\n String func_or_var3 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:21:2: ( type[$tab] func_or_var[$tab] | '#include' '<' ID '>' |...
[ "0.6687308", "0.6073493", "0.6069978", "0.60465306", "0.5910002", "0.56722", "0.5597011", "0.5584778", "0.54947734", "0.54947", "0.5379212", "0.5377377", "0.536141", "0.5352631", "0.53375804", "0.5335798", "0.5334118", "0.53202087", "0.5281425", "0.526513", "0.5250936", "0....
0.7525594
0
$ANTLR end "statements" $ANTLR start "statement" src\\calculator.g:17:1: statement[int tab] returns [String value] : ( type[$tab] func_or_var[$tab] | 'include' '' | 'using' 'namespace' ID ';' | COMMENT );
public final String statement(int tab) throws RecognitionException { String value = null; Token COMMENT4=null; String func_or_var3 =null; value = null; try { // src\\calculator.g:21:2: ( type[$tab] func_or_var[$tab] | '#include' '<' ID '>' | 'using' 'namespace'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String statements(int tab) throws RecognitionException {\n String value = null;\n\n\n String a =null;\n\n String statement2 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:12:2: ( statement[$tab] a= statements[$tab] |)\n int al...
[ "0.6948599", "0.6210353", "0.6171566", "0.6109649", "0.6096218", "0.6003422", "0.5852358", "0.5834897", "0.57253784", "0.5670146", "0.5633498", "0.56091225", "0.5608644", "0.55875856", "0.55375916", "0.5501954", "0.5494557", "0.54659915", "0.5450041", "0.5402055", "0.53995234...
0.771059
0
$ANTLR end "statement" $ANTLR start "func_or_var" src\\calculator.g:31:1: func_or_var[int tab] returns [String value] : ( dec_func[$tab] | dec_var[$tab] );
public final String func_or_var(int tab) throws RecognitionException { String value = null; String dec_func5 =null; String dec_var6 =null; value = null; try { // src\\calculator.g:35:2: ( dec_func[$tab] | dec_var[$tab] ) int alt3=2; int...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String statement(int tab) throws RecognitionException {\n String value = null;\n\n\n Token COMMENT4=null;\n String func_or_var3 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:21:2: ( type[$tab] func_or_var[$tab] | '#include' '<' ID '>' |...
[ "0.6382491", "0.56133914", "0.55459386", "0.55382854", "0.5344374", "0.532506", "0.5309816", "0.52355504", "0.51792884", "0.51773244", "0.51654", "0.5115697", "0.5111595", "0.5054943", "0.500697", "0.4998578", "0.4987392", "0.4963525", "0.49442613", "0.4925227", "0.49235272",...
0.7445388
0
$ANTLR end "dec_func" $ANTLR start "dec_func_name" src\\calculator.g:55:1: dec_func_name[int tab] returns [String value] : ID '(' dec_param[$tab] ')' ;
public final String dec_func_name(int tab) throws RecognitionException { String value = null; Token ID10=null; String dec_param11 =null; value = null; try { // src\\calculator.g:59:2: ( ID '(' dec_param[$tab] ')' ) // src\\calculator.g:59:4: ID '(' ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String dec_param(int tab) throws RecognitionException {\n String value = null;\n\n\n Token ID12=null;\n String dec_param_13 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:67:2: ( type[$tab] ID dec_param_[$tab] |)\n int alt4=2;...
[ "0.741354", "0.67803824", "0.672593", "0.61402947", "0.5976538", "0.5746074", "0.56367654", "0.5617973", "0.55837345", "0.5544308", "0.5421558", "0.5356314", "0.5255972", "0.52087116", "0.52013624", "0.5137259", "0.509135", "0.5058604", "0.49907807", "0.49517307", "0.49492526...
0.8459331
0
$ANTLR end "dec_func_name" $ANTLR start "dec_param" src\\calculator.g:63:1: dec_param[int tab] returns [String value] : ( type[$tab] ID dec_param_[$tab] |);
public final String dec_param(int tab) throws RecognitionException { String value = null; Token ID12=null; String dec_param_13 =null; value = null; try { // src\\calculator.g:67:2: ( type[$tab] ID dec_param_[$tab] |) int alt4=2; int LA4_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String dec_func_name(int tab) throws RecognitionException {\n String value = null;\n\n\n Token ID10=null;\n String dec_param11 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:59:2: ( ID '(' dec_param[$tab] ')' )\n // src\\\\cal...
[ "0.75979733", "0.7387525", "0.6063086", "0.5851427", "0.57518905", "0.5687981", "0.5624182", "0.55979097", "0.53957736", "0.52754736", "0.52313876", "0.5077075", "0.4980437", "0.48941103", "0.48704657", "0.48667905", "0.48642135", "0.4863276", "0.48626754", "0.48403475", "0.4...
0.7901651
0
$ANTLR end "dec_param" $ANTLR start "dec_param_" src\\calculator.g:72:1: dec_param_[int tab] returns [String value] : ( ',' dec_param[$tab] |);
public final String dec_param_(int tab) throws RecognitionException { String value = null; String dec_param14 =null; value = null; try { // src\\calculator.g:76:2: ( ',' dec_param[$tab] |) int alt5=2; int LA5_0 = input.LA(1); if ( (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String dec_param(int tab) throws RecognitionException {\n String value = null;\n\n\n Token ID12=null;\n String dec_param_13 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:67:2: ( type[$tab] ID dec_param_[$tab] |)\n int alt4=2;...
[ "0.79944515", "0.72382456", "0.644862", "0.6028255", "0.58963925", "0.57947874", "0.5728346", "0.5657352", "0.5493342", "0.54762596", "0.5267747", "0.5242749", "0.52008516", "0.4961403", "0.49308202", "0.49180797", "0.48950616", "0.4825928", "0.4726633", "0.4711321", "0.47102...
0.8113943
0
$ANTLR end "dec_param_" $ANTLR start "func_implement" src\\calculator.g:81:1: func_implement[int tab] returns [String value] : block[$tab] ;
public final String func_implement(int tab) throws RecognitionException { String value = null; String block15 =null; value = null; try { // src\\calculator.g:85:2: ( block[$tab] ) // src\\calculator.g:85:4: block[$tab] { pushFollow(F...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String dec_func_name(int tab) throws RecognitionException {\n String value = null;\n\n\n Token ID10=null;\n String dec_param11 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:59:2: ( ID '(' dec_param[$tab] ')' )\n // src\\\\cal...
[ "0.6327272", "0.6272624", "0.5941751", "0.58422315", "0.56455487", "0.5502843", "0.5493275", "0.54040056", "0.5388304", "0.53851056", "0.5317161", "0.52811915", "0.5264749", "0.5239528", "0.5211205", "0.5202412", "0.5178307", "0.51450425", "0.5141958", "0.51395077", "0.513425...
0.6813904
0
$ANTLR end "func_implement" $ANTLR start "dec_var" src\\calculator.g:89:1: dec_var[int tab] returns [String value] : ( ID dec_array[$tab] ';' | ID dec_array[$tab] '=' array_value[$tab] ';' | ID dec_expression[$tab] dec_var_[$tab] );
public final String dec_var(int tab) throws RecognitionException { String value = null; Token ID16=null; Token ID18=null; Token ID20=null; String dec_array17 =null; String array_value19 =null; String dec_expression21 =null; String dec_var_22 =null; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String func_or_var(int tab) throws RecognitionException {\n String value = null;\n\n\n String dec_func5 =null;\n\n String dec_var6 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:35:2: ( dec_func[$tab] | dec_var[$tab] )\n int a...
[ "0.71427333", "0.7065079", "0.6688513", "0.6548585", "0.64226675", "0.62487364", "0.61916715", "0.60378385", "0.5932019", "0.59100604", "0.5895967", "0.587147", "0.58588254", "0.57423484", "0.56799704", "0.56481326", "0.5515276", "0.5441499", "0.5408701", "0.52994215", "0.527...
0.7519246
0
$ANTLR end "dec_var" $ANTLR start "dec_var_" src\\calculator.g:101:1: dec_var_[int tab] returns [String value] : ( ';' | ',' dec_var[$tab] );
public final String dec_var_(int tab) throws RecognitionException { String value = null; String dec_var23 =null; value = null; try { // src\\calculator.g:105:2: ( ';' | ',' dec_var[$tab] ) int alt7=2; int LA7_0 = input.LA(1); if ( (...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String dec_var(int tab) throws RecognitionException {\n String value = null;\n\n\n Token ID16=null;\n Token ID18=null;\n Token ID20=null;\n String dec_array17 =null;\n\n String array_value19 =null;\n\n String dec_expression21 =null;\n\n String de...
[ "0.7575834", "0.7101608", "0.6966852", "0.69046056", "0.68693084", "0.65063626", "0.64609885", "0.62828344", "0.58390945", "0.57307273", "0.5729849", "0.5582795", "0.55301166", "0.5512056", "0.5458519", "0.54407465", "0.5353082", "0.5321253", "0.5320222", "0.5254958", "0.5235...
0.8287299
0
$ANTLR end "dec_var_" $ANTLR start "dec_array" src\\calculator.g:111:1: dec_array[int tab] returns [String value] : '[' INT ']' ;
public final String dec_array(int tab) throws RecognitionException { String value = null; Token INT24=null; value = null; try { // src\\calculator.g:115:2: ( '[' INT ']' ) // src\\calculator.g:115:5: '[' INT ']' { match(input,41,FOLLO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String dec_var(int tab) throws RecognitionException {\n String value = null;\n\n\n Token ID16=null;\n Token ID18=null;\n Token ID20=null;\n String dec_array17 =null;\n\n String array_value19 =null;\n\n String dec_expression21 =null;\n\n String de...
[ "0.72272915", "0.59911746", "0.55785966", "0.55028605", "0.5500745", "0.54805315", "0.5422464", "0.5366445", "0.5358903", "0.53413635", "0.53361857", "0.5305972", "0.528041", "0.52465326", "0.5229859", "0.5152036", "0.5064826", "0.50482154", "0.5046792", "0.5045052", "0.50291...
0.721502
1
$ANTLR end "array_value" $ANTLR start "dec_expression" src\\calculator.g:124:1: dec_expression[int tab] returns [String value] : ( '=' expr_value[$tab] |);
public final String dec_expression(int tab) throws RecognitionException { String value = null; String expr_value27 =null; value = null; try { // src\\calculator.g:128:2: ( '=' expr_value[$tab] |) int alt8=2; int LA8_0 = input.LA(1); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String dec_var(int tab) throws RecognitionException {\n String value = null;\n\n\n Token ID16=null;\n Token ID18=null;\n Token ID20=null;\n String dec_array17 =null;\n\n String array_value19 =null;\n\n String dec_expression21 =null;\n\n String de...
[ "0.6710259", "0.647005", "0.5865026", "0.5587838", "0.55479795", "0.5510609", "0.55061764", "0.53941345", "0.5365035", "0.5281493", "0.5265896", "0.5242382", "0.51787096", "0.51146424", "0.50837386", "0.50657505", "0.4934569", "0.4925203", "0.4924451", "0.48044038", "0.477833...
0.6514508
1
$ANTLR end "dec_expression" $ANTLR start "block" src\\calculator.g:133:1: block[int tab] returns [String value] : ( stat[$tab] a= block[$tab] |);
public final String block(int tab) throws RecognitionException { String value = null; String a =null; String stat28 =null; value = null; try { // src\\calculator.g:137:2: ( stat[$tab] a= block[$tab] |) int alt9=2; int LA9_0 = input.LA(1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String func_implement(int tab) throws RecognitionException {\n String value = null;\n\n\n String block15 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:85:2: ( block[$tab] )\n // src\\\\calculator.g:85:4: block[$tab]\n {\n...
[ "0.58365226", "0.5809991", "0.58097136", "0.57655126", "0.5705336", "0.5652537", "0.5521291", "0.525265", "0.5184397", "0.5166594", "0.51632935", "0.51457137", "0.51227206", "0.51110965", "0.50985587", "0.5092961", "0.5061148", "0.50552475", "0.50043994", "0.49768028", "0.496...
0.69204056
0
$ANTLR end "block" $ANTLR start "stat" src\\calculator.g:142:1: stat[int tab] returns [String value] : ( type[$tab] dec_var[$tab] | ie_stat[$tab] | for_stat[$tab] | while_stat[$tab] | switch_stat[$tab] | call_function[$tab] ';' | 'return' return_sentence[$tab] ';' | 'break' ';' | normal_exp[$tab] ';' | 'cin' input[$tab...
public final String stat(int tab) throws RecognitionException { String value = null; Token COMMENT40=null; String type29 =null; String dec_var30 =null; String ie_stat31 =null; String for_stat32 =null; String while_stat33 =null; String switch_stat34 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String block(int tab) throws RecognitionException {\n String value = null;\n\n\n String a =null;\n\n String stat28 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:137:2: ( stat[$tab] a= block[$tab] |)\n int alt9=2;\n ...
[ "0.6539389", "0.6481194", "0.5926328", "0.57373554", "0.55905586", "0.557665", "0.55360246", "0.5515808", "0.54962385", "0.54706496", "0.5466421", "0.54521435", "0.5430188", "0.54287034", "0.53034645", "0.529688", "0.5293547", "0.5279395", "0.52778167", "0.52778167", "0.52291...
0.67371523
0
$ANTLR end "stat" $ANTLR start "ie_stat" src\\calculator.g:181:1: ie_stat[int tab] returns [String value] : if_stat[$tab] else_stat[$tab] ;
public final String ie_stat(int tab) throws RecognitionException { String value = null; String if_stat41 =null; String else_stat42 =null; value = null; try { // src\\calculator.g:185:2: ( if_stat[$tab] else_stat[$tab] ) // src\\calculator.g:185:4: ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String stat(int tab) throws RecognitionException {\n String value = null;\n\n\n Token COMMENT40=null;\n String type29 =null;\n\n String dec_var30 =null;\n\n String ie_stat31 =null;\n\n String for_stat32 =null;\n\n String while_stat33 =null;\n\n S...
[ "0.76513326", "0.6327438", "0.58511984", "0.5822992", "0.58032405", "0.5768988", "0.57482046", "0.56331474", "0.5566943", "0.5330568", "0.5299032", "0.527089", "0.5227483", "0.52202296", "0.52155757", "0.51854104", "0.5157906", "0.51073617", "0.5095949", "0.5003179", "0.49908...
0.7545805
1
$ANTLR end "else_stat_" $ANTLR start "else_stat" src\\calculator.g:214:1: else_stat[int tab] returns [String value] : ( 'else' else_stat_[$tab] |);
public final String else_stat(int tab) throws RecognitionException { String value = null; String else_stat_47 =null; value = null; try { // src\\calculator.g:218:2: ( 'else' else_stat_[$tab] |) int alt12=2; int LA12_0 = input.LA(1); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String ie_stat(int tab) throws RecognitionException {\n String value = null;\n\n\n String if_stat41 =null;\n\n String else_stat42 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:185:2: ( if_stat[$tab] else_stat[$tab] )\n // src...
[ "0.6501503", "0.637444", "0.6069241", "0.5867775", "0.5839352", "0.5749048", "0.56964684", "0.5674655", "0.5560972", "0.53893197", "0.5384013", "0.537109", "0.5368571", "0.5331459", "0.5325157", "0.5277304", "0.52651733", "0.5234108", "0.5209207", "0.51911724", "0.5157706", ...
0.7877135
0
$ANTLR end "for_stat" $ANTLR start "for_para" src\\calculator.g:236:1: for_para[int tab] returns [String value] : ( dec_expression[$tab] | normal_exp[$tab] | type[$tab] normal_exp[$tab] );
public final String for_para(int tab) throws RecognitionException { String value = null; String dec_expression52 =null; String normal_exp53 =null; String type54 =null; String normal_exp55 =null; value = null; try { // src\\calculator.g:240:2:...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mFOR() throws RecognitionException {\n try {\n int _type = FOR;\n // /Users/benjamincoe/HackWars/C.g:180:5: ( 'for' )\n // /Users/benjamincoe/HackWars/C.g:180:7: 'for'\n {\n match(\"for\"); \n\n\n }\n\n this.type ...
[ "0.5747628", "0.56901824", "0.5626682", "0.5513263", "0.5471804", "0.54713273", "0.5421258", "0.5390449", "0.5385682", "0.53622156", "0.5245421", "0.51977205", "0.5186839", "0.5083783", "0.5069833", "0.5066151", "0.4984863", "0.49748346", "0.48333737", "0.4821681", "0.4790215...
0.7013075
0
$ANTLR end "switch_stat" $ANTLR start "case_stats" src\\calculator.g:272:1: case_stats[int tab] returns [String value] : ( case_stat[$tab] a= case_stats[$tab] |);
public final String case_stats(int tab) throws RecognitionException { String value = null; String a =null; String case_stat62 =null; value = null; try { // src\\calculator.g:276:2: ( case_stat[$tab] a= case_stats[$tab] |) int alt14=2; i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String stat(int tab) throws RecognitionException {\n String value = null;\n\n\n Token COMMENT40=null;\n String type29 =null;\n\n String dec_var30 =null;\n\n String ie_stat31 =null;\n\n String for_stat32 =null;\n\n String while_stat33 =null;\n\n S...
[ "0.72030693", "0.6974573", "0.6043815", "0.58575493", "0.5724803", "0.56853324", "0.56076205", "0.5554771", "0.5167307", "0.51626873", "0.50868684", "0.505302", "0.50355476", "0.49902657", "0.4880398", "0.48622385", "0.4798686", "0.4771122", "0.47629875", "0.4737444", "0.4731...
0.7839449
0
$ANTLR end "case_stats" $ANTLR start "case_stat" src\\calculator.g:281:1: case_stat[int tab] returns [String value] : 'case' CHAR ':' block[$tab + 1] ;
public final String case_stat(int tab) throws RecognitionException { String value = null; Token CHAR63=null; String block64 =null; value = null; try { // src\\calculator.g:285:2: ( 'case' CHAR ':' block[$tab + 1] ) // src\\calculator.g:285:4: 'case'...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String case_stats(int tab) throws RecognitionException {\n String value = null;\n\n\n String a =null;\n\n String case_stat62 =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:276:2: ( case_stat[$tab] a= case_stats[$tab] |)\n int ...
[ "0.77191734", "0.73274165", "0.61110884", "0.6064726", "0.59989166", "0.5978915", "0.580035", "0.5786525", "0.5662539", "0.54562956", "0.5366262", "0.52238214", "0.5087233", "0.5039442", "0.5001558", "0.49974775", "0.49675134", "0.49665147", "0.4945876", "0.4927038", "0.49231...
0.75976634
1
$ANTLR end "case_stat" $ANTLR start "default_stat" src\\calculator.g:290:1: default_stat[int tab] returns [String value] : ( 'default' ':' block[$tab + 1] |);
public final String default_stat(int tab) throws RecognitionException { String value = null; String block65 =null; value = null; try { // src\\calculator.g:294:2: ( 'default' ':' block[$tab + 1] |) int alt15=2; int LA15_0 = input.LA(1); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String stat(int tab) throws RecognitionException {\n String value = null;\n\n\n Token COMMENT40=null;\n String type29 =null;\n\n String dec_var30 =null;\n\n String ie_stat31 =null;\n\n String for_stat32 =null;\n\n String while_stat33 =null;\n\n S...
[ "0.6510564", "0.64310277", "0.60175735", "0.5875464", "0.5587087", "0.54540014", "0.54205865", "0.5368569", "0.53027207", "0.52318674", "0.521288", "0.5177612", "0.510455", "0.50872403", "0.5036679", "0.5011443", "0.5006625", "0.4975272", "0.48957995", "0.48757383", "0.487557...
0.7861558
0
$ANTLR end "default_stat" $ANTLR start "input" src\\calculator.g:300:1: input[int tab] returns [String value] : ( '>>' ID a= input[$tab] |);
public final String input(int tab) throws RecognitionException { String value = null; Token ID66=null; String a =null; value = null; try { // src\\calculator.g:304:2: ( '>>' ID a= input[$tab] |) int alt16=2; int LA16_0 = input.LA(1); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String stat(int tab) throws RecognitionException {\n String value = null;\n\n\n Token COMMENT40=null;\n String type29 =null;\n\n String dec_var30 =null;\n\n String ie_stat31 =null;\n\n String for_stat32 =null;\n\n String while_stat33 =null;\n\n S...
[ "0.6192701", "0.59559923", "0.5677923", "0.55204564", "0.5466687", "0.5441573", "0.53865457", "0.5384833", "0.5350052", "0.5349053", "0.53279495", "0.5326884", "0.52740777", "0.52620655", "0.5247178", "0.52463424", "0.52371895", "0.5192273", "0.5170013", "0.5163342", "0.51351...
0.68425614
0
$ANTLR end "input" $ANTLR start "outputs" src\\calculator.g:310:1: outputs[int tab] returns [String value] : ( '<<' output[$tab] a= outputs[$tab] |);
public final String outputs(int tab) throws RecognitionException { String value = null; String a =null; String output67 =null; value = null; try { // src\\calculator.g:314:2: ( '<<' output[$tab] a= outputs[$tab] |) int alt17=2; int LA17...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String input(int tab) throws RecognitionException {\n String value = null;\n\n\n Token ID66=null;\n String a =null;\n\n\n\n \tvalue = null;\n\n try {\n // src\\\\calculator.g:304:2: ( '>>' ID a= input[$tab] |)\n int alt16=2;\n int LA1...
[ "0.6091577", "0.5932499", "0.5763733", "0.5435728", "0.5410451", "0.53989905", "0.5388112", "0.53176665", "0.52506673", "0.5219834", "0.51951057", "0.5082532", "0.506385", "0.5038356", "0.5012076", "0.49729738", "0.4949992", "0.49303904", "0.4927258", "0.49268115", "0.4924236...
0.7575292
0