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
Add a feature extension handlers
public BuilderContext add(final FeatureExtensionHandler... handlers) { featureExtensionHandlers.addAll(Arrays.asList(handlers)); return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addFeatures(IFeature feature);", "void addFeature(Feature feature);", "List<FeatureExtensionHandler> getFeatureExtensionHandlers() {\n return this.featureExtensionHandlers;\n }", "void addFeatures(Features features);", "private void handleFeat() {\n sendMsgToClient(\"211-Extensions...
[ "0.6818942", "0.67119384", "0.6551434", "0.6544119", "0.6398106", "0.62383854", "0.6157732", "0.59273565", "0.5921436", "0.59143865", "0.5881781", "0.58432436", "0.58117723", "0.5738665", "0.5723714", "0.5723018", "0.56945795", "0.5647908", "0.56163895", "0.56144214", "0.5600...
0.738919
0
Get the feature provider.
FeatureProvider getFeatureProvider() { return this.provider; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PolicyEngineFeatureApi getFeatureProvider(String featureName);", "public String getProvider() {\n return provider;\n }", "public String getProvider() {\r\n return provider;\r\n }", "public String getProvider() {\n\t\treturn provider;\n\t}", "public static Class<?> getProvider() {\n ...
[ "0.7843346", "0.714646", "0.71404094", "0.7114108", "0.70885944", "0.69359964", "0.6935561", "0.6823454", "0.68188745", "0.67970115", "0.6757905", "0.64648867", "0.6382938", "0.6343033", "0.6313314", "0.63075334", "0.6301642", "0.62910414", "0.6270604", "0.6270604", "0.622629...
0.8327879
0
Get the list of extension handlers
List<FeatureExtensionHandler> getFeatureExtensionHandlers() { return this.featureExtensionHandlers; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static HandlerList getHandlerList() {\n return handlers;\n }", "public static HandlerList getHandlerList() {\n return handlers;\n }", "public final static HandlerList getHandlerList(){\n return handlers;\n }", "public HandlerDescription[] getHandlers() {\n return m_handlers;\...
[ "0.74833995", "0.74833995", "0.745025", "0.740537", "0.72439444", "0.7175336", "0.7175336", "0.6733357", "0.6732019", "0.67290866", "0.66771245", "0.6662315", "0.6634485", "0.6621565", "0.6614501", "0.6590384", "0.65653896", "0.65467435", "0.65467435", "0.65467435", "0.654674...
0.76999384
0
Clone the context and replace the feature provider
BuilderContext clone(final FeatureProvider featureProvider) { final BuilderContext ctx = new BuilderContext(featureProvider, this.variables, this.properties); ctx.featureExtensionHandlers.addAll(featureExtensionHandlers); return ctx; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void changeContext(){\n MainWorkflow.observeContexts(generateRandom(24,0));\n }", "@Override\r\n\t\t\tprotected void restoreContext() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n public void replaceInstance(ThrottlePolicyProvider newTPP) {\n logger.info(\"Replacing ThrottlePolicyPr...
[ "0.5836472", "0.57792425", "0.577109", "0.56795454", "0.56148064", "0.5538758", "0.5538758", "0.53850555", "0.5339668", "0.531738", "0.53162557", "0.52962184", "0.5285135", "0.52430844", "0.5241174", "0.52226406", "0.51741314", "0.5156846", "0.5151969", "0.5150685", "0.514613...
0.67615837
0
This is the Base for the Template Pattern. Other users use this as a template for there classes.
public interface ICreateUser { String UserID = ""; String FirstName = ""; String LastName = ""; String Address = ""; Integer Age = 0; String Gender = ""; String Password = ""; public String getUserID(); public String getUserFirst(); public String getUserLast(); public...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TemplateHelper() {\r\t\tsuper();\r\t}", "private Template() {\r\n\r\n }", "public ClassTemplate() {\n\t}", "public interface Template {\n\n}", "public TemplateFactoryImpl()\n {\n super();\n }", "public interface ITemplate {\n\n}", "private TemplateReader() {\n }", "private TemplateM...
[ "0.7082978", "0.690482", "0.68533987", "0.66300863", "0.6484018", "0.6144447", "0.60593855", "0.60288113", "0.5881619", "0.5857097", "0.5785433", "0.5779578", "0.57785004", "0.56664556", "0.5642889", "0.56188536", "0.560739", "0.5590276", "0.55426884", "0.5540876", "0.5522334...
0.0
-1
Instantiates a new resource path.
private LSLRComponentProperties(final String resourceName) { this.resourceName = resourceName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MyPathResource() {\r\n }", "Path createPath();", "Resource createResource();", "public ResourcePath() {\n //_externalFolder = \"file:///C:/Program%20Files/ESRI/GPT9/gpt/\";\n //_localFolder = \"gpt/\";\n}", "public void initPath() {\r\n\t\tpath = new Path();\r\n\t}", "public void initPath(Pat...
[ "0.76016676", "0.67577726", "0.666397", "0.6537824", "0.6265775", "0.616583", "0.5973196", "0.59290534", "0.5928946", "0.5889891", "0.58490413", "0.5832477", "0.58126605", "0.5784089", "0.5784089", "0.5742383", "0.57055914", "0.56621534", "0.5662039", "0.5654718", "0.56219596...
0.0
-1
Gets the resource name.
public String getResourceName() { return this.resourceName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getResourceName() {\n return getBaseName() + getNameSuffix();\n }", "String getResourceName();", "public String getResourceName();", "public String getResourceName() {\n\treturn this.resrcName;\n }", "public static String getName()\n {\n read_if_needed_();\n \n return _get_na...
[ "0.7859961", "0.7774701", "0.75379413", "0.74741745", "0.72245395", "0.72240263", "0.7198989", "0.70823956", "0.70770466", "0.70173234", "0.69215107", "0.6920395", "0.68768615", "0.686579", "0.68467945", "0.68467945", "0.68467945", "0.68467945", "0.68467945", "0.68467945", "0...
0.7158152
7
get an object from db
private static void LessonSerialization() { PersonDAO personDAO = new PersonDAOImpl(); Person person = personDAO.getPersonById(1); // serialize to a text file try { FileOutputStream fileOut = new FileOutputStream("./newfile.txt"); ObjectOutputStream out = new Obj...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public T get(int objectId) throws SQLException;", "private Entity getObjectByObject(final Entity entity){\n\t\tDBProperty dbProperty = entity.getDbProperty();\t\n\t\tEntity result = entity;\n\t\tAbstractDao<Entity> aDao = new AbstractDao<Entity>() {\n\t\t\t\t@Override\n\t\t\t\tpublic Class getEntityClass() {\n\t...
[ "0.7625834", "0.7351715", "0.7189572", "0.714178", "0.70626557", "0.6990668", "0.6979701", "0.69267213", "0.6900904", "0.68790144", "0.6832929", "0.6765038", "0.6760651", "0.6737565", "0.67215604", "0.6712786", "0.67121905", "0.67104894", "0.6707", "0.6696954", "0.66967225", ...
0.0
-1
Boxing is the act of converting a value type into a reference type Unboxing is the act of converting a reference type into a value type Example Boxing
private static void LessonBoxUnboxCast() { int x = 10; Object o = x; //System.out.println(o + o); //since o is an object you can't uses the + operator //LessonReflectionAndGenerics(o.getClass()); // Example Unboxing (this is casting, explicit casting) int y = (int) o; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract JType unboxify();", "public static void main(String[] args) {\n\tint age = 56;\n\tInteger age2 = age;\n\tboolean raining = false;\n\tBoolean raining2 = raining;\n\tint i = 10;\n\tList<Integer> ages = new ArrayList<>();\n\tages.add(34);\n\t\n\t//valueO\n\t//If Integer gets converted to int type th...
[ "0.6931931", "0.6877231", "0.68584245", "0.6765105", "0.6690162", "0.6494382", "0.6385961", "0.6378746", "0.6164222", "0.6159172", "0.61133665", "0.6008628", "0.5961019", "0.5936883", "0.59119564", "0.5883936", "0.587354", "0.5807314", "0.5806859", "0.57779485", "0.57635415",...
0.78059983
0
Create reflection of an object to see it structure of the class is made up
private static <T> void LessonReflectionAndGenerics(Class<T> genericClass) { System.out.println("Full Name: " + genericClass.getName()); System.out.println("Simple Name: " + genericClass.getSimpleName()); //Get all the fields from class for(Field field: genericClass.getDeclaredFields()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void test01()\n {\n MetaClass.forClass(Class, reflectorFactory)\n }", "public interface Reflection {\n\t/**\n\t * Creates the template which specifies which constructor to \n\t * call upon. The specifies the classes of the arguments which\n\t * need to be given to the constructor.\...
[ "0.631959", "0.6187466", "0.6131008", "0.59761107", "0.59761107", "0.5815368", "0.57370925", "0.570027", "0.56901264", "0.56727386", "0.5656012", "0.5601365", "0.55416805", "0.55178744", "0.5469311", "0.546073", "0.5458198", "0.54340744", "0.5393963", "0.5390174", "0.53768325...
0.5268231
27
Create instance of Person Data Access Object
private static void LessonDAOUpdate() { PersonDAO personDAO = new PersonDAOImpl(); Person person = personDAO.getPersonById(7); person.setFirstName("Teddy"); if(personDAO.updatePerson(person)) { System.out.println("Person Update Success!"); } else { Syste...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Person createPerson();", "public static void toPersonObject() {\n\t\t\n\t\t// queries \n\t\tString getPersonQuery = \"SELECT * FROM Persons\";\n\t\tString getEmailQuery = \"SELECT (email) FROM Emails e WHERE e.personID=?;\";\n\t\t\n\t\t// Create connection and prepare Sql statement \n\t\tConnection conn = null;\...
[ "0.72322804", "0.694446", "0.6732915", "0.6702121", "0.668246", "0.6623513", "0.66009414", "0.6511955", "0.64467025", "0.63688457", "0.63498044", "0.6344781", "0.6340785", "0.631645", "0.6308912", "0.6294765", "0.62840545", "0.6282073", "0.6282073", "0.62733626", "0.62214035"...
0.0
-1
/ Person Table Person Id FirstName LastName DisplayFirstname etc... > PersonDAO getPersonById() getPersonList() insertPerson() updatePerson() deletePerson() Main Java Class LessonDAO PersonDAOImplement getPersonById() getPersonList() insertPerson() updatePerson() deletePerson() region Create Menu
private static void LessonDAO() { PersonDAO personDAO = new PersonDAOImpl(); //amend in next lesson List<Person> personList = personDAO.getPersonList(); System.out.println("==============================="); for(Person person: personList) { System.out.println(person.getPerso...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface IPersonDAO {\n int insertUser(Person person);\n void deletePerson(int personID);\n void selectAllPerson();\n void selectPersonByName();\n}", "public interface PersonDAO {\n public void add(Person p);\n public void delete(Person p);\n public List<Person> getList();\n publi...
[ "0.73061246", "0.7200573", "0.7050407", "0.7018698", "0.66125655", "0.6474497", "0.6419461", "0.628055", "0.6166765", "0.6047171", "0.60311043", "0.5982414", "0.5963912", "0.59522885", "0.5950414", "0.5935618", "0.5895355", "0.58951795", "0.5887978", "0.58656055", "0.5862869"...
0.8553987
0
KeyValue Pairs / Value List / Hash Table 1.) Does NOT allow null for either key or value 2.) synchronized, thread safe, but performance is decreased
private static void LessonHash() { System.out.println("---Hash Table---"); Hashtable<Integer, String> oopPrinciples = new Hashtable<>(); oopPrinciples.put(1, "Inheritance"); oopPrinciples.put(2, "Polymorphism"); oopPrinciples.put(3, "Abstraction"); oopPrinciples.put(4, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public KeyValuePair () {\n key = null;\n value = null;\n }", "public interface ConcurrentHashTable<K, V> {\n\n /**\n * hash function for the hashMap.\n */\n int hash(final K key);\n\n /**\n * put key value into map. If already contains key in map,\n * will replace the old value by...
[ "0.6207678", "0.59908646", "0.594207", "0.59005713", "0.58841795", "0.58244604", "0.5805975", "0.5762377", "0.575912", "0.5733807", "0.5697267", "0.5695961", "0.567305", "0.56633586", "0.5649853", "0.55878496", "0.5569748", "0.55504304", "0.554655", "0.5536219", "0.55187345",...
0.5864285
5
compile time polymorphism overloaded think creating multiple constructors
private static void LessonPolymorphism() { Employee empOne = new Employee("Bob"); Employee empTwo = new Employee("Linda", "Belcher"); System.out.println(empOne.getFirstName()); System.out.println(empTwo.getFirstName() + " " + empTwo.getLastName()); // run-time polymorphism - over...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ConstuctorOverloading(){\n\t\tSystem.out.println(\"I am non=argument constructor\");\n\t}", "private void __sep__Constructors__() {}", "ConstuctorOverloading(int num){\n\t\tSystem.out.println(\"I am contructor with 1 parameter\");\n\t}", "HxMethod createConstructor(final String... parameterTypes);", "pro...
[ "0.6893976", "0.63893616", "0.6337664", "0.6221064", "0.61107796", "0.6095892", "0.60670453", "0.5980778", "0.59480435", "0.5895629", "0.5891079", "0.58451265", "0.57988846", "0.57814723", "0.5751049", "0.5737727", "0.5718219", "0.5629729", "0.5586182", "0.5521463", "0.548152...
0.0
-1
Add dependency file > project structure > modules > dependency tab > + button > select dependency
private static void LessonInstanceVsStatic() { System.out.println(MathHelper.E); System.out.println(MathHelper.PI); System.out.println(MathHelper.square(5)); //Three helper methods for StringHelper System.out.println(StringHelper.removeLeadingAndTrailingSpaces(" Hello ")); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addDependsOnMe(DependencyItem dependency);", "void depend(@Nonnull String path);", "public void connectDependencies();", "public void addFromProject() {\n btAddFromProject().push();\n }", "@Test\n public void testCreateDependencyTree1() {\n Map<String, Integer> expected = new HashM...
[ "0.624626", "0.5743158", "0.5703776", "0.5663794", "0.56257534", "0.5610101", "0.560496", "0.560496", "0.55983365", "0.55527836", "0.55112046", "0.550542", "0.5468332", "0.5456142", "0.5337687", "0.5323295", "0.5301645", "0.5269608", "0.5266382", "0.5235325", "0.52332324", ...
0.0
-1
When to use inheritance(Ask the question: 'IS A?'). Employee IS A Person When to use complex(nested) objects(Ask the question: 'HAS A?'). Employee HAS A Email
private static void LessonComplexProperties() { EntityType emailWorkType = new EntityType("Work"); emailWorkType.setEntityTypeId(1); //instance of an object using constructor sending email in Email myEmail = new Email("bipin@aston.com"); //setting email type on the Email object ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void LessonInheritance() {\n Employee employee1 = new Employee();\n\n //Set Id , firstName and lastName of Employee from Person Class and BaseBO\n employee1.setId(13);\n employee1.setFirstName(\"Jordan(e)\");\n employee1.setLastName(\"Walker(e)\");\n\n //Pri...
[ "0.68201584", "0.6270711", "0.562145", "0.5546573", "0.55162764", "0.54480773", "0.5434675", "0.5382177", "0.5317164", "0.5294204", "0.5289897", "0.5287629", "0.5257795", "0.5257564", "0.51941687", "0.5141987", "0.51303387", "0.51181895", "0.5117125", "0.5105616", "0.5087661"...
0.62130165
2
List generic type 'T'
private static void LessonCollections() { List<Employee> employeeList = new ArrayList<Employee>(); //Create Employees from Employee objects constructor Employee emp1 = new Employee("Jordan", "Walker"); Employee emp2 = new Employee("Mark", "Tuttle"); Employee emp3 = new Employee(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract List<T> getList();", "public abstract <T> List<T> list(Class<T> aClass);", "List<?> getList();", "protected abstract List<E> getList();", "public List<String> getT();", "abstract List<T> getReuslt();", "List<T> readList();", "Object getTolist();", "List<E> list();", "abstract void...
[ "0.76107186", "0.73873746", "0.7383863", "0.7039442", "0.696159", "0.69437", "0.6748765", "0.674001", "0.66318923", "0.6617441", "0.661261", "0.65902364", "0.6522574", "0.6522439", "0.6514906", "0.65006906", "0.6450773", "0.6442229", "0.6439388", "0.6407664", "0.6394785", "...
0.0
-1
4 Principles(tenets) Encapsulation, Abstraction, Inheritance, Polymorphism create an instance of Employee Object
private static void LessonInheritance() { Employee employee1 = new Employee(); //Set Id , firstName and lastName of Employee from Person Class and BaseBO employee1.setId(13); employee1.setFirstName("Jordan(e)"); employee1.setLastName("Walker(e)"); //Print info out ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void createEmployee(Employee e) {\n\t\t\n\t}", "@Override\n\tpublic Employee createEmployee() {\n\t\treturn new Manager(name, age);\n\t}", "Employee() {\n\t}", "public Employee(){\n\t\t\n\t}", "public Employee(){\n\t\t\n\t}", "public Employee() {\n\t\tsuper();\n\t}", "public Employe...
[ "0.7417202", "0.7383069", "0.7117355", "0.71051854", "0.71051854", "0.7097763", "0.69254076", "0.6924007", "0.6914275", "0.6881545", "0.68678427", "0.6832242", "0.6829388", "0.68211603", "0.68211603", "0.68211603", "0.6817715", "0.6778617", "0.67316943", "0.6672254", "0.66534...
0.7051668
6
instantiating a new object
private static void LessonClassObjects() { Person person1 = new Person(); Person person2 = new Person(); //Set title, firstname and lastname person1.setTitle("Mr."); person1.setFirstName("Jordan"); person1.setLastName("Walker"); person2.setTitle("Mrs."); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CMObject newInstance();", "Reproducible newInstance();", "Instance createInstance();", "OBJECT createOBJECT();", "private Instantiation(){}", "public T newInstance();", "protected abstract void construct();", "public void create(){}", "private Object createInstance() throws InstantiationExce...
[ "0.76125646", "0.75468624", "0.7407442", "0.7320299", "0.7122968", "0.7108721", "0.7036876", "0.7013231", "0.6934616", "0.68884194", "0.679964", "0.6790773", "0.6790773", "0.6775622", "0.6764729", "0.6738523", "0.6721473", "0.6721473", "0.6721473", "0.6721263", "0.66992104", ...
0.0
-1
Create another seperate method (LessonCalculatorLAB)
private static void LessonCalculatorLab() { //Write code that prompts the user to enter a number from 0-9 and then reads the users input. // Create a Scanner object Scanner reader = new Scanner(System.in); // Prompt User and get num1 input System.out.print("Enter a number from 0-...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void exercise10() {\n }", "public static void demo() {\n\t\tlab_2_2_5();\n\n\t}", "public static void doExercise1() {\n // TODO: Complete Exercise 1 Below\n\n }", "public static void doExercise2() {\n // TODO: Complete Exercise 2 Below\n\n }", "void addLessonToModule(Mo...
[ "0.5927758", "0.5892698", "0.5867428", "0.5862409", "0.5820581", "0.5805477", "0.57168657", "0.56446075", "0.55968297", "0.5569841", "0.55516344", "0.5548388", "0.5545569", "0.5540604", "0.55029595", "0.54956746", "0.54714036", "0.5404236", "0.5404236", "0.5404236", "0.534704...
0.50090593
72
Create a separate method (LessonFizzBuzzLAB)
private static void LessonFizzBuzzLab() { //Write a loop that counts from 0-100 for(int index=0; index <= 100; index++) { //If the value is divisible by 15 print "FizzBuzz" if(index%3 == 0 && index%5 == 0) { //If the value is divisible by 3 print "...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\r\n Scanner input = new Scanner(System.in);\n //ask or integer\nSystem.out.println(\"Please enter a positive integer to see the FizzBuzz numbers\");\nint num = input.nextInt();\n// decalre and initialize count\nint count = 0;\nwhile(count < num){\n //increase value o...
[ "0.6755794", "0.64661425", "0.63077945", "0.6233804", "0.618795", "0.61374557", "0.5952929", "0.594222", "0.59098965", "0.58111626", "0.5801617", "0.5751122", "0.57278055", "0.5722794", "0.56893176", "0.5668402", "0.5635817", "0.56309247", "0.5596896", "0.55790174", "0.556809...
0.6816309
0
2 Scanner reader = new Scanner(System.in); System.out.print("Enter a number from 1 to 10: "); String input = reader.nextLine(); System.out.println(Integer.parseInt(input) + 1.75); 3
private static void LessonFundamentals() { byte myNum1 = 100; System.out.println(myNum1); short myNum2 = 5000; System.out.println(myNum2); int myNum3 = 100000; System.out.println(myNum3); long myNum4 = 15000000000L; System.out.println(myNum4); floa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String args[])\n {\n Scanner input = new Scanner(System.in);\n int num = input.nextInt();\n int d1 = num%10;\n num /= 10;\n int d2 = num%10;\n num /= 10;\n num += (d2*10 + d1*100);\n System.out.print(num);\n }", "public static void main(String args[])\n {\n ...
[ "0.70456165", "0.67331177", "0.66481674", "0.6500045", "0.6309533", "0.6267421", "0.626065", "0.62594986", "0.6253967", "0.62097", "0.6199945", "0.6196493", "0.61767924", "0.61677516", "0.6126771", "0.6114498", "0.6067731", "0.60600364", "0.60466486", "0.6033903", "0.5994312"...
0.0
-1
String have a value or not
private static void LessonStrings() { String str = ""; //Empty str = null; // string has no value str = "Hello World!"; //string has a value if(str == null || str.isEmpty()) { System.out.println("String is either empty or null!"); } else { System.out.prin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasStringValue();", "private boolean hasValue (String s) { return s != null && s.length() != 0; }", "boolean hasString();", "boolean isSetString();", "boolean isSetValueString();", "private static boolean hasString(String value) {\n if (!value.trim().equals(\"\") && value.length() > 0) {\n...
[ "0.8119903", "0.74838746", "0.72669506", "0.7208976", "0.7208421", "0.71991307", "0.7156793", "0.7137338", "0.71100736", "0.69855404", "0.66829354", "0.6670855", "0.6647389", "0.66096485", "0.652964", "0.65117365", "0.64939487", "0.64221865", "0.64086556", "0.63898456", "0.63...
0.0
-1
Landing screen for the financial register module. We default to view a list of suppliers, i.e. where the supplier is the type_name from the party_type table.
@RequestMapping("") public String redirectController() { return "redirect:financial/supplier/register"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void showSupplierList(){\n\t\tfor(int i = 0; i<supplierList.size();i++) {\n\t\t\tSystem.out.println(supplierList.get(i).getSupID()+\";\"+\n\t\t\t\t\tsupplierList.get(i).getCompanyName()+\";\"+\n\t\t\t\t\tsupplierList.get(i).getAddress()+\";\"+\n\t\t\t\t\tsupplierList.get(i).getSaleRep());\n\t\t}\n\t}", "p...
[ "0.6819476", "0.59861755", "0.59421164", "0.5916022", "0.57093495", "0.5616061", "0.5610359", "0.55711555", "0.548081", "0.54215217", "0.5419314", "0.5373915", "0.5341519", "0.5291046", "0.5247786", "0.5245917", "0.5209823", "0.52030736", "0.51876754", "0.5162192", "0.5161335...
0.0
-1
/ renamed from: a
private static void m13381a(long r3, float r5) { /* JADX: method processing error */ /* Error: java.lang.NullPointerException at jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75) at jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(Proce...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
static void m13382a(Context context) { if (TimeUnit.MILLISECONDS.toMinutes(System.currentTimeMillis() - bh.m7116b()) >= 10) { C3550e.m13381a(System.currentTimeMillis(), ((float) C1942d.m6822a(context)) / 100.0f); bh.m7117b(System.currentTimeMillis()); C3550e.m13385d(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
static String m13380a() { List c = C3550e.m13384c(); StringBuilder stringBuilder = new StringBuilder(c.size() * 32); int i = 0; while (i < 72 && i < c.size()) { C1980a c1980a = (C1980a) c.get(i); stringBuilder.append(Long.toString(c1980a.f5385a)); stri...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: c
private static List<C1980a> m13384c() { Throwable th; Throwable th2; List arrayList = new ArrayList(); Object obj = null; try { Object query = C1916a.getDatabase().query("battery_watcher", f10647b, null, null, null, null, "timestamp DESC"); while (query.mo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", ...
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723",...
0.0
-1
/ renamed from: b
static void m13383b() { /* JADX: method processing error */ /* Error: java.lang.NullPointerException at jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75) at jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: d
private static void m13385d() { /* JADX: method processing error */ /* Error: java.lang.NullPointerException at jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75) at jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventor...
[ "0.63810617", "0.616207", "0.6071929", "0.59959275", "0.5877492", "0.58719957", "0.5825175", "0.57585526", "0.5701679", "0.5661244", "0.5651699", "0.56362265", "0.562437", "0.5615328", "0.56114155", "0.56114155", "0.5605659", "0.56001145", "0.5589302", "0.5571578", "0.5559222...
0.0
-1
/ renamed from: a
private static C1980a m13379a(Cursor cursor) { return new C1980a(DatabaseUtil.m6665c(cursor, "timestamp"), DatabaseUtil.m6668f(cursor, "level")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
Get the offset in the current editor
public String siblingsPeek(AnActionEvent e){ DataContext dataContext = e.getDataContext(); final Editor editor = PlatformDataKeys.EDITOR.getData(dataContext); final Document document = editor.getDocument(); final int offset = editor.getCaretModel().getOffset(); PsiFile psiFile = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int getCurrentOffset(){\n\t\treturn this.OFFSET;\n\t}", "public Position getOffset() {\r\n return offset;\r\n }", "public Location getOffset() {\n\t\treturn pos;\n\t}", "int getOffset();", "int getOffset();", "int getOffset();", "public int getOffset() {\r\n return offset;\r\n ...
[ "0.71862715", "0.7153023", "0.71119136", "0.7098583", "0.7098583", "0.7098583", "0.7062869", "0.70606905", "0.70606905", "0.70498693", "0.70098716", "0.7004332", "0.70040447", "0.69930816", "0.69881654", "0.69655865", "0.6964011", "0.69443804", "0.6932029", "0.6897867", "0.68...
0.0
-1
Getting reference to EditText to get the user input location
@Override public void onClick(View v) { EditText etLocation = (EditText) findViewById(R.id.et_location); // Getting user input location String location = etLocation.getText().toString(); if (location != null && !location.equals("")) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void getLocation() {\n fields = Arrays.asList(Place.Field.ID, Place.Field.NAME, Place.Field.LAT_LNG);\n\n // Start the autocomplete intent.\n Intent intent = new Autocomplete.IntentBuilder(\n AutocompleteActivityMode.FULLSCREEN, fields)\n .build(this);\n ...
[ "0.6773048", "0.65954953", "0.65840906", "0.6512286", "0.6136911", "0.6063514", "0.60509366", "0.6039666", "0.60297185", "0.59601796", "0.59385014", "0.59385014", "0.59385014", "0.59385014", "0.5924308", "0.58983785", "0.5877277", "0.5877277", "0.5877277", "0.5863237", "0.586...
0.6698933
1
Getting latitude of the current location
@Override public void onMapClick(LatLng point) { double lati = point.latitude; // Getting longitude of the current location double longi = point.longitude; i = new Intent(MapsActivity.this, addtasks.class); Bundle b = new ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getLatitude() {\n if (location != null) {\n curr_latitude = location.getLatitude();\n }\n\n // return latitude\n return curr_latitude;\n }", "public double getLatitude(){\n if(location != null){\n latitude = location.getLatitude();\n ...
[ "0.8234296", "0.8233031", "0.8233031", "0.8207369", "0.81107503", "0.80690104", "0.80178356", "0.7984143", "0.7839902", "0.77045286", "0.7682042", "0.7682042", "0.76740175", "0.7673141", "0.7666878", "0.76220274", "0.76097715", "0.76029915", "0.76029915", "0.7592489", "0.7571...
0.0
-1
Creating an instance of Geocoder class
@Override protected List<Address> doInBackground(String... locationName) { Geocoder geocoder = new Geocoder(getBaseContext()); List<Address> addresses = null; try { // Getting a maximum of 3 Address that matches the input text addresses = geoc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GeocodingException() {\n\t}", "public static GeoCoderInterface createGeoCoder(){\n\t\tif (Config.default_geo_api.equals(OSM)){\n\t\t\t//TODO: implement\n\t\t\tDebugger.println(\"GeoFactory - unknown GeoCoderInterface: \" + Config.default_geo_api, 1);\n\t\t\treturn null;\n\t\t}else if (Config.default_geo_a...
[ "0.682636", "0.66641825", "0.65198976", "0.6424532", "0.63989425", "0.61385816", "0.60598373", "0.60001343", "0.59979236", "0.59896755", "0.59627205", "0.5958791", "0.59531915", "0.5951015", "0.5945259", "0.59357035", "0.5933489", "0.5933489", "0.5919816", "0.5911884", "0.589...
0.0
-1
char gapLevel = gapData.getGap().getDataLevel();
private void saveOrupdateExceptionRecordCounts(Session session, GapData gapData) { char currentLevel = gapData.getWaring(); if (currentLevel != 'N') { // 添加一条新的记录,同时把设备标记改成当前级别 ExceptionTimesBean execeptionTimesBean = new ExceptionTimesBean(); execeptionTimesBean.setBegTime(gapData.getCreateTime())...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getHgap() {\n/* */ return this.hgap;\n/* */ }", "public int getDataLevel();", "public int getVgap() {\n/* */ return this.vgap;\n/* */ }", "public int getHgap()\n {\n return hgap;\n }", "public int getVgap()\n {\n return vgap;\n }", "float getLgap();", "p...
[ "0.6726117", "0.6607876", "0.6446831", "0.6434779", "0.62136847", "0.61909705", "0.6166269", "0.61433417", "0.60876864", "0.60454625", "0.60014147", "0.5974771", "0.59418505", "0.5920149", "0.5917234", "0.59002507", "0.59002507", "0.5899863", "0.5879996", "0.5845101", "0.5841...
0.0
-1
health bar rendering parameters
public void render(Graphics g){ g.setColor(Color.gray); g.fillRect(15,15,200,32); g.setColor(new Color((int)redValue,(int)greenValue,0)); g.fillRect(15,15,(int)health * 2,32); g.setColor(Color.white); g.drawRect(15,15,200,32); g.drawString("Score: " + score...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void drawHealthBar() {}", "public void drawHealthBar() {\n\t\td.setColor(Color.GREEN);\n\t\td.setFont(f1);\n\t\td.drawString(\"Health\", 387, 43);\n\t\td.setFont(f);\n\t\td.fillRect(227, 48, health * 100, 25);\n\t\td.setColor(Color.BLACK);\n\t\td.drawLine(327, 48, 327, 73);\n\t\td.drawLine(427, 48, 427, 7...
[ "0.77246445", "0.7287894", "0.6847073", "0.67684263", "0.6689073", "0.66003925", "0.6524498", "0.6378688", "0.6336141", "0.6333106", "0.6213217", "0.6158875", "0.6144288", "0.61302376", "0.6108623", "0.60803884", "0.6054232", "0.6038396", "0.60383135", "0.6036007", "0.6024037...
0.5822282
31
possibly redundant getters and setters
public int getScore() { return score; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected abstract Set method_1559();", "@Override\n public void get() {}", "@Override\n protected void updateProperties() {\n }", "public Empresa getEmpresa()\r\n/* 84: */ {\r\n/* 85:131 */ return this.empresa;\r\n/* 86: */ }", "@Test\n public void testSongGettersSetters() {\n ...
[ "0.6658205", "0.6225812", "0.6023271", "0.5974601", "0.59483606", "0.59209985", "0.587709", "0.58748966", "0.5869157", "0.5859668", "0.58567584", "0.58225435", "0.579932", "0.5780197", "0.5752642", "0.57266396", "0.5702094", "0.5700815", "0.5695758", "0.56664944", "0.5660965"...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { @SuppressWarnings("resource") Scanner scan = new Scanner(System.in); ArrayList<String> list; list = new ArrayList<String>(); String temp; for(;scan.hasNextLine();) { temp = scan.nextLine(); if(temp.equals("exit;")) { break; } list.add(temp); } so...
{ "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 handleJs(JavaScriptObject message) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Metodo que cadrasta o pedido de ajuda presencial dos alunos a partir dos parametros aluno, disciplina, tutor, horario, dia e localInteresse.
public AjudaPresencial(String aluno, String disciplina, Aluno tutor, String horario, String dia, String localInteresse) { super(aluno, disciplina, tutor); if (horario == null) { throw new NullPointerException("horario nao pode ser vazio ou em branco"); } if (horario.trim().equals("")) { throw new Illegal...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CuentaAhorroP(int numCl, String nom, String numCu, double inve, double intAnual, int plazoInv,\n double saldo){\n this.numCl = numCl;\n this.nom = nom;\n this.numCu = numCu;\n this.inve = inve;\n this.intAnual = intAnual;\n this.plazoInv = pla...
[ "0.60934305", "0.5935472", "0.5931258", "0.59185225", "0.59158105", "0.588644", "0.58576155", "0.56981134", "0.5687225", "0.5676183", "0.5674857", "0.56387556", "0.5637769", "0.5637662", "0.5634191", "0.5619474", "0.5608089", "0.56073153", "0.55970967", "0.5586056", "0.557113...
0.71148133
0
Metodo que retorna o horario requisitado para a ajuda presencial.
public String getHorario() { return this.horario; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void enviarRequisicaoAdicionar() {\n servidor.adicionarPalito(nomeJogador);\n atualizarPalitos();\n }", "private void enviarRequisicaoPalpite() {\n if (servidor.verificarPalpitar(nomeJogador)) {\n String palpite = NomeDialogo.nomeDialogo(null, \"Informe o seu palpite\",...
[ "0.6428777", "0.5579832", "0.5505899", "0.5337931", "0.52697533", "0.5227295", "0.5170908", "0.5170153", "0.5127165", "0.504179", "0.49921107", "0.49865448", "0.495643", "0.49240044", "0.4907598", "0.4863112", "0.48534694", "0.4848165", "0.4835737", "0.4811225", "0.48018607",...
0.0
-1
Metodo que retorna o dia requisitado para a ajuda presencial.
public String getDia() { return this.dia; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void enviarRequisicaoAdicionar() {\n servidor.adicionarPalito(nomeJogador);\n atualizarPalitos();\n }", "@_esCocinero\n public Result crearPaso() {\n Form<Paso> frm = frmFactory.form(Paso.class).bindFromRequest();\n\n // Comprobación de errores\n if (frm.hasErrors...
[ "0.5950303", "0.5551926", "0.5406905", "0.5359844", "0.5335524", "0.5272263", "0.5261438", "0.52264357", "0.52242756", "0.5205032", "0.5164946", "0.5135163", "0.5122957", "0.5075682", "0.50693256", "0.5036818", "0.5032985", "0.5032877", "0.5030551", "0.5028884", "0.5003995", ...
0.0
-1
Metodo que retorna o local requisitado para a ajuda presencial.
public String getLocal() { return this.local; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void enviarRequisicaoAdicionar() {\n servidor.adicionarPalito(nomeJogador);\n atualizarPalitos();\n }", "private void enviarRequisicaoPalpite() {\n if (servidor.verificarPalpitar(nomeJogador)) {\n String palpite = NomeDialogo.nomeDialogo(null, \"Informe o seu palpite\",...
[ "0.6366695", "0.55746454", "0.5516363", "0.54002744", "0.53309643", "0.52381843", "0.51334554", "0.5132459", "0.51152617", "0.51016545", "0.50705194", "0.50299597", "0.49529582", "0.49086007", "0.4900163", "0.4882187", "0.4862065", "0.4859548", "0.48520246", "0.48465878", "0....
0.0
-1
TODO Autogenerated method stub
@SuppressWarnings("unused") private void dispose() { }
{ "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 onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); }
{ "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 View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.inflate(R.layout.layout_listview, null); lv = (ListView) v.findViewById(R.id.lv); // ColorDrawable color_divider = new ColorDrawable(R.color.transparent); // lv.setDivider(color_divi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onPreExecute() { super.onPreExecute(); pDialog = new Dialog_Progress(); pDialog.show(getFragmentManager(), ""); objects = new ArrayList<RowData_Program>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onPostExecute(Void result) { super.onPostExecute(result); pDialog.dismiss(); adapter = new CustomAdapter_Program(getActivity(), 0, objects); lv.setAdapter(adapter); }
{ "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
/ param : type,action,id,name,price action : save, get, delete, find
public void handler(String param) throws Exception { String[] splitParams = param.split(","); String type = splitParams[0]; switch (type) { case "product" : new ProductOperation().process(splitParams); break; default : throw new Exception("unknown type"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void edit(Price Price);", "Product save(Product product);", "@Override\n\tpublic void cr_Order(String id, String name, String dizi, String date,\n\t\t\tFloat cost, int status, int type, String serilNumber) {\n\t\tConnection lianjie = super.lianjie();\n\t\tString sql=\"insert into easybuy_order values(null,?,?,...
[ "0.6273562", "0.58207726", "0.572385", "0.56977206", "0.5678334", "0.5615403", "0.5608766", "0.5570943", "0.55587184", "0.5556075", "0.55521524", "0.55518335", "0.55493367", "0.55169564", "0.5482097", "0.54737777", "0.54525083", "0.5444316", "0.53838605", "0.53687805", "0.535...
0.0
-1
Creates new form Listado
public Listado() { initComponents(); for (int i=0;i<tbl_listado.getRowCount();i++) { Float precio = (Float)tbl_listado.getModel().getValueAt(i, 1); double iva = precio*0.12; tbl_listado.getModel().setValueAt(iva,i,4); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void mostrarTodo() {\n if (formListado != null) {\n formListado.dispose();\n }\n formListado = new FormListado();\n formListado.cargarTodo();\n formListado.setVisible(true);\n }", "public GestaoFormando() {\n \n initComponents();\n ...
[ "0.6896774", "0.6870122", "0.671385", "0.67125344", "0.6612175", "0.66101295", "0.6513176", "0.6513111", "0.65091443", "0.6465482", "0.64544183", "0.63578796", "0.63359237", "0.6260794", "0.62495613", "0.6234035", "0.61759484", "0.61724675", "0.61710244", "0.61708695", "0.614...
0.0
-1
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() { jScrollPane1 = new javax.swing.JScrollPane(); tbl_listado = new javax.swing.JTable(); jLabel1 = new javax.swing.JLabel(); btn_...
{ "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.7318655", "0.7289971", "0.7289971", "0.7289971", "0.72860885", "0.7247684", "0.7213551", "0.72080934", "0.7195069", "0.7189731", "0.7183451", "0.71579945", "0.7147311", "0.7092687", "0.70798934", "0.7055229", "0.69868284", "0.6976656", "0.6954658", "0.6952896", "0.69449455...
0.0
-1
String url_str = "
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); //에디트텍스트, 버튼, 텍스트뷰 읽어 오기 com_id = (EditText) findViewById(R.id.com_id); mem_id = (EditText) findViewById(R.id.mem_id); mem_pw =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getURLString(String str) {\n String str2 = \"\";\n try {\n String substring = str.substring(str.indexOf(\"url\\\">\") + 5);\n return substring.substring(0, substring.indexOf(\"<\"));\n } catch (Exception e) {\n e.printStackTrace();\n ...
[ "0.7549472", "0.6723354", "0.66916096", "0.66914713", "0.66876155", "0.66851777", "0.6681933", "0.6681933", "0.6681933", "0.6681933", "0.6681933", "0.66808856", "0.66508377", "0.65836775", "0.65609217", "0.65609217", "0.65047085", "0.6500296", "0.6482569", "0.6482569", "0.648...
0.0
-1
we don't want to starve the buffer in either direction, nor do we want to make either either agent wait for long. / 1. buffer has something in it, so we can tell the display to consume 2. there's nothing in the buffer, so we can tell the simulation to produce Invoke is a callback, so it gets called whenever something i...
@Override public void invoke() { IBuffer b = Buffer.getBuffer(); int r = b.getRemainingCapacity(); // the buffer is empty - this means that invoke was called after a grid was removed // and we need to fill it up to prevent starvation. Ideally the only way this could // happen is if the buffer size was ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void bufferingState(){\n\t\twhile ( buffer.isBufferUnderRun() ){\n\t\t\t/** Do not leave the while loop with nothing, it will increase the CPU usage 25% */\n\t\t\ttry {Thread.sleep(1);\n\t\t\t} catch (InterruptedException ex) {}\n\t\t} \n\t}", "public synchronized void bufferMessage() throws Exception\r\n...
[ "0.6377295", "0.63122195", "0.58554184", "0.57213056", "0.5700361", "0.5696614", "0.5650638", "0.56219095", "0.5615082", "0.5600139", "0.5575296", "0.55730504", "0.5520472", "0.55131626", "0.5508951", "0.5504932", "0.5489173", "0.5466056", "0.54644066", "0.5452331", "0.543142...
0.66421056
0
Write code here that turns the phrase above into concrete actions
@When("^I click on the login portal button$") public void i_click_on_the_login_portal_button() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^I enter a username$") public void i_enter_a_username() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6990929", "0.6464815", "0.63990325", "0.6355183", "0.6349206", "0.6336467", "0.63223773", "0.63223773", "0.63223773", "0.63167405", "0.62376857", "0.6174822", "0.6171168", "0.6153099", "0.6111821", "0.6072555", "0.6064096", "0.60627896", "0.60353357", "0.60353357", "0.6035...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^I enter a \"([^\"]*)\" password$") public void i_enter_a_password(String arg1) throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^I click on the login button$") public void i_click_on_the_login_button() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^I should be presented with a successful validation alert$") public void i_should_be_presented_with_a_successful_validation_alert() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Write code here that turns the phrase above into concrete actions
@When("^I enter a invalid password$") public void i_enter_a_invalid_password() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6990929", "0.6464815", "0.63990325", "0.6355183", "0.6349206", "0.6336467", "0.63223773", "0.63223773", "0.63223773", "0.63167405", "0.62376857", "0.6174822", "0.6171168", "0.6153099", "0.6111821", "0.6072555", "0.6064096", "0.60627896", "0.60353357", "0.60353357", "0.6035...
0.0
-1
Write code here that turns the phrase above into concrete actions
@Then("^I should be presented with a unsuccessful validation alert$") public void i_should_be_presented_with_a_unsuccessful_validation_alert() throws Throwable { throw new PendingException(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String performAction(String input);", "@Override\r\n\tpublic void action() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}", "protected abstract Action stringToAction(String stringAction);", "@Override\n\tpublic void action() {\n\n\t}", "priv...
[ "0.6989324", "0.64658433", "0.6398834", "0.6353149", "0.63501525", "0.633518", "0.63232154", "0.63232154", "0.63232154", "0.6317274", "0.62379014", "0.61738145", "0.61690307", "0.61507595", "0.6110593", "0.6071837", "0.6065073", "0.6061467", "0.6035597", "0.6035597", "0.60355...
0.0
-1
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.exemple
public ObjectFactory() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SchemaBuilder withFactory(String factoryClassName);", "EPackage createEPackage();", "JDefinedClass objectFactory();", "public ObjectifyFactory factory() {\n return ofy().factory();\n }", "ObjectFactoryGenerator objectFactoryGenerator();", "XUMLRTFactory getXUMLRTFactory();", "public ObjectFactory()...
[ "0.6501593", "0.63227224", "0.6268204", "0.62413394", "0.6230794", "0.6190343", "0.6182013", "0.6182013", "0.6182013", "0.61773485", "0.6116219", "0.6103894", "0.6091381", "0.6069052", "0.60117996", "0.6011674", "0.5987178", "0.59725994", "0.5969033", "0.5961773", "0.5951333"...
0.0
-1
Tojas' workshop about methods
public static void main(String[] args) { System.out.println(add(5, 4)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "public void method(){}", "public void method_4270() {}", "public void woke(){\n\n //TODO\n\n }", "public void mo21877s() {\n }", "void method_115();", "public void method_115() {}", "void method25()\n {\n }", "public Methods...
[ "0.69035006", "0.68768185", "0.68306077", "0.67420757", "0.66921777", "0.6680578", "0.663463", "0.6634577", "0.66150504", "0.65920603", "0.65815496", "0.6579676", "0.6568849", "0.656271", "0.65581495", "0.6533066", "0.6532856", "0.65325874", "0.6520692", "0.6505382", "0.65047...
0.0
-1
Analyses message according to rules and message It decides if message should be dropped (filter out)
public void analize() { //clearing dropping rules this.droppingRules.clear(); //analysing new rules analizeParts(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@PluginApi(since = 300)\n public boolean handleMessageLogic(Message message) {\n return false;\n }", "private static String filterMessage(String message) {\n\t\treturn Jsoup.parse(message).text();\n\t}", "public void onMessage(Message arg) \n {\n ObjectMessage om = (ObjectMess...
[ "0.56042665", "0.55780226", "0.55496967", "0.55085236", "0.5473898", "0.52729034", "0.5271531", "0.5248975", "0.5246281", "0.5187424", "0.51609457", "0.5159496", "0.5148627", "0.5140139", "0.51291806", "0.5097837", "0.5097496", "0.5081443", "0.50434285", "0.50416696", "0.5041...
0.0
-1
Analyses given part according to rules that applies to parts
private List<Rule> analizePartRules(Part part, boolean isRootPart) { List<Rule> ret = new ArrayList<Rule>(); for (Rule rule : rules) { switch (rule.ruleType) { case MAX_SIZE_PART: if (isRootPart) { MaxPartSizeRule maxPartSizeRule = (MaxPartSizeRule) rule; if (!maxPartSizeRule.isFi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void extractGroups(CoNLLPart part) {\n\t\tHashMap<String, Integer> chainMap = EMUtil.formChainMap(part\n\t\t\t\t.getChains());\n\t\tArrayList<Mention> allMentions = EMUtil.extractMention(part);\n\t\tCollections.sort(allMentions);\n\t\tEMUtil.assignNE(allMentions, part.getNameEntities());\n\t\tfor (in...
[ "0.55129135", "0.54981667", "0.5491459", "0.54044145", "0.5348811", "0.52697045", "0.5258636", "0.52563125", "0.52182347", "0.516888", "0.5165703", "0.51453644", "0.513171", "0.50887734", "0.507283", "0.50724226", "0.50708795", "0.5061266", "0.5055249", "0.50351155", "0.50237...
0.55474555
0
Analyses given headers according to set rules in analizer
private List<Rule> analizeHeaders(MimeMessageHeaders mimeMessageHeaders, boolean isRootPart) { List<Rule> dropingRules = new ArrayList<Rule>(); HashMap< Pair<Rule, String>, Boolean> headerPresenceMap = new HashMap<Pair<Rule, String>, Boolean>(); for (MimeMessageHeader header : mimeMessageHeaders.getHeaders(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void processHeaders(Vector in, SummitFileWriter out) { \n\t\ttry {\n\t\t\t// Read all the headers. Must read the header from each file\n\t\t\t// so that the random-access file is cued to the right location.\n\t\t\tSummitHeader header = null;\n\t\t\tfor (int i=0; i<in.size(); i++) {\n\t\t header = ((...
[ "0.6280824", "0.6032024", "0.59226495", "0.581157", "0.5588226", "0.5579924", "0.54903966", "0.548518", "0.5479701", "0.5465768", "0.54371256", "0.5377364", "0.53640956", "0.53575075", "0.53530526", "0.53439534", "0.5327747", "0.5323303", "0.526054", "0.5259954", "0.52465737"...
0.5690639
4
The mInterstitialAd reference will be null until an ad is loaded.
@Override public void onAdLoaded(@NonNull InterstitialAd interstitialAd) { mInterstitialAd = interstitialAd; Log.i("TAG", "onAdLoaded"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onAdLoaded(@NonNull InterstitialAd interstitialAd) {\n mInterstitialAd = interstitialAd;\n Log.i(TAG, \"onAdLoaded\");\n }", "@Override\n public void onAd...
[ "0.8120132", "0.8077089", "0.791842", "0.7733276", "0.7639412", "0.7453041", "0.74382883", "0.74382883", "0.7390547", "0.736305", "0.73622423", "0.73328376", "0.7311062", "0.7301872", "0.7270985", "0.72703993", "0.7265357", "0.720358", "0.72031796", "0.72031796", "0.72000974"...
0.80280286
2
Gets the completion time.
public int getCompletionTime() { return this.completeTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getTime() {\n\t\treturn this.completedTime;\n\t}", "public Date getCompleteTime() {\n return completeTime;\n }", "@Override\n\tpublic String getFinishTime() {\n\t\treturn finishTime;\n\t}", "public double getFinishTime(){return finishTime;}", "public long getCompletionTime(Tab patch...
[ "0.79885197", "0.7492922", "0.7207773", "0.7051755", "0.6964036", "0.6938058", "0.6929275", "0.6916653", "0.6873981", "0.6827324", "0.68062735", "0.6762626", "0.67618835", "0.6752951", "0.6752004", "0.67370874", "0.67370874", "0.67370874", "0.67370874", "0.67370874", "0.67370...
0.83527595
0
Returns a string representation of the object.
public String toString() { String str = ""; str += getTitle() + "," + " " + getName() + ","; str += " " + getCompletionTime() + "," + " " + getImportance() + ","; str += " " + getUrgency() + "," + " " + getStatus(); return str; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString()\r\n\t{\r\n\t\tStringBuffer OutString = new StringBuffer();\r\n\t\t// Open tag\r\n\t\tOutString.append(\"<\");\r\n\t\t// Add the object's type\r\n\t\tOutString.append(getType());\r\n\t\t// attach the ID if required.\r\n\t\tif (DEBUG)\r\n\t\t\tOutString.append(getObjID());\r\n\t\t// add the ...
[ "0.8125818", "0.7958652", "0.7928028", "0.7911684", "0.7888281", "0.7888281", "0.7795634", "0.7731775", "0.7731416", "0.76538444", "0.764448", "0.7639164", "0.76137227", "0.75786316", "0.75499994", "0.75237125", "0.75237125", "0.75237125", "0.75237125", "0.75237125", "0.75237...
0.0
-1
Gets the next task.
public Task getNextTask(final String name) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Task getNext()\n {\n\treturn new Task(toDo.get(0));\n }", "private DispatchTask next()\n {\n synchronized (m_lock)\n {\n while (null == m_runnable)\n {\n if (m_released)\n {\n retu...
[ "0.8114481", "0.71916336", "0.71055293", "0.7068103", "0.70603573", "0.7016034", "0.68790036", "0.6800172", "0.6760104", "0.6738925", "0.6703913", "0.66743356", "0.66649663", "0.6526132", "0.6456743", "0.641985", "0.641985", "0.6418385", "0.63397634", "0.63258445", "0.631025"...
0.7465198
1
Returns a string representation of the object.
public String toString() { String str = ""; for (int i = 0; i < size; i++) { str += tasks[i].toString() + "\n"; } return str; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString()\r\n\t{\r\n\t\tStringBuffer OutString = new StringBuffer();\r\n\t\t// Open tag\r\n\t\tOutString.append(\"<\");\r\n\t\t// Add the object's type\r\n\t\tOutString.append(getType());\r\n\t\t// attach the ID if required.\r\n\t\tif (DEBUG)\r\n\t\t\tOutString.append(getObjID());\r\n\t\t// add the ...
[ "0.8125818", "0.7958652", "0.7928028", "0.7911684", "0.7888281", "0.7888281", "0.7795634", "0.7731775", "0.7731416", "0.76538444", "0.764448", "0.7639164", "0.76137227", "0.75786316", "0.75499994", "0.75237125", "0.75237125", "0.75237125", "0.75237125", "0.75237125", "0.75237...
0.0
-1
method to test add task.
public static void testAddTask(final Todoist todo, final String[] tokens) { try { todo.addTask(createTask(tokens)); } catch (Exception e) { System.out.println(e.getMessage()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n void addTask() {\n }", "void addTask(Task task);", "@Test\r\n\tpublic void testAddTask() {\n\t\ttodo.addTask(new Task(\"Test task1\"));\r\n\t\t\r\n\t\tCollection<Task> col = todo.getAllTasks();\r\n\t\tassertTrue(\"Expected collectioon to contain 1 task object\", col.size() == 1);\t\t\r\n\t\t\r\n\...
[ "0.81885237", "0.76963615", "0.7686466", "0.76793355", "0.7663976", "0.75930244", "0.75825274", "0.74814963", "0.73627245", "0.73267186", "0.7310423", "0.72562784", "0.72544134", "0.72372204", "0.72328293", "0.7170254", "0.7066623", "0.7061416", "0.7054807", "0.70204276", "0....
0.69714606
25
method to test the creation of task object.
public static void testTask(final String[] tokens) { try { System.out.println(createTask(tokens)); } catch (Exception e) { System.out.println(e.getMessage()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic static void create_Task() {\n\t\tString testName = \"Valid Scenario- When all the data are valid\";\n\t\tlog.info(\"Valid Scenario: Create Task\");\n\t\t// report generation start\n\t\textentTest = extent.startTest(\"Task Controller- Create Task\");\n\n\t\tResponse response = HttpOperation\n\t\t\t\...
[ "0.7385736", "0.7319252", "0.7319252", "0.7319252", "0.7233904", "0.7127536", "0.70220476", "0.6947236", "0.68397456", "0.6836916", "0.67982686", "0.67978454", "0.67937416", "0.6764995", "0.6754104", "0.6716277", "0.6658945", "0.6638393", "0.6638267", "0.6622766", "0.66147685...
0.0
-1
Creates a task object.
public static Task createTask(final String[] tokens) throws Exception { String title = tokens[1]; if (title.length() == 0) { throw new Exception("Title not provided"); } String assignedTo = tokens[2]; int timeToComplete = Integer.parseInt(tokens[2 + 1]); if (t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Task createTask();", "Task createTask();", "Task createTask();", "public static Object createTaskObject(){\n try {\n\n return taskModel.make()\n .load(ClassLoader.getSystemClassLoader(), ClassLoadingStrategy.Default.WRAPPER)\n .getLoaded()\n ...
[ "0.8420336", "0.8420336", "0.8420336", "0.73437816", "0.7342362", "0.731642", "0.73132694", "0.72771496", "0.72240925", "0.7220097", "0.7163645", "0.71472174", "0.7127095", "0.7100928", "0.7042619", "0.7012561", "0.70066625", "0.69848126", "0.697689", "0.69749475", "0.6948737...
0.68710214
25
4. Write a Java method to count all vowels in a string. Go to the editor Test Data: Input the string: w3resource Expected Output: Number of Vowels in the string: 4
public static int main(String[] args) { System.out.println("Input the string: "); Scanner scn = new Scanner(System.in); String word = scn.nextLine(); int count = 0; for (int i = 0; i < word.length(); i++) { if (word.charAt(i) == 'a' || word.charAt(i) == 'e' || wor...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int countVowels( String w ) \n {\n int total = 0;\n int origLength = w.length();\n for (int i = 0; i < origLength; i++){\n if (isAVowel(w.substring(i,i+1))){\n total += 1;\n }\n }\n return total;\n }", "public static int countVowels( String w ) \r\n { in...
[ "0.814124", "0.7979573", "0.7536693", "0.7416742", "0.7248396", "0.71922773", "0.7098336", "0.6963799", "0.6880893", "0.68313646", "0.67257977", "0.6724329", "0.6720537", "0.64590824", "0.64184964", "0.6360237", "0.63543266", "0.62122464", "0.6182516", "0.6179978", "0.6150967...
0.7033962
7
Implemented from the ActionListener class. Removes an item to the todoList when the delete button is selected.
public void actionPerformed(ActionEvent event) { ListTreeNode toDelete = controller.getView().getSelectedItem(); if(toDelete != null) { controller.getModel().deleteListItem(toDelete); controller.getView().updateList(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void actionPerformed(ActionEvent e) {\n\t\t\t\tItemType i = getSelectedItem();\n\t\t\t\tif(i != null)\n\t\t\t\t{\t\n\n\t\t\t\t\tfinal String msg = \"Delete \"+i.getName() + \"?\";\n\t\t\t\t\tif(!confirmDelete(msg))\n\t\t\t\t\t\treturn;\n\t\t\t\t\ti.removeContainer(GeneralItemList.this);\n\t\t\t\t\ti.destroy...
[ "0.79836315", "0.79153734", "0.7773557", "0.7411331", "0.7308753", "0.721548", "0.71368986", "0.7134171", "0.69825476", "0.6944308", "0.6932278", "0.6921724", "0.69090134", "0.6903045", "0.6855346", "0.68506646", "0.6844925", "0.67811644", "0.677545", "0.6758387", "0.6738822"...
0.7126512
8
Parse the log file defined by filename of the object and check whether the parsed output is successfully saved or not It also manipulates the List of names of currently running threads of FileScheduler Class
private void parse() throws IOException { Stats statsObject = new Stats(); statsObject.setProcessName(process); List<String> lines = Files.readAllLines(Paths.get(filename), Charset.defaultCharset()); Pattern timePattern = Pattern.compile("((\\d+)-)*(\\d+)\\W((\\d+):)*(\\d+)\\.(\\d+)"); System.out.println...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void parseDumpstateFile(String filePath) {\n\t\tif (filePath == null || \"\".equals(filePath)) {\n\t\t\treturn;\n\t\t}\n\t\tFile file = new File(filePath);\n\t\tif (!file.exists()) {\n\t\t\treturn;\n\t\t}\n\t\tSystem.gc();\n\t\ttry {\n\t\t\tFileReader fr = new FileReader(file);\n\t\t\tBufferedReader br = ne...
[ "0.5602538", "0.5498108", "0.53881735", "0.5294837", "0.5279258", "0.526103", "0.51729137", "0.5157089", "0.51481164", "0.51441896", "0.50359815", "0.49802434", "0.4970782", "0.49513343", "0.49474022", "0.49344707", "0.49263713", "0.4915128", "0.4891617", "0.48767394", "0.487...
0.57548696
0
The process context is typically the object being processed, such as a request of some sort; this interface requires that any context must be able to respond with its current state and have its state set The State class should be implemented by an enum: initially, state was represented by a State interface (defined in ...
public interface ProcessContext extends Serializable { /** * answer with the current summary state of the processing context */ Object getState(); /** * Set the summary state of the processing context * * @param state to be set */ void setState(Object state); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Context {\n\n\tvoid goNext();\n\tvoid setState(State state);\n\tvoid execute();\n\tState getCurrent();\n}", "public interface State {\r\n\r\n}", "public Context() {\n\t\tstates = new ObjectStack<>();\n\t}", "public interface State {\n public void handle();\n}", "public void setStateCont...
[ "0.75091594", "0.65854794", "0.6455468", "0.6291899", "0.6259163", "0.6211984", "0.6119296", "0.60671127", "0.6021623", "0.59642994", "0.5952176", "0.59468085", "0.59436", "0.5937861", "0.59330595", "0.5930547", "0.5899578", "0.5899578", "0.5881158", "0.5880594", "0.58404285"...
0.7363148
1
answer with the current summary state of the processing context
Object getState();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String summarize(Context context) {\n\t\treturn \"FINISHED\";\n\t\t\n//\t\treturn String.format(\"Normal:\\n%s\\n\" +\n//\t\t\t\t\"========================================\\n\" +\n//\t\t\t\t\"Modified:\\n%s\", machine1.formatedResume(), machine2.formatedResume());\n\t}", "public interface Pro...
[ "0.6459391", "0.6414123", "0.58968693", "0.58492494", "0.5844108", "0.58303565", "0.5815513", "0.57624066", "0.5742569", "0.57406616", "0.57406616", "0.57195294", "0.57151735", "0.57067066", "0.56293386", "0.55680764", "0.5561998", "0.55345446", "0.55258465", "0.55090773", "0...
0.0
-1
Set the summary state of the processing context
void setState(Object state);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IParser setSummaryMode(boolean theSummaryMode);", "public void setSummary(boolean summary) {\n\n this.summary = summary;\n }", "public void setSummary(java.lang.Boolean summary) {\n this.summary = summary;\n }", "public interface ProcessContext extends Serializable {\r\n /**\r\n * ...
[ "0.6675371", "0.6513427", "0.6351155", "0.6252851", "0.60585004", "0.6041114", "0.6004411", "0.5957856", "0.5919477", "0.5916167", "0.5777951", "0.5777951", "0.5777951", "0.5777951", "0.5777951", "0.5777951", "0.57457733", "0.5669632", "0.56360734", "0.55678356", "0.55464524"...
0.0
-1
(P) SQL Building /subsystem
public void addWithVarName_expressionSqlTo(String varName, StringBuffer sqlStringB) { sqlStringB.append(varName+"."+tableColumnName+" "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected String buildSQL(BatchSQLEnum sql);", "public void makeSql() {\n\t\tfor(int i=0; i<arr_sql.length; i++) {\n\t\t\tarr_sql[i] = new StringBuffer();\n\t\t}\n\t\t\n\t\t/*\n\t\t * 공통코드 쿼리\n\t\t * 대리점구분 : CU006\n\t\t * 직판구분 : CU012\n\t\t * 지역 : SY006\n\t\t * 계약상태 : CU013\n\t\t * 사용유무 : SY011\n\t\t * ...
[ "0.7000276", "0.65922964", "0.5880321", "0.58310336", "0.58163166", "0.5814936", "0.58096385", "0.57902646", "0.5783418", "0.5763924", "0.5761189", "0.57220316", "0.57021874", "0.56754833", "0.5675396", "0.5670422", "0.56416094", "0.56364965", "0.5633505", "0.5629255", "0.562...
0.0
-1
Maps a trap source address to another. For use in testing when generating synthetic notifications.
public interface ITrapSourceMapper { /** * Map address string. * * @param sourceAddress the source address * @return the alternative address to use as the source addresses for a trap. */ String mapAddress(final String sourceAddress); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NetworkMapKey(NetworkMapKey source) {\n this._pid = source._pid;\n }", "public void resolveAddress(){\n for(int i = 0; i < byteCodeList.size(); i++){\n if(byteCodeList.get(i) instanceof LabelCode){\n LabelCode code = (LabelCode)byteCodeList.get(i);\n ...
[ "0.5396876", "0.53881305", "0.5373511", "0.53646135", "0.52500546", "0.5141424", "0.51176965", "0.5105252", "0.5047866", "0.5038214", "0.50201744", "0.49594337", "0.49221015", "0.49127218", "0.48612952", "0.48160294", "0.48146483", "0.48041004", "0.4790177", "0.47802013", "0....
0.7644372
0
private boolean gpscheck = false;
@Override public void onMapReady(GoogleMap googleMap) { Toast.makeText(this, "Map is Ready", Toast.LENGTH_SHORT).show(); Log.d(TAG, "onMapReady: map is ready"); mMap = googleMap; SharedPreferences settings = getSharedPreferences("home_settings", 0); boolean darkModeUi_value =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean checkForGourds() {return false;}", "boolean hasGcj02();", "private void checkEnabled() {\n }", "public void checkGame() {\n\n\t}", "public void setGeneratedCheck(){\n generatedCheck = !generatedCheck;\n }", "public void setG(boolean g) {\n\tthis.g = g;\n }", "public boole...
[ "0.6537208", "0.6498608", "0.6349748", "0.61412156", "0.6024306", "0.60194373", "0.5999017", "0.5962689", "0.5898607", "0.5849426", "0.58227164", "0.5809981", "0.58052063", "0.5804298", "0.57955414", "0.57955414", "0.5771095", "0.5770716", "0.57439625", "0.5742231", "0.573959...
0.0
-1
TODO: Get info about the selected place.
@Override public void onPlaceSelected(Place place) { String name = place.getName(); double lat, lng; lat = 0; lng = 0; if (place.getLatLng() != null) { lat = place.getLatLng().latitude; ln...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onPlaceSelected(Place place) {\n\n place_str[0] = place.getName() + \",\" + place.getId();\n }", "@Override\n public void onPlaceSelected(Place place) {\n Log.i(TAG, \"Place: \" + place.getName());\n ...
[ "0.725571", "0.72139186", "0.681286", "0.6702738", "0.66960216", "0.66725266", "0.66453224", "0.6641749", "0.6571894", "0.6571894", "0.6571894", "0.6571894", "0.6561336", "0.65450954", "0.65072256", "0.64512444", "0.64171594", "0.6416995", "0.6415682", "0.6409782", "0.6388433...
0.6183559
34
TODO: Handle the error.
@Override public void onError(Status status) { Log.i(TAG, "An error occurred: " + status); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\t\t\t\tpublic void error(Exception e) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}", "@Override\n public void onCancelled(CancelledException arg0) {\n }", "@Override\n public void onCancelled(CancelledException arg0) {\n }", ...
[ "0.63224906", "0.61626136", "0.61626136", "0.60148054", "0.59152246", "0.5893916", "0.5741819", "0.5695745", "0.5669071", "0.5669071", "0.56610006", "0.5558003", "0.5545547", "0.5537558", "0.5537558", "0.5537558", "0.5537558", "0.5537558", "0.55324614", "0.5529344", "0.551007...
0.0
-1
double lon = location.getLongitude(); double lat = location.getLatitude();
@Override public void onLocationUpdated(Location location) { fromPosition = new LatLng(location.getLatitude(), location.getLongitude()); btn1.setVisibility(View.VISIBLE); moveCamer...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getLatitude();", "double getLatitude();", "Double getLatitude();", "Double getLatitude();", "@Override\n public void onLocationChanged(Location location) {\n lat=location.getLatitude();\n Log.e(\"MyLat\",Double.toString(lat));\n lng=location.getLongitude();\n Log.e(\"Myl...
[ "0.7986683", "0.7975049", "0.7825653", "0.7825653", "0.76690507", "0.7651812", "0.75484365", "0.7547896", "0.7537247", "0.7385212", "0.73532706", "0.73351765", "0.7329772", "0.732107", "0.73151654", "0.7314166", "0.72868127", "0.72536075", "0.7241923", "0.7241923", "0.7234283...
0.0
-1
$ANTLR start "entryRuleModel" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:68:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ;
public final EObject entryRuleModel() throws RecognitionException { EObject current = null; EObject iv_ruleModel = null; try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:69:2: (iv_ruleModel= ruleModel EOF ) // ../de.hs...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleModel() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleModel = null;\n\n\n try {\n // ../org.xtext.example.helloscoping/src-gen/org/xtext/example/helloscoping/parser/antlr/internal/InternalHelloScoping.g:68:2: (iv_ruleModel= ...
[ "0.8271408", "0.81496", "0.79505646", "0.7939391", "0.78109014", "0.76375955", "0.74234575", "0.7394915", "0.73868763", "0.7186354", "0.70490986", "0.696558", "0.6932051", "0.6830364", "0.6733435", "0.6517137", "0.63603216", "0.6359785", "0.62976515", "0.6252164", "0.62416327...
0.8114872
2
$ANTLR end "entryRuleModel" $ANTLR start "ruleModel" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:77:1: ruleModel returns [EObject current=null] : ( (lv_models_0_0= rulePackageDeclaration ) )+ ;
public final EObject ruleModel() throws RecognitionException { EObject current = null; EObject lv_models_0_0 = null; enterRule(); try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:80:28: ( ( (lv_models_0_0= r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleModel() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleModel = null;\n\n\n try {\n // ../org.xtext.example.helloscoping/src-gen/org/xtext/example/helloscoping/parser/antlr/internal/InternalHelloScoping.g:68:2: (iv_ruleModel= ...
[ "0.7720425", "0.7678124", "0.7643415", "0.7550971", "0.75113606", "0.7475672", "0.74277014", "0.74088883", "0.73155177", "0.7146934", "0.6998297", "0.6984721", "0.6922126", "0.6914824", "0.68763036", "0.6339719", "0.63388276", "0.62434435", "0.6188972", "0.61115265", "0.61069...
0.7955344
0
$ANTLR end "ruleModel" $ANTLR start "entryRulePackageDeclaration" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:107:1: entryRulePackageDeclaration returns [EObject current=null] : iv_rulePackageDeclaration= rulePackageDeclaration EOF ;
public final EObject entryRulePackageDeclaration() throws RecognitionException { EObject current = null; EObject iv_rulePackageDeclaration = null; try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:108:2: (iv_rulePackageDeclaration=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "RuleModelPackage getRuleModelPackage();", "public final EObject entryRuleDataPackage() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleDataPackage = null;\n\n\n try {\n // InternalNgt.g:1201:52: (iv_ruleDataPackage= ruleDataPackage EOF )\n // ...
[ "0.66318005", "0.6153851", "0.6085604", "0.6049071", "0.59707373", "0.59697944", "0.5929345", "0.59147936", "0.58143777", "0.57024074", "0.5685174", "0.56570596", "0.5627451", "0.5620316", "0.55377394", "0.54944944", "0.54449964", "0.5439507", "0.53937036", "0.5382159", "0.53...
0.759827
0
$ANTLR end "rulePackageDeclaration" $ANTLR start "entryRuleModelElement" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:176:1: entryRuleModelElement returns [EObject current=null] : iv_ruleModelElement= ruleModelElement EOF ;
public final EObject entryRuleModelElement() throws RecognitionException { EObject current = null; EObject iv_ruleModelElement = null; try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:177:2: (iv_ruleModelElement= ruleModelElement ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRulePackageDeclaration() throws RecognitionException {\n EObject current = null;\n\n EObject iv_rulePackageDeclaration = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:108:2: (iv_rulePackage...
[ "0.7147976", "0.6534524", "0.6492253", "0.6434379", "0.6112026", "0.6016888", "0.5986256", "0.59659356", "0.5940258", "0.5920504", "0.5897095", "0.5848242", "0.5741901", "0.5728013", "0.5704061", "0.5694808", "0.5678362", "0.5603132", "0.55871195", "0.5564925", "0.5535557", ...
0.66350687
1
$ANTLR end "entryRuleModelElement" $ANTLR start "ruleModelElement" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:185:1: ruleModelElement returns [EObject current=null] : (this_PackageDeclaration_0= rulePackageDeclaration | this_Import_1= ruleImport | this_StructureDeclaration...
public final EObject ruleModelElement() throws RecognitionException { EObject current = null; EObject this_PackageDeclaration_0 = null; EObject this_Import_1 = null; EObject this_StructureDeclaration_2 = null; EObject this_StreamDeclaration_3 = null; EObject this_Var...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleModelElement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleModelElement = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:177:2: (iv_ruleModelElement= ruleM...
[ "0.7576046", "0.720001", "0.6979698", "0.6849382", "0.6690998", "0.66659516", "0.6641168", "0.6549576", "0.6429133", "0.6352172", "0.62657106", "0.6140072", "0.6086625", "0.59889525", "0.5982097", "0.5909047", "0.585716", "0.5806492", "0.5804215", "0.5523623", "0.5517831", ...
0.7096057
2
$ANTLR end "ruleModelElement" $ANTLR start "entryRuleImport" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:286:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
public final EObject entryRuleImport() throws RecognitionException { EObject current = null; EObject iv_ruleImport = null; try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:287:2: (iv_ruleImport= ruleImport EOF ) // ../...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleImport() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleImport = null;\n\n\n try {\n // InternalMappingDsl.g:1797:47: (iv_ruleImport= ruleImport EOF )\n // InternalMappingDsl.g:1798:2: iv_ruleImport= ruleImport EOF...
[ "0.7767887", "0.7682138", "0.6959471", "0.6884485", "0.66360307", "0.66168445", "0.6591677", "0.65887344", "0.6565541", "0.65497893", "0.6449166", "0.62276155", "0.6193842", "0.61593366", "0.6090758", "0.60455805", "0.6028187", "0.59882885", "0.5985027", "0.5967059", "0.59348...
0.77201813
1
$ANTLR end "entryRuleImport" $ANTLR start "ruleImport" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:295:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) ;
public final EObject ruleImport() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_importURI_1_0=null; enterRule(); try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject ruleImport() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_0=null;\n Token lv_importURI_1_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalMyDsl.g:140:2: ( (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_IMPORT_URI ) )...
[ "0.85485196", "0.8260805", "0.78208", "0.77182996", "0.7716154", "0.76613545", "0.75924087", "0.7242363", "0.716031", "0.7133828", "0.70175546", "0.7017477", "0.6786596", "0.6666776", "0.66138834", "0.6608797", "0.6495535", "0.64523315", "0.64376324", "0.64295363", "0.6289216...
0.8627955
0
$ANTLR end "ruleImport" $ANTLR start "entryRuleStreamStatement" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:329:1: entryRuleStreamStatement returns [EObject current=null] : iv_ruleStreamStatement= ruleStreamStatement EOF ;
public final EObject entryRuleStreamStatement() throws RecognitionException { EObject current = null; EObject iv_ruleStreamStatement = null; try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:330:2: (iv_ruleStreamStatement= ruleStre...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleStreamDeclaration() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStreamDeclaration = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:3638:2: (iv_ruleStreamDe...
[ "0.6655668", "0.6267903", "0.61698896", "0.60498005", "0.60333127", "0.5971059", "0.59633654", "0.5938359", "0.5882259", "0.5852169", "0.5747631", "0.5719392", "0.57099944", "0.56010467", "0.5597088", "0.5493072", "0.5448483", "0.54274464", "0.53520876", "0.5249631", "0.52090...
0.6661866
0
$ANTLR end "entryRuleStreamStatement" $ANTLR start "ruleStreamStatement" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:338:1: ruleStreamStatement returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= ',' ( (otherlv_2= RULE_ID ) ) ) otherlv_3= '=' ( ( (lv_op...
public final EObject ruleStreamStatement() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; Token otherlv_3=null; Token otherlv_6=null; EObject lv_operator_4_0 = null; EObject lv_expr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleStreamStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStreamStatement = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:330:2: (iv_ruleStreamStateme...
[ "0.7379086", "0.69148755", "0.65625817", "0.63400126", "0.6288722", "0.6204847", "0.59177184", "0.5907339", "0.59010977", "0.58693093", "0.57787013", "0.56975645", "0.55654025", "0.55066043", "0.5482093", "0.54637784", "0.53266096", "0.5269338", "0.51646805", "0.5114069", "0....
0.74858063
0
$ANTLR end "ruleStreamStatement" $ANTLR start "entryRuleStreamAccess" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:427:1: entryRuleStreamAccess returns [EObject current=null] : iv_ruleStreamAccess= ruleStreamAccess EOF ;
public final EObject entryRuleStreamAccess() throws RecognitionException { EObject current = null; EObject iv_ruleStreamAccess = null; try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:428:2: (iv_ruleStreamAccess= ruleStreamAccess ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleStreamStatement() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStreamStatement = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:330:2: (iv_ruleStreamStateme...
[ "0.7478803", "0.7208417", "0.65882486", "0.64853287", "0.6191808", "0.59459686", "0.5776428", "0.57358146", "0.5663903", "0.5519053", "0.54960144", "0.54772407", "0.5444796", "0.5275434", "0.5272351", "0.5230587", "0.51833117", "0.5166099", "0.5019827", "0.50093216", "0.49368...
0.7810232
0
$ANTLR end "entryRuleStreamAccess" $ANTLR start "ruleStreamAccess" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:436:1: ruleStreamAccess returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) ) ;
public final EObject ruleStreamAccess() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; Token otherlv_2=null; enterRule(); try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleStreamAccess() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStreamAccess = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:428:2: (iv_ruleStreamAccess= ruleS...
[ "0.77420986", "0.62565124", "0.62404186", "0.5992725", "0.59661686", "0.5886553", "0.5818829", "0.5667607", "0.5516256", "0.5470591", "0.5172436", "0.51225823", "0.501023", "0.49630564", "0.4887147", "0.4840059", "0.47974774", "0.4616187", "0.46009997", "0.45789102", "0.45273...
0.7531249
1
$ANTLR end "ruleStreamAccess" $ANTLR start "entryRuleStreamDefinition" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:480:1: entryRuleStreamDefinition returns [EObject current=null] : iv_ruleStreamDefinition= ruleStreamDefinition EOF ;
public final EObject entryRuleStreamDefinition() throws RecognitionException { EObject current = null; EObject iv_ruleStreamDefinition = null; try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:481:2: (iv_ruleStreamDefinition= ruleS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleStreamAccess() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStreamAccess = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:428:2: (iv_ruleStreamAccess= ruleS...
[ "0.7951253", "0.7751127", "0.7399939", "0.6850683", "0.5909201", "0.5847178", "0.5580285", "0.5572001", "0.5320393", "0.527671", "0.5188436", "0.5177048", "0.5088951", "0.50685877", "0.5067873", "0.50555694", "0.50496733", "0.49927053", "0.4991137", "0.49901816", "0.49765363"...
0.7886961
1
$ANTLR end "entryRuleStreamDefinition" $ANTLR start "ruleStreamDefinition" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:489:1: ruleStreamDefinition returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' ) ;
public final EObject ruleStreamDefinition() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_name_1_0=null; Token otherlv_2=null; enterRule(); try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/p...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject entryRuleStreamDefinition() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleStreamDefinition = null;\n\n\n try {\n // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:481:2: (iv_ruleStreamDefin...
[ "0.778531", "0.74789894", "0.7158277", "0.6577472", "0.622287", "0.6031268", "0.58844525", "0.58686686", "0.58000547", "0.57987255", "0.5545218", "0.5496199", "0.5164423", "0.51561844", "0.51473224", "0.5146647", "0.5092344", "0.5044893", "0.50278676", "0.49528503", "0.495000...
0.7233374
2
$ANTLR end "ruleStreamDefinition" $ANTLR start "entryRuleJoinOperator" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:536:1: entryRuleJoinOperator returns [EObject current=null] : iv_ruleJoinOperator= ruleJoinOperator EOF ;
public final EObject entryRuleJoinOperator() throws RecognitionException { EObject current = null; EObject iv_ruleJoinOperator = null; try { // ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:537:2: (iv_ruleJoinOperator= ruleJoinOperator ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final EObject ruleJoinOperator() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_0=null;\n Token otherlv_1=null;\n Token otherlv_3=null;\n Token otherlv_5=null;\n Token otherlv_7=null;\n EObject lv_parameters_2_0 = null;\n\n E...
[ "0.6524325", "0.64590335", "0.6198286", "0.5547003", "0.5432633", "0.5352098", "0.5343158", "0.5224906", "0.52190375", "0.5187234", "0.51844096", "0.5045313", "0.5031671", "0.4979244", "0.48855814", "0.48697016", "0.4828638", "0.48249066", "0.48242137", "0.4781974", "0.473513...
0.7311226
0