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
All Comparables are consumers so they use "? super E".
public static <E extends Comparable<? super E>> Optional<E> max(Set<? extends E> s1) { E res = null; for(E val : s1) { if(res == null || val.compareTo(res) > 0) { res = val; } } return Optional.ofNullable(res); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Comparator<? super E> comparator() {\n return comparator;\n }", "@Override\r\n\tpublic int compareTo(E o) {\n\t\treturn 0;\r\n\t}", "public Comparator<? super K> comparator() {\n/* 102 */ return null;\n/* */ }", "default EqualityComparator<? super E> getComparato...
[ "0.75075024", "0.6612479", "0.6584201", "0.6321572", "0.6270726", "0.6196822", "0.6186965", "0.60941297", "0.60266495", "0.5973707", "0.5961552", "0.5884546", "0.5852873", "0.5780457", "0.56893814", "0.56893814", "0.56893814", "0.56443816", "0.56186783", "0.5586414", "0.55864...
0.0
-1
All Comparator are consumers so they use "? super E".
public static <E> Optional<E> max(Set<? extends E> s1, Comparator<? super E> comparator) { E res = null; for(E val : s1) { if(res == null || comparator.compare(val, res) > 0) { res = val; } } return Optional.ofNullable(res); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Comparator<? super E> comparator() {\n return comparator;\n }", "public Comparator<? super K> comparator() {\n/* 102 */ return null;\n/* */ }", "protected abstract Comparator<T> getFallbackComparator();", "Comparator<? super K> comparator();", "public Comparato...
[ "0.81026787", "0.73516273", "0.717643", "0.69725853", "0.6923746", "0.6588181", "0.6513258", "0.6409375", "0.6330941", "0.6316713", "0.6282006", "0.61892295", "0.6141495", "0.59984237", "0.59867036", "0.5941538", "0.5938415", "0.58971924", "0.5860373", "0.56748635", "0.561126...
0.0
-1
Note: not thread safe Format: TXN_ID_TAG REGEX txnId TXN_STATUS_TAG REGEX txnStatus TXN_READ_TAG REGEX readKey1 TXN_READ_TAG REGEX readKey2 ... TXN_WRITE_TAG REGEX writeKey1 TXN_VAL_TAG REGEX writeVal1 TXN_WRITE_TAG REGEX writeKey2 TXN_VAL_TAG REGEX writeVal2 ...
public String createLogInfo() { String res = TXN_ID_TAG + REGEX + this.txnId + "\n" + TXN_STATUS_TAG + REGEX + this.txnStatus + "\n"; if (this.readKeyList != null && this.readKeyList.length != 0) { for (String readKey : this.readKeyList) { res += TXN_READ_TAG + REGEX + readKey + "\n"; } } if (this.writeKeyList != null && this.writeKeyList.length != 0) { for (int i = 0; i < this.writeKeyList.length; i++) { res += TXN_WRITE_TAG + REGEX + this.writeKeyList[i] + "\n"; res += TXN_VAL_TAG + REGEX + this.writeValList[i] + "\n"; } } return res; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String args[]) throws IOException {\n BufferedReader br = new BufferedReader(new FileReader(\"sample.txt\"));\n String st;\n /*Created LinkedHashMaps for transactions and locks for keeping the records of both*/\n HashMap<String, HashMap<String, Object>> transacti...
[ "0.601963", "0.52055895", "0.51795524", "0.50439155", "0.5000845", "0.49922657", "0.49137777", "0.49037424", "0.484345", "0.48078132", "0.47956473", "0.47872764", "0.47707012", "0.47697645", "0.4764559", "0.4750625", "0.4746316", "0.47301686", "0.47276923", "0.47269177", "0.4...
0.5245045
1
transponiert alle Noten der Melodie um den gleichen Wert nach oben oder nach unten. Besteht die Melodie beispielsweise aus den Noten do mi re, so lauten diese nach Aufruf der Methode mit steps=3 fa la sol. Dabei liegt ein zyklischer Abschluss vor: Die sieben Noten lauten do re mi fa sol la si. Auf die letzte Note si folgt wieder do.
public void transpose(int steps) { for ( Note n : this.alMelodie ) n.transpose(steps); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void reorganizeNote() {\n note = Position.orderList(note);\n }", "@SuppressWarnings(\"unused\")\n private void transformLateralShift() {\n if (steps.size() < 3) {\n return;\n }\n final int index = steps.size() - 3;\n final MoveStep step1 = getStep(index)...
[ "0.5535927", "0.54389805", "0.5354038", "0.53496134", "0.529563", "0.52367854", "0.5156596", "0.50574654", "0.5035836", "0.50333434", "0.50252855", "0.5004484", "0.500324", "0.49972305", "0.49795237", "0.49783596", "0.49697226", "0.49595478", "0.49530268", "0.49340475", "0.49...
0.57887983
0
Tests whether the given attribute key is prefixed with cloudEvents:
@Override protected boolean isCloudEventsHeader(final String key) { final int prefixLength = AmqpConstants.CE_PREFIX.length(); return key.length() > prefixLength && key.startsWith(AmqpConstants.CE_PREFIX); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean containsEventMetadata(\n long key);", "boolean containsAttributes(java.lang.String key);", "private boolean hasAttributeKey(String xryLine) {\n int attributeKeyIndex = xryLine.indexOf(KEY_VALUE_DELIMITER);\n //No key structure found.\n if (attributeKeyIndex == -1) {\n ...
[ "0.5967758", "0.5944677", "0.59266955", "0.57655853", "0.56464136", "0.5575386", "0.5486498", "0.54864925", "0.5473708", "0.5461783", "0.5452691", "0.54431194", "0.54431194", "0.54080355", "0.5407885", "0.5401281", "0.53890604", "0.53537256", "0.5341325", "0.53398246", "0.530...
0.73236674
0
Gets the cloud event attribute key without the preceding prefix.
@Override protected String toCloudEventsKey(final String key) { return key.substring(AmqpConstants.CE_PREFIX.length()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getAttributeKey() {\r\n return localAttributeKey;\r\n }", "@Override\n public String getLocalKey() {\n if (prefixComponentIndex < prefix.size())\n return prefix.get(prefixComponentIndex);\n else\n return null;\n }", "public Str...
[ "0.6660618", "0.61949944", "0.61619663", "0.61494255", "0.61093235", "0.6105877", "0.60549104", "0.60524637", "0.6050591", "0.6043891", "0.5940909", "0.59153324", "0.59153324", "0.59153324", "0.59153324", "0.59153324", "0.59153324", "0.59153324", "0.59153324", "0.59153324", "...
0.5884396
29
Gets the cloud event representation of the value. This method simply returns the string representation of the type of value passed as argument.
@Override protected String toCloudEventsValue(final Object value) { return value.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String eventTypeToString(EventType e) {\n return TypeToString.eventTypeToString(e);\n }", "@Override\n\tpublic String toString() {\n\t\treturn String.format(\"%s:%s\", type, value);\n\t}", "public String Get_event_value() \n {\n\n return event_value;\n }", "String event_type ...
[ "0.6420531", "0.63271284", "0.63108873", "0.6229091", "0.62189853", "0.62043124", "0.61292976", "0.6091028", "0.6090568", "0.60387486", "0.60039085", "0.5977238", "0.5977238", "0.5962963", "0.5936594", "0.5914975", "0.59113765", "0.5910731", "0.5900779", "0.5875379", "0.58571...
0.7943292
0
featureName, functionName, attr1Name, attr1Type, attr2Name, attr2Type
private static void printFeature(CSVPrinter featurePrinter, Feature feature) throws IOException { featurePrinter.print(feature.getName()); featurePrinter.print(feature.getFunction().getName()); featurePrinter.print(feature.getAttribute1().getName()); featurePrinter.print(feature.getAttribute1().getType().name()); featurePrinter.print(feature.getAttribute2().getName()); featurePrinter.print(feature.getAttribute2().getType().name()); featurePrinter.println(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface FeatureFunction {\n double value(Vector vector, MultiLabel multiLabel);\n}", "Feature createFeature();", "void addFeature(Feature feature);", "String getFeature();", "String getFeature();", "void addFeatures(Features features);", "public void addFeatures(IFeature feature);", "publ...
[ "0.63267225", "0.6258612", "0.61648124", "0.6053372", "0.6053372", "0.601715", "0.5982246", "0.5951456", "0.5934064", "0.5929774", "0.5916234", "0.5905654", "0.590022", "0.5898788", "0.58710617", "0.58168465", "0.5800189", "0.5800189", "0.57748264", "0.57748264", "0.5753109",...
0.517658
67
save the feature in place if it exists else add the feature
public static void saveFeature(Feature feature, String allFeaturesFilePath, Project project) throws IOException { FileReader r = new FileReader(allFeaturesFilePath); CSVParser parser = new CSVParser(r); List<CSVRecord> records = parser.getRecords(); r.close(); List<Feature> features = new ArrayList<Feature>(); int size = records.size(); boolean found = false; for(int i = 1; i < size; i++){ CSVRecord rec = records.get(i); String featureName = rec.get(0).trim(); if(featureName.equals(feature.getName())) { features.add(feature); found = true; } else { String functionName = rec.get(1).trim(); String attr1Name = rec.get(2).trim(); String attr1Type = rec.get(3).trim(); String attr2Name = rec.get(4).trim(); String attr2Type = rec.get(5).trim(); String projectName = project.getName(); Function function = project.findFunctionByName(functionName); Attribute attribute1 = new Attribute(attr1Name, Attribute.Type.valueOf(attr1Type)); Attribute attribute2 = new Attribute(attr2Name, Attribute.Type.valueOf(attr2Type)); Feature f = new Feature(featureName, function, projectName, attribute1, attribute2); features.add(f); } } if(!found) { features.add(feature); } // save all the features saveAllFeatures(features, allFeaturesFilePath); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addFeature(Feature feature);", "void addFeature(int index, Feature feature);", "public void saveFeatureMetadata();", "void addFeatures(Features features);", "public void addFeatures(IFeature feature);", "org.landxml.schema.landXML11.FeatureDocument.Feature addNewFeature();", "org.landxml.schema.la...
[ "0.7243415", "0.67149776", "0.66393393", "0.6480117", "0.64646983", "0.64394915", "0.64394915", "0.6432944", "0.64222616", "0.64222616", "0.6393348", "0.6346035", "0.6304745", "0.6304745", "0.6220323", "0.6164471", "0.6155154", "0.6145851", "0.6145545", "0.60838896", "0.59407...
0.63297874
12
rewrite the all.features file
private static void saveAllFeatures(List<Feature> features, String allFeaturesFilePath) throws IOException { BufferedWriter bw = new BufferedWriter(new FileWriter(allFeaturesFilePath)); CSVPrinter featurePrinter = new CSVPrinter(bw, CSVFormat.DEFAULT.toBuilder().withRecordSeparator("\n").build()); printHeader(featurePrinter); for(Feature feature : features) { printFeature(featurePrinter, feature); } featurePrinter.close(); bw.close(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void saveFeature(Feature feature, String allFeaturesFilePath, Project project) throws IOException {\n\t\t\n\t\tFileReader r = new FileReader(allFeaturesFilePath);\n\t\tCSVParser parser = new CSVParser(r);\n\t\tList<CSVRecord> records = parser.getRecords();\n\t\tr.close();\n\n\t\tList<Feature> feature...
[ "0.5890244", "0.5755947", "0.57041776", "0.5682587", "0.5536273", "0.5534995", "0.5534995", "0.54235005", "0.5299511", "0.52634543", "0.52352995", "0.5228332", "0.5209525", "0.5208198", "0.51768476", "0.5163388", "0.5163388", "0.51522946", "0.5131296", "0.51238096", "0.507877...
0.63335246
0
delete the feature in place if it exists
public static void deleteFeature(Feature feature, String allFeaturesFilePath, Project project) throws IOException { FileReader r = new FileReader(allFeaturesFilePath); CSVParser parser = new CSVParser(r); List<CSVRecord> records = parser.getRecords(); r.close(); List<Feature> features = new ArrayList<Feature>(); int size = records.size(); for(int i = 1; i < size; i++){ CSVRecord rec = records.get(i); String featureName = rec.get(0).trim(); if (!featureName.equals(feature.getName())) { String functionName = rec.get(1).trim(); String attr1Name = rec.get(2).trim(); String attr1Type = rec.get(3).trim(); String attr2Name = rec.get(4).trim(); String attr2Type = rec.get(5).trim(); String projectName = project.getName(); Function function = project.findFunctionByName(functionName); Attribute attribute1 = new Attribute(attr1Name, Attribute.Type.valueOf(attr1Type)); Attribute attribute2 = new Attribute(attr2Name, Attribute.Type.valueOf(attr2Type)); Feature f = new Feature(featureName, function, projectName, attribute1, attribute2); features.add(f); } } // save all the features saveAllFeatures(features, allFeaturesFilePath); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean removeFeature(Feature feature);", "void deleteFeature(Integer id);", "Feature removeFeature(int index);", "Feature delete(Long featureId);", "private void deleteFeature(final SimpleFeature feature ) {\n\n\n try {\n //Deletes only if the target is equal to the layer to clip\n ...
[ "0.7876776", "0.78114146", "0.7749287", "0.7726436", "0.7306555", "0.7269479", "0.7269479", "0.71656156", "0.7126635", "0.6926209", "0.6880787", "0.6833733", "0.6827211", "0.68047154", "0.67506224", "0.67506224", "0.67180943", "0.6718042", "0.6718016", "0.6703842", "0.6699182...
0.6498674
23
Even if there are more than one segment only get the first as there should only ever be one
private void triggerContain(Event event, List<OdiSegment> leftSegments, List<OdiSegment> rightSegments, OdiSegment operatorSegment) { OdiSegment rightSegment = rightSegments.get(0); Entity rightEntity = null; List<String> rightScopes = rightSegment.getScopes(); String rightFirstScope = rightScopes.get(1); if(rightFirstScope.equals(OdiSegment.eventScope)) { if(rightScopes.get(2).equals(OdiSegment.target)) rightEntity = event.getTarget(); else if(rightScopes.get(2).equals(OdiSegment.secondaryTarget)) rightEntity = event.getSecondaryTarget(); } else if(rightFirstScope.equals(OdiSegment.entitiesScope)) { rightEntity = entityRepository.getEntity(rightScopes.get(2), rightSegment.getValue()); } if(rightEntity != null) { // Same as the right segment above OdiSegment leftSegment = leftSegments.get(0); List<String> leftScopes = leftSegment.getScopes(); String firstLeftScope = leftScopes.get(0); String operator = operatorSegment.getValue(); if(firstLeftScope.equals(OdiSegment.worldScope)) { String sectionName = leftScopes.get(2); Section section = null; if(sectionName.equals("current")) section = event.getSection(); else if(worldRepository.getSections().containsKey(sectionName)) section = worldRepository.getSection(sectionName); if(section != null) { if(operator.equals("++")) section.addEntity(rightEntity); else if(operator.equals("--")) section.removeEntity(rightEntity.getName()); } } else if(firstLeftScope.equals(OdiSegment.playerScope)) { if(operator.equals("++")) playerRepository.addToInventory(rightEntity); else if(operator.equals("--")) playerRepository.removeFromInventory(rightEntity.getName()); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Segment GetFirstSegment() { return cs1; }", "int getSegment();", "public Segment getSegment(int index) {\n return null;\n }", "int getStartSegment();", "private Segment getSegment(int addr, boolean get) throws ProgramException {\n Set<Segment> found = memory.get(addr);\n if (...
[ "0.7882112", "0.68175983", "0.6527817", "0.6513267", "0.6308855", "0.62560034", "0.62433064", "0.6164662", "0.6095967", "0.60936135", "0.6008991", "0.59585446", "0.5902357", "0.5837793", "0.57969606", "0.57791907", "0.577033", "0.5766653", "0.5656905", "0.56439835", "0.563681...
0.0
-1
Creates an instance of LogProfileProperties class.
public LogProfileProperties() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Properties getProfileProperties();", "public TestProperties() {\n\t\tthis.testProperties = new Properties();\n\t}", "public static ParkingProfile init(String pathToParkingProfilePropertiesFile) throws Exception {\n if(\"Check for multiprofile enabled in propetties file\") {\n ...
[ "0.5780971", "0.57276565", "0.5585642", "0.5561661", "0.5547458", "0.54911786", "0.5421242", "0.54167753", "0.53930384", "0.53857213", "0.53270596", "0.5325961", "0.5307093", "0.5282313", "0.52171934", "0.5189046", "0.5153249", "0.5107754", "0.50962716", "0.5087976", "0.50739...
0.8080258
0
Get the storageAccountId property: the resource id of the storage account to which you would like to send the Activity Log.
public String storageAccountId() { return this.storageAccountId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String targetBootDiagnosticsStorageAccountId() {\n return this.targetBootDiagnosticsStorageAccountId;\n }", "public String storageAccount() {\n return this.storageAccount;\n }", "java.lang.String getAccountId();", "java.lang.String getAccountId();", "java.lang.String getAccountId...
[ "0.6704123", "0.65981984", "0.65092003", "0.65092003", "0.65092003", "0.6487785", "0.64840376", "0.6385436", "0.6385436", "0.6348962", "0.63446206", "0.6340071", "0.63275605", "0.63275605", "0.6326916", "0.62635535", "0.62635535", "0.62508106", "0.62508106", "0.6238067", "0.6...
0.78185225
0
Set the storageAccountId property: the resource id of the storage account to which you would like to send the Activity Log.
public LogProfileProperties withStorageAccountId(String storageAccountId) { this.storageAccountId = storageAccountId; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAccountId(UUID accountId) {\n this.accountId = accountId;\n }", "public void setAccountId(String accountId) {\n this.accountId = accountId;\n }", "public void setAccountId(int accountId) {\n this.accountId = accountId;\n }", "public String storageAccountId() {\n return...
[ "0.61251193", "0.5856865", "0.58336395", "0.5827094", "0.57419616", "0.57419616", "0.5740892", "0.57292163", "0.56533635", "0.5631635", "0.5610325", "0.55875045", "0.5577747", "0.55236447", "0.53455645", "0.53360736", "0.5299672", "0.5299672", "0.5296646", "0.51825434", "0.51...
0.56844264
8
Get the locations property: List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.
public List<String> locations() { return this.locations; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String[] getAllLocations() {\n // STUB: Return the list of source names\n return null;\n }", "public java.util.List<phaseI.Hdfs.DataNodeLocation> getLocationsList() {\n if (locationsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(locations_);\n } else {\n ...
[ "0.70500785", "0.69925493", "0.68413323", "0.6766834", "0.6760878", "0.6754115", "0.67414963", "0.6686978", "0.6657955", "0.6631398", "0.6614895", "0.66123384", "0.6579819", "0.65188193", "0.63446665", "0.6290389", "0.627132", "0.62674844", "0.626738", "0.62449205", "0.620715...
0.7240482
0
Set the locations property: List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.
public LogProfileProperties withLocations(List<String> locations) { this.locations = locations; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setLocations(Resource[] locations) {\n\t\tthis.locations = locations;\n\t}", "public void setLocations(Resource[] locations) {\n this._locations = locations;\n }", "@Experimental\n void setRemoteLocations(@ParamName(\"locations\") List<RemoteLocation> locations);", "public abstract voi...
[ "0.72531277", "0.7218498", "0.64849645", "0.60547256", "0.59631824", "0.5926869", "0.5880436", "0.58798605", "0.570888", "0.56948686", "0.56527954", "0.56115687", "0.55851114", "0.55835927", "0.5532554", "0.5529674", "0.5496004", "0.5492789", "0.5486306", "0.54855365", "0.546...
0.6570663
2
Get the categories property: the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'.
public List<String> categories() { return this.categories; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCategories() {\n return getProperty(Property.CATEGORIES);\n }", "public LinkedHashMap<String, String> getCategories() {\r\n\t\treturn this.categories;\r\n\t}", "@NonNull\n public static List<Category> getCategories() {\n if (CATEGORY == null) {\n CATEGORY = new ArrayLi...
[ "0.71884006", "0.67184085", "0.6704692", "0.665573", "0.6651228", "0.6637834", "0.6548605", "0.6489846", "0.64344525", "0.63842416", "0.63751185", "0.63300896", "0.62517715", "0.61937994", "0.61890984", "0.61468285", "0.6123174", "0.605166", "0.6042604", "0.60396487", "0.6039...
0.6912813
1
Set the categories property: the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'.
public LogProfileProperties withCategories(List<String> categories) { this.categories = categories; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n @IcalProperty(pindex = PropertyInfoIndex.CATEGORIES,\n adderName = \"category\",\n jname = \"categories\",\n eventProperty = true,\n todoProperty = true,\n journalProperty = true)\n public void setCategories(final Set<BwCatego...
[ "0.69448704", "0.6811609", "0.6276309", "0.5789858", "0.57636297", "0.5697111", "0.55978286", "0.55073607", "0.5495604", "0.5487818", "0.5464826", "0.544557", "0.54358196", "0.5419448", "0.5367885", "0.53442705", "0.5335981", "0.53146845", "0.5285302", "0.52852297", "0.528101...
0.5778086
4
Get the retentionPolicy property: the retention policy for the events in the log.
public RetentionPolicy retentionPolicy() { return this.retentionPolicy; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRetentionPolicy(String retentionPolicy) {\n this.retentionPolicy = retentionPolicy;\n }", "public Logging withRetentionPolicy(RetentionPolicy retentionPolicy) {\n this.retentionPolicy = retentionPolicy;\n return this;\n }", "public Integer getRetentionPeriod()\n {\n...
[ "0.6784265", "0.64095503", "0.62494063", "0.6103169", "0.5976599", "0.57846457", "0.5747327", "0.5705041", "0.5264008", "0.5237239", "0.5230135", "0.5179732", "0.5133536", "0.513353", "0.5109219", "0.506292", "0.50101656", "0.50101054", "0.4964306", "0.49605566", "0.49448016"...
0.7488449
1
Set the retentionPolicy property: the retention policy for the events in the log.
public LogProfileProperties withRetentionPolicy(RetentionPolicy retentionPolicy) { this.retentionPolicy = retentionPolicy; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRetentionPolicy(String retentionPolicy) {\n this.retentionPolicy = retentionPolicy;\n }", "public Logging withRetentionPolicy(RetentionPolicy retentionPolicy) {\n this.retentionPolicy = retentionPolicy;\n return this;\n }", "public void setRetentionPeriod(int value)\n ...
[ "0.7868706", "0.7018165", "0.60169995", "0.5585916", "0.5585916", "0.5216442", "0.5094447", "0.5024421", "0.50122005", "0.49854094", "0.49819547", "0.49547166", "0.49491844", "0.49335817", "0.4922947", "0.48910743", "0.4807187", "0.47596776", "0.47508082", "0.46918163", "0.46...
0.60312784
2
Parse the Expressions with the RuntimeEnvironement
public void setup(RunTimeEnvironment rt)throws ScriptMsgException{ if(this.hasAttributeValue(ATTR_TIMING)) timingIsAbsolute = (getAttributeValue(ATTR_TIMING).equals("abs"))? true: false; else timingIsAbsolute = true; parse(super.content); if(debugMode) Debug.verbose("QueScript - NodeFactory", "que("+parentNode.getQueName()+") "+new String(new char[getLevel()]).replace('\0', '_')+" created keys Comnd"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ExpressionVisitor(RuntimeEnv environment) {\r\n this.environment = environment;\r\n }", "public void parseExpression() {\n String regex = \"[ ]\";\n //\"?<=[-+*/()ep])|(?=[-+*/()ei]\";\n String[] splitString = infix.split(regex);\n infixList.addAll(Arrays.asList(splitString)...
[ "0.57837355", "0.5716674", "0.5713027", "0.56319493", "0.55758595", "0.557069", "0.54849833", "0.54015404", "0.53850055", "0.53728235", "0.53450996", "0.5297113", "0.5267068", "0.52569455", "0.5244753", "0.52412164", "0.52288264", "0.521921", "0.52174556", "0.5207591", "0.520...
0.0
-1
get the relative key times. if the key times are set in absolute values, they are converted into relative key times.
public double[] getKeyTimes(long _duration){ if(timingIsAbsolute){ double[] ret = new double[relKeyTimes.length]; for(int i = 1; i < (ret.length - 1); i++){ ret[i] = relKeyTimes[i] / _duration; } ret[0] = relKeyTimes[0]; ret[ret.length - 1] = relKeyTimes[ret.length - 1]; return ret; } return relKeyTimes; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private TreeSet<Float> getKeyTimes() {\n TreeSet<Float> ret = new TreeSet<>();\n for (XmlNode animation : library_animations.getChildren(\"animation\")) {\n if (animation.getChild(\"animation\") != null) {\n animation = animation.getChild(\"animation\");\n }\n ...
[ "0.5775631", "0.5693436", "0.55240726", "0.542278", "0.5323234", "0.5150874", "0.5083482", "0.50235814", "0.50001353", "0.4993451", "0.4990649", "0.4982708", "0.4942717", "0.4938043", "0.49022484", "0.48684406", "0.484757", "0.48034826", "0.47763002", "0.4769006", "0.4766995"...
0.70693904
0
parse the values and stores them
private void parse(String _content){ String[] segmts = _content.split("\\s+"); relKeyTimes = new double[segmts.length + 2]; for(int i = 0; i < segmts.length; i++){ try{ if(timingIsAbsolute){ relKeyTimes[i + 1] = (float)(new CMsgTime(segmts[i])).getTotalMillis(); } else { relKeyTimes[i + 1] = Float.parseFloat(segmts[i]); } } catch (NumberFormatException e){; } catch (ScriptMsgException e){;} } // make sure the last keyTime is a perfect 1.0: relKeyTimes[0] = 0.0f; relKeyTimes[relKeyTimes.length - 1] = 1.0f; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void parseValues() {\n final Element table = this.doc.select(\"table\").get(0);\n final Elements rows = table.select(\"tr\");\n for (int ind = 1; ind < rows.size(); ind += 1) {\n String label = rows.get(ind).select(\"td\").get(0).select(\"code\").get(0).text();\n ...
[ "0.6874023", "0.6868655", "0.64130294", "0.6208848", "0.6014694", "0.5891352", "0.58076334", "0.57216585", "0.5695518", "0.56940764", "0.5642465", "0.5629598", "0.5609456", "0.5603366", "0.55719984", "0.5562605", "0.55278695", "0.5523766", "0.5523687", "0.55066156", "0.549002...
0.52183586
44
Service interface for Docker Engine related operations.
public interface DockerEngineService { /** * Returns a list of the existing containers. * * @return list of existing containers as {@link ContainerModel} objects, wrapped as {@link Mono} */ Mono<List<Container>> getExistingContainers(); /** * Returns detailed information about the specified containers as streaming data. * Flux streams returning from multiple containers are merged as a single stream. * * @param containerIDList list of container ID strings as provided by Docker * @return detailed information about the containers as {@link ContainerDetailsModel} wrapped as {@link Flux} */ Flux<ContainerDetails> getContainerDetails(List<String> containerIDList); /** * Returns statistics about the specified containers as streaming data. * Flux streams returning from multiple containers are merged as a single stream. * * @param containerIDList container ID strings as provided by Docker * @return statistics about the container as {@link ContainerRuntimeStatsModel} wrapped as {@link Flux} */ Flux<ContainerStats> getContainerStatistics(List<String> containerIDList); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Kernel start(int port)\n {\n Kernel app = Kernel.newInstance();\n Container container = app.getContainer();\n\n // Forms\n container.add(new ServiceDefinition<>(AnnualReviewType.class));\n container.add(new ServiceDefinition<>(UserType.class));\n\n // Mana...
[ "0.60918945", "0.5811388", "0.57298565", "0.57091504", "0.5630217", "0.5630217", "0.5630217", "0.562104", "0.56130666", "0.5533139", "0.5531504", "0.5499116", "0.54523706", "0.54503405", "0.54251546", "0.54208606", "0.54006594", "0.53926903", "0.5333877", "0.5332472", "0.5318...
0.68275535
0
The number of cards chosen from the table determines what is done
public static void humanMove(CuarentaGame game, Card playedCard, ArrayList<Card> chosenCards){ switch(chosenCards.size()){ case 0: noCardsChosen(game, playedCard); System.out.println("No cards found"); break; case 1: oneCardChosen(game, playedCard, chosenCards.get(0)); System.out.println("One card found"); break; default: generalAction(game, playedCard, chosenCards); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getNumCards();", "public int getNumCards()\r\n {\r\n return numCards;\r\n }", "public int numOfCards() {\n return cards.size();\n }", "public int getNumCards() {\n return this.numCards;\n }", "public int getNumberOfCards()\n\t{\n\t\treturn numCards;\n\t}", "public int getNumberOfC...
[ "0.73339224", "0.7064558", "0.6889568", "0.6845268", "0.6814817", "0.6728574", "0.6647301", "0.66364187", "0.6628359", "0.647041", "0.64531904", "0.6428382", "0.6416003", "0.6394484", "0.6389403", "0.6375495", "0.6363887", "0.62318206", "0.6228448", "0.6221358", "0.62169516",...
0.0
-1
If the chosen card has a rank of 3, 4, 5, 6, or 7 it can 'added' up to
private static boolean containsAddivelySameNumber(Card card, ArrayList<Card> list){ if(card.getRank().getValue()<3 || card.getRank().getValue()>7){ for(int i=0; i<list.size(); i++){ for(int j=i; j<list.size(); j++){ if(list.get(i).getRank().getValue()+list.get(j).getRank().getValue() == card.getRank().getValue()) return true; } } return false; } else return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tboolean isValid(){\n\t\tif(size()==5) {\n\t\t\tint suite = getCard(0).suit;\n\t\t\tfor(int i = 1 ; i< size(); i++) {\n\t\t\t\tif(getCard(i).suit != suite) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tsort();\n\t\t\tint currRank = (getCard(0).rank +11)%13;\n\t\t\tfor(int i=0; i<size();...
[ "0.71254706", "0.65811646", "0.6560994", "0.6540481", "0.6526303", "0.6475853", "0.646701", "0.6424434", "0.6418701", "0.6418326", "0.6404011", "0.6386606", "0.63773686", "0.6366489", "0.6330345", "0.62996286", "0.6286657", "0.6247114", "0.6231246", "0.62293357", "0.6216242",...
0.64226395
8
/ NOTE: The following contains some thoughts on how a round should be coded, it is not yet complete
public void playRound(CuarentaGame game){ Player human = game.getHumanPlayer(); Player computer = game.getComputerPlayer(); Player activePlayer; for(int i=0; i<10; i++){ // For now, human player starts always. This isn't quite intended, but not important right now if(i%2==0) activePlayer = human; else activePlayer = computer; // choose a card to play // choose next actions // add points accordingly // check win condition } human.addPoints(calculatePointsFromDiscardPile(game.getHumanPlayer())); computer.addPoints(calculatePointsFromDiscardPile(game.getComputerPlayer())); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getRound()\r\n\t{\r\n\t\treturn this.round;\r\n\t}", "public static long kRounding(){\n\t\tScanner kbd = new Scanner(System.in); //see fairgame\n\t\tint input = kbd.nextInt();\n\t\tint Nput = input;\n\t\tint rounding = kbd.nextInt();\n\n\t\tint div2 = 0;\n\t\tint div5 = 0;\n\n\t\twhile (input % 2 == 0...
[ "0.6701186", "0.6555147", "0.6543505", "0.6409962", "0.63945895", "0.63902164", "0.6377294", "0.61906403", "0.61567014", "0.61549747", "0.61353374", "0.6110278", "0.606895", "0.606374", "0.60293394", "0.602109", "0.5999496", "0.5984158", "0.5941409", "0.5929794", "0.5920193",...
0.0
-1
All outgoing messages are put in a queue.
public void put(long na, Message appMsg) { // Better than having to create map object for every message... outgoingAddressBuffer.add(na); outgoingMessageBuffer.add(appMsg.serialize()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private synchronized void flushMessageQueue() {\n\t\tif(peers.size() > 0) {\n\t\t\twhile(!noPeersMessageQueue.isEmpty()) {\n\t\t\t\tpropagateToAllPeers(noPeersMessageQueue.poll());\n\t\t\t}\n\t\t}\n\t}", "public void writeMessages () {\n try {\n ByteBuffer frame;\n while ((frame = _o...
[ "0.68076587", "0.66716236", "0.65339184", "0.65086305", "0.6464855", "0.63668567", "0.63364893", "0.6308251", "0.62708706", "0.6219864", "0.62074214", "0.6205874", "0.617826", "0.61310625", "0.61070615", "0.6011575", "0.5997202", "0.5940055", "0.5934591", "0.5897946", "0.5890...
0.0
-1
This thread picks up a message from the queue and processes it
public void run() { try { while (!abort) { long dest = outgoingAddressBuffer.take(); byte[] msg = outgoingMessageBuffer.take(); if (dest == 0) // Break signal { Log.d(TAG, "Dest is 0"); break; } while (rm.isDiscovering()) { Thread.sleep(1000); // sleep while it is discovering } if (!dl.sendPacket(dest, msg)) { // Returns false if the route // is broken // FIXME: Same thread goes back and removes the destination. // un cool Log.d(TAG, "A route is down - remove the entry "); rm.BroadcastRouteDown(dest); } } } catch (InterruptedException e) { Log .e( TAG, "Error in PacketHandlerOut - no outgoing messages will be sent!", e); } Log.d(TAG, "PacketHandlerOut aborting"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void run() {\n\t\tString line = null;\n\t\tMessage message;\n\t\tBufferQueueElement<Message> messageList = new BufferQueueElement<Message>();\n\t\tlong t1 = System.nanoTime();\n\t long t2 = 0;\n\t\ttry {\n\t\t\twhile ((line = messageIO.readMessage()) != null) {\n\t\t\t\tt2 = System.nanoTime();\n\t\t\t\t/...
[ "0.71671057", "0.7121475", "0.6976647", "0.67578036", "0.6721035", "0.6606733", "0.6581826", "0.6580705", "0.6505998", "0.648625", "0.64533556", "0.6413352", "0.64098024", "0.63655907", "0.6365335", "0.62452245", "0.6227163", "0.62117445", "0.6184111", "0.6163624", "0.6162283...
0.0
-1
todo: check if exists
public Appointment addAppointment(Appointment appointment) { return appointmentRepository.save(appointment); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void exist() {\n\t\t\n\t}", "@Override\r\n\tpublic boolean isExist() {\n\t\treturn false;\r\n\t}", "public abstract boolean doesExist();", "@Override\r\n\tpublic boolean exists() {\n\t\treturn false;\r\n\t}", "@Override\n\tpublic boolean exists() {\n\t\treturn false;\n\t}", "public ab...
[ "0.72057676", "0.6870053", "0.67516345", "0.6744181", "0.6710996", "0.669488", "0.64863217", "0.6429784", "0.6422631", "0.630227", "0.630227", "0.6298145", "0.62817603", "0.6262123", "0.62522197", "0.62506855", "0.624881", "0.6244594", "0.62265587", "0.62265587", "0.6216565",...
0.0
-1
Returns true if there exists a subsequence of array `A` with the given sum
public static boolean subsetSum(int[] A, int sum) { int n = A.length; // `T[i][j]` stores true if subset with sum `j` can be attained // using items up to first `i` items boolean[][] T = new boolean[n + 1][sum + 1]; // if the sum is zero for (int i = 0; i <= n; i++) { T[i][0] = true; } // do for i'th item for (int i = 1; i <= n; i++) { // consider all sum from 1 to sum for (int j = 1; j <= sum; j++) { // don't include the i'th element if `j-A[i-1]` is negative if (A[i - 1] > j) { T[i][j] = T[i - 1][j]; } else { // find the subset with sum `j` by excluding or including // the i'th item T[i][j] = T[i - 1][j] || T[i - 1][j - A[i - 1]]; } } } // return maximum value return T[n][sum]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static boolean find3Numbers(int A[], int arr_size, int sum) {\n\t\t// Fix the first element as A[i] \n\t\tfor (int i = 0; i < arr_size - 2; i++) {\n\t\t\t// Find pair in subarray A[i+1..n-1] \n\t\t\t// with sum equal to sum - A[i] \n\t\t\tHashSet<Integer> s = new HashSet<Integer>();\n\t\t\tint curr_sum = sum - A[i...
[ "0.73496306", "0.7297065", "0.7164601", "0.7116648", "0.7097549", "0.69075644", "0.6818925", "0.67253256", "0.66102374", "0.6575393", "0.6521407", "0.6500475", "0.6477559", "0.6469071", "0.64505124", "0.6424172", "0.6402291", "0.6388113", "0.63766474", "0.630725", "0.62912524...
0.74480665
0
Input: a set of items and a sum
public static void main(String[] args) { int[] A = {7, 3, 2, 5, 8}; int sum = 18; if (subsetSum(A, sum)) { System.out.println("Subsequence with the given sum exists"); } else { System.out.println("Subsequence with the given sum does not exist"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer sumNumbers(List<Integer> numbers) throws Exception;", "public int addItem(Itemset i);", "static int calculateTotalOf(Set<Fruit> basket) {\n\t\tint totalPrice = 0;\n\t\tint Qty = 0;\n\t\tfor (Fruit fruit : basket) {\n\t\t\tQty = getQuantityOf(fruit);\n\t\t\tQty = Qty <= 0 ? 1 : Qty;\n\t\t\ttotalP...
[ "0.62105644", "0.60722333", "0.6059607", "0.59542984", "0.5935131", "0.5930839", "0.5802606", "0.5774655", "0.5709909", "0.56854177", "0.56854177", "0.5663457", "0.56157875", "0.5587315", "0.55819416", "0.5573765", "0.55630475", "0.5551348", "0.5522715", "0.5508139", "0.55052...
0.0
-1
out.println("\nSrc>Dst Argument:"); printStats(out, srcDstPredicateMap, 5); out.println("\nDst>Src Argument:"); printStats(out, dstSrcPredicateMap, 5); out.println("\nSrc>Dst Argument:"); printStats(out, srcDstArgTypeMap, 5); out.println("\nDst>Src Argument:"); printStats(out, dstSrcArgTypeMap, 5);
public void printStats(PrintStream out) { out.println("\np(a_e|P_c,P_e,a_c):"); printProb(out, srcDstPredicateArgMap, 10, 0.05f); out.println("\np(a_c|P_e,P_c,a_e):"); printProb(out, dstSrcPredicateArgMap, 10, 0.05f); //printMatrix(out, srcDstArgTypeMap, dstSrcArgTypeMap); //out.printf("one-to-one: %d, total: %d, %f\n", oneToOne, total, oneToOne*1.0/total); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void printStats();", "public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {\n synchronized (mLock) {\n pw.println(\"RTT Metrics:\");\n pw.println(\"mNumStartRangingCalls:\" + mNumStartRangingCalls);\n pw.println(\"mOverallStatusHistogram:\" + mOverallStatusH...
[ "0.6035747", "0.56930774", "0.56125474", "0.5558445", "0.55172247", "0.5473506", "0.5464474", "0.5428772", "0.5410713", "0.5379687", "0.53711134", "0.5333703", "0.53259254", "0.52823144", "0.52812165", "0.5264185", "0.5258185", "0.5256008", "0.52495944", "0.52489865", "0.5248...
0.7213993
0
1. Launch a new web browser 2. Open 3. Get Page Title name and Title length 4. Print Page Title and Title length on the Eclipse Console 5. Get Page URL and verify if the it is a correct page opened 6. Get Page Source (HTML Source code) and Page Source length 7. Print Page Length on Eclipse Console 8. Close the browser 1. tacka
public static void main(String[] args) { WebDriver driver = new ChromeDriver(); try { // System.setProperty("webdriver.chrome.driver", "../../chromedriver"); // 2. tacka String url = "http://newtours.demoaut.com/"; driver.get(url); // 3.tacka String title = driver.getTitle(); int titlelength = title.length(); // 4. tacka System.out.println("Title is: " + title); System.out.println("Title length is: " + titlelength); // 5.tacka String actualUrl = driver.getCurrentUrl(); if (actualUrl.equals(url)) { System.out.println("Correct page is opened"); } else { System.out.println("Incorrect page is opened"); System.out.println("Actual url is: " + actualUrl); System.out.println("Expected url is: " + url); } // 6. tacka String pageSource = driver.getPageSource(); int pageSourceLength = pageSource.length(); // 7.tacka System.out.println("Page Source length is: " + pageSourceLength); } catch (Exception ex) { } finally { // 8.tacka driver.quit(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public static void main() {\n myTitle = driver.getTitle();\n myTitleLength = driver.getTitle().length();\n \n // 4) Print Page Title and Title length on the Eclipse Console.\n System.out.println(myTitle);\n System.out.println(\"The Character Length of the Title ...
[ "0.7766592", "0.65220493", "0.60531545", "0.60439754", "0.5981285", "0.5916336", "0.5885273", "0.5854157", "0.5827214", "0.57940644", "0.57472557", "0.5725512", "0.5703969", "0.5695732", "0.56785846", "0.56652176", "0.56398535", "0.55865294", "0.55635065", "0.55600077", "0.55...
0.6355666
2
Checks if is pop up opened.
boolean isPopUpOpened();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected boolean hasModalWindow() {\n return false;\n }", "boolean isOpened();", "public boolean isOpened() {\n return false;\n }", "public boolean isCustomPopupState(){\n boolean isPopupState = false;\n\n if(CustomCanvas.isNotificationGoto>-1){\n isPopupState = ...
[ "0.7099865", "0.6957073", "0.6909105", "0.6842415", "0.6836554", "0.68201643", "0.66293633", "0.6612763", "0.65243113", "0.64769655", "0.6476411", "0.64179397", "0.6375162", "0.6364953", "0.63483137", "0.6338241", "0.6332176", "0.6325629", "0.6320711", "0.6293356", "0.6288942...
0.8844624
0
Sets the point change.
void setPointChange(Integer setPoint, Integer expectedValue);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSetpoint(double setpoint);", "public void setPoint(double point){\r\n this.point = point;\r\n }", "public void setPoint(double value) {\r\n this.point = value;\r\n }", "public abstract void setPoint(Point p);", "public void set(Point p)\r\n\t{\r\n\t\tx = p.x;\r\n\t\ty = p...
[ "0.71750134", "0.69842595", "0.68085736", "0.67949367", "0.6615728", "0.65752834", "0.64249456", "0.6422289", "0.6411716", "0.64089096", "0.6294726", "0.6283925", "0.6273939", "0.62730044", "0.62706405", "0.62643516", "0.6200343", "0.6177846", "0.61654073", "0.6146116", "0.61...
0.7699401
0
Check and update boundary.
void checkAndUpdateBoundary(Integer requiredChange);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void updateBoundary() {\n //pos = _newPos ;\n heading = myRoute.getCurrentHeading() ;\n //System.out.println(\"heading=\"+heading);\n Point vertex = new Point(0,0) ;\n vertex.x = length/2 ;\n vertex.y = width/2 ;\n boundary[0] = transform(vertex) ;\n ...
[ "0.6861303", "0.6701635", "0.64136654", "0.63282293", "0.61893743", "0.61853904", "0.6178545", "0.6104534", "0.6100084", "0.60070103", "0.6001274", "0.59681064", "0.59633696", "0.5940783", "0.5935555", "0.5931968", "0.59244925", "0.5919592", "0.5912256", "0.59006333", "0.5882...
0.731001
0
Gets the e eapi.
String getEEapi(String url, Map<String, String> params, int expectedStatus);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic EapmUtilsApi getEapmUtilsApi() {\r\n\t\treturn this;\r\n\t}", "public ExpoEAO getExpoEAO()\n {\n return expoEAO;\n }", "@SuppressWarnings(\"unused\")\n public abstract T getApi();", "public synchronized static Everbie getEverbie(){\n \t\tif (!Everbie.exists()){\n \t\t\teverb...
[ "0.7213697", "0.61764413", "0.5985494", "0.5982731", "0.5811184", "0.57835823", "0.57835823", "0.5774579", "0.5771747", "0.5761506", "0.5708359", "0.56816256", "0.56704193", "0.5652595", "0.5632176", "0.56099945", "0.56040066", "0.5580073", "0.55796903", "0.5575186", "0.55741...
0.5679797
12
verify either schedule message is display in thermostat control page.
boolean displayScheduleMessage();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void verifyScheduled() {\n\t\tselectDatePublishingCal(futureDate);\n\t\twait.until(\n\t\t ExpectedConditions\n\t\t\t.numberOfElementsToBeMoreThan(By.xpath(\"//span[.='\"+scheduledMessage+\"']\"), 0));\n\t\tList<WebElement> scheduledTweets=driver.findElements(By.xpath(\"//span[.='\"+scheduledMessage+\"']\"...
[ "0.6739473", "0.6320749", "0.59413356", "0.5931698", "0.58887917", "0.58887917", "0.5803646", "0.5795352", "0.5757062", "0.57284844", "0.56890994", "0.56611073", "0.5649288", "0.55541337", "0.5549694", "0.5540505", "0.5525656", "0.55142426", "0.54905355", "0.54791147", "0.545...
0.71298
0
Verify the color of Cool or heat label.
boolean labelColor(String mode);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected String comprobarColor(Colores color){\r\n if(getColor() == Colores.AZUL | getColor() == Colores.BLANCO | getColor() == Colores.GRIS | getColor() == Colores.NEGRO\r\n | getColor() == Colores.ROJO){\r\n return \"Color correcto\";\r\n }\r\n else{\r\n ...
[ "0.65392476", "0.6534855", "0.65297854", "0.6527398", "0.640316", "0.63842267", "0.6364692", "0.6205806", "0.61757445", "0.61511415", "0.613338", "0.60215896", "0.59971917", "0.5975157", "0.59714717", "0.59423906", "0.5929573", "0.5918954", "0.59126997", "0.5910618", "0.59027...
0.7235142
0
verify color of separator line in cool or heat value.
boolean separatorLine(String mode);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void lineColor() {\n\n\t}", "public Color getLineColor();", "public int getLineColor() { return mLineColor; }", "public Color getLineColor()\n {\n return lineacolore;\n }", "@Test\n public void test56() throws Throwable {\n CombinedRangeCategoryPlot combinedRangeCategoryPlot0 =...
[ "0.6597793", "0.6365529", "0.62438774", "0.6199097", "0.6030659", "0.5963742", "0.5863378", "0.5792608", "0.5788007", "0.57472086", "0.5744765", "0.5661125", "0.5626351", "0.55627286", "0.55141383", "0.5511253", "0.54724467", "0.5444924", "0.54258865", "0.5424737", "0.5413675...
0.0
-1
Verify modes were enable in thermostat control popup.
void verifyModesEnable(String mode);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasMode();", "private void openModeOptions2X() {\n if (mDevice.hasObject(By.res(UI_PACKAGE_NAME, \"mode_options_buttons\"))) {\n return;\n }\n // Before openning the mode option, close the menu if the menu is open\n closeMenu();\n waitForVideoShutterEnabled()...
[ "0.64810723", "0.61305517", "0.59847444", "0.593697", "0.58312833", "0.5668442", "0.56098706", "0.5580155", "0.5564981", "0.55101377", "0.54992664", "0.5480811", "0.5459903", "0.54193074", "0.5414189", "0.5409705", "0.5409273", "0.5395018", "0.53818536", "0.53047734", "0.5299...
0.74920326
0
Created by vitaliy on 25.05.17.
public interface GitApi { @GET("users/mvvOrigin/repos") Observable<ResponseBody> getUserRepositories(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\...
[ "0.5850848", "0.57828486", "0.56889933", "0.5652311", "0.5645705", "0.5608183", "0.5608183", "0.5584148", "0.5579271", "0.5564947", "0.55372804", "0.55255044", "0.55220187", "0.5509613", "0.5477517", "0.54504883", "0.54504883", "0.54504883", "0.54504883", "0.54504883", "0.543...
0.0
-1
Creates new form randomJPanel
public EditorPanel() throws Exception { initComponents(); //Gör Id kolumnem i min JTable osynlig men jag behöver id-numret sparat någonstans för att kunna referera till editors id-nummer när man tar //bort någon eller ändrar en editor. //Anledningen till att jag gör det osynligt för att jag tycker det är onödigt för en användare att få se den informationen. editorTable.getColumnModel().getColumn(0).setMinWidth(0); editorTable.getColumnModel().getColumn(0).setMaxWidth(0); //Sätter färgen på min Jtable JTableHeader headerSearch = editorTable.getTableHeader(); headerSearch.setBackground( new Color(190, 227, 219) ); headerSearch.setForeground( new Color(85, 91, 110) ); addComboBox(); addComboBoxTable(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NewJPanel() {\n initComponents();\n }", "public NewJPanel() {\n initComponents();\n }", "private void createManualJPanel() {\r\n createJPanelWithManual();\r\n JFrame frame = new JFrame();\r\n customizeFrame(frame);\r\n }", "public void crearP...
[ "0.69613004", "0.69613004", "0.6731264", "0.6592849", "0.6572714", "0.6347989", "0.6343969", "0.6337679", "0.62941045", "0.6231673", "0.6183802", "0.61581534", "0.6156472", "0.61347026", "0.6054213", "0.60412", "0.6022576", "0.59775937", "0.5951518", "0.5940801", "0.5927746",...
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() { editorSearchButton = new javax.swing.JButton(); jScrollPane1 = new javax.swing.JScrollPane(); editorTable = new javax.swing.JTable(); editorSearchField = new javax.swing.JTextField(); editorClearFields = new javax.swing.JButton(); editorEditList = new javax.swing.JButton(); editorPanelAddButton = new javax.swing.JButton(); showFullListButton = new javax.swing.JButton(); txtName = new javax.swing.JTextField(); txtContact = new javax.swing.JTextField(); txtInterestedIn = new javax.swing.JTextField(); txtPublisherName = new javax.swing.JTextField(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); jComboBoxAdd = new javax.swing.JComboBox<>(); setBackground(new java.awt.Color(190, 227, 219)); setPreferredSize(new java.awt.Dimension(714, 543)); editorSearchButton.setFont(new java.awt.Font("Verdana", 0, 13)); // NOI18N editorSearchButton.setText("Search"); editorSearchButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { editorSearchButtonActionPerformed(evt); } }); editorTable.setFont(new java.awt.Font("Verdana", 0, 13)); // NOI18N editorTable.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { }, new String [] { "", "Editor Name", "Editor Contact", "Editor Interested In", "Publisher Name" } )); editorTable.setRowHeight(40); editorTable.setSelectionForeground(new java.awt.Color(255, 102, 102)); jScrollPane1.setViewportView(editorTable); if (editorTable.getColumnModel().getColumnCount() > 0) { editorTable.getColumnModel().getColumn(1).setPreferredWidth(20); } editorSearchField.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent evt) { editorSearchFieldKeyPressed(evt); } }); editorClearFields.setFont(new java.awt.Font("Verdana", 0, 13)); // NOI18N editorClearFields.setText("Clear list"); editorClearFields.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { editorClearFieldsActionPerformed(evt); } }); editorEditList.setFont(new java.awt.Font("Verdana", 0, 13)); // NOI18N editorEditList.setText("Edit list"); editorEditList.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { editorEditListActionPerformed(evt); } }); editorPanelAddButton.setFont(new java.awt.Font("Verdana", 0, 13)); // NOI18N editorPanelAddButton.setText("Add to list"); editorPanelAddButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { editorPanelAddButtonActionPerformed(evt); } }); showFullListButton.setFont(new java.awt.Font("Verdana", 0, 13)); // NOI18N showFullListButton.setText("Show full list"); showFullListButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { showFullListButtonActionPerformed(evt); } }); txtPublisherName.setText("New Publisher"); txtPublisherName.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { txtPublisherNameActionPerformed(evt); } }); jLabel1.setFont(new java.awt.Font("Verdana", 0, 13)); // NOI18N jLabel1.setText("Editor Name:"); jLabel2.setFont(new java.awt.Font("Verdana", 0, 13)); // NOI18N jLabel2.setText("Editor Contact:"); jLabel3.setFont(new java.awt.Font("Verdana", 0, 13)); // NOI18N jLabel3.setText("Editor Interested In:"); jLabel4.setFont(new java.awt.Font("Verdana", 0, 13)); // NOI18N jLabel4.setText("Publisher Name:"); jLabel5.setFont(new java.awt.Font("Verdana", 0, 36)); // NOI18N jLabel5.setText("Editors"); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(12, 12, 12) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel4) .addComponent(jLabel2) .addComponent(jLabel1)) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(31, 31, 31) .addComponent(jComboBoxAdd, javax.swing.GroupLayout.PREFERRED_SIZE, 309, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(txtPublisherName, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) .addGroup(layout.createSequentialGroup() .addGap(37, 37, 37) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(txtName, javax.swing.GroupLayout.PREFERRED_SIZE, 146, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(layout.createSequentialGroup() .addComponent(txtContact, javax.swing.GroupLayout.PREFERRED_SIZE, 146, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(editorPanelAddButton, javax.swing.GroupLayout.PREFERRED_SIZE, 158, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(82, 82, 82)))))) .addGroup(layout.createSequentialGroup() .addComponent(jLabel3) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(txtInterestedIn, javax.swing.GroupLayout.PREFERRED_SIZE, 146, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel5) .addGroup(layout.createSequentialGroup() .addComponent(editorSearchField, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(editorSearchButton, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(showFullListButton, javax.swing.GroupLayout.PREFERRED_SIZE, 122, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(editorClearFields, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(editorEditList, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 683, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(0, 19, Short.MAX_VALUE)))) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(66, 66, 66) .addComponent(jLabel5) .addGap(49, 49, 49) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(editorSearchField) .addComponent(editorSearchButton) .addComponent(showFullListButton) .addComponent(editorClearFields) .addComponent(editorEditList)) .addGap(26, 26, 26) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 244, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(48, 48, 48) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(layout.createSequentialGroup() .addComponent(jLabel1) .addGap(18, 18, 18) .addComponent(jLabel2) .addGap(8, 8, 8) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent(txtInterestedIn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel4) .addComponent(jComboBoxAdd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(txtPublisherName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(10, 10, 10)) .addGroup(layout.createSequentialGroup() .addComponent(txtName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(txtContact, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(editorPanelAddButton, javax.swing.GroupLayout.PREFERRED_SIZE, 51, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(62, 62, 62)))) ); }
{ "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.73191476", "0.72906625", "0.72906625", "0.72906625", "0.72860986", "0.7248112", "0.7213479", "0.72078276", "0.7195841", "0.71899796", "0.71840525", "0.7158498", "0.71477973", "0.7092748", "0.70800966", "0.70558053", "0.69871384", "0.69773406", "0.69548076", "0.69533914", "...
0.0
-1
End of variables declaration//GENEND:variables
@SuppressWarnings("unchecked") private void addComboBox() throws Exception{ Connection con = Coagent.getConnection(); PreparedStatement query = con.prepareStatement("SELECT Publisher_Name FROM publishers;"); ResultSet result = query.executeQuery(); while(result.next()){ jComboBoxAdd.addItem(result.getString(1)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n pu...
[ "0.6359434", "0.6280371", "0.61868024", "0.6094568", "0.60925734", "0.6071678", "0.6052686", "0.60522056", "0.6003249", "0.59887564", "0.59705925", "0.59680873", "0.5967989", "0.5965816", "0.5962006", "0.5942372", "0.5909877", "0.5896588", "0.5891321", "0.5882983", "0.5881482...
0.0
-1
TODO Autogenerated method stub
@Override public Map<String, Object> selectPage(String whereSql, int currentPage, int pageSize) throws Exception { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
This method is for Filtering Institute list
public void selectInstitute(String school, String school_id) { common.waitFor(1000); selectSchoolTextField.click(); selectSchoolTextField.sendKeys(school); selectSchoolFromList(school_id); // 1st from dropdown clickNextButton.click(); // next button common.waitForElement(hideKeyboard); hideKeyboard.click(); common.waitForElement(checkLogin.loginPageText, 60); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected FilterResults performFiltering(CharSequence constraint) {\n List<EnquiryModel> filteredList = new ArrayList<>();\n\n if(constraint == null || constraint.length() == 0){\n //show all data\n filteredList.addAll(enquiryAll);\n ...
[ "0.6072407", "0.5854474", "0.5836132", "0.5814842", "0.57381445", "0.5709573", "0.5601259", "0.55570537", "0.5519235", "0.5453434", "0.5434272", "0.5428028", "0.5424131", "0.541354", "0.53720385", "0.5347643", "0.53277254", "0.5323824", "0.5313124", "0.5307694", "0.5288663", ...
0.0
-1
This method is for selecting Institute from the list
public void selectSchoolFromList(String schoolId) { common.waitForElement(selectSchoolTable, 60); shcoolIdList = selectSchoolTable.findElements(By.className("Cell")); WebElement selectedSchoolId = null; for (WebElement id : shcoolIdList) { WebElement staticText = id.findElement(By.className("StaticText")); if (staticText.getText().equals(schoolId)) { selectedSchoolId = id; break; } } selectedSchoolId.click(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getInstitute() {\n return institute;\n }", "public void setInstitute(String institute) {\n this.institute = institute;\n }", "List selectByExample(TResearchTeachExample example);", "public void selectVenue() {\n\t\t\r\n\t}", "private void hireInstructor(int index) {\n\t\tS...
[ "0.5577801", "0.5498566", "0.5367782", "0.5351886", "0.5351702", "0.53480506", "0.52909744", "0.5219442", "0.5214544", "0.52021444", "0.52010095", "0.5179275", "0.51653004", "0.5162375", "0.5156051", "0.5139893", "0.5095817", "0.50835633", "0.50772697", "0.50461066", "0.50005...
0.4785845
65
This method is for clicking back button to choose account from list
public void clickBackButton() { backButton.click(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleBackButton(ActionEvent event) throws IOException {\n showUserAccountPage(event);\n }", "@Override\r\n\tpublic void onBackPressed() {\n\t\tsuper.onBackPressed();\r\n\t\tif (cmd == ConstantTool.PAY_SUCCESS) {\r\n\t\t\tIntent intent = new Intent(OrderList.this, Homemenu.class);\r\n\t\t\tstartA...
[ "0.68444306", "0.6840972", "0.68364847", "0.6783924", "0.67798483", "0.6756274", "0.6655997", "0.66380364", "0.6618075", "0.6606986", "0.6586004", "0.65778965", "0.65690273", "0.6527653", "0.65164626", "0.6510961", "0.64623505", "0.6453672", "0.644478", "0.64212555", "0.64002...
0.64825255
16
TODO autogenerated by JUnit Helper.
public void test_type() throws Exception { assertNotNull(YahooAuctionService.class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "private void test() {\n\n\t}", "@Test\n public void matchCorrect() {\n }", "@Test\r\n public void elCerdoNoSePuedeAtender() {\n }", "@Test\n\tpublic void testTotalPuzzleGenerated() {\n\t}", "public void testGetInsDyn() {\n }", "@Test\n ...
[ "0.7146449", "0.6545277", "0.6495495", "0.6454115", "0.6442214", "0.64405274", "0.6428992", "0.64183205", "0.64071083", "0.6404801", "0.64026535", "0.6381404", "0.63808465", "0.63549465", "0.6350992", "0.6343862", "0.6330191", "0.63242733", "0.6303299", "0.6299538", "0.629173...
0.0
-1
TODO autogenerated by JUnit Helper.
public void test_instantiation() throws Exception { YahooAuctionService target = new YahooAuctionService(); assertNotNull(target); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "private void test() {\n\n\t}", "@Test\n public void matchCorrect() {\n }", "@Test\r\n public void elCerdoNoSePuedeAtender() {\n }", "@Test\n\tpublic void testTotalPuzzleGenerated() {\n\t}", "public void testGetInsDyn() {\n }", "@Test\n ...
[ "0.7146449", "0.6545277", "0.6495495", "0.6454115", "0.6442214", "0.64405274", "0.6428992", "0.64183205", "0.64071083", "0.6404801", "0.64026535", "0.6381404", "0.63808465", "0.63549465", "0.6350992", "0.6343862", "0.6330191", "0.63242733", "0.6303299", "0.6299538", "0.629173...
0.0
-1
TODO autogenerated by JUnit Helper.
public void test_extractKeyphrase_A$String() throws Exception { YahooAuctionService target = new YahooAuctionService(); String text = "せどり初心者は中古と新品ではどちらが向いているか?"; List<String> actual = target.extractKeyphrase(text); List<String> expected = null; assertEquals(expected, actual); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "private void test() {\n\n\t}", "@Test\n public void matchCorrect() {\n }", "@Test\r\n public void elCerdoNoSePuedeAtender() {\n }", "@Test\n\tpublic void testTotalPuzzleGenerated() {\n\t}", "public void testGetInsDyn() {\n }", "@Test\n ...
[ "0.7146449", "0.6545277", "0.6495495", "0.6454115", "0.6442214", "0.64405274", "0.6428992", "0.64183205", "0.64071083", "0.6404801", "0.64026535", "0.6381404", "0.63808465", "0.63549465", "0.6350992", "0.6343862", "0.6330191", "0.63242733", "0.6303299", "0.6299538", "0.629173...
0.0
-1
Interfejs dla DAO do atrybutow slownikowych.
public interface DictionaryDao<Type extends DictionaryProperty<Id>, Id extends Serializable> { /** * <!-- begin-UML-doc --> * Zwraca wszystkie mozliwe wartosci slownika. * <!-- end-UML-doc --> * @return * @generated "UML to Java (com.ibm.xtools.transform.uml2.java5.internal.UML2JavaTransform)" */ public List<Type> getAll(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private DAOOfferta() {\r\n\t\ttry {\r\n\t\t\tClass.forName(driverName);\r\n\r\n\t\t\tconn = getConnection(usr, pass);\r\n\r\n\t\t\tps = conn.prepareStatement(createQuery);\r\n\r\n\t\t\tps.executeUpdate();\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackT...
[ "0.6509103", "0.61729777", "0.61026454", "0.6093343", "0.6070243", "0.59829104", "0.59673196", "0.59471256", "0.5924627", "0.592323", "0.5913375", "0.5886998", "0.5872251", "0.58710015", "0.5862676", "0.58611935", "0.58570784", "0.5801661", "0.5793255", "0.5786155", "0.578309...
0.0
-1
Zwraca wszystkie mozliwe wartosci slownika.
public List<Type> getAll();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void faster() {\n myTimer.setDelay((int) (myTimer.getDelay() * SPEED_FACTOR));\n }", "private static void testLongLoop() {\n test(1000 * 1000 * 1000);\n //uncomment the following line to see the hand-written cache performance\n //testManual( 1000 * 1000 * 1000 );\n }", ...
[ "0.64598", "0.64437413", "0.64437413", "0.6277221", "0.6086934", "0.6027096", "0.59760404", "0.5974636", "0.58590525", "0.5854105", "0.5812496", "0.58051044", "0.5749908", "0.5740429", "0.56975806", "0.55848026", "0.5549385", "0.5516478", "0.5515872", "0.55119896", "0.5484140...
0.0
-1
Returns the transform for this group's coordinate system.
protected Matrix4 computeTransform() { return super.computeTransform(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AffineTransform getTransform()\r\n\t{\r\n\t\treturn _g2.getTransform();\r\n\t}", "public AffineTransform getTransform() {\n return new AffineTransform(transform);\n }", "public Transform getTransform () {\n\t\torg.jbox2d.common.Transform trans = body.getTransform();\n\t\ttransform.vals[Transfo...
[ "0.7761663", "0.7732615", "0.76240194", "0.7498465", "0.72931385", "0.72711295", "0.7107052", "0.7097545", "0.70484096", "0.69951624", "0.6880796", "0.6859318", "0.68496543", "0.6716421", "0.6614444", "0.65680134", "0.6556993", "0.6475021", "0.6400416", "0.63605464", "0.63556...
0.66170055
14
Called when actors are added to or removed from the group.
protected void childrenChanged() { proxyGroup.childrenChanged(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addActor(Actor actor) { ActorSet.addElement(actor); }", "void processActors(ArrayList<Actor> actors);", "@Override\n\t public void processActors(ArrayList<Actor> actors)\n\t {\n\t for (Actor a : actors)\n\t {\n\t if (a instanceof Flower){\n\t a.removeSel...
[ "0.63131934", "0.6176395", "0.6069928", "0.60325074", "0.60101396", "0.59720176", "0.5935897", "0.59194434", "0.58603877", "0.5859917", "0.58036965", "0.577653", "0.575405", "0.57205963", "0.5693338", "0.56816244", "0.5600298", "0.55466455", "0.5531131", "0.55282784", "0.5521...
0.0
-1
Returns an ordered list of child actors in this group.
public SnapshotArray<Actor> getChildren() { SnapshotArray<com.guidebee.game.engine.scene.Actor> internalActors = internalGroup.getChildren(); SnapshotArray<Actor> actors = null; if (internalActors != null) { actors = new SnapshotArray<Actor>(); for (com.guidebee.game.engine.scene.Actor actor : internalActors) { actors.add((Actor) actor.getUserObject()); } } return actors; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Actor> getActors() {\n System.out.println(\"LENGTH:\"+actors.size());\n return actors;\n }", "public Human[] getChildren() {\n return children;\n }", "ArrayList<Actor> getActors();", "public List<Actor> getAllActors() {\n\t\treturn actors.getAll();\n\t}", "@Override\r...
[ "0.70545506", "0.6725979", "0.66739416", "0.6639927", "0.655418", "0.65308934", "0.6265787", "0.6257428", "0.6227547", "0.6226869", "0.62078744", "0.6170907", "0.61609936", "0.6154139", "0.61525124", "0.6139771", "0.6132558", "0.6109426", "0.6072711", "0.60488003", "0.6008940...
0.76592237
0
Called when actors are added to or removed from the group.
protected void childrenChanged() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addActor(Actor actor) { ActorSet.addElement(actor); }", "void processActors(ArrayList<Actor> actors);", "@Override\n\t public void processActors(ArrayList<Actor> actors)\n\t {\n\t for (Actor a : actors)\n\t {\n\t if (a instanceof Flower){\n\t a.removeSel...
[ "0.63131934", "0.6176395", "0.6069928", "0.60325074", "0.60101396", "0.59720176", "0.5935897", "0.59194434", "0.58603877", "0.5859917", "0.58036965", "0.577653", "0.575405", "0.57205963", "0.5693338", "0.56816244", "0.5600298", "0.55466455", "0.5531131", "0.55282784", "0.5521...
0.0
-1
Returns the transform for this group's coordinate system.
protected Matrix4 computeTransform() { return internalGroup.computeTransform(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AffineTransform getTransform()\r\n\t{\r\n\t\treturn _g2.getTransform();\r\n\t}", "public AffineTransform getTransform() {\n return new AffineTransform(transform);\n }", "public Transform getTransform () {\n\t\torg.jbox2d.common.Transform trans = body.getTransform();\n\t\ttransform.vals[Transfo...
[ "0.7761663", "0.7732615", "0.76240194", "0.7498465", "0.72931385", "0.72711295", "0.7097545", "0.70484096", "0.69951624", "0.6880796", "0.6859318", "0.68496543", "0.6716421", "0.66170055", "0.6614444", "0.65680134", "0.6556993", "0.6475021", "0.6400416", "0.63605464", "0.6355...
0.7107052
6
Removes this actor from its parent, if it has a parent.
public boolean remove() { entity.setUserObject(null); internalGroup.setUserObject(null); EntityEngine entityEngine=getStage().entityEngine; entityEngine.removeEntity(entity); Stage stage=(Stage)entityEngine.getUserObject(); World world=stage.getWorld(); if(world!=null && body!=null){ stage.bodiesTobeDeleted.add(body); } return internalGroup.remove(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeFromParent() { if(_parent!=null) _parent.removeChild(this); }", "public void removeParent() {\r\n\t\tif (getParent() == null)\r\n\t\t\treturn;\r\n\r\n\t\tif (p.getLeft() == this)\r\n\t\t\tp.setLeft(null);\r\n\t\telse if (p.getRight() == this)\r\n\t\t\tp.setRight(null);\r\n\r\n\t\tthis.p = null...
[ "0.7360233", "0.7219476", "0.7104082", "0.67990386", "0.6627083", "0.6472787", "0.63690495", "0.61678606", "0.61188036", "0.58254004", "0.58005637", "0.57644033", "0.57566756", "0.5719639", "0.5501945", "0.5482691", "0.5471089", "0.54596984", "0.5434724", "0.54327786", "0.537...
0.0
-1
Adds an actor as a child of this group. The actor is first removed from its parent group, if any.
public void addActor(Actor actor) { internalGroup.addActor(actor.internalActor); actor.setParent(this); actor.setStage(getStage()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void addActor(DodlesActor actor) {\n if (actor.getName() == null) {\n throw new GdxRuntimeException(\"Actor must have a name set!\");\n }\n\n all.put(actor.getName(), actor);\n\n if (actor instanceof BaseDodlesViewGroup) {\n for (Object view : ((BaseDo...
[ "0.62801653", "0.61210877", "0.6046128", "0.595364", "0.5846641", "0.58254623", "0.58240265", "0.5819012", "0.5774243", "0.56816924", "0.5651747", "0.5650827", "0.56232864", "0.55341756", "0.549575", "0.54453427", "0.5438394", "0.5388368", "0.53816533", "0.53609395", "0.53591...
0.64463025
0
Removes all actions on this actor.
public void clearActions() { internalGroup.clearActions(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void clearActions();", "public void removeAllActions() {\n menuDirty = true;\n actions.clear();\n selectedAction = null;\n }", "public void clear() {\n\t\tfor (Action action : actionList) {\n\t\t\tif (action instanceof ForwardingAction)\n\t\t\t\t((ForwardingAction) action)\n\t\t\t\t\t\t...
[ "0.766599", "0.75381666", "0.7507289", "0.7006579", "0.7006579", "0.66542405", "0.6397194", "0.6363895", "0.6334607", "0.6168668", "0.6161699", "0.61088586", "0.60816294", "0.60405904", "0.59955835", "0.5988975", "0.59804076", "0.5964703", "0.596459", "0.5963392", "0.5953705"...
0.77821255
0
Adds an actor as a child of this group, at a specific index. The actor is first removed from its parent group, if any.
public void addActorAt(int index, Actor actor) { internalGroup.addActorAt(index, actor.internalActor); actor.setParent(this); actor.setStage(getStage()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addChild(final int childIndex) {\n if (!this.children.contains(childIndex)) {\n this.children.add(childIndex);\n }\n }", "public void moveChild( ChildType child, int index );", "@objid (\"808c0873-1dec-11e2-8cad-001ec947c8cc\")\n public final void moveChild(GmNodeMode...
[ "0.72581524", "0.6606969", "0.6529802", "0.64118", "0.6297695", "0.6111738", "0.60061955", "0.59124357", "0.5886056", "0.5821335", "0.58012354", "0.57913935", "0.57815677", "0.57363486", "0.57326925", "0.56741226", "0.5657442", "0.5610207", "0.5592488", "0.5550848", "0.554195...
0.6823053
1
Adds an actor as a child of this group, immediately before another child actor. The actor is first removed from its parent group, if any.
public void addActorBefore(Actor actorBefore, Actor actor) { internalGroup.addActorBefore(actorBefore.internalActor, actor.internalActor); actor.setParent(this); actor.setStage(getStage()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addActor(Actor actor) {\n internalGroup.addActor(actor.internalActor);\n actor.setParent(this);\n actor.setStage(getStage());\n }", "public void addChild(Node child)\n\t{\n\t\tchild.parent = this;\n\t\t//if (!children.contains(child))\n\t\t//{\t\n\t\tchildren.add(child);\n\t\t...
[ "0.5882131", "0.56851935", "0.5583435", "0.54629713", "0.54333067", "0.54077774", "0.5406635", "0.53658897", "0.5365759", "0.531286", "0.51980793", "0.51980644", "0.5186053", "0.5182548", "0.5168493", "0.5119305", "0.5117841", "0.51139355", "0.507846", "0.5072005", "0.5064544...
0.6432076
0
Returns the stage that this actor is currently in, or null if not in a stage.
public Stage getStage() { com.guidebee.game.engine.scene.Stage stage = internalGroup.getStage(); if (stage != null) { return (Stage) stage.getUserObject(); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getCurrentStage() {\n return currentStage;\n }", "public String getCurrentStage() {\n return getProperty(Property.CURRENT_STAGE);\n }", "public Stage getStage() {\n return stage;\n }", "public Stage getStage() {\n return stage;\n }", "public Stage getStage() {\n...
[ "0.76475143", "0.76253295", "0.7397652", "0.7397652", "0.7397652", "0.73887736", "0.7308771", "0.7308758", "0.7243578", "0.70612395", "0.68948567", "0.6870214", "0.68670535", "0.68663746", "0.67389536", "0.67153037", "0.6640254", "0.6637261", "0.66302013", "0.6605996", "0.659...
0.78873974
0
Removes all actors from this group.
public void clearChildren() { internalGroup.clearChildren(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void removeAllObjects()\n {\n removeObjects (getObjects(Actor.class));\n }", "public void removeAllAgents() {\n\t\tagents.clear();\n\t}", "public void removeAgents() {\n\t\tfor (TestLiveAgent agent : agents.values()) {\n\t\t\tagent.stop();\n\t\t}\n\t\tagents.clear();\n\t}", "public void ...
[ "0.69164103", "0.66460574", "0.65954095", "0.6567935", "0.6526879", "0.6328841", "0.626723", "0.6201393", "0.60587317", "0.60525584", "0.5934785", "0.5824112", "0.5783075", "0.576691", "0.5756931", "0.57155186", "0.56856173", "0.5665344", "0.56635356", "0.5645588", "0.5636380...
0.0
-1
Removes all children, actions, and listeners from this group.
public void clear() { internalGroup.clear(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clearChildren() {\n internalGroup.clearChildren();\n }", "public void removeAllListeners() {\n messageListeners.clear();\n children.clear();\n }", "@Override\n public void removeChildren()\n {\n children.clear();\n }", "public void clearActions() {\n ...
[ "0.72581846", "0.7012649", "0.6930067", "0.683371", "0.6808959", "0.6763013", "0.67588556", "0.6643944", "0.65265346", "0.6499882", "0.63208544", "0.62662566", "0.62256795", "0.6209114", "0.6188989", "0.61693025", "0.6053967", "0.60534334", "0.6039878", "0.59795475", "0.59601...
0.643295
10
Returns the first actor found with the specified name. Note this recursively compares the name of every actor in the group.
public <T extends Actor> T findActor(String name) { com.guidebee.game.engine.scene.Actor actor = internalGroup.findActor(name); if (actor != null) { return (T) actor.getUserObject(); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static LinkedList<Actor> nameSearch(String name) {\n //sets name to lower case\n String hname = name.toLowerCase();\n //hashes the lower cased name\n int hash = Math.abs(hname.hashCode()) % ActorList.nameHashlist.length;\n //finds the location of the linked list\n L...
[ "0.6377197", "0.631054", "0.62958395", "0.6092129", "0.605618", "0.59118205", "0.5893231", "0.58699775", "0.58193755", "0.58144116", "0.5752959", "0.5659531", "0.5642792", "0.5634534", "0.5600108", "0.5581174", "0.55536133", "0.55471253", "0.5516983", "0.5481691", "0.54797286...
0.7257624
0
Returns true if this actor is the same as or is the descendant of the specified actor.
public boolean isDescendantOf(Actor actor) { if (actor == null) throw new IllegalArgumentException("actor cannot be null."); if(actor instanceof Group){ Group group=(Group)actor; return internalGroup.isDescendantOf(group.internalGroup); } return internalGroup.isDescendantOf(actor.internalActor); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isAscendantOf(Actor actor) {\n if (actor == null) throw new IllegalArgumentException(\"actor cannot be null.\");\n if(actor instanceof Group){\n Group group=(Group)actor;\n return internalGroup.isAscendantOf(group.internalGroup);\n }\n return interna...
[ "0.73331845", "0.6550652", "0.65176356", "0.6299429", "0.61524373", "0.5847027", "0.5810255", "0.5764168", "0.5679958", "0.5620127", "0.5570854", "0.5489798", "0.5477209", "0.54594916", "0.5440774", "0.5390548", "0.53800786", "0.53800786", "0.5371415", "0.53702486", "0.536070...
0.7627862
0
Returns true if this actor is the same as or is the ascendant of the specified actor.
public boolean isAscendantOf(Actor actor) { if (actor == null) throw new IllegalArgumentException("actor cannot be null."); if(actor instanceof Group){ Group group=(Group)actor; return internalGroup.isAscendantOf(group.internalGroup); } return internalGroup.isAscendantOf(actor.internalActor); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isAscendant() {\n if (direction.equals(\"ASC\")) {\n return true;\n }\n return false;\n }", "public boolean isDescendantOf(Actor actor) {\n if (actor == null)\n throw new IllegalArgumentException(\"actor cannot be null.\");\n\n if(actor i...
[ "0.6852095", "0.66795385", "0.65715796", "0.619151", "0.61508113", "0.5834644", "0.57714045", "0.5611884", "0.55677134", "0.5567695", "0.54681605", "0.54293394", "0.5417975", "0.53932095", "0.52970254", "0.5294913", "0.52668655", "0.525351", "0.5231495", "0.5228101", "0.52124...
0.7959205
0
Returns true if the actor's parent is not null.
public boolean hasParent() { return internalGroup.hasParent(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasParent() {\r\n if (parent == null) \r\n return false;\r\n \r\n return true;\r\n }", "public boolean isParent();", "public boolean hasParent() {\n return getParent() != null;\n }", "boolean hasParent();", "boolean hasParent();", "protected boolean pa...
[ "0.78990716", "0.78037524", "0.77708834", "0.768461", "0.768461", "0.7216256", "0.72053444", "0.71693146", "0.70660555", "0.7001749", "0.68032545", "0.678005", "0.6729371", "0.6652059", "0.6633085", "0.6630336", "0.6574583", "0.6550989", "0.6550989", "0.65509254", "0.65271413...
0.71617466
8
Returns the parent actor, or null if not in a group.
public Group getParent() { com.guidebee.game.engine.scene.Group group = internalGroup.getParent(); if (group != null) { return (Group) group.getUserObject(); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Optional<Cause> getParent() {\n return this.parent;\n }", "private HObject checkParent(String groupName, Group parentGroup)\n\t{\n\t\tfor(HObject h : parentGroup.getMemberList())\n\t\t{\n\t\t\tif(h.getName().equals(groupName))\n\t\t\t{\n\t\t\t\treturn h;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", ...
[ "0.67689115", "0.6628631", "0.65193486", "0.6475269", "0.6465311", "0.6389915", "0.63786066", "0.6361011", "0.6280958", "0.6280812", "0.6197315", "0.6174777", "0.61625427", "0.61399555", "0.6135864", "0.6118803", "0.6114011", "0.6114011", "0.6114011", "0.6086825", "0.6052338"...
0.750812
0
Called by the framework when an actor is added to or removed from a group.
protected void setParent(Group parent) { internalGroup.setParent(parent.internalGroup); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void addActor(DodlesActor actor) {\n if (actor.getName() == null) {\n throw new GdxRuntimeException(\"Actor must have a name set!\");\n }\n\n all.put(actor.getName(), actor);\n\n if (actor instanceof BaseDodlesViewGroup) {\n for (Object view : ((BaseDo...
[ "0.6317587", "0.6308894", "0.6290111", "0.6261664", "0.59920895", "0.5982826", "0.5969766", "0.59428906", "0.5913767", "0.5826596", "0.57844204", "0.5721258", "0.57094824", "0.5678682", "0.5663752", "0.5660363", "0.5649475", "0.56372", "0.56201434", "0.5612692", "0.5537354", ...
0.0
-1
Add x and y to current position
public void moveBy(float x, float y) { internalGroup.moveBy(x, y); dataTrait.x = internalGroup.getX(); dataTrait.y = internalGroup.getY(); resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updatePosition() {\n \t\r\n \tx += dx;\r\n \ty += dy;\r\n \t\r\n\t}", "protected void addPosition(float x, float y) {\n\t\tif (Double.isNaN(x) || Double.isNaN(y)) {\n\t\t\tSystem.err.println(LocalizedString.getString(getClass(), \"INVALID_POSITION\", getName()));\n\t\t} else {\n\t\t\tthis...
[ "0.73593664", "0.7047249", "0.7017441", "0.69751185", "0.6941119", "0.69335866", "0.6918111", "0.69178736", "0.68976116", "0.6896681", "0.6861334", "0.6823411", "0.68187875", "0.6812261", "0.67890835", "0.67384714", "0.67339927", "0.6716063", "0.66916656", "0.66877747", "0.66...
0.0
-1
Get the X position of the actor (bottom edge of actor)
public float getX() { return internalGroup.getX(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public float getX()\n {\n return getBounds().left + positionAnchor.x;\n }", "public int getX() { return position.x; }", "double getXPosition();", "public final int getPositionX() {\r\n return (int) position.x();\r\n }", "public double getUserFriendlyXPos(){\n return xPos - ...
[ "0.7266663", "0.7251947", "0.7242982", "0.72421634", "0.72036564", "0.71785945", "0.71549034", "0.71549034", "0.71549034", "0.70938337", "0.7080892", "0.70431423", "0.70361876", "0.7014012", "0.7012623", "0.7003644", "0.6997535", "0.6987913", "0.69875926", "0.69849473", "0.69...
0.0
-1
Get the Y position of the actor (bottom edge of actor)
public float getY() { return internalGroup.getY(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public float getY(){\n return hitBox.top;\n }", "public float getY()\n {\n return getBounds().top + positionAnchor.y;\n }", "public double getUserFriendlyYPos(){\n return myGrid.getHeight()/ HALF-yPos;\n }", "public int getYBottom() {\n return getYTop() + getYWidth();\n...
[ "0.7459285", "0.74539775", "0.742115", "0.7389901", "0.73394704", "0.7322105", "0.7322105", "0.7322105", "0.72665834", "0.72253066", "0.71844566", "0.7160701", "0.71539915", "0.7150153", "0.7101531", "0.71007925", "0.70934963", "0.70784587", "0.70772564", "0.70718324", "0.707...
0.0
-1
Adds the specified rotation to the current rotation.
public void rotateBy(float amountInDegrees) { internalGroup.rotateBy(amountInDegrees); dataTrait.rotation = internalGroup.getRotation(); resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Vector2 addRotation(double rotation) {\n return withRotation(getRotation() + rotation);\n }", "public void addRotation(int frame, Quaternion rotation) {\r\n // copy the quaternion, avoid sharing quaternion rotations.\r\n\r\n Quaternion copy = new Quaternion(rotation);\r\n if...
[ "0.78359264", "0.73105097", "0.66501844", "0.6463648", "0.64306754", "0.612415", "0.60893655", "0.60741687", "0.60724", "0.60682166", "0.6055688", "0.6039073", "0.57418853", "0.571878", "0.569935", "0.55947626", "0.5593763", "0.559154", "0.557735", "0.55699205", "0.554607", ...
0.0
-1
Adds the specified scale to the current scale.
public void scaleBy(float scale) { internalGroup.scaleBy(scale); dataTrait.scaleX = internalGroup.getScaleX(); dataTrait.scaleY = internalGroup.getScaleY(); resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void scaleAdd(double scale, Color rhs) {\n\n\t\tthis.r += scale * rhs.r;\n\t\tthis.g += scale * rhs.g;\n\t\tthis.b += scale * rhs.b;\n\n\t}", "public void addScaledVector(Vector3 addition, double scale) {\n\t\tthis.x += addition.x * scale;\n\t\tthis.y += addition.y * scale;\n\t\tthis.z += addition.z * sca...
[ "0.74984634", "0.70767903", "0.67026347", "0.65284586", "0.6424506", "0.6406735", "0.634384", "0.62867135", "0.6267569", "0.62552434", "0.6251564", "0.62382853", "0.6231985", "0.6196522", "0.61688256", "0.61282563", "0.6104871", "0.6007944", "0.5978086", "0.59716266", "0.5964...
0.6177884
14
Adds the specified scale to the current scale.
public void scaleBy(float scaleX, float scaleY) { internalGroup.scaleBy(scaleX, scaleY); dataTrait.scaleX = internalGroup.getScaleX(); dataTrait.scaleY = internalGroup.getScaleY(); resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void scaleAdd(double scale, Color rhs) {\n\n\t\tthis.r += scale * rhs.r;\n\t\tthis.g += scale * rhs.g;\n\t\tthis.b += scale * rhs.b;\n\n\t}", "public void addScaledVector(Vector3 addition, double scale) {\n\t\tthis.x += addition.x * scale;\n\t\tthis.y += addition.y * scale;\n\t\tthis.z += addition.z * sca...
[ "0.74984634", "0.70767903", "0.67026347", "0.65284586", "0.6424506", "0.6406735", "0.634384", "0.62867135", "0.6267569", "0.62552434", "0.6251564", "0.62382853", "0.6231985", "0.6196522", "0.6177884", "0.61688256", "0.61282563", "0.6104871", "0.6007944", "0.5978086", "0.59716...
0.5082919
92
Set bounds the x, y, width, and height.
public void setBounds(float x, float y, float width, float height) { internalGroup.setBounds(x, y, width, height); dataTrait.x = x; dataTrait.y = y; dataTrait.width = width; dataTrait.height = height; resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBounds(double anX, double aY, double aW, double aH) { setX(anX); setY(aY); setWidth(aW); setHeight(aH); }", "public void setBounds(Rect bounds) {\r\n\t\tthis.widthAndHeight = bounds;\r\n\t\tc.setBounds(bounds);\r\n\t}", "public void setBounds(Rectangle bounds) {\r\n this.bounds = bounds;\r\n ...
[ "0.8339741", "0.80829406", "0.78281695", "0.7754674", "0.7576356", "0.7568748", "0.75328004", "0.71887994", "0.7185893", "0.70596325", "0.70574117", "0.7019175", "0.7018231", "0.7009139", "0.69867164", "0.6918101", "0.68837774", "0.68132234", "0.6810024", "0.6764684", "0.6726...
0.71363056
9
Set position of Actor centered on x, y
public void setCenterPosition(float x, float y) { internalGroup.setCenterPosition(x, y); dataTrait.x = internalGroup.getX(); dataTrait.y = internalGroup.getY(); dataTrait.boundingRect.x = dataTrait.x; dataTrait.boundingRect.y = dataTrait.y; resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void centerOn(float x, float y) {\r\n\t\tposx_ = x - w() / 2;\r\n\t\tposy_ = y - h() / 2;\r\n\t}", "public void setSpawnPoint() {\n if (this.dirVec.y == 0) {\n super.centerRectAt(new Point(-1*OUTER_OFFSET, super.getCenter().y));\n }\n else {\n super.centerRectAt(...
[ "0.7532271", "0.71160835", "0.69488597", "0.6943513", "0.6868103", "0.68049073", "0.67797065", "0.6718457", "0.6618873", "0.6603303", "0.6597672", "0.656355", "0.6560592", "0.6538006", "0.649694", "0.6469292", "0.64211273", "0.6377504", "0.63757354", "0.6371156", "0.6369781",...
0.7176508
1
Returns the color the actor will be tinted when drawn. The returned instance can be modified to change the color.
public Color getColor() { return internalGroup.getColor(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected final Color getColor() {\n\t\treturn tile.getColor();\n\t}", "public Color getColor() {\r\n\t\tColor retVal = theColor;\r\n\t\treturn retVal;\r\n\t}", "@Override\n Color getColor() {\n return new Color(32, 83, 226, 255);\n }", "public Color getColor() {\n\t\treturn (Color)p.getPaint();...
[ "0.699758", "0.6832386", "0.6742325", "0.6727275", "0.6711614", "0.6681707", "0.6681707", "0.6681707", "0.6681707", "0.6681707", "0.66524065", "0.664097", "0.6629548", "0.658149", "0.65637255", "0.65567", "0.65276223", "0.65276223", "0.65276223", "0.6524218", "0.65222996", ...
0.0
-1
Sets a name for easier identification of the actor in application code.
public void setName(String name) { internalGroup.setName(name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setName(String name) {_name = name;}", "public void setName(String name){\r\n gotUserName = true;\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "pub...
[ "0.7591428", "0.7411985", "0.73689586", "0.73689586", "0.73689586", "0.73655367", "0.73528725", "0.73528725", "0.73528725", "0.73528725", "0.7339159", "0.7333917", "0.7333917", "0.7333917", "0.7333917", "0.7330487", "0.7330487", "0.7330487", "0.7328177", "0.73281187", "0.7328...
0.0
-1
Returns y plus height.
public float getTop() { return internalGroup.getTop(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getY() { return _height<0? _y + _height : _y; }", "public int getYBottom() {\n return getYTop() + getYWidth();\n }", "public float getYHeight() {\n\t\treturn this.yHeight;\n\t}", "public double getMaxY() { return getY() + getHeight(); }", "public double getyOffset() {\n\n return ...
[ "0.80818033", "0.7450128", "0.7405723", "0.728737", "0.7133754", "0.7104616", "0.7070045", "0.705346", "0.6986415", "0.6926421", "0.69210017", "0.6910647", "0.68961173", "0.6888386", "0.68652105", "0.6862996", "0.68621665", "0.68465424", "0.6842829", "0.6828914", "0.68272376"...
0.0
-1
Returns x plus width.
public float getRight() { return internalGroup.getRight(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getX() { return _width<0? _x + _width : _x; }", "public int getCurrentWidth();", "public final int getWidth() {\r\n return (int) size.x();\r\n }", "Integer getCurrentWidth();", "int getWidth() {return width;}", "public float getWidth() {\n return xRadius;\n }", "publi...
[ "0.7431202", "0.6633398", "0.6630444", "0.65616786", "0.65230304", "0.64998335", "0.64977396", "0.64977396", "0.6480235", "0.6460135", "0.6439133", "0.6418156", "0.64166325", "0.641074", "0.637086", "0.6360272", "0.63483745", "0.63323474", "0.6326182", "0.6326182", "0.6321540...
0.0
-1
Sets the origin X and origin Y.
public void setOrigin(float originX, float originY) { internalGroup.setOrigin(originX, originY); dataTrait.originX = originX; dataTrait.originY = originY; resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOrigin(int x, int y) {\r\n\t\torigin.setLocation(x, y);\r\n\t}", "public void setOrigin(Point origin) {\n setOrigin(origin.x, origin.y);\n }", "public void setOrigin(){\n // draw X-axis\n graphics2D.draw(new Line2D.Double(leftMiddle, rightMiddle));\n\n // draw stri...
[ "0.81496483", "0.7958251", "0.77404076", "0.77263874", "0.7491625", "0.7487836", "0.73059773", "0.7176209", "0.7144752", "0.70536387", "0.6925816", "0.683199", "0.67684484", "0.6749346", "0.67465824", "0.6741119", "0.6696216", "0.66862535", "0.6672994", "0.6667985", "0.666581...
0.770664
4
Set position of Actor to x, y (using bottom left corner of Actor)
public void setPosition(float x, float y) { internalGroup.setPosition(x, y); dataTrait.x = x; dataTrait.y = y; resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPosition(float x, float y);", "public void setPosition(int x, int y)\n\t{\n\t\tint w = getSize().width;\n\t\tint h = getSize().height;\n\n\t\tpos.x = x;\n\n\t\tpos.y = y;\n\n\t\trect.setLocation(x - w / 2, y - h / 2);\n\t}", "void setPos(float x, float y);", "void setPosition(double xPos, doub...
[ "0.7422565", "0.73102486", "0.7238676", "0.70663166", "0.6944978", "0.6930454", "0.6922529", "0.69004947", "0.6867126", "0.6862299", "0.68535024", "0.68331003", "0.682328", "0.68012524", "0.6786028", "0.6783587", "0.6782909", "0.6775077", "0.67622507", "0.67325664", "0.671700...
0.67344016
19
Sets the scale X and scale Y.
public void setScale(float scaleX, float scaleY) { internalGroup.setScale(scaleX, scaleY); dataTrait.scaleX = scaleX; dataTrait.scaleY = scaleY; resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setScaleXY(double sx, double sy) { setScaleX(sx); setScaleY(sy); }", "public void setScale(float xScale, float yScale) {\n\t\tthis.xScale = xScale;\n\t\tthis.yScale = yScale;\n\t}", "public void setScaleY(double yscale)\r\n\t{\tyScale = yscale;\t}", "public void setScale(double scale) {\n\t\tdou...
[ "0.8147191", "0.7506104", "0.7313331", "0.73081577", "0.72878814", "0.7210981", "0.71866786", "0.7184787", "0.7184282", "0.7013618", "0.69701844", "0.6944198", "0.6881121", "0.684737", "0.6844684", "0.6843668", "0.68274283", "0.682507", "0.6819811", "0.6795699", "0.6711982", ...
0.6484868
36
Sets the scale for both X and Y
public void setScale(float scaleXY) { internalGroup.setScale(scaleXY); dataTrait.scaleX = scaleXY; dataTrait.scaleY = scaleXY; resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setScaleXY(double sx, double sy) { setScaleX(sx); setScaleY(sy); }", "public void scale(float x, float y);", "@Override\n public void scale(double x, double y) {\n graphicsEnvironmentImpl.scale(canvas, x, y);\n }", "public void setDrawScale(float x, float y) {\n \tdrawScale.set(x...
[ "0.8162992", "0.79368025", "0.7889694", "0.7654723", "0.7606808", "0.75946724", "0.7564777", "0.7538851", "0.7497723", "0.7496134", "0.74258715", "0.7386323", "0.732245", "0.73222506", "0.73073566", "0.7278054", "0.7204347", "0.7191995", "0.71609944", "0.71517205", "0.7103045...
0.7416297
11
Sets the width and height.
public void setSize(float width, float height) { internalGroup.setSize(width, height); dataTrait.width = width; dataTrait.height = height; resetSprite(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void setWidthAndHeight(int width, int height) {\n\t\t\n\t}", "void setDimension(double width, double height);", "public void setSize(double aWidth, double aHeight) { setWidth(aWidth); setHeight(aHeight); }", "public void setSize(float width, float height);", "void setSize(float w, floa...
[ "0.8331385", "0.80021465", "0.7983627", "0.7861937", "0.7649575", "0.7644993", "0.7644901", "0.76053303", "0.73426515", "0.73068064", "0.72832924", "0.72832924", "0.72694016", "0.72413135", "0.7241139", "0.72241634", "0.71997064", "0.71717054", "0.71692854", "0.7149339", "0.7...
0.65442735
70
If false, the actor will not be drawn and will not receive touch events. Default is true.
public void setVisible(boolean visible) { internalGroup.setVisible(visible); dataTrait.visible = visible; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onTouchEvent(MotionEvent event) {\n return false;\n }", "@Override\n public boolean onTouchEvent(MotionEvent event) {\n return false;\n }", "@Override\r\n\tpublic boolean onTouchEvent(MotionEvent event) {\n\t\treturn false;\r\n\t}", "@Override\n\tpublic bo...
[ "0.6472948", "0.6472948", "0.64698875", "0.6454449", "0.62810034", "0.62795264", "0.62402296", "0.62057", "0.620431", "0.6190413", "0.61632407", "0.615128", "0.6139539", "0.61329097", "0.60936075", "0.6085357", "0.6085357", "0.6085357", "0.6061626", "0.6046512", "0.6045196", ...
0.0
-1
Sets the zindex of this actor. The zindex is the index into the parent's , where a lower index is below a higher index. Setting a zindex higher than the number of children will move the child to the front. Setting a zindex less than zero is invalid.
public void setZIndex(int index) { internalGroup.setZIndex(index); dataTrait.zIndex = index; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void setZIndex(int index) {\n\t\t\r\n\t}", "public void setZIndex(int newZIndex)\n {\n zIndex = newZIndex;\n \n if (parent != null)\n {\n parent.onZIndexChanged(this);\n }\n }", "public void setZIndex(final int zIndex) {\n CSS.set...
[ "0.74284846", "0.68359584", "0.6748074", "0.6441968", "0.6202878", "0.578442", "0.57486975", "0.5557674", "0.55139613", "0.5307031", "0.5291551", "0.52789396", "0.5108279", "0.5037692", "0.5029244", "0.49781507", "0.49402195", "0.48899174", "0.47671038", "0.47508225", "0.4735...
0.72490394
1
Returns the zindex of this actor.
public int getZIndex() { return internalGroup.getZIndex(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getZIndex()\n {\n return zIndex;\n }", "public int getzPos() {\n return zPos;\n }", "public int getIndex() {\r\n return ordinal();\r\n }", "@JsOverlay\n\tpublic final int getIndex() {\n\t\t// checks if there is the property\n\t\tif (ObjectType.UNDEFINED.equals(J...
[ "0.677524", "0.64259046", "0.61319447", "0.60140073", "0.5958015", "0.59375614", "0.5802597", "0.5799375", "0.57875407", "0.57875407", "0.57875407", "0.5773207", "0.57606906", "0.5756988", "0.5756456", "0.57483906", "0.57477087", "0.57473344", "0.57448924", "0.5743755", "0.57...
0.6970512
0
Transforms the specified point in screen coordinates to the actor's local coordinate system.
public Vector2 screenToLocalCoordinates(Vector2 screenCoords) { return internalGroup.screenToLocalCoordinates(screenCoords); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "DeviceCoordinate transformWorldToScreen(final double x, final double y);", "public Point2D userToDeviceSpace(\n Point2D point\n )\n {return ctm.transform(point, null);}", "static void setViewPointRelevantTo(Point point) {\n point.translate(-1 * viewPoint.x, -1 * viewPoint.y);\n point...
[ "0.6486719", "0.63734794", "0.6347372", "0.6106794", "0.60533476", "0.60243064", "0.5984011", "0.5889653", "0.58684295", "0.5860805", "0.58530194", "0.5772176", "0.5766575", "0.5699435", "0.5689255", "0.5685082", "0.5676721", "0.5670957", "0.565397", "0.56430554", "0.5617554"...
0.5804538
11
Transforms the specified point in the stage's coordinates to the actor's local coordinate system.
public Vector2 stageToLocalCoordinates(Vector2 stageCoords) { return internalGroup.stageToLocalCoordinates(stageCoords); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void relocateToPoint (Point2D p) {\n\n\t\t//relocates the object to a point that has been converted to\n\t\t//scene coordinates\n\t\tPoint2D localCoords = getParent().sceneToLocal(p);\n\n\t\tdouble x = localCoords.getX() - (getBoundsInLocal().getWidth() / 2);\n\t\tdouble y = localCoords.getY() - (getBoundsI...
[ "0.620483", "0.6031068", "0.59394985", "0.59210753", "0.5915347", "0.5839126", "0.57707053", "0.5715757", "0.56953824", "0.565647", "0.56496096", "0.5619532", "0.5613852", "0.5605528", "0.56046736", "0.56033325", "0.5584368", "0.5579956", "0.5540702", "0.5533524", "0.5518563"...
0.6759151
0
Transforms the specified point in the actor's coordinates to be in the stage's coordinates.
public Vector2 localToStageCoordinates(Vector2 localCoords) { return internalGroup.localToStageCoordinates(localCoords); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Vector2 stageToLocalCoordinates(Vector2 stageCoords) {\n return internalGroup.stageToLocalCoordinates(stageCoords);\n }", "public void relocateToPoint (Point2D p) {\n\n\t\t//relocates the object to a point that has been converted to\n\t\t//scene coordinates\n\t\tPoint2D localCoords = getParent()...
[ "0.6147374", "0.6074091", "0.604413", "0.59894156", "0.5989092", "0.5965214", "0.59189695", "0.59134334", "0.58382916", "0.5830573", "0.582146", "0.5809149", "0.57559884", "0.57364184", "0.5726982", "0.5688895", "0.5686057", "0.5677598", "0.5649275", "0.5647411", "0.56271726"...
0.5093669
62
Transforms the specified point in the actor's coordinates to be in the parent's coordinates.
public Vector2 localToParentCoordinates(Vector2 localCoords) { return internalGroup.localToParentCoordinates(localCoords); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RMPoint convertPointFromShape(RMPoint point, RMShape shape)\n{\n if(shape==_parent && !isRSS()) { point.offset(-getX(), -getY()); return point; }\n return getTransformFromShape(shape).transform(point);\n}", "public void relocateToPoint (Point2D p) {\n\n\t\t//relocates the object to a point that has ...
[ "0.6133901", "0.61125654", "0.6101514", "0.5989202", "0.5909276", "0.5907272", "0.586441", "0.58113706", "0.5762032", "0.5713178", "0.5652043", "0.5638305", "0.56290203", "0.5605145", "0.5598358", "0.5553166", "0.5525227", "0.5524153", "0.5512719", "0.55093706", "0.54594314",...
0.0
-1
Converts coordinates for this actor to those of a parent actor. The ascendant does not need to be a direct parent.
public Vector2 localToAscendantCoordinates(Actor ascendant, Vector2 localCoords) { if(ascendant instanceof Group){ Group group=(Group)ascendant; return internalGroup.localToAscendantCoordinates(group.internalGroup, localCoords); } return internalGroup.localToAscendantCoordinates(ascendant.internalActor, localCoords); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Vector2 parentToLocalCoordinates(Vector2 parentCoords) {\n return internalGroup.parentToLocalCoordinates(parentCoords);\n }", "public RMPoint getXYP() { return convertPointToShape(new RMPoint(), _parent); }", "public Vector2 localToParentCoordinates(Vector2 localCoords) {\n return inte...
[ "0.64616835", "0.56216824", "0.55706406", "0.55029064", "0.53705597", "0.52855", "0.52668643", "0.5233459", "0.522032", "0.5216585", "0.5190023", "0.51772106", "0.51772106", "0.51772106", "0.51772106", "0.51772106", "0.51772106", "0.51772106", "0.51772106", "0.51772106", "0.5...
0.5915728
1