query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
TODO: Move to core...
protected AbstractMetadata(final boolean pStandardFormatSupported, final String pNativeFormatName, final String pNativeFormatClassName, final String[] pExtraFormatNames, final String[] pExtraFormatClassNames) { super(pStandardFormatSupported, pNative...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public abstract void mo70713b();", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\n protected void prot() {\n }", "protected boolean func_70814_...
[ "0.57523745", "0.561776", "0.560459", "0.55529314", "0.5536144", "0.55262506", "0.5494612", "0.54943", "0.5491757", "0.5485005", "0.54766685", "0.5471572", "0.5466781", "0.5435248", "0.5399512", "0.53992915", "0.5399064", "0.53866386", "0.5375157", "0.5364541", "0.53570276", ...
0.0
-1
/ Collection |_ Authorized User with Rights |_ Child Collection |_ Project Issue project doesn't show up in AbstractInformationResourceController.getPotentialParents()
@Test @Rollback public void testDocumentProjectRights() throws TdarActionException { Project project = new Project(); project.setTitle("test rights project"); project.setDescription(project.getTitle()); project.markUpdated(getAdminUser()); genericService.saveOrUpdate(proj...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic List<UPermission> listParent() {\n\t\treturn roleMapper.listParent();\n\t}", "public PrincipalSet getAllParentPrincipals(boolean arg0)\n throws AuthorizationException {\n return null;\n }", "public PrincipalSet getParentPrincipals(boolean arg0)\n throws Autho...
[ "0.64069515", "0.6091013", "0.59600395", "0.59548575", "0.574606", "0.5612485", "0.5583248", "0.5564739", "0.55005467", "0.54422003", "0.5434384", "0.54020333", "0.5393312", "0.53392315", "0.5292112", "0.52825254", "0.5262234", "0.52592987", "0.5185345", "0.5185205", "0.51791...
0.65955514
0
return a populated "new" resource creator person (i.e. all person fields set but null id)
public ResourceCreatorProxy getNewResourceCreator(String name, Long id, ResourceCreatorRole role) { ResourceCreatorProxy rcp = new ResourceCreatorProxy(); rcp.getInstitution().setName(name); // FIXME: THIS NEEDS TO WORK WITHOUT SETTING AN ID as well as when an ID // IS SET if ((S...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Person create() {\n\t\treturn personRepository.create();\n\t}", "Person createPerson();", "public void CreatePerson(Person p){\n\t\tWeddingConnectionPoolManager con = new WeddingConnectionPoolManager(); \n\t\t Person p1 = new Person(p.getId(), p.getFirstName(), p.getLastName(), p.getRelationship(),\n\t...
[ "0.71684045", "0.6863774", "0.66565305", "0.6605152", "0.65407413", "0.64768374", "0.64622647", "0.6442177", "0.6431281", "0.64040077", "0.64029914", "0.636535", "0.62353027", "0.6169959", "0.61622286", "0.6135593", "0.60895276", "0.6082169", "0.6068854", "0.60545206", "0.605...
0.0
-1
/ Return the count of the elements in the stack
public int getSize();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int stackCount() {\r\n\t\t return count;\r\n\t }", "public int size() {\n \treturn stack.size();\n }", "@Override\r\n\tpublic int size() {\r\n\t\treturn stack.size();\r\n\t}", "@Override\r\n\tpublic int size() {\r\n\t\treturn stack.length;\r\n\t}", "public int getSize() {\r\n\t\treturn stack.s...
[ "0.80541396", "0.78140694", "0.7622068", "0.75686145", "0.73670644", "0.7326921", "0.70277417", "0.699856", "0.69871294", "0.6866876", "0.67558444", "0.6718299", "0.6684732", "0.66520715", "0.6625692", "0.66031396", "0.65266037", "0.6525512", "0.64895403", "0.6486395", "0.645...
0.0
-1
A Producer of DynamicCdiLoader will need to get Instance injected
public DynamicCdiLoader(Instance<DynamicCdi> dynamicCdis) { this.dynamicCdis = dynamicCdis; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void injectorClassLoader() {\n\t\t//To get the package name\n\t\tString pkgName = context.getPackageName();\n\t\t//To get the context\n\t\tContext contextImpl = ((ContextWrapper) context).getBaseContext();\n\t\t//Access to the Activity of the main thread\n\t\tObject activityThread = null;\n\t\ttry {\n\t\t\tactivit...
[ "0.61306834", "0.5803243", "0.5783343", "0.5745692", "0.56564313", "0.56513023", "0.56317425", "0.5616552", "0.5516159", "0.5513996", "0.5490186", "0.5487551", "0.5472889", "0.5459764", "0.5422313", "0.5416563", "0.5411871", "0.53471434", "0.53432995", "0.53342795", "0.533427...
0.66091496
0
Gets the specified implementation for the given class. This method is mainly public so we can test it from the eswtest1 package. Normally, it will not be called from outside.
public <T> T getImplementation(Class<T> clazz) { AssertUtil.assertNotNull("Dynamic CDIs must be set or injected", this.dynamicCdis); // Get the tag for the specified class String tagName = JuUtils.getJuPropertyChain().get(clazz.getName(), false); String defaultTagName = JuUtils.getJuPropertyChain().get("j...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Class<?> getImplementation();", "Class<?> getImplementationClass();", "public Class<?> getImplClass() {\n return implClass;\n }", "public String getImplementation()\n {\n return implementation;\n }", "Class<A> getImplClass();", "protected Class getOnlineService () t...
[ "0.7769562", "0.7126216", "0.66781455", "0.6332771", "0.61776185", "0.5853862", "0.5806947", "0.5756335", "0.57527196", "0.5691173", "0.56670725", "0.55789983", "0.5570045", "0.5536263", "0.5528756", "0.5483668", "0.54591197", "0.5420921", "0.5395605", "0.5391348", "0.5371295...
0.51361614
33
Helper interface to postpone object creation until we actually need one.
private interface TypeCreator<T> { T createType(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Object createObjectInternal(ObjectInformation objectInformation) throws FillingException;", "private void constructorPostProcessing()\n {\n prepareNextRequest();\n fetchNextBatch();\n advanceObjectSummary();\n }", "protected void postInstantiate() {}", "protected PObject createI...
[ "0.64625174", "0.6307916", "0.6215358", "0.6204939", "0.6139111", "0.596892", "0.5871668", "0.58529115", "0.5835438", "0.5794714", "0.5753907", "0.57538706", "0.5720561", "0.5668951", "0.5643205", "0.5632698", "0.5623652", "0.55854857", "0.55819666", "0.5570694", "0.556936", ...
0.0
-1
Recheck all errors. Copy out and recheck(To prevent concurrent modify when cancel by limit exceeded).
@Override public void finish(ExecutionContext baseEc, Checker checker) { resultReports.clear(); synchronized (checkerReports) { resultReports.addAll(checkerReports); } int[] sleepTime_ms = new int[] {0, 100, 300}; for (int sleepTime : sleepTime_ms) { t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long invalidations();", "@Override\n public void clearError() {\n\n }", "private void modificationCheck() {\n if (this.expectedMod != modCount) {\n throw new ConcurrentModificationException(\"The Simple Array List was changed its structure!\");\n }\n }", "pro...
[ "0.58813334", "0.5768632", "0.5756366", "0.56797385", "0.55612224", "0.5552596", "0.55288875", "0.5510416", "0.5496672", "0.54951084", "0.5479173", "0.5449971", "0.5434407", "0.5396755", "0.5393881", "0.5388688", "0.53728265", "0.5334424", "0.5325844", "0.53223616", "0.530918...
0.56750566
4
/auth.jdbcAuthentication().dataSource(dataSource()) .usersByUsernameQuery("select username, password,enabled from users where username=?") .authoritiesByUsernameQuery("select u.username, ur.user_role from USERS u, USERS_ROLES ur where u.user_id = ur.userid and u.username = ?");
public void configure(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication().withUser("raja").password("raja").roles("USER"); auth.inMemoryAuthentication().withUser("admin").password("admin").roles("ADMIN"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\n\t\tauth.jdbcAuthentication().dataSource(dataSource)\r\n\t\t\t\t.usersByUsernameQuery(\"select username,password,enabled from users where username = ?\")\r\n\t\t\t\t.authoritiesByUsernameQuery(\"select username,authority...
[ "0.74074847", "0.7334553", "0.7235244", "0.71606886", "0.701076", "0.6963642", "0.6846537", "0.683574", "0.6771695", "0.6715693", "0.6671971", "0.6633973", "0.6447659", "0.64105946", "0.6338594", "0.6306504", "0.62959224", "0.62861913", "0.6279869", "0.627697", "0.6258812", ...
0.0
-1
An abstract method. By default it is public and abstract.
void print();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract void method();", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "@Override\r\n\tprotected void abstractMethod() {\n\t\tSystem.out.println(\"I'm from the abstract method\");\r\n\t}", "public abstract void abstractMethodToImplement();", "private abstract void privateabstract();", "public abstr...
[ "0.8310106", "0.80592597", "0.7916491", "0.777704", "0.77221555", "0.7713968", "0.75838506", "0.7544335", "0.751553", "0.74760216", "0.7449263", "0.74478894", "0.74455506", "0.74073744", "0.7370372", "0.7336691", "0.7332997", "0.730901", "0.72857934", "0.7272727", "0.7265688"...
0.0
-1
Default method, introduced in Java 8.
public default void doStuff() { System.out.println("Hello world"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void returnDefault();", "@Override\n public void defaultMethod() {\n I4.super.defaultMethod();\n }", "public static DefaultExpression default_() { throw Extensions.todo(); }", "default void method_default() {\n\t System.out.println(\"Hello from default method!\");\n\t}", "interface D...
[ "0.72394276", "0.7042768", "0.7023822", "0.69046575", "0.682756", "0.6789069", "0.6781248", "0.65973264", "0.6596435", "0.65659493", "0.6511762", "0.64670026", "0.6332937", "0.63261306", "0.629938", "0.629938", "0.6291544", "0.6286388", "0.62440974", "0.62052447", "0.61835676...
0.61546206
21
Static method in interface, introduced in Java 8.
public static void sayHello() { System.out.println("Hello"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "interface StaticMethodInInterface {\n\t// abstract method\n\tpublic void square(int a);\n\n\t// static method\n\tstatic void show() {\n\t\tSystem.out.println(\"Static Method Executed\");\n\t}\n}", "interface TakesScreenshot{\n\tString $FILE_EXTENSION=\".png\"; //COMPILER ADDs 'public static final' automatically...
[ "0.7093326", "0.69102776", "0.6583697", "0.6556404", "0.65424496", "0.654007", "0.6447047", "0.6422026", "0.638623", "0.63609433", "0.6264746", "0.624532", "0.62296546", "0.619412", "0.6192691", "0.6153293", "0.6123641", "0.6101671", "0.60937935", "0.60921776", "0.60921776", ...
0.0
-1
TODO implement this method
public org.csapi.schema.parlayx.subscribe.manage.v1_0.local.SubscribeServiceResponse subscribeService(org.csapi.schema.parlayx.subscribe.manage.v1_0.local.SubscribeServiceRequest parameters) { throw new UnsupportedOperationException("Not implemented yet."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n protected void getExras() ...
[ "0.6024045", "0.58673203", "0.58331114", "0.5817319", "0.57963085", "0.57779294", "0.5713076", "0.56053734", "0.56053734", "0.5576901", "0.5545952", "0.5544517", "0.5535414", "0.5527652", "0.5497513", "0.54881805", "0.5444479", "0.5434758", "0.54172546", "0.5401652", "0.53777...
0.0
-1
TODO implement this method
public org.csapi.schema.parlayx.subscribe.manage.v1_0.local.UnSubscribeServiceResponse unSubscribeService(org.csapi.schema.parlayx.subscribe.manage.v1_0.local.UnSubscribeServiceRequest parameters) { throw new UnsupportedOperationException("Not implemented yet."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n protected void getExras() ...
[ "0.6024045", "0.58673203", "0.58331114", "0.5817319", "0.57963085", "0.57779294", "0.5713076", "0.56053734", "0.56053734", "0.5576901", "0.5545952", "0.5544517", "0.5535414", "0.5527652", "0.5497513", "0.54881805", "0.5444479", "0.5434758", "0.54172546", "0.5401652", "0.53777...
0.0
-1
TODO implement this method
public org.csapi.schema.parlayx.subscribe.manage.v1_0.local.SubscribeProductResponse subscribeProduct(org.csapi.schema.parlayx.subscribe.manage.v1_0.local.SubscribeProductRequest parameters) { throw new UnsupportedOperationException("Not implemented yet."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n protected void getExras() ...
[ "0.6024045", "0.58673203", "0.58331114", "0.5817319", "0.57963085", "0.57779294", "0.5713076", "0.56053734", "0.56053734", "0.5576901", "0.5545952", "0.5544517", "0.5535414", "0.5527652", "0.5497513", "0.54881805", "0.5444479", "0.5434758", "0.54172546", "0.5401652", "0.53777...
0.0
-1
TODO implement this method
public org.csapi.schema.parlayx.subscribe.manage.v1_0.local.UnSubscribeProductResponse unSubscribeProduct(org.csapi.schema.parlayx.subscribe.manage.v1_0.local.UnSubscribeProductRequest parameters) { throw new UnsupportedOperationException("Not implemented yet."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n protected void getExras() ...
[ "0.6024691", "0.5867903", "0.5834122", "0.5818061", "0.57963616", "0.5778915", "0.5714397", "0.56058717", "0.56058717", "0.5577767", "0.5546333", "0.5544818", "0.5536199", "0.55281126", "0.5498219", "0.54889494", "0.5444405", "0.5436335", "0.54174423", "0.54028255", "0.537853...
0.0
-1
TODO get rid of this ugly wait
public Payment clickContinue() throws InterruptedException { Thread.sleep(2000); WebElement button = new WebDriverWait(BaseWebDriver.Instance, BaseWebDriver.getInstance().TIMEOUT) .until(ExpectedConditions.presenceOfElementLocated(locatorContinue)); button.click(); ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract long waitToTravel();", "@Override\n public boolean waitToProceed() {\n return false;\n }", "private void _wait() {\n\t\tfor (int i = 1000; i > 0; i--)\n\t\t\t;\n\t}", "protected int getWait() \t\t\t\t{\treturn wait;\t\t}", "private void customWait() throws InterruptedExcepti...
[ "0.6646212", "0.65136063", "0.6500143", "0.64477676", "0.64066035", "0.6145536", "0.6091815", "0.6080093", "0.606294", "0.5995794", "0.5979889", "0.59769464", "0.59648216", "0.59459", "0.5940129", "0.59227026", "0.58926404", "0.58704937", "0.5862526", "0.585573", "0.5824927",...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { int arr[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; int D = 5; System.out.println(shipWithinDays(arr, D)); }
{ "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
Constructor which sets the default scanner.
public parserCapas(java_cup.runtime.Scanner s) {super(s);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void init() {\n\t\tscanner = new Scanner(System.in);\n\t\treturn;\n\t}", "public static void setScanner(Scanner s) {\n scanner = s;\n }", "public static void setInputScanner(InputScanner scanner){\n inputScanner = scanner;\n }", "private ConsoleScanner() {}", "public Metad...
[ "0.7363979", "0.71984017", "0.7137678", "0.71248406", "0.70821637", "0.7008351", "0.70074767", "0.6923786", "0.6865954", "0.6865954", "0.6865954", "0.6865954", "0.6865954", "0.6865954", "0.6865954", "0.6865954", "0.68472075", "0.68472075", "0.68472075", "0.68472075", "0.68472...
0.65468484
30
Constructor which sets the default scanner.
public parserCapas(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void init() {\n\t\tscanner = new Scanner(System.in);\n\t\treturn;\n\t}", "public static void setScanner(Scanner s) {\n scanner = s;\n }", "public static void setInputScanner(InputScanner scanner){\n inputScanner = scanner;\n }", "private ConsoleScanner() {}", "public Metad...
[ "0.7363053", "0.7197175", "0.71373045", "0.71251035", "0.70840883", "0.70093095", "0.700819", "0.6924691", "0.68668073", "0.68668073", "0.68668073", "0.68668073", "0.68668073", "0.68668073", "0.68668073", "0.68668073", "0.6848299", "0.6848299", "0.6848299", "0.6848299", "0.68...
0.0
-1
Access to production table.
public short[][] production_table() {return _production_table;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public short[][] production_table() {\r\n return _production_table;\r\n }", "public short[][] production_table() {\r\n return _production_table;\r\n }", "short[][] productionTable();", "public String getTable()\n {\n return table;\n }", "private void refTable() {\n tr...
[ "0.68532145", "0.6843889", "0.57185096", "0.56440794", "0.563", "0.5615971", "0.56071514", "0.5580453", "0.55784947", "0.55773133", "0.5487715", "0.5472419", "0.5464648", "0.54604506", "0.5398757", "0.53913164", "0.5386026", "0.5377525", "0.53717554", "0.5368894", "0.5353499"...
0.68878466
29
Access to parseaction table.
public short[][] action_table() {return _action_table;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public short[][] action_table() {\r\n return _action_table;\r\n }", "public ActionList getActions();", "public int getAction() {\n\t\treturn action;\n\t}", "String[] getActions();", "public Action getAction() {\n\treturn action;\n }", "public int getAction()\n {\n return m_action;\n ...
[ "0.71799415", "0.6271413", "0.60241354", "0.6008953", "0.59867096", "0.5980041", "0.5955848", "0.5938487", "0.5920429", "0.5917709", "0.59064436", "0.590324", "0.59030133", "0.5900386", "0.5894549", "0.5894549", "0.5894549", "0.5894549", "0.5890299", "0.58894557", "0.5886304"...
0.7215594
29
Access to reduce_goto table.
public short[][] reduce_table() {return _reduce_table;}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public short[][] reduce_table() {\r\n return _reduce_table;\r\n }", "public short[][] action_table() {return _action_table;}", "public short[][] action_table() {return _action_table;}", "public short[][] action_table() {return _action_table;}", "public short[][] action_table() {return _action_tab...
[ "0.5971808", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643", "0.47024643",...
0.6235091
29
Action encapsulation object initializer.
protected void init_actions() { action_obj = new CUP$parser$actions(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void init_actions()\n {\n action_obj = new CUP$FractalParser$actions(this);\n }", "protected void init_actions()\r\n {\r\n action_obj = new CUP$Parser$actions(this);\r\n }", "protected void init_actions()\n {\n action_obj = new CUP$Parser$actions(this);\n }", "prote...
[ "0.7878938", "0.78461385", "0.7830138", "0.7830138", "0.7830138", "0.7830138", "0.7830138", "0.78270704", "0.77964866", "0.77762455", "0.77762455", "0.7719381", "0.7718627", "0.7694385", "0.764602", "0.75718296", "0.75680727", "0.75623953", "0.7553727", "0.7551047", "0.752830...
0.7798445
19
Invoke a user supplied parse action.
public java_cup.runtime.Symbol do_action( int act_num, java_cup.runtime.lr_parser parser, java.util.Stack stack, int top) throws java.lang.Exception { /* call code in generated class */ return action_obj.CUP$parser$do_action(act_num,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void executeAction( String actionInfo );", "public final java_cup.runtime.Symbol CUP$Parser$do_action(\n int CUP$Parser$act_num,\n java_cup.runtime.lr_parser CUP$Parser$parser,\n java.util.Stack CUP$Parser$stack,\n int CUP$Parser$top)\n ...
[ "0.66233104", "0.65339345", "0.65339345", "0.65339345", "0.6502368", "0.6490189", "0.6490189", "0.6490189", "0.6490189", "0.6490189", "0.64837754", "0.645815", "0.63573897", "0.63072646", "0.62915266", "0.6286955", "0.6286955", "0.62713635", "0.6186821", "0.6142021", "0.61393...
0.59196347
47
Connect this parser to a scanner!
public parserCapas(LexCapas lex) { super(lex); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Parser(Scanner scanner) {\n this.scanner = scanner;\n scan();\n }", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {super(s);}", "public parser(java_cup.runtime.Scanner s) {...
[ "0.72060835", "0.69216436", "0.69216436", "0.69216436", "0.69216436", "0.69216436", "0.69216436", "0.69216436", "0.69216436", "0.6829164", "0.68050534", "0.68050534", "0.68050534", "0.68050534", "0.68050534", "0.68050534", "0.65537465", "0.65537465", "0.6441444", "0.62530327", ...
0.0
-1
Method with the actual generated action code.
public final java_cup.runtime.Symbol CUP$parser$do_action( int CUP$parser$act_num, java_cup.runtime.lr_parser CUP$parser$parser, java.util.Stack CUP$parser$stack, int CUP$parser$top) throws java.lang.Exception { /* Symbol object for ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\n public void action() {\n }", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "public void createAction() {\n }", "@Override\n\tpublic ...
[ "0.7253985", "0.7253985", "0.7253985", "0.71544045", "0.71270514", "0.71028495", "0.682494", "0.6795898", "0.66515064", "0.6604793", "0.6412416", "0.6410986", "0.6400891", "0.635059", "0.6294932", "0.6284992", "0.6284992", "0.6284992", "0.6255204", "0.623979", "0.6188923", ...
0.0
-1
TODO Autogenerated method stub
public IDeploymentTarget[] getTargets(ITMWProject project) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
public void discoverTargets(IProgressMonitor monitor) throws CoreException { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public IDeploymentTarget findTarget(ITMWProject project, String id) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public boolean targetsDiscovered() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public ISchedulingRule getSchedulingRule(IDeploymentTarget target) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
Referenced classes of package com.firebase.client.core: SparseSnapshotTree, Path
public static interface SparseSnapshotTree$SparseSnapshotTreeVisitor { public abstract void visitTree(Path path, Node node); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Snapshot getPathSnapshot() {\r\n return isSnapshot? snapshot: null;\r\n }", "private DataManager() {\n ref = FirebaseStorage.getInstance().getReference();\n }", "public void updateDatabaseRefBackwards() {\n // we want to do this twice, since we go from children attribute to fold...
[ "0.533765", "0.5292944", "0.5248172", "0.5147056", "0.4912514", "0.49069858", "0.49040926", "0.48728648", "0.48637545", "0.48450136", "0.48047757", "0.48047757", "0.47785354", "0.47480044", "0.47178474", "0.46980292", "0.46887648", "0.46693668", "0.4612139", "0.4605772", "0.4...
0.55337954
0
Common interface for OLE shapes, i.e. shapes linked to embedded documents
public interface ObjectData { /** * Gets an input stream which returns the binary of the embedded data. * * @return the input stream which will contain the binary of the embedded data. */ InputStream getInputStream() throws IOException; /** * @return the object data as st...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Shape {\n\n String getDescription();\n}", "public interface Displayer {\n \n /**\n * This is displayShape method.\n * \n * @param shape - object's shape type\n */\n void displayShape(Shape shape);\n}", "public interface GeometricShape {\n double area();\n\n ...
[ "0.6106404", "0.60881376", "0.59496236", "0.5934052", "0.58929175", "0.58645767", "0.58514583", "0.5843408", "0.5828101", "0.5810862", "0.58085096", "0.57847565", "0.57682395", "0.5751776", "0.57397765", "0.5729439", "0.5716446", "0.57023346", "0.5702237", "0.5702135", "0.570...
0.5300586
82
Gets an input stream which returns the binary of the embedded data.
InputStream getInputStream() throws IOException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Stream<In> getInputStream();", "InputStream getDataStream();", "public InputStream asInputStream() {\n return new ByteArrayInputStream(data);\n }", "public InputStream getInputStream();", "public InputStream getInputStream();", "public InputStream getStream();", "public InputStream getStream(...
[ "0.7341293", "0.67091006", "0.66826624", "0.6644723", "0.6644723", "0.6584291", "0.6551655", "0.64360607", "0.64350057", "0.6388514", "0.6388514", "0.6301172", "0.62823194", "0.6265042", "0.6256703", "0.6177864", "0.6177864", "0.61772394", "0.61583453", "0.6155618", "0.609660...
0.6271728
14
Convenience method to get the embedded data as byte array.
default byte[] getBytes() throws IOException { try (InputStream is = getInputStream()) { return IOUtils.toByteArray(is); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte[] asByteArray() {\n return data;\n }", "public byte[] getAsBytes() {\n return (byte[])data;\n }", "public byte[] getData();", "public byte[] GetBytes() {\n return data;\n }", "byte[] getData();", "byte[] getData();", "byte[] getData();", "byte[] getData();"...
[ "0.7522737", "0.7459674", "0.7244001", "0.71817535", "0.71295124", "0.71295124", "0.71295124", "0.71295124", "0.6948101", "0.694275", "0.68810517", "0.6867603", "0.6861269", "0.68459344", "0.68326765", "0.6823144", "0.6817446", "0.68134445", "0.68134445", "0.6796153", "0.6796...
0.62731904
65
Checks if is page loaded.
@Override public boolean isPageLoaded() { setLogString("Verify the savings Page is loaded", true, CustomLogLevel.LOW); return isDisplayed(getDriver(), By.cssSelector(SAVINGS_CONTAINER), TINY_TIMEOUT) && isDisplayed(getDriver(), By.className(SAVINGS_DOLLARS), TINY_TIMEOUT) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void thePageIsLoaded() {\r\n this.page.isLoaded();\r\n }", "@Override\r\n\tpublic boolean isPageLoaded() {\n\t\treturn false;\r\n\t}", "@Override\n\tprotected void isLoaded() throws Error {\n\t\tif (!isPageLoaded) {\n\t\t\tAssert.fail();\n\t\t}\n\t}", "public boolean verifyPageLoad() {\n\t\t...
[ "0.8240308", "0.81005245", "0.7783641", "0.760423", "0.7543977", "0.73765975", "0.721082", "0.71369463", "0.7085956", "0.7085956", "0.708525", "0.7035737", "0.7005025", "0.70027226", "0.69885856", "0.6926163", "0.6923496", "0.6865931", "0.6863778", "0.684577", "0.68231565", ...
0.77407265
3
Gets the Total Savings.
@Override public String getTotalSavings() { setLogString("Get total Savings Amount", true, CustomLogLevel.HIGH); final String savingsValue = getElement(getDriver(), By.className(SAVINGS_DOLLARS), TINY_TIMEOUT).getText(); setLogString("Total Savings :" + savingsValue, true, C...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getSavings()\r\n {\r\n return savings;\r\n }", "public int getTotalSales()\n {\n int sales = totalSales;\n totalSales = 0;\n return sales;\n }", "public double getSavingsBalance() {\n return savingsBalance;\n }", "Double getTotalSpent();", "pu...
[ "0.7103948", "0.6666447", "0.65759754", "0.65130204", "0.64354", "0.6434328", "0.64264375", "0.632319", "0.62941694", "0.6278687", "0.62693334", "0.626131", "0.62395155", "0.62231934", "0.62202704", "0.6205934", "0.61818737", "0.6181854", "0.61349994", "0.61349994", "0.613499...
0.82200634
0
Gets the current month.
@Override public String getCurrentMonthAndYear() { setLogString("Get Month and year", true, CustomLogLevel.HIGH); final String currentMonth = getElement(getDriver(), By.className(SAVINGS_MONTH), TINY_TIMEOUT).getText(); setLogString("Current Month and Year: " + currentMonth,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int getCurrentMonth()\n\t{\n\t\treturn Calendar.getInstance().get(Calendar.MONTH) + 1;\n\t}", "public String getMonth()\n {\n return Month.get();\n }", "public static int getTodaysMonth() {\t\r\n\t\t\r\n\t\tTime time = new Time();\r\n\t\ttime.setToNow();\r\n\t\treturn time.month + 1;...
[ "0.8064596", "0.7655487", "0.7385686", "0.7338193", "0.730781", "0.7295783", "0.72564626", "0.71924096", "0.7181348", "0.7157775", "0.7153815", "0.7149018", "0.71121913", "0.7108853", "0.7087786", "0.70818377", "0.7072559", "0.70702714", "0.70161545", "0.70161545", "0.6969326...
0.7456713
2
Gets the savings value.
@Override public String getSavingsValue() { final String savingsValue = getElement(getDriver(), By.className(SAVINGS_DOLLAR_AMOUNT), TINY_TIMEOUT).getText(); setLogString("Savings Amount :" + savingsValue, true, CustomLogLevel.HIGH); return savingsValue; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getSavings()\r\n {\r\n return savings;\r\n }", "public double getSavingsBalance() {\n return savingsBalance;\n }", "public double getSavingBalance(){\n return this.savingsBalance;\n }", "@Override\n public String getTotalSavings() {\n\n setLogString(\"...
[ "0.8375319", "0.76951295", "0.7539085", "0.7336189", "0.6988917", "0.66619205", "0.6597922", "0.6419491", "0.6409575", "0.6248276", "0.61974525", "0.6030517", "0.5994252", "0.597198", "0.59552926", "0.59464407", "0.5938663", "0.5938377", "0.5926834", "0.5897596", "0.5892255",...
0.79811615
1
Gets the savings hours.
@Override public String getSavingsHours() { final String savingsHrs = getElement(getDriver(), By.className(SAVINGS_HOURS), TINY_TIMEOUT) .getText(); setLogString("Savings Hours:" + savingsHrs, true, CustomLogLevel.HIGH); return savingsHrs.substring(savingsHrs.indexOf("(") + ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static double hoursSpent()\n\t{\n\t\treturn 7.0;\n\t}", "public static double hoursSpent()\r\n {\r\n double howlong = 24.0;\r\n return howlong;\r\n }", "public int[] getHours() {\n int[] hoursArray = {this.hours, this.overtimeHours};\n return hoursArray;\n }", "pub...
[ "0.7181632", "0.6785623", "0.6775964", "0.6661448", "0.66514415", "0.6650975", "0.6650975", "0.6626034", "0.6464577", "0.6457881", "0.63884604", "0.63405794", "0.63377887", "0.63142043", "0.63139474", "0.62937754", "0.627042", "0.62238115", "0.621947", "0.61789095", "0.614777...
0.7958806
0
Gets the savings percentage.
@Override public String getSavingsPercentage() { final String savingsPercent = getElement(getDriver(), By.className(SAVINGS_PERCENTAGE), TINY_TIMEOUT).getText(); setLogString("Savings Percentage:" + savingsPercent + "%", true, CustomLogLevel.HIGH); return savingsPercent + "%...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getSavings()\r\n {\r\n return savings;\r\n }", "public double getSavingsBalance() {\n return savingsBalance;\n }", "public double getSavingBalance(){\n return this.savingsBalance;\n }", "@Override\n public String getTotalSavings() {\n\n setLogString(\"...
[ "0.77710503", "0.7383311", "0.7053514", "0.70161635", "0.70062494", "0.6934497", "0.68702406", "0.68268025", "0.67957485", "0.66611564", "0.6561167", "0.6559289", "0.6493751", "0.647554", "0.64672446", "0.6453847", "0.64134973", "0.63941586", "0.63830763", "0.6370747", "0.636...
0.8451988
0
Checks if is footer displayed.
@Override public boolean isFooterDisplayed() { setLogString("Check footer is not displayed", true, CustomLogLevel.HIGH); return isNotDisplayed(getDriver(), By.className(FOOTER_CONTAINER), TINY_TIMEOUT); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isFooter() {\n return isFooter;\n }", "public boolean hasFooter() {\n return hasFooter;\n }", "public boolean isFooterView(int i) {\n return haveFooterView() && i == getItemCount() - 1;\n }", "public boolean isClearAllVisible() {\n return this.mNotification...
[ "0.8191599", "0.8070979", "0.7238068", "0.7057022", "0.7022289", "0.69834554", "0.6956478", "0.6704996", "0.6252242", "0.61328155", "0.6020852", "0.6012948", "0.58730257", "0.5828834", "0.5825735", "0.5822508", "0.5816332", "0.58136535", "0.57957244", "0.57345647", "0.5684911...
0.8781109
0
Checks if is arrow not displayed.
@Override public boolean isArrowNotDisplayed(String arrow) { setLogString("Check " + arrow + " Arrow is not displayed", true, CustomLogLevel.HIGH); if (arrow.equalsIgnoreCase("Left")) { return isDisplayed(getDriver(), By.cssSelector(LEFT_ARROW), TINY_TIMEOUT); } else if (arrow.e...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean isArrowDisplayed(String arrow) {\n\n setLogString(\"Check \" + arrow + \" Arrow is displayed\", true, CustomLogLevel.HIGH);\n if (arrow.equalsIgnoreCase(\"Left\")) {\n return isDisplayed(getDriver(), By.className(BACKWARD_ICON), TINY_TIMEOUT);\n } else ...
[ "0.77711016", "0.76658475", "0.67591166", "0.6647926", "0.65865237", "0.62822706", "0.6223965", "0.5979906", "0.5810589", "0.57978994", "0.5729148", "0.57046854", "0.5704527", "0.56945306", "0.5688758", "0.56551105", "0.5629363", "0.56254613", "0.55896944", "0.55473375", "0.5...
0.84278524
0
Checks if is arrow displayed.
@Override public boolean isArrowDisplayed(String arrow) { setLogString("Check " + arrow + " Arrow is displayed", true, CustomLogLevel.HIGH); if (arrow.equalsIgnoreCase("Left")) { return isDisplayed(getDriver(), By.className(BACKWARD_ICON), TINY_TIMEOUT); } else if (arrow.equalsI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean isArrowNotDisplayed(String arrow) {\n\n setLogString(\"Check \" + arrow + \" Arrow is not displayed\", true, CustomLogLevel.HIGH);\n if (arrow.equalsIgnoreCase(\"Left\")) {\n return isDisplayed(getDriver(), By.cssSelector(LEFT_ARROW), TINY_TIMEOUT);\n }...
[ "0.7912059", "0.7322497", "0.71388054", "0.692683", "0.6857494", "0.66922975", "0.62075174", "0.60390174", "0.60264105", "0.59692526", "0.58728904", "0.57974887", "0.5793714", "0.5779429", "0.57695603", "0.5718371", "0.5674699", "0.5674699", "0.56519544", "0.5625178", "0.5609...
0.8323363
0
Checks if is learn more displayed.
@Override public boolean isLearnMoreDisplayed() { setLogString("Check if Learn More is displayed", true, CustomLogLevel.HIGH); return isDisplayed(getDriver(), By.cssSelector(".help_icon.clickable"), TINY_TIMEOUT); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void verifyLearnMoreLink() {\n learnMoreLink.assertState().enabled();\n learnMoreLink.assertContains().text(\"Learn more about registering for an account.\");\n }", "boolean hasTutorial();", "public boolean isTextShown() {\n return introText.getVisibility() == View.VISIBLE;\n ...
[ "0.70339423", "0.64523906", "0.62835807", "0.6181425", "0.6095847", "0.5958529", "0.5958075", "0.58589745", "0.5794267", "0.5787097", "0.57684803", "0.5760639", "0.5756851", "0.57549036", "0.57447594", "0.5741467", "0.5731975", "0.5705951", "0.5687887", "0.567153", "0.566951"...
0.83744514
0
Gets the location name.
@Override public String getLocationName() { final String locationName = getElement(getDriver(), By.className(SAVINGS_LOCATION), TINY_TIMEOUT).getText(); setLogString("Savings Location Name :" + locationName, true); return locationName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getLocationName() {\n\n\t\treturn this.locationName;\n\n\t}", "public String getLocationName(Context context){\n // just return the location name if it has already been set, either auto-generated or custom-set\n if (!locationName.equals(\"\") || isCustomLocationName) {\n re...
[ "0.78753513", "0.7538445", "0.75216436", "0.7396798", "0.7319677", "0.73021173", "0.7288054", "0.7271354", "0.72073007", "0.6966708", "0.6966708", "0.6966708", "0.69618803", "0.6950252", "0.690633", "0.690633", "0.690633", "0.690633", "0.690633", "0.6898551", "0.6896559", "...
0.74686694
3
Gets the savings header color.
@Override public boolean getSavingsHeaderColor() { setLogString("Verify if savings header has css value : " + mobileConfig.get(SAVINGS_COLOR), true, CustomLogLevel.HIGH); final Object val = executeScriptByClassName(SAVINGS_HEADER, "background-color", getDriver()); setLogStr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTitleColor() {\n\t\treturn hex == null ? \"<col=C12006>\" : hex;\n\t}", "public String getHlColor () {\r\n\t\treturn (String) getStateHelper().eval(PropertyKeys.hlColor);\r\n\t}", "public Color getColor() {\r\n\t\treturn new Color(Color.HSBtoRGB(hsb[0], hsb[1], hsb[2]));\r\n\t}", "public int...
[ "0.6325149", "0.6260574", "0.6214593", "0.6080397", "0.6034952", "0.5958508", "0.5954651", "0.5922522", "0.5922522", "0.58934605", "0.5881334", "0.5871574", "0.5841929", "0.5835894", "0.5835894", "0.58279586", "0.5814112", "0.58131593", "0.58104545", "0.58066195", "0.5803196"...
0.6996474
0
Gets the total savings color.
@Override public boolean getTotalSavingsColor() { setLogString("Verify if total savings has css value : " + mobileConfig.get(SAVINGS_COLOR), true, CustomLogLevel.HIGH); final Object val = executeScriptByClassName(SAVINGS_DOLLARS, "color", getDriver()); setLogString("Total Sa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getTotalSizeColor() {\n return totalSizeColor;\n }", "public int getPercentageColor() {\n return percentageColor;\n }", "public int getDrawingsColor(){\n return mPaintLine.getColor();\n }", "public int getColorValue() {\r\n\t\treturn color;\r\n\t}", "@Override\n ...
[ "0.64451176", "0.6257701", "0.6081033", "0.6038798", "0.59942263", "0.5963391", "0.59235716", "0.59089774", "0.5900428", "0.58785844", "0.58745897", "0.58530927", "0.5845404", "0.5833756", "0.58153003", "0.5804296", "0.57914406", "0.5776828", "0.57561463", "0.5748322", "0.574...
0.69946486
0
Gets the savings arrow color.
@Override public boolean getSavingsArrowColor() { setLogString("Verify if savings arrow has css value : " + mobileConfig.get(SAVINGS_COLOR), true, CustomLogLevel.HIGH); final Object val = executeScriptByClassName(BACKWARD_ICON, "color", getDriver()); setLogString("Savings ar...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getDrawingsColor(){\n return mPaintLine.getColor();\n }", "public Color getMovingDotColor() {\n return Color.rgb(movingDotR, movingDotG, movingDotB);\n }", "public Color getBackFlankingGapColor() {\n\t\treturn backgap ? Color.red : Color.lightGray;\n\t}", "public int getNowLine...
[ "0.65751076", "0.62195987", "0.6134547", "0.6101357", "0.59285116", "0.59236354", "0.58556247", "0.57277536", "0.57234377", "0.57086235", "0.566377", "0.5655071", "0.5649382", "0.5635408", "0.5595557", "0.5584257", "0.5551181", "0.5536947", "0.55159104", "0.5507427", "0.54961...
0.64991665
1
Checks if is location not installed.
@Override public boolean isLocationNotInstalled() { setLogString("Check if location is not installed.", true, CustomLogLevel.HIGH); final String thStatusMsg = getTstatStatusMessage(); return thStatusMsg != null && thStatusMsg.contains(LOCATION_NOT_INSTALLED); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean isLocationRequired(final Context context) {\n\t\tfinal SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context);\n\t\treturn preferences.getBoolean(PREFS_LOCATION_NOT_REQUIRED, isMarshmallowOrAbove());\n\t}", "public boolean hasLocation()\n\t{\n\t\treturn locat...
[ "0.6962578", "0.6705987", "0.6597951", "0.6406804", "0.6406804", "0.62400836", "0.6189642", "0.61264044", "0.606346", "0.60517234", "0.60197973", "0.5920951", "0.58944863", "0.5886194", "0.58346665", "0.5820438", "0.58199537", "0.580864", "0.5801567", "0.5793336", "0.5791197"...
0.8593363
0
Gets the tstat status message.
private String getTstatStatusMessage() { String thStatusMsg = null; WebElement modeDialog = getElement(getDriver(), By.cssSelector(MODEL_DIALOG), TINY_TIMEOUT); if (modeDialog.isDisplayed()) { WebElement modeMessage = getElementBySubElement(getDriver(), modeDialog, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getStatusMessage() {\n\t\treturn statusMessage.getText();\n\t}", "public java.lang.String getStatusText() {\n return statusText;\n }", "public java.lang.String getStatus() {\n java.lang.Object ref = status_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String)...
[ "0.6894193", "0.68611884", "0.6818018", "0.6811438", "0.68053174", "0.6798049", "0.67795247", "0.67795247", "0.67701596", "0.6767767", "0.6767767", "0.67640734", "0.67015344", "0.67015344", "0.67015344", "0.67015344", "0.6699367", "0.66946244", "0.66892236", "0.6678904", "0.6...
0.76709706
0
apply BurrowsWheeler encoding, reading from standard input and writing to standard output
public static void encode () { // read the input s = BinaryStdIn.readString(); char[] input = s.toCharArray(); int[] indices = new int[input.length]; for (int i = 0; i < indices.length; i++) { indices[i] = i; } Quick.sort(indices, s); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testTransform() {\n InputStream standardIn = System.in;\n PrintStream standardOut = System.out;\n try {\n // setup new input\n System.setIn(new ByteArrayInputStream(DECODED_INPUT.getBytes()));\n // create new output stream as byte array a...
[ "0.6662433", "0.64437276", "0.6442817", "0.5916103", "0.57836664", "0.5781351", "0.5347455", "0.5278578", "0.52339625", "0.51787066", "0.51402", "0.5108097", "0.5050218", "0.5036922", "0.49568158", "0.48847386", "0.48842114", "0.48719057", "0.48623642", "0.4858764", "0.484319...
0.46566275
35
less() method used in Quick.java to sort array of indices
public static boolean less (int a, int b, String s) { int N = s.length(); String v; String w; // construct suffix to compare if (a > 0) v = s.substring(a,N) + s.substring(0, a); else v = s.substring(a,N); // construct suf...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void sort(Comparable[] a) {\n for (int i = 0 ; i < a.length ; i++) { // each position scan\n int min = i;\n for (int j = i+1; j < a.length; j++) { // each time we have to scan through remaining entry\n if (HelperFunctions.less(a[j], ...
[ "0.6620409", "0.66187084", "0.6614389", "0.6603949", "0.65655583", "0.642182", "0.6379788", "0.6374655", "0.6316636", "0.6295461", "0.6252886", "0.6252591", "0.6237708", "0.62301946", "0.6202122", "0.61899406", "0.6131863", "0.6127788", "0.6067052", "0.60630286", "0.60567456"...
0.0
-1
apply BurrowsWheeler decoding, reading from standard input and writing to standard output
public static void decode () { // read the input int firstThing = BinaryStdIn.readInt(); s = BinaryStdIn.readString(); char[] t = s.toCharArray(); char[] firstColumn = new char[t.length]; int [] next = new int[t.length]; // copy array an...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testTransform() {\n InputStream standardIn = System.in;\n PrintStream standardOut = System.out;\n try {\n // setup new input\n System.setIn(new ByteArrayInputStream(DECODED_INPUT.getBytes()));\n // create new output stream as byte array a...
[ "0.6741096", "0.65718293", "0.6496941", "0.6065219", "0.5969352", "0.59123677", "0.536393", "0.53357655", "0.53224695", "0.52991223", "0.5071253", "0.5059142", "0.4948814", "0.4945404", "0.49387828", "0.491629", "0.49140516", "0.49123412", "0.48704734", "0.48478425", "0.48248...
0.0
-1
if args[0] is '', apply BurrowsWheeler encoding if args[0] is '+', apply BurrowsWheeler decoding
public static void main (String[] args) { if (args[0].equals("-")) encode(); if (args[0].equals("+")) decode(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args)\n {\n String c = args[0];\n if(c.equals(\"-\"))\n encode();\n else if(c.equals(\"+\"))\n decode();\n \n }", "public static void main(String[] args) {\n if (args[0].equals(\"-\")) encode();\n else if (a...
[ "0.671356", "0.6437472", "0.61953986", "0.57636976", "0.5612976", "0.55833006", "0.5521656", "0.53572387", "0.53387433", "0.5141052", "0.51311916", "0.5125398", "0.5105718", "0.5084891", "0.505798", "0.49797636", "0.49299565", "0.4917709", "0.4914098", "0.49103373", "0.488483...
0.66108674
1
/ Singletone implementation end
public HashMap<Integer, ArrayList<PerformanceTransaction>> getTransactions() { //return this.transactions; return this.transactions; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sinyal();", "private void strin() {\n\n\t}", "private void sout() {\n\t\t\n\t}", "public void stg() {\n\n\t}", "private stendhal() {\n\t}", "public void skystonePos4() {\n }", "public void skystonePos2() {\n }", "public void skystonePos5() {\n }", "public void skystonePos6() {\...
[ "0.63218766", "0.6241146", "0.6224304", "0.6189402", "0.6105391", "0.6097218", "0.6062498", "0.6047031", "0.59558624", "0.5828071", "0.5795966", "0.57894474", "0.5773006", "0.57639635", "0.5685668", "0.5654033", "0.56039375", "0.55894876", "0.5580063", "0.55206853", "0.552014...
0.0
-1
Reject transactions without name
public boolean addPerformanceTransaction(PerformanceTransaction tr, int iteration, boolean overwrite){ if(tr.getName().isEmpty()){ return false; } if(!overwrite){ //Reject transactions with same name as already exists if(this.getPerformanceTransactionByName(tr.getName(), iteration) != null) { retu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void rejectNewOrders();", "void notifyReject(final TradeInstruction instruction);", "void rejectOrder(String orderId);", "void rejectOrder(int id, String reason) throws ServiceException;", "void reject();", "public void reject() {\n rejectBus.add(applicantQueue.dequeue());\n }", "public void ...
[ "0.66100985", "0.65227157", "0.6490295", "0.61156636", "0.60999316", "0.6015645", "0.58685607", "0.58049935", "0.5772031", "0.57094854", "0.57063174", "0.5701236", "0.56257457", "0.5613357", "0.5559888", "0.5553906", "0.5515756", "0.54854643", "0.5470248", "0.5458495", "0.539...
0.0
-1
region Constructors Initializes a new instance of this class
public PeopleFragment() { // Required empty public constructor }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constructor() {\r\n\t\t \r\n\t }", "public Constructor(){\n\t\t\n\t}", "public PSRelation()\n {\n }", "public CSSTidier() {\n\t}", "public _355() {\n\n }", "public CyanSus() {\n\n }", "public Cohete() {\n\n\t}", "public Coche() {\n super();\n }", "public ContasCorrentes(){\n this...
[ "0.81978726", "0.75764024", "0.7280299", "0.6980782", "0.69360507", "0.6856144", "0.68211365", "0.68131906", "0.67975104", "0.6794706", "0.6780239", "0.67786235", "0.67757905", "0.675835", "0.6743494", "0.67389643", "0.67370284", "0.67032737", "0.6697759", "0.66951156", "0.66...
0.0
-1
region Overridden Callback Methods
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment View view = inflater.inflate(R.layout.fragment_people, container, false); final Bundle args = getArguments(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void callbackCall() {\n\t\t\t}", "@Override\n\tpublic void callback() {\n\t}", "@Override\n\tpublic void onCallback() {\n\t\t\n\t}", "public void callback() {\n }", "@Override\n\t\t\t\t\t\t\t\t\tpublic void callback(int position) {\n\n\t\t\t\t\t\t\t\t\t}", "public void callback...
[ "0.84867626", "0.81400883", "0.8044449", "0.7958888", "0.77354854", "0.7704554", "0.76369244", "0.7502321", "0.73084205", "0.7036644", "0.6978131", "0.6808645", "0.67980963", "0.6749685", "0.6678965", "0.6657374", "0.66238266", "0.65854895", "0.65688735", "0.656568", "0.65580...
0.0
-1
Constructor of this class which will instantiate the main thread and thread executor variables
public AddTaskInteractorImpl(Executor threadExecutor, MainThread mainThread, AddTaskCallback addTaskCallback, String title, String description, Date reminderDate, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private ThreadUtil() {\n \n }", "@PostConstruct\r\n public void init() {\r\n \t//registerNotificationCallback(null); //to register taskexecution engine as default\r\n ThreadFactory namedThreadFactory = new ThreadFactoryBuilder().setNameFormat(\"MARM-thread-%d\").build();\r\n \texecutor ...
[ "0.7107435", "0.7076669", "0.7062346", "0.70428103", "0.69878745", "0.69447917", "0.68605685", "0.68383616", "0.68293774", "0.67906487", "0.67595285", "0.6750118", "0.6638775", "0.65824854", "0.6549455", "0.6485124", "0.6476925", "0.6442783", "0.64143604", "0.64140004", "0.64...
0.59338224
72
provider interface. Created by uni4love on 2017. 1. 5..
public interface IProvider<MODEL, ID> { /** * Create * * @param model * @return ID */ ID create(MODEL model); /** * Retreive * * @param id * @return M */ MODEL retreive(ID id); /** * Update * * @param model * @return model ID ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Provider() {}", "public IProvider provider();", "Provider createProvider();", "public Providers(){\r\n\t\tsuper();\r\n\t}", "public interface BancoProvider extends Provider<String>{\n\n}", "public interface IProvider extends BaseProvider{\n}", "ProviderManagerExt()\n {\n load();\n ...
[ "0.76087654", "0.75985867", "0.725806", "0.72333694", "0.701279", "0.69108415", "0.68809104", "0.686026", "0.6831331", "0.67750096", "0.67106813", "0.667741", "0.6667942", "0.6643847", "0.66352797", "0.6630839", "0.6629351", "0.6609428", "0.6578282", "0.65575814", "0.6546205"...
0.6155206
98
Claims a circular territory centered on the chunk the player is standing in
@Override public void claimCircularTerritory(@NotNull NCPlayer player, int radius) { @NotNull final Set<Territory> claimed = new HashSet<>(); int origX = player.getLocation().getBlockX() >> 4; int origZ = player.getLocation().getBlockZ() >> 4; if (size() <= 1 && !settlement.getTownC...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private double centerY() {\n return (piece.boundingBox().getHeight() % 2) / 2.0;\n }", "private int getMidPoint(int cordinate)\n {\n int mid_point = ((cordinate + Player.getWidth_of_box()) / 2);\n return mid_point;\n }", "private void bossMove() {\n int radius = 150; // radius\n\n angle ...
[ "0.5814586", "0.559304", "0.5588954", "0.5543876", "0.5473895", "0.54731566", "0.54285216", "0.5413436", "0.54035705", "0.5322297", "0.5319158", "0.5314691", "0.5313791", "0.5303949", "0.5246159", "0.52296835", "0.52190185", "0.52184933", "0.5214128", "0.5211817", "0.51918054...
0.68576884
0
TODO Autogenerated method stub
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View registerView = inflater.inflate(R.layout.dialog_emp_leave_options, null); context = getActivity(); Window window = getDialog().getWindow(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
@Override public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { if ((keyCode == KeyEvent.KEYCODE_BACK)) { //Hide your keyboard here!!! // Toast.makeText(getActivity(), "PLease enter your information to get us connected with you.",...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { dismiss(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
protected boolean isJSONValid(String callReoprtResponse2) { try { new JSONObject(callReoprtResponse2); } catch (JSONException ex) { // edited, to include @Arthur's comment // e.g. in case JSONArray is valid as well... try { new JSONArray(ca...
{ "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
Creates new form TelaCliente
public TelaCliente() { initComponents(); conexao=ModuloConexao.conector(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void makeClient() {\n try {\n clienteFacade.create(cliente);\n FacesContext.getCurrentInstance().addMessage(\"messages\", new FacesMessage(FacesMessage.SEVERITY_INFO, \"Cliente creado exitosamente\", null));\n } catch (Exception e) {\n System.err.println(\"Erro...
[ "0.75524354", "0.74964225", "0.74363035", "0.7367609", "0.7294095", "0.72921646", "0.7182705", "0.713289", "0.71264404", "0.70943046", "0.70943046", "0.7094166", "0.70797426", "0.70680493", "0.70667046", "0.70616937", "0.70616937", "0.69802904", "0.69523776", "0.6945414", "0....
0.6908356
20
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel6 = new javax.swing.JLabel(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new java...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.7318948", "0.7290426", "0.7290426", "0.7290426", "0.7284922", "0.7247965", "0.7213206", "0.72080696", "0.7195916", "0.7189941", "0.71835536", "0.71579427", "0.7147217", "0.70927703", "0.7080282", "0.7055882", "0.6987108", "0.69770193", "0.6954159", "0.69529283", "0.6944756...
0.0
-1
Created by guy on 12/5/16.
public interface ListingsDataRepository extends MongoRepository<ListingData, Long> { ListingData findByListingId(Long listingId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "private stendhal() {\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Overri...
[ "0.5971879", "0.592313", "0.5827973", "0.5785445", "0.5773856", "0.5731132", "0.57309955", "0.57242835", "0.57242835", "0.5667998", "0.56666934", "0.5657146", "0.5639577", "0.56216574", "0.5621439", "0.5600605", "0.5600605", "0.5600605", "0.5600605", "0.5600605", "0.55792", ...
0.0
-1
TODO Autogenerated method stub
public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) throws Exception { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) throws Exception { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
ci > current item, ti > total item, llb > last level box
public static void combinations(boolean[]boxes, int ci, int ti, int llb){ if(ci > ti){ for (int i = 0; i < boxes.length; i++) { if(boxes[i]){ System.out.print("i"); } else{ System.out.print("-"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setItemLevel(int level) { this.level = level; }", "private int getCurrentItemOfWrapper() {\n return super.getCurrentItem();\n }", "public int getItemLevel() {\treturn level; }", "public JLabel getLevelCounter()\n {\n return levelCounter;\n }", "protected void restockItem(int x){\...
[ "0.59137696", "0.56746435", "0.5636569", "0.556023", "0.54158646", "0.5382092", "0.5346829", "0.5343851", "0.5314041", "0.5269554", "0.5236306", "0.52290076", "0.52195275", "0.52081436", "0.51995975", "0.5178967", "0.5162272", "0.511989", "0.5093649", "0.5072031", "0.5062674"...
0.0
-1
add answers to the array as strings tabulate will take all the answers out and count how many times each appears
@Override public void addResponses() { for(answerChoice a: this.userAnswers) { this.addResponseHelper(a.getAnswerText()); //this.savedResponses. //add(a.getAnswerText()); //try { //} catch(Exception e) { // e.printStackTrace(); //}...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\n int n = 20;\n int[] input = {0, 6, 0, 6, 4, 0, 6, 0, 6, 0, 4, 3, 0, 1, 5, 1, 2, 4, 2, 4};\n String[] inStr = {\"ab\", \"cd\", \"ef\", \"gh\", \"ij\", \"ab\", \"cd\", \"ef\", \"gh\", \"ij\", \"that\", \"be\", \"to\", \"be\", \"question\", \"or\", \"n...
[ "0.60729736", "0.60007834", "0.5935192", "0.5891525", "0.58348215", "0.57196504", "0.5707333", "0.569778", "0.5673561", "0.5649461", "0.5648099", "0.56324077", "0.5630952", "0.56113976", "0.557409", "0.55044615", "0.5472258", "0.54628944", "0.5443358", "0.543249", "0.54291016...
0.0
-1
print the question, and each of the options
public void print(output out) { out.printOut(this.prompt); out.newLine(2); int i = 0; for(answerChoice ans : this.answerList) { out.printIndex(i); out.printOut(") ", ans.getAnswerText()); out.newLine(); i++; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void options(){\n System.out.println(\"Choose from the following options \");\n System.out.println(\"0 Print the options again\");\n System.out.println(\"1 Create Student Records\");\n System.out.println(\"2 Create Teacher Records\");\n System.out.println(\"3 Edit ...
[ "0.76967686", "0.7678431", "0.75224936", "0.74206614", "0.7375854", "0.7352747", "0.7340063", "0.7293055", "0.7197139", "0.70950127", "0.7062066", "0.7042515", "0.70038503", "0.6965817", "0.69256616", "0.6902959", "0.68527746", "0.68466836", "0.68416035", "0.68404734", "0.682...
0.6212869
56
Get Folder Templates for Current Account Returns all folder templates for the current account.
public ISFQuery<SFODataFeed<SFFolderTemplate>> get() { SFApiQuery<SFODataFeed<SFFolderTemplate>> sfApiQuery = new SFApiQuery<SFODataFeed<SFFolderTemplate>>(this.client); sfApiQuery.setFrom("FolderTemplates"); sfApiQuery.setHttpMethod("GET"); return sfApiQuery; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static List<String> getTemplates() {\n\t\tFile templatesDir = new File(PathUtils.getExtensionsTemplatePath());\n\t\tList<String> templates = Arrays.stream(templatesDir.listFiles(File::isDirectory)).map(File::getName)\n\t\t\t\t.collect(Collectors.toList());\n\t\tIProject[] projects = ResourcesPlugin.getWorks...
[ "0.6665293", "0.64645284", "0.6281738", "0.61666167", "0.6134032", "0.60753524", "0.59755445", "0.59328383", "0.5880359", "0.5826655", "0.5805383", "0.5779363", "0.5565953", "0.55571514", "0.5468038", "0.5380899", "0.53796375", "0.5369308", "0.53692764", "0.5369232", "0.53661...
0.5711909
12
Delete Folder Template Removes a folder template
public ISFQuery delete(URI url) throws InvalidOrMissingParameterException { if (url == null) { throw new InvalidOrMissingParameterException("url"); } SFApiQuery sfApiQuery = new SFApiQuery(this.client); sfApiQuery.setFrom("FolderTemplates"); sfApiQuery.addIds(url); sfApiQuery.setHttpMethod("DELETE"); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@AfterClass(groups ={\"All\"})\n\tpublic void deleteFolder() {\n\t\ttry {\n\t\t\tUserAccount account = dciFunctions.getUserAccount(suiteData);\n\t\t\tUniversalApi universalApi = dciFunctions.getUniversalApi(suiteData, account);\n\t\t\tif(suiteData.getSaasApp().equalsIgnoreCase(\"Salesforce\")){\n\t\t\t\tfor(String...
[ "0.629484", "0.62746435", "0.6202008", "0.6152823", "0.61330605", "0.60353726", "0.60260165", "0.59693235", "0.59532934", "0.57978916", "0.5760748", "0.57183814", "0.5663119", "0.5648892", "0.5632498", "0.559868", "0.5573257", "0.555334", "0.554464", "0.5537671", "0.5533956",...
0.540172
30
Apply folder template to folders in bulk Applies the specified folder template to all subfolders of provided folder ID
public ISFQuery<SFAsyncOperation> bulkApply(URI templateUrl, String folderId, Integer batchSize) throws InvalidOrMissingParameterException { if (templateUrl == null) { throw new InvalidOrMissingParameterException("templateUrl"); } if (folderId == null) { throw new InvalidOrMissingParameterException("folder...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ISFQuery<SFAsyncOperation> bulkApply(URI templateUrl, String folderId) throws InvalidOrMissingParameterException \t{\n\t\tif (templateUrl == null) {\n\t\t\tthrow new InvalidOrMissingParameterException(\"templateUrl\");\n\t\t}\n\t\tif (folderId == null) {\n\t\t\tthrow new InvalidOrMissingParameterException(\...
[ "0.6340991", "0.5293979", "0.49499127", "0.4944847", "0.49091834", "0.48827678", "0.4838976", "0.48201877", "0.47195452", "0.46823367", "0.45536616", "0.45524284", "0.45425814", "0.45329022", "0.45170262", "0.4512735", "0.44733", "0.44583538", "0.44230253", "0.4414726", "0.43...
0.5961815
1
Apply folder template to folders in bulk Applies the specified folder template to all subfolders of provided folder ID
public ISFQuery<SFAsyncOperation> bulkApply(URI templateUrl, String folderId) throws InvalidOrMissingParameterException { if (templateUrl == null) { throw new InvalidOrMissingParameterException("templateUrl"); } if (folderId == null) { throw new InvalidOrMissingParameterException("folderId"); } SFApiQ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ISFQuery<SFAsyncOperation> bulkApply(URI templateUrl, String folderId, Integer batchSize) throws InvalidOrMissingParameterException \t{\n\t\tif (templateUrl == null) {\n\t\t\tthrow new InvalidOrMissingParameterException(\"templateUrl\");\n\t\t}\n\t\tif (folderId == null) {\n\t\t\tthrow new InvalidOrMissingP...
[ "0.5961815", "0.5293979", "0.49499127", "0.4944847", "0.49091834", "0.48827678", "0.4838976", "0.48201877", "0.47195452", "0.46823367", "0.45536616", "0.45524284", "0.45425814", "0.45329022", "0.45170262", "0.4512735", "0.44733", "0.44583538", "0.44230253", "0.4414726", "0.43...
0.6340991
0
JPanel to display tiles by group Displayed in JTabbedPane
public MatPanel(String name, int group, MouseListener ml) { this.group = group; tileIcons = new JLabel[16]; this.setLayout(new GridBagLayout()); for(int n = 0; n < 16; n++) { tileIcons[n] = new JLabel(new ImageIcon(Controler.getTileByCode(group * 16 + n).scaledImage)); tileIco...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TabbelPane() {\r\n\t\t\tpanelDB = new JPanelCluster(\"mine\", new EventFromDb());\r\n\t\t\tpanelFile = new JPanelCluster(\"store from file\", new EventFromFile());\r\n\t\t\tImageIcon icon = new ImageIcon(\"database.png\");\r\n\t\t\tImage image = icon.getImage();\r\n\t\t\tImage newimage = image.getScaledInstance(20...
[ "0.68981504", "0.65713435", "0.6276591", "0.6162851", "0.6159206", "0.60836667", "0.6077803", "0.60569674", "0.60124743", "0.5950718", "0.59436214", "0.5915605", "0.5911817", "0.58923817", "0.5891495", "0.58760595", "0.58528745", "0.58257353", "0.582419", "0.58054215", "0.579...
0.6408176
2
Instantiates a new random IA.
public RandomIA() { random = new Random(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract Truerandomness newInstance();", "private RandomLocationGen() {}", "private void generarAno() {\r\n\t\tthis.ano = ANOS[(int) (Math.random() * ANOS.length)];\r\n\t}", "public AI(){\n super();\n }", "SimulatedAnnealing() {\n generator = new Random(System.currentTimeMillis...
[ "0.62924266", "0.6219569", "0.61560637", "0.6134291", "0.61305815", "0.6053017", "0.598801", "0.59647167", "0.59586924", "0.59100205", "0.59099513", "0.59032804", "0.5887676", "0.58759433", "0.5836945", "0.58255845", "0.5823077", "0.5814731", "0.5799994", "0.57996666", "0.578...
0.7967789
0
Created by liushuo on 2017/3/3.
public interface HeaderSchema { String code = "c";//服务器返回码 String error_msg = "e";//服务器返回错误信息 }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "private sta...
[ "0.59777343", "0.59191304", "0.5672959", "0.5622731", "0.5620859", "0.5620859", "0.56082743", "0.5562549", "0.5553212", "0.5540682", "0.55370516", "0.5511417", "0.54952925", "0.5471979", "0.546566", "0.54431444", "0.5435889", "0.5420548", "0.5420477", "0.54198176", "0.5410294...
0.0
-1
This function will need some work
public int chooseTreat() { int treatSelection = io.readInt("Please make a treat ID selection: "); return treatSelection; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void cajas() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "private void strin() {\n\n\...
[ "0.5616751", "0.55572855", "0.551969", "0.54441845", "0.5435002", "0.5430495", "0.54120016", "0.53633195", "0.53343195", "0.5333268", "0.5320718", "0.5315666", "0.5300171", "0.5294622", "0.5293016", "0.5292869", "0.52911764", "0.52755064", "0.5230169", "0.52202535", "0.522025...
0.0
-1
Intent intent = new Intent(getActivity(), AppWebViewActivity.class); intent.putExtra(AppWebViewActivity.EXTRA_URL, model.getInvite_url()); getActivity().startActivity(intent);
@Override public void onClick(View v) { getActivity().startActivity(new Intent(getContext(), InviteRewardsActivity.class)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View view) {\n\n Intent webViewIntent = new Intent(getActivity(), WebViewActivity.class);\n startActivity(webViewIntent);\n\n }", "@Override\n public void onClick(View v) {\n Intent opnWebIntent = new In...
[ "0.7750759", "0.7307794", "0.7267992", "0.71517676", "0.70249194", "0.70224667", "0.70072234", "0.6980652", "0.6965847", "0.69470274", "0.6938441", "0.6934006", "0.69267505", "0.6921853", "0.6898544", "0.68858486", "0.68711126", "0.6831602", "0.6762814", "0.6746309", "0.67415...
0.63714075
47
The test uses DataNodeTestUtilsinjectDataDirFailure() to simulate volume failures which is currently not supported on Windows.
@Test public void testStorageTypeStatsWhenStorageFailed() throws Exception { assumeNotWindows(); DFSTestUtil.createFile(cluster.getFileSystem(), new Path("/blockStatsFile1"), 1024, (short) 1, 0L); Map<StorageType, StorageTypeStats> storageTypeStatsMap = cluster .getNamesystem().getBlockMa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testLogDirWithDriveLetter() throws Exception {\n LocalDirsHandlerService localDirs = Mockito.mock(LocalDirsHandlerService.class);\n List<String> logDirs = new ArrayList<String>();\n logDirs.add(\"F:/nmlogs\");\n Mockito.when(localDirs.getLogDirsForRead()).thenRetu...
[ "0.64996856", "0.59632885", "0.57553995", "0.56721276", "0.5604105", "0.5574865", "0.55545264", "0.55432314", "0.54875654", "0.5484359", "0.5461561", "0.54611474", "0.54564977", "0.54353166", "0.54325217", "0.5398819", "0.53330827", "0.53153825", "0.5273742", "0.526621", "0.5...
0.61414
1
checks if the CSA has enough data for a decision
private CSAData checkData(CSAData data){ if(data !=null){ if(data.getServiceTemplates().size() > 0){ data.setEvalResult(OK); return data; }else{ data.setEvalResult(ERROR_1); return data; } }else{ return data; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected boolean checkBioScarso() {\n return bioService.count() < BIO_NEEDED_MINUMUM_SIZE;\n }", "private boolean hasCapacity() {\n int used = 0 + evaluations.size() * 2;\n int available = Runtime.getRuntime().availableProcessors() * ServerRunner.getProcessorMultiplier();\n return...
[ "0.6505573", "0.63269794", "0.6093014", "0.6087862", "0.60035616", "0.5962241", "0.5863233", "0.5822605", "0.57094026", "0.56728345", "0.5650106", "0.5644768", "0.563946", "0.5618985", "0.560161", "0.5592803", "0.55876034", "0.5585741", "0.55701375", "0.5563415", "0.5556731",...
0.55359536
22
Adds to each service template the general requirements for the CSA (if a part of the CSA does not fulfill the requirement the whole will not fullfill it either)
private void generalizeCSARequirements(){ ArrayList<ServiceTemplate> comps = new ArrayList<ServiceTemplate>() ; ArrayList<Requirement> reqs = new ArrayList<Requirement>() ; comps = this.data.getServiceTemplates(); reqs = this.data.getRequirements(); for(ServiceTemplate c : comps){ for(Requirement r :...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void convertReqsInCriterions(){\n\t\tArrayList<Criterion> criteria = this.data.getCriteria();\n\t\t\n\t\tfor(Requirement req : this.data.getRequirements()){\n\t\t\tif(req.isCriterion()){\n\t\t\t\t//create new criterion\n\t\t\t\tCriterion crit = new Criterion();\n\t\t\t\tif(req.getQuantType() != null)\n\t\t...
[ "0.64930403", "0.5676979", "0.5266582", "0.5240682", "0.51975936", "0.5161122", "0.5138229", "0.508377", "0.5056626", "0.4974798", "0.49576333", "0.4949864", "0.4857303", "0.485306", "0.48269784", "0.4758641", "0.47160533", "0.47127503", "0.47113082", "0.46845707", "0.4656326...
0.8070234
0
Adds to each Service template the general criteria for the CSA (each service template can have is own set of criteria, but if a global criteria is defined each component must use it.)
private void generalizeCSACriteria(){ ArrayList<ServiceTemplate> comps = new ArrayList<ServiceTemplate>() ; ArrayList<Criterion> crit = new ArrayList<Criterion>() ; comps = this.data.getServiceTemplates(); crit = this.data.getCriteria(); for(ServiceTemplate c : comps){ for(Criterion cr : crit){ t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generalizeCSARequirements(){\n\t\tArrayList<ServiceTemplate> comps = new ArrayList<ServiceTemplate>() ;\n\t\tArrayList<Requirement> reqs = new ArrayList<Requirement>() ;\n\t\t\n\t\tcomps = this.data.getServiceTemplates();\n\t\treqs = this.data.getRequirements();\n\t\t\n\t\tfor(ServiceTemplate c : comp...
[ "0.6644772", "0.6173316", "0.52472466", "0.52275735", "0.50260645", "0.49360713", "0.48493522", "0.48116803", "0.48073977", "0.47009903", "0.46929294", "0.46821526", "0.46556535", "0.46542406", "0.4648259", "0.46399862", "0.46395248", "0.46316165", "0.45992562", "0.4597594", ...
0.7546696
0
convert the general requirements
private void convertReqsInCriterions(){ ArrayList<Criterion> criteria = this.data.getCriteria(); for(Requirement req : this.data.getRequirements()){ if(req.isCriterion()){ //create new criterion Criterion crit = new Criterion(); if(req.getQuantType() != null) crit.setName(req.getQuantType().g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generalizeCSARequirements(){\n\t\tArrayList<ServiceTemplate> comps = new ArrayList<ServiceTemplate>() ;\n\t\tArrayList<Requirement> reqs = new ArrayList<Requirement>() ;\n\t\t\n\t\tcomps = this.data.getServiceTemplates();\n\t\treqs = this.data.getRequirements();\n\t\t\n\t\tfor(ServiceTemplate c : comp...
[ "0.60970587", "0.5694674", "0.5552532", "0.549802", "0.53943455", "0.53561515", "0.52928174", "0.51940614", "0.51023346", "0.50385565", "0.5036572", "0.50295657", "0.5001939", "0.50015676", "0.49610385", "0.49372706", "0.49135476", "0.49061596", "0.49017113", "0.48987377", "0...
0.66166437
0
normalize the general criteria
private void normalizeServiceTemplateWeights(){ System.out.println("SYSTEM: Normalizing Service Template Weights"); double total = 0; for(ServiceTemplate template : data.getServiceTemplates()){ total = total + template.getWeight(); } for(ServiceTemplate template : data.getServiceTemplates()){ double ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void normalizeCriteriaWeights(){\n\t\tSystem.out.println(\"SYSTEM: Normalizing general criteria\");\n\t\tdouble total = 0;\n\t\tfor(Criterion crit : data.getCriteria()){\n\t\t\ttotal = total + crit.getWeight();\n\t\t}\n\t\t\n\t\tfor(Criterion crit : data.getCriteria()){\n\t\t\tdouble res = crit.getWeight()...
[ "0.6728587", "0.63765824", "0.6238818", "0.6123109", "0.59355146", "0.5759342", "0.57180446", "0.5638879", "0.562218", "0.55867743", "0.5535197", "0.5480426", "0.5361891", "0.53478694", "0.53478694", "0.53058857", "0.5305745", "0.5271325", "0.52340376", "0.52325696", "0.52155...
0.46947277
67
normalize the general criteria
private void normalizeCriteriaWeights(){ System.out.println("SYSTEM: Normalizing general criteria"); double total = 0; for(Criterion crit : data.getCriteria()){ total = total + crit.getWeight(); } for(Criterion crit : data.getCriteria()){ double res = crit.getWeight() / total; System.out.println("...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void normalize() {\r\n // GET MAX PRICE \r\n for (Alternative alt : alternatives) {\r\n if (alt.getPrice() > 0 && alt.getPrice() < minPrice) {\r\n minPrice = alt.getPrice();\r\n }\r\n }\r\n\r\n for (Alternative alt : alternati...
[ "0.63765824", "0.6238818", "0.6123109", "0.59355146", "0.5759342", "0.57180446", "0.5638879", "0.562218", "0.55867743", "0.5535197", "0.5480426", "0.5361891", "0.53478694", "0.53478694", "0.53058857", "0.5305745", "0.5271325", "0.52340376", "0.52325696", "0.52155995", "0.5196...
0.6728587
0
Interface for channel and program search.
public interface SearchInterface { int ACTION_TYPE_AMBIGUOUS = 1; int ACTION_TYPE_SWITCH_CHANNEL = 2; int ACTION_TYPE_SWITCH_INPUT = 3; /** * Search channels, inputs, or programs. * This assumes that parental control settings will not be change while searching. * * @param action One...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface NotifySearch {\n\n public void search(String searchString);\n\n public void endSearchMode();\n}", "public interface IntentSearchLister {\n\n void sendSearchValue(String value);\n}", "public interface IOnlineSearchClient {\n\n /**\n * Passes a result / item to this client.\n ...
[ "0.640388", "0.6312658", "0.6307916", "0.62428504", "0.61861455", "0.6020607", "0.59530145", "0.5936422", "0.59346205", "0.5922342", "0.5922098", "0.59008867", "0.5881141", "0.5846462", "0.58326495", "0.5800513", "0.57894367", "0.5781481", "0.57741654", "0.57741654", "0.57722...
0.70490396
0
final static String BASE_URL = " // BASE_URL to fetch movie data
public MainActivityFragment() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void getVideo() {\n // create the url\n String temp = movie.getId().toString();\n String url = API_BASE_URL+\"/movie/\"+temp+\"/videos\";\n // set the request parameters\n RequestParams params = new RequestParams();\n params.put(API_KEY_PARAM, getString(R.string.ap...
[ "0.6515249", "0.64041775", "0.64004695", "0.63494956", "0.6308338", "0.6308338", "0.6235556", "0.623334", "0.62145686", "0.61533636", "0.61373186", "0.61032605", "0.60110235", "0.59870327", "0.5946223", "0.5925189", "0.590433", "0.5900578", "0.58677727", "0.58398354", "0.5834...
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
public void onCreateOptionsMenu(Menu menu,MenuInflater inflater) { inflater.inflate(R.menu.sorting, menu); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); //noinspection SimplifiableIfStatement //fetch movie by ratings if(id == R.id.action_sort_by_ratings){ sort_type = getString(R.string.pref_sort_ratings); updateMovie(so...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.7904043", "0.780547", "0.7765812", "0.7727281", "0.7631724", "0.76220447", "0.7583647", "0.75300074", "0.7487301", "0.7457336", "0.7457336", "0.74384063", "0.7421303", "0.7403516", "0.7391635", "0.7386828", "0.73791105", "0.737036", "0.73622394", "0.7355855", "0.7345513", ...
0.0
-1
initialize main activity with custom adapter object with grid view
private void setUpAdapter(){ customMovieAdapter= new CustomMovieAdapter(getActivity(),R.layout.list_movie_forecast,movieRowItemsList); gridView.setAdapter(customMovieAdapter); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initialzeAdapter() {\n // find grid view\n GridView gridView = (GridView) findViewById(R.id.gridView);\n\n // initialize and set adapter to grid view\n FriendsAdapter adapter = new FriendsAdapter(this, R.layout.grid_item, friends);\n gridView.setAdapter(adapter);\n ...
[ "0.7511246", "0.7194706", "0.7155975", "0.69553214", "0.6868669", "0.67790204", "0.67688435", "0.6665674", "0.6618104", "0.65966016", "0.65930086", "0.6571224", "0.6552583", "0.65168995", "0.6514518", "0.65022105", "0.64337516", "0.6367746", "0.6355996", "0.6326465", "0.63252...
0.72711086
1
/ user defined method for parsing JSON string to individual data
public MovieRowItem[] getMovieDataFromJson(String movieDetailStr) { final String RESULT = "results"; final String TITLE = "original_title"; final String OVER_VIEW = "overview"; final String POSTER_PATH = "poster_path"; final String RELEASE_DATE = "release_date...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public native Object parse( Object json );", "Map<String, Object> parseToMap(String json);", "public void parseJSONData(Object JSONdata){\n\n\t}", "private JSONDocument parseString(String data){\n JSONDocument temp = null;\n int pointer = 0;\n boolean firstValidCharReached = false;\n ...
[ "0.73101264", "0.7017429", "0.7013478", "0.66657746", "0.6633468", "0.646823", "0.6437292", "0.6359609", "0.6331048", "0.6279228", "0.6271503", "0.62404966", "0.6235369", "0.6229775", "0.62277496", "0.61200273", "0.61199546", "0.6112025", "0.60873514", "0.60847425", "0.603496...
0.0
-1
Wrap a stream in a crawl filter, if one exists for this mime type, else return the orginal stream.
public static InputStream getCrawlFilteredStream(ArchivalUnit au, InputStream in, String encoding, String mimeType) { FilterFactory fact = au.getCrawlFilterFactory(mimeType); if (fact == null) { return in; } if (log.isDebug3()) { log.debug3("Filtering " + mimeType ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected InputStream decorateInputStream(HttpExchange exchange, InputStream is)\r\n/* 51: */ throws IOException\r\n/* 52: */ {\r\n/* 53:125 */ return is;\r\n/* 54: */ }", "protected InputStream decorateInputStream(HttpExchange exchange, InputStream is)\n/* */ throws IOException\...
[ "0.529938", "0.5278313", "0.51528376", "0.5014971", "0.49952722", "0.48799634", "0.48458678", "0.48179546", "0.4804676", "0.47887605", "0.47581494", "0.47487348", "0.47330576", "0.47285786", "0.47207177", "0.46582177", "0.46490163", "0.46487296", "0.4637541", "0.45852607", "0...
0.530523
0
TODO Autogenerated method stub
public static void main(String[] args) throws FileNotFoundException { Scanner f=new Scanner(new File("date.in")); PrintWriter g=new PrintWriter("date.out"); int n,i; n=f.nextInt(); int [] a= new int[n]; for(i=0;i<n;i++) a[i]=f.nextInt(); g.print(invNr(a)); g.close(); f.close(); }
{ "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
Return an Exception treated
public static String getMessage(Exception e) { if (e instanceof DuplicateKeyException) return "Não podem existir duas cidades com mesmo nome e país"; if (e instanceof HttpClientErrorException && ((HttpClientErrorException) e).getRawStatusCode() == HttpStatus.NOT_FOUND.value()) return "Cidade inexistente"...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getException();", "String getException();", "String getCauseException();", "Throwable cause();", "ExceptionEvaluationCondition getException();", "public java.lang.CharSequence getException() {\n return Exception;\n }", "com.palantir.paxos.persistence.generated.PaxosPersistence.ExceptionProto...
[ "0.73775107", "0.73775107", "0.6912379", "0.68957037", "0.6873336", "0.65893275", "0.6539977", "0.64919233", "0.64563274", "0.641219", "0.6390386", "0.637617", "0.6362254", "0.63241374", "0.63173866", "0.6265997", "0.6247215", "0.6244205", "0.6183633", "0.6145558", "0.6139709...
0.0
-1