query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Get All Email Messages Retrieve the list of all sms messages. Results can be filtered by messages ids, group or channel. The result will be a combination of all parameters present | @Test
public void listAllEmailMessagesTest() throws ApiException {
String group = null;
String dateStart = null;
String dateEnd = null;
String destination = null;
String status = null;
List<PartialEmailMessageResponse> response = api.listAllEmailMessages(group, dateSt... | [
"public List<SmsMessage> getAllSmsMessages();",
"@Test\n public void listAllSmsMessagesTest() throws ApiException {\n String group = null;\n String dateStart = null;\n String dateEnd = null;\n String destination = null;\n String status = null;\n List<PartialSmsMessageR... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
startPlanning consructs the initial state representing where the AI system begins. You must call stepState to step this state forward in planning. | public State<WS, G, B, BP> startPlanning(
WS initialState,
G goal,
BP behaviorProvider
) {
// TODO: Pool this?
return new State<WS, G, B, BP>(
initialState,
initialState,
goal,
behaviorProvider
);
} | [
"private void startPlanning() {\n ContentValues contentValues = new ContentValues();\n contentValues.put(PlanEntry.COLUMN_PLAN_NAME, planNameET.getText().toString());\n contentValues.put(PlanEntry.COLUMN_CONTACT_EMAIL, contactEmailET.getText().toString());\n Uri newPlanUri = getContext()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
A test that checks correctness of the "not" predicate | @Test
public void testPredicateNot() {
Predicate<Integer> isEven = (x) -> (x % 2) == 0;
assertTrue(isEven.apply(10));
assertFalse(isEven.not().apply(10));
} | [
"boolean isNegated();",
"@Test\n\tpublic void testNotAMatchOfAnyKind() {\n\t\tassertFalse(s4.equals(s3));\n\t\tassertFalse(streetAddresses.contains(s4));\n\t\tassertFalse(streetAddresses.stream().anyMatch(s -> comparator.compare(s4, s) == 0));\n\t}",
"static <T> Predicate<T> not(Predicate<T> predicate) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ This method returns the value for follow up form indicators having health status subgroups ie. healthy, average, below average | private float setHealthStatus(IndicatorUnitSubgroup indicatorUnitSubgroup, Map<Integer, ValueObject> typeMap, List<FollowUpForm> followUpForms,
AreaDetails areaDetail, DataValue dataValue, String typeName) {
float i = 0;
StringJoiner joiner = new StringJoiner(",");
String childIds="";
for (FollowUpForm foll... | [
"public int getHealthValue()\n {\n return objectHealth.getHealth();\n }",
"int getWeatherBoostedConditionValue();",
"float getBonusMaxHealth();",
"public double metricValue() {\n\t\t// Determine the Total No. of Unique Declared Instances\n\t\tint countTotalUniqueInstances = mapInstances.size();\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
string keyValueIp = 1; | public Builder setKeyValueIp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
keyValueIp_ = value;
onChanged();
return this;
} | [
"java.lang.String getKeyValueIp();",
"public java.lang.String getKeyValueIp() {\n java.lang.Object ref = keyValueIp_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toS... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Compute the epsilon error on screen coordinates of the Zbuffer | public static double computeZBufferError(int nbit)
{
return 1. / (Math.pow(2., (double)nbit) - 1.);
} | [
"double getCurrentZPos();",
"final public double getFocusZ() {\n return focusZ;\n }",
"public double getZDistance() {\n position = imu.getPosition();\n return position.z;\n }",
"public double getPixelZ() {\n return _pointPixel.z;\n }",
"public double getNormZ() {return nz;}",
"pub... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
ExStart:SetupTargetAndCamera The path to the documents directory. | public static void run() throws Exception {
String MyDir = RunExamples.getDataDir();
// Initialize scene object
Scene scene = new Scene();
// Get a child node object
Node cameraNode = scene.getRootNode().createChildNode("camera", new Camera());
// Set camera node translat... | [
"public void startCamera()\n {\n startCamera(null);\n }",
"public void setupDrive(){\n // Place Dove/ into base of drive\n new File(drv.toString() + File.separator + folderName).mkdir();\n //upload preset content if required\n isSetup = true;\n }",
"public void startCam() {\n //... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column trainer.trainer_status | public void setTrainerStatus(Integer trainerStatus) {
this.trainerStatus = trainerStatus;
} | [
"public Integer getTrainerStatus() {\r\n return trainerStatus;\r\n }",
"public void setTradedStatus(Integer tradedStatus) {\n\t\tthis.tradedStatus = tradedStatus;\n\t}",
"public void setEntitystatus(int entitystatus);",
"public void setTradeStatus(Integer tradeStatus) {\r\n this.tradeStatus =... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Launches an active user and tests it. | public static void main(String[] args) {
ActiveUser node = new ActiveUser(args[0], args.length >= 2 ? args[1] : null);
test(node);
} | [
"protected final void runAsUser( String userName ) {\n authenticationTestingUtil.switchToUser( this.applicationContext, userName );\n }",
"public void chooseActiveUser() \n\t{\n\t\tif(app.getEmployees() == null || app.getEmployees().size() == 0)\n\t\t{\n\t\t\tSystem.out.println(\"There are currently no ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Formats a ReportData and prints it to sb | private void printReportData(StringBuilder sb, ReportData reportData) {
sb.append("<h4>" + reportData.getDefinition().getName() + "</h4>");
for (Map.Entry<String, DataSet> ds : reportData.getDataSets().entrySet()) {
printDataSet(sb, ds.getKey(), ds.getValue());
}
} | [
"@Override\n void createReport(final Format reportFormat,\n final long start, final long end) {\n makeBriefReport(reportFormat, \"Informe breu\", start, end);\n writeToFile();\n getFormat().finishPrinting();\n }",
"@Override\n public void printReport() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
CreateCompression makes the whole computing part of compression of the algorithm | private void CreateCompression() {
double[][] Ydct = new double[8][8];
double[][] Cbdct = new double[8][8];
double[][] Crdct = new double[8][8];
/*
Tenemos que coger una matriz de 8x8 que sera nuestro pixel a comprimir. Si la matriz se sale de los parametros
altura y anc... | [
"@Test\n public void simple_compression_test() {\n run_compression_test(new SecureRandom().generateSeed(100000), 9);\n byte[] test = new byte[10000];\n for(int i=0;i<test.length;i++)\n test[i] = (byte) (i%40);\n run_compression_test(test, 3);\n run_compression_test(t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Computes b t + a bmm(bmat1, bmat2). | public static JTensor baddbmm(JType b, JTensor t, JType a, JTensor bmat1, JTensor bmat2) {
JTensor r = new JTensor();
TH.THTensor_(baddbmm)(r, b, t, a, bmat1, bmat2);
return r;
} | [
"public static JTensor addmm(JType b, JTensor t, JType a, JTensor mat1, JTensor mat2) {\n JTensor r = new JTensor();\n TH.THTensor_(addmm)(r, b, t, a, mat1, mat2);\n return r;\n }",
"private double[] dotBlas(double[] m1, int m, int n, boolean trans1, double[] m2, int p, int q,\n boolean... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use a particular queue implementation for the actor(s) | public ActorDef<M> withQueue(String name) {
return new QueueActorDef<M>(this, name);
} | [
"Queue defineQueue(String name);",
"public void onQueue();",
"public interface QueueServiceProvider {\n /**\n * Returns the name of the Queue implementation.\n * @return Name of the queue implementation.\n */\n String name();\n\n /**\n * Places an object on the end of the queue.\n *... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__XSetLiteral__Group_3__0" $ANTLR start "rule__XSetLiteral__Group_3__0__Impl" ../org.xtext.guicemodules.ui/srcgen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:8901:1: rule__XSetLiteral__Group_3__0__Impl : ( ( rule__XSetLiteral__ElementsAssignment_3_0 ) ) ; | public final void rule__XSetLiteral__Group_3__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:8905:1: ( ( ( rule__XSetLiteral__... | [
"public final void rule__XSetLiteral__Group_3_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:8996:1: ( ( ( rule_... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted wh... | com.google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.PartOrBuilder getPartsOrBuilder(
int index); | [
"public Builder addParts(\n com.google.cloud.dialogflow.cx.v3beta1.Intent.TrainingPhrase.Part value) {\n if (partsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensurePartsIsMutable();\n parts_.add(value);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ renamed from: com.facebook.imagepipeline.q.c / compiled from: ImageTranscoder | public interface ImageTranscoder {
/* renamed from: a */
ImageTranscodeResult mo28912a(EncodedImage eVar, OutputStream outputStream, RotationOptions fVar, ResizeOptions eVar2, ImageFormat cVar, Integer num) throws IOException;
/* renamed from: a */
String mo28913a();
/* renamed from: a */
bool... | [
"public interface PluggableAssetTranscoder {\n /**\n * This method will be called by MCS to construct the URL for a\n * ConvertibleImageAsset. If the method can not evaluate the parameters\n * correctly then it should throw a TranscodingException and should log an\n * appropriate error.\n * @... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end ruleRealTypeSpecifier $ANTLR start entryRuleIntegerTypeSpecifier ../org.eclipselabs.mscript.language/srcgen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1715:1: entryRuleIntegerTypeSpecifier returns [EObject current=null] : iv_ruleIntegerTypeSpecifier= ruleIntegerTypeSpecifier EOF... | public final EObject entryRuleIntegerTypeSpecifier() throws RecognitionException {
EObject current = null;
EObject iv_ruleIntegerTypeSpecifier = null;
try {
// ../org.eclipselabs.mscript.language/src-gen/org/eclipselabs/mscript/language/parser/antlr/internal/InternalMscript.g:1716... | [
"public final EObject entryRuleIntegerType() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleIntegerType = null;\n\n\n try {\n // InternalDOcl.g:4427:52: (iv_ruleIntegerType= ruleIntegerType EOF )\n // InternalDOcl.g:4428:2: iv_ruleIntegerType= r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Load the toolbar of the Activity. This is the function where the name of the Activity can be set in the toolbar. | public void loadToolbar() {
Toolbar toolbar = (Toolbar) findViewById(R.id.app_toolbar);
toolbar.setTitle("Pagamento");
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayShowHomeEnabled(true);
} | [
"private void initToolBar() {\n Toolbar toolbar = findViewById(R.id.toolbar);\n setToolbar(toolbar);\n setScreenTitle(getString(R.string.activity_title));\n }",
"private void configureToolBar(){\n this.toolbar = (Toolbar) findViewById(R.id.activity_main_toolbar);\n setSupportActionBar(tool... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
List of all PrescribedTests for the given Encounter | public List<PrescribedTest> getAllPrescribedTestsByEncounter(
final com.oreon.cerebrum.encounter.Encounter encounter) {
setMaxResults(ABSOLUTE_MAX_RECORDS);
prescribedTest.setEncounter(encounter);
return getResultListTable();
} | [
"public List<TestInfo> listTests() {\n\t\treturn searchTests(\"\");\n\t}",
"com.jarden.testengine.Tests getTests();",
"@NotNull\n private List<OpaTestCase> getTestsInExecutionOrder() {\n // We're using LinkedHashMap to preserve insertion order\n LinkedHashMap<String, List<OpaTestCase>> groupedT... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
test method that finds item index | @Test
void test_findIndexOfID() {
// ensure that I2 is item3
int x = findIndexOfID(2);
assertEquals(2,x);
// ensure that an out-of-bounds ID returns 0
x = findIndexOfID(3);
assertEquals(-1,x);
} | [
"@Test\n public void testIndexOf() \n {\n assertEquals(0, list1.indexOf(money1));\n assertEquals(1, list1.indexOf(money2));\n assertEquals(2, list1.indexOf(money3));\n }",
"int GetIndex(int user_id, int item_id);",
"@Test\n public void getIndex_test(){\n Row row = new Row... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The stage of the NetworkFunction definition allowing to specify vendorName. | interface WithVendorName {
/**
* Specifies the vendorName property: The vendor name for the network function. Once set, it cannot be
* updated..
*
* @param vendorName The vendor name for the network function. Once set, it cannot be updated.
* ... | [
"interface WithSkuName {\n /**\n * Specifies the skuName property: The sku name for the network function. Once set, it cannot be updated..\n *\n * @param skuName The sku name for the network function. Once set, it cannot be updated.\n * @return the next def... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The deleteSSHKey call removes a specified SSH key from an organization. //TODO Make this a boolean if sucessful | public boolean deleteSSHKey(URI uri); | [
"String deleteKey(String keyName)\n throws P4JavaException;",
"void deleteDeployKey(String owner, String repo, int id);",
"boolean delete(String key) throws PersistenceException;",
"public void deleteKeySecretPair(String key) throws ClassicDatabaseException,ClassicNotFoundException;",
"boolean re... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the VTL model folder where to load the VTL models from. This is initially set to the common model folder. | public EasyExecutor setVtlFolder(File vtlFolder) {
this.vtlFolder = vtlFolder;
return this;
} | [
"public static void setModel() {\n folderTree.setModel(new DefaultTreeModel(rootNode));\n }",
"@Override\n public void loadModel(String model_folder_path) {\n saved_model_bundle_ = SavedModelBundle.load(model_folder_path, \"serve\");\n }",
"private void setModel() {\n\t\t// Check for mode... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the console window for this running Java Virtual Machine. If the console is not created yet, create a new Java Console. | public synchronized static ConsoleWindow getJavaConsole()
{
// Initialize tracing environment
initTraceEnvironment();
// Obtain console from mainWriter
return mainWriter.getJavaConsole();
} | [
"public static Console getConsole() { \n return getConsole(null);\n }",
"public Console getConsole() {\n\t\tif (previewEditor != null) {\n\t\t\treturn previewEditor.getConsole();\n\t\t}\n\t\treturn null;\n\t}",
"public final IConsole console()\n {\n return console;\n }",
"public stat... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get value of the scale per the specified index. | public double getValue(int index) {
return getScale(index).getValue();
} | [
"public final double at(final int index) {\n return this.series[index];\n }",
"public Object getValue(int index);",
"public double getValue(int index)\n {\n return 0.0;//Write some fantastic code here.\n }",
"public T getValue(int idx){\n\t\treturn this.values.get(idx);\n\t}",
"public fl... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use MsSignUp.newBuilder() to construct. | private MsSignUp(Builder builder) {
super(builder);
} | [
"private McSignUp(Builder builder) {\n super(builder);\n }",
"private SCPVPLootMapSignUp(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"private CSPVELootMapSignUp(com.google.protobuf.GeneratedMessage.Bui... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates the unique constraint schema id error test. | @Test(expected = ResponseStatusException.class)
public void createUniqueConstraintSchemaIdErrorTest() {
UniqueConstraintVO uniqueConstraint = new UniqueConstraintVO();
uniqueConstraint.setDataflowId("1");
try {
dataSchemaControllerImpl.createUniqueConstraint(uniqueConstraint);
} catch (ResponseS... | [
"@Test(expected = ResponseStatusException.class)\n public void createUniqueConstraintTableSchemaIdErrorTest() {\n UniqueConstraintVO uniqueConstraint = new UniqueConstraintVO();\n uniqueConstraint.setDatasetSchemaId(new ObjectId().toString());\n uniqueConstraint.setDataflowId(\"1\");\n try {\n dat... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return today's Day Of Week | private DayOfWeek getTodaysWeekDay() {
Calendar calendar = GregorianCalendar.getInstance();
calendar.setTime(new Date());
int dayNum = calendar.get(Calendar.DAY_OF_WEEK);
dayNum = dayNum > 1 ? dayNum - 1 : 7;
DayOfWeek day = DayOfWeek.of(dayNum);
return day;
} | [
"public static int getCurrentDayOfWeek()\n\t{\n\t\treturn Calendar.getInstance().get(Calendar.DAY_OF_WEEK);\n\t}",
"public int dayOfWeek() {\n\t\treturn (5 + this.daysSinceStartDate()) % 7;\n\t}",
"@NonNull public int weekDay() {\n\t\tint num;\n\n\t\tnum = ( (23*month) / 9) + day + 4 + year + (year / 4 ) - \n\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__IntegerArrayResource__Group_3_1__0__Impl" $ANTLR start "rule__IntegerArrayResource__Group_3_1__1" ../hu.bme.mit.androtext.androres.ui/srcgen/hu/bme/mit/androtext/androres/ui/contentassist/antlr/internal/InternalAndroResDsl.g:1677:1: rule__IntegerArrayResource__Group_3_1__1 : rule__IntegerArrayResource... | public final void rule__IntegerArrayResource__Group_3_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../hu.bme.mit.androtext.androres.ui/src-gen/hu/bme/mit/androtext/androres/ui/contentassist/antlr/internal/InternalAndroResDsl.g:1681:1: ( ... | [
"public final void rule__IntegerArrayResource__Group_3__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../hu.bme.mit.androtext.androres.ui/src-gen/hu/bme/mit/androtext/androres/ui/contentassist/antlr/internal/InternalAndroResD... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the localized comments of this app in the language. Uses the default language if no localization exists for the requested language. | public java.lang.String getComments(java.util.Locale locale) {
return _app.getComments(locale);
} | [
"public java.lang.String getComments(java.lang.String languageId) {\n return _app.getComments(languageId);\n }",
"public java.lang.String getComments(java.lang.String languageId,\n boolean useDefault) {\n return _app.getComments(languageId, useDefault);\n }",
"public java.util.Map<jav... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Method:Pet() No argument constructor method. | public Pet()
{
} | [
"public Pet(String n, char t, double w, double h, int a){\r\n\tname = n;\r\n\ttypeAnimal = t;\r\n\tweight = w;\r\n\theight = h;\r\n\tage = a;\r\n\thistory = new ArrayList<History>();\r\n\tservices = new ArrayList<AditionalServices>();\r\n\tmedicine = new ArrayList<Medicine>();\r\n}",
"public Carpet() {\n\t\t\n\t}... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests if there's a Solr server running by sending it a corestatus request. | synchronized boolean isRunning() {
try {
// making a status request here instead of just doing solrServer.ping(), because
// that doesn't work when there are no cores
CoreAdminRequest.getStatus(null, solrServer);
} catch (SolrServerException ex) {
Throw... | [
"public static boolean isSolrLocalWebappStarted() {\n return ScipioSolrInfoServlet.isServletInitStatusReached();\n }",
"public static boolean isSolrWebappReady(HttpSolrClient client) throws Exception {\n return isSystemInitialized() && isSolrWebappPingOk(client);\n }",
"public static boolean... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Whether given string pattern is a time pattern or not. | public boolean isTimePattern(String pattern) {
return ArrayUtils.contains(TIME_PATTERN_NAMES, pattern);
} | [
"public static boolean isTime(String value) {\n if (StringUtils.isEmpty(value)) {\n return false;\n }\n return isValueMatchingPattern(value, TIME_PATTERNS);\n }",
"private boolean hasTime(DateTimeFormat formatter) {\n return formatter.getPattern().contains(\"h\") || formatter.getPattern().co... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the value of the 'field268' field | public com.maxpoint.cascading.avro.TestExtraLarge.Builder setField268(java.lang.CharSequence value) {
validate(fields()[268], value);
this.field268 = value;
fieldSetFlags()[268] = true;
return this;
} | [
"public void setField268(java.lang.CharSequence value) {\n this.field268 = value;\n }",
"public void setField269(java.lang.CharSequence value) {\n this.field269 = value;\n }",
"public void setField283(java.lang.CharSequence value) {\n this.field283 = value;\n }",
"public void setField248(java.lang... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true if field sessionId is set (has been assigned a value) and false otherwise | public boolean isSetSessionId() {
return this.sessionId != null;
} | [
"public boolean isSetSessionId() {\n return this.sessionId != null;\n }",
"public boolean isSetSessionID() {\n return this.sessionID != null;\n }",
"public boolean is_set_session() {\n return this.session != null;\n }",
"public boolean hasSession(){\r\n return httpSessionId != null;... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests whether a given state is a Goal state. | public abstract boolean isGoal(State state); | [
"public abstract boolean isGoal(CCState state);",
"static boolean isGoal(String state){\n\t\tif (Integer.parseInt(stateAsPair(state)[0])==goal\n\t\t\t\t&& Integer.parseInt(stateAsPair(state)[1])==0){\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t\t\n\t}",
"public boolean isGoalState(){\r\n int count =... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Clears the underlying WhiteBoard. | public void clearWhiteBoard() {
theWhiteBoard.clear();
} | [
"public void clear() {\n for (int row = 0; row < 8; ++row) {\n for (int col = 0; col < 8; ++col) {\n board[row][col] = null;\n }\n }\n whitePieces = new LinkedList<Piece>();\n blackPieces = new LinkedList<Piece>();\n }",
"public static void clear... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the new that. | public void setNewThat(String that)
{
newCategory.setThat(that);
} | [
"private void setOwner(ballOwner newOwner) {\n owner = newOwner;\n }",
"@Override\n\tvoid setTarget(T rNewTarget)\n\t{\n\t\tRelation<A> rWrapped = getWrappedRelation();\n\t\tA\t\t rTarget = getConversion().invert(rNewTarget);\n\n\t\t// check state of target type too to prevent illegal modifications\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
repeated int32 usedTombIdList = 2; | java.util.List<java.lang.Integer> getUsedTombIdListList(); | [
"public Bomb(){\n this.num_uses = 2147483647; // Constant set num times we can use this\n }",
"java.util.List<java.lang.Integer> getTombIdListList();",
"void addNumKilled() {\n numKilled++;\n }",
"public int getInitBombRange() {\n \t\treturn 2;\n \t}",
"public void setBombmap() {\n \n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Predicate__Group__0" $ANTLR start "rule__Predicate__Group__0__Impl" ../com.blasedef.onpa.ONPA.ui/srcgen/com/blasedef/onpa/ui/contentassist/antlr/internal/InternalONPA.g:3569:1: rule__Predicate__Group__0__Impl : ( () ) ; | public final void rule__Predicate__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../com.blasedef.onpa.ONPA.ui/src-gen/com/blasedef/onpa/ui/contentassist/antlr/internal/InternalONPA.g:3573:1: ( ( () ) )
// ../com.blasedef.... | [
"public final void rule__Predicate__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:3289:1: ( ( () ) )\n // ../eu.quant... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
pull from server to client | public void pullFile(String path) throws IOException, ClassNotFoundException {
//first send to server what action
//this.outStream.writeObject("pull");
boolean temPermissao=(boolean)this.inStream.readObject();
this.outStream.writeObject(path);
String tmpRes = (String) this.inStream.readObject();
if... | [
"void getFromServer();",
"void pullResource(Position resrcPost, Position robotPost);",
"void fetchingInfo(String remotePath);",
"public void pull(String remoteName) {\n \t\t//X TODO\n \t}",
"public Document loadRemote()\n throws\n PSFUDAuthenticationFailureException,\n PSFUDServerExcept... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true if the element is enabled; false if it is disabled. Expects the element to be enabled, and if it is not, this method will check every 10 milliseconds until it is up to the configured timeout time (10 second default). NOTE: Use isDisabled() for the fastest processing time if you expect the element to be dis... | public boolean isEnabled() {
return new WebDriverWait(driver, Time.out().toSeconds(), Time.interval().toMillis())
.ignoring(StaleElementReferenceException.class)
.until(ExpectedConditions.not(
ExpectedConditions.attributeContains(element(), "disabled", "")));
} | [
"public boolean isDisabled() {\n\t\treturn new WebDriverWait(driver, Time.out().toSeconds(), Time.interval().toMillis())\n\t\t\t\t.ignoring(StaleElementReferenceException.class)\n\t\t\t\t.until(ExpectedConditions.attributeContains(element(), \"disabled\", \"\"));\n\t}",
"public void isEnabled()\n {\n cl... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This interface provides methods to get EvalGroups (user collections) information into the evaluation system and permissions related to those EvalGroups, | public interface ExternalEvalGroups {
public static final String NO_LOCATION = "noLocationFound";
// EvalGroups
/**
* @return the current group evalGroupId for the current session
* (represents the current group location of the user in the system)
*/
public String getCurrentEvalGroup();
/**
* Construct... | [
"String getEvaluationGroup();",
"protected List<EvalAssignGroup> getEvaluationAssignGroups(Long evaluationId) {\n // get all the evalGroupIds for the given eval ids in one storage call\n List<EvalAssignGroup> l = dao.findBySearch(EvalAssignGroup.class, new Search(\"evaluation.id\", evaluationId) );\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Assigns cards to the set each day | public static void assignCardToSet(Integer[] deckOrder, int day) {
int index = (day * 10) - 10;
Enumeration<Set> values = getBoard().elements();
// iterate through values
while (values.hasMoreElements()) {
Set set = values.nextElement();
// Doesn't set c... | [
"public void assignNewCards() {\n\n if (usedCard != -1) { //if a card has been used\n ownedCards.set(usedCard, new PlayingCard(this));\n usedCard = -1; //set used card to zero so another card can be played next turn\n\n //remove table so it can be reformatted with new card im... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by Apache iBATIS ibator. This method returns the value of the database column t_research.isResearch | public String getIsresearch() {
return isresearch;
} | [
"public String getResearchtype() {\r\n\t\treturn researchtype;\r\n\t}",
"public Long getResearchid() {\r\n\t\treturn researchid;\r\n\t}",
"public String getResearchno() {\r\n\t\treturn researchno;\r\n\t}",
"public void setIsresearch(String isresearch) {\r\n\t\tthis.isresearch = isresearch;\r\n\t}",
"public ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test method setComments(String) with comments already set. IllegalArgumentException is expected. | public void testSetComments_CommentsAlreadySet() {
impl.setComments("Fine.");
try {
impl.setComments("Ok.");
fail("IllegalArgumentException is expected.");
} catch (IllegalArgumentException iae) {
// Success
}
} | [
"void setComments(java.lang.String comments);",
"public void testSetComments_NullComments() {\r\n try {\r\n impl.setComments(null);\r\n fail(\"IllegalArgumentException is expected.\");\r\n } catch (IllegalArgumentException iae) {\r\n // Success\r\n }\r\n }"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
If animation is not running currently, start it | public void resumeOrStartAnimation()
{
if (!this.isAnimationRunning)
{
this.animate();
}
isAnimationPaused = false;
} | [
"public void startAnimation() {\n animationStart = System.currentTimeMillis();\n }",
"public abstract boolean animationRunning();",
"public void start(){ \n actTime=0;\n pause=false;\n \n if(isFinished){ \n \t AnimationManager.addAnimation(this);\n \t isFinished = false;\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets map of component instances to composition of topology template Note that component instances will be overrided in case if the topology template already contains a component instances | public void setComponentInstances(Map<String, ComponentInstanceDataDefinition> instances) {
if (getCompositions() == null) {
compositions = new HashMap<>();
}
if (MapUtils.isEmpty(getCompositions())) {
compositions.put(JsonConstantKeysEnum.COMPOSITION.getValue(), new Comp... | [
"private void createComponentMap() {\r\n\t componentMap = new HashMap<String,Component>();\r\n\t Component[] components = this.getComponents();\r\n\t for (int i=0; i < components.length; i++) {\r\n\t componentMap.put(components[i].getName(), components[i]);\r\n\t }\r\n\t}"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the user defined function key 4 | public void setUserFuncKey4(String userFuncKey4)
{
this.userFuncKey4 = Toolbox.trim(userFuncKey4, 3);
} | [
"public String getUserFuncKey4()\n\t{\n\t\treturn userFuncKey4;\n\t}",
"public void setUserFuncKey3(String userFuncKey3)\n\t{\n\t\tthis.userFuncKey3 = Toolbox.trim(userFuncKey3, 3);\n\t}",
"public void setUserFuncKey1(String userFuncKey1)\n\t{\n\t\tthis.userFuncKey1 = Toolbox.trim(userFuncKey1, 3);\n\t}",
"pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
helper method that checks if the key already exists in the tasksMap Hash Map | private boolean sameKeys(int ID) {
return tasksMap.containsKey(ID);
} | [
"private boolean taskAlreadyExists(Task task) {\n\t\treturn (taskLists.get(INDEX_PENDING).contains(task) || taskLists.get(INDEX_COMPLETED).contains(task)\n\t\t\t\t|| taskLists.get(INDEX_EXPIRED).contains(task));\n\t}",
"boolean containsTaskToDomain(\n String key);",
"public boolean existsKey(String inK... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
If the user checked the item, add it to the selected items | @Override
public void onClick(DialogInterface dialog, int which, boolean isChecked) {
if (isChecked) {
selectedItems.add(choices[which]);
} else... | [
"private void saveSelectedItems() {\n for(ShoppingItem shoppingItem : itemToShoppingList) {\n shoppingItemDatabase.child(shoppingItem.getName()).setValue(new ShoppingItem(shoppingItem.getName(), true, currentUser));\n }\n }",
"private void submitToSelectionList() {\n String curr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
getter whether or not this condition is true or false 0=not met, 1=met | public int getCondMet() {
return condMet;
} | [
"ConditionCheck getIf();",
"boolean isLogicValue();",
"boolean getMust();",
"int getCondition();",
"public boolean conditionFulfilled();",
"public int getTrueValue()\n {\n\t// Local constants\n\n\t// Local variables\n\n\t/************ Start getTrueValue Method ***************/\n\n // Return true valu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a new ListDataModel with all reservations by computer_id | public DataModel getReservationsByComp(long comp_id, String method) {
if ("all".equals(method)) {
reservationsDM = new ListDataModel(rdao.getReservationsByComputer(comp_id));
} else {
reservationsDM = new ListDataModel(rdao.getCurrentReservationsByComputer(comp_id));
}
return reservationsDM;
} | [
"List<Reservation> getReservationsByRoom(Room room);",
"List<Reservation> getAllReservations();",
"public static void getReservations() {\n try {\n //Creating connection and executing select all reservations\n Connection conn = databaseConnection.getConnection();\n Result... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test reading byte by byte | @Test
public final void block_input_read_single_04() throws IOException {
this.testSingleByteRead(100, 100);
} | [
"@Test\n public final void block_input_read_single_03() throws IOException {\n this.testSingleByteRead(100, 50);\n }",
"@Test\n public final void block_input_read_single_02() throws IOException {\n this.testSingleByteRead(100, 0);\n }",
"byte readByte();",
"@Test\n public final vo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Interrupt children of given process instance excluding notToInterruptFlownodeId | public void interruptChildrenOfProcessInstance(final long processInstanceId, final SStateCategory stateCategory,
final long notToInterruptFlownodeId)
throws SBonitaException {
List<SFlowNodeInstance> flowNodeInstances = flowNodeInstanceService
.getDirectChildrenOfProcessI... | [
"public void interrupt(){\n Process interruptedProcess = onCpu.getRunningProcess();\n\n //Handling case where process is waiting\n if(interruptedProcess != null && interruptedProcess.getState() == Process.ProcessState.WAITING){\n handleWait();\n }\n\n //Handling case wh... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Regroups all the test related to space located at the end of a regexp. Expected behavior : regexp : 'XYZ ' recognizes 'XYZ' but not 'XYZX' regexp : 'XZ ' recognizes 'XZ', but not 'XZZ', 'XYYZZZ'... regexp : '? ' recognizes 'X' or 'Y' but not 'XZ', 'XYZ'... | public void testMatchWithSpacesAtTheEnd() {
checkMatcher("E*d ", Sets.newHashSet("Ed"));
checkMatcher("* ", Sets.newHashSet("p1", "p2", "p3", "4", "Ed", "Eddy", "Merks", "Mum", "Mom", "M with 'simple' quotes", "M with spaces s", "M with \"quotes\" s", "Mummy", "mummY"));
checkMatcher("? ", Sets.... | [
"@Test\n\tpublic void test05RegExpDemo() {\n\t\tString tmpStr = \"My name is Bond. James Bond.\";\n\t\tPattern p = Pattern.compile(\"\\\\wond\");\n\t\tMatcher m = p.matcher(tmpStr);\n\n\t\tif (m.find()) {\n\t\t\tTestUtils.printLog(\"Group value: \" + m.group());\n\t\t\tint startIdx = m.start();\n\t\t\tTestUtils.pri... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new stats info. | IStatsInfo createStatsInfo(); | [
"private static void createStatistics() {\n\t\tsetStatistic(\"Highscore (\" + Game.Difficulty.EASY.name() + \")\", 0);\n\t\tsetStatistic(\"Highscore (\" + Game.Difficulty.NORMAL.name() + \")\", 0);\n\t\tsetStatistic(\"Highscore (\" + Game.Difficulty.HARD.name() + \")\", 0);\n\t\tsetStatistic(\"Highscore (\" + Game.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
//////// public ///////////////////////////////////////////////////////// Checks whether the metadata for this image can be written based on file and directory permissions. A write can still fail for other reasons. | public boolean canWriteMetadata() {
//
// To simplify things, we assume that if the directory the image is in
// can't be written to that the metadata can't be written either.
//
// Under Windows, however, there's no such thing as a non-writable
// directory that the curr... | [
"private static boolean checkFsWritable() {\n String directoryName = Environment.getExternalStorageDirectory().toString() + \"/DCIM\";\n File directory = new File(directoryName);\n if (!directory.isDirectory()) {\n if (!directory.mkdirs()) {\n return false;\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "entryRuleXVariableDeclaration" $ANTLR start "ruleXVariableDeclaration" InternalDroneScript.g:1513:1: ruleXVariableDeclaration : ( ( rule__XVariableDeclaration__Group__0 ) ) ; | public final void ruleXVariableDeclaration() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalDroneScript.g:1517:2: ( ( ( rule__XVariableDeclaration__Group__0 ) ) )
// InternalDroneScript.g:1518:2: ( ( rule__XVariableDeclaration__... | [
"public final void ruleXVariableDeclaration() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxcore.ui/src-gen/org/xtext/example/helloxcore/ui/contentassist/antlr/internal/InternalHelloXcore.g:1256:2: ( ( ( rule__XV... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of setAge method, of class SwimmerOne. | @Test
public void testSetAge() {
System.out.println("setAge");
int age = 29;
SwimmerOne instance = new SwimmerOne();
instance.setAge(age);
assertTrue("Did not set age as expected: ", (age == 29));
} | [
"public void testSetAge() {\n System.out.println(\"setAge\");\n int age = 0;\n Student instance = null;\n instance.setAge(age);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"@Test\n pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
unpacks the packed string an deletes the necessary records from the DeviceSurveyJobQueue table | private void deleteRecords(String packedString, String assignmentId) {
if (packedString != null) {
List<DeviceSurveyJobQueue> queueItems = deviceSurveyJobQueueDao
.listJobByAssignment(new Long(assignmentId));
List<DeviceSurveyJobQueue> itemsToDelete = new ArrayList<DeviceSurveyJobQueue>();
if (pack... | [
"private void unstringify(String strRecord) {\n\n // use pattern defined in\n // https://github.com/rse/graphql-tools-subscribe/blob/master/src/gts-3-evaluation.js\n if (strRecord.matches(REGEXPPATTERN)) {\n\n Pattern pattern = Pattern.compile(REGEXPPATTERN);\n Matcher matcher = pattern... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__MergeNode__Group__1__Impl" $ANTLR start "rule__MergeNode__Group__2" InternalActivityDiagram.g:4796:1: rule__MergeNode__Group__2 : rule__MergeNode__Group__2__Impl rule__MergeNode__Group__3 ; | public final void rule__MergeNode__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalActivityDiagram.g:4800:1: ( rule__MergeNode__Group__2__Impl rule__MergeNode__Group__3 )
// InternalActivityDiagram.g:4801:2: rule__MergeNo... | [
"public final void rule__MergeNode__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalActivityDiagram.g:4769:1: ( rule__MergeNode__Group__1__Impl rule__MergeNode__Group__2 )\n // InternalActivityDiagram.g:4770:2: ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This returns the test tags set at beginning of test | public static String[] getTestTags() {
return testTags.split(",");
} | [
"public Set<String> getCurrentTags() {\n\t\tSet<String> tags = new HashSet<String>();\n\t\t\n\t\tfor (int i=0;i<this.sentenceTable.size();i++) {\n\t\t\tSentenceStructure sentence = this.sentenceTable.get(i);\n\t\t\tString tag = sentence.getTag();\n\t\t\tif ((!StringUtils.equals(tag, \"ignore\"))){\n\t\t\t\ttags.add... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__GetProcess__Group__4__Impl" $ANTLR start "rule__GetProcess__Group__5" InternalDsl.g:28055:1: rule__GetProcess__Group__5 : rule__GetProcess__Group__5__Impl rule__GetProcess__Group__6 ; | public final void rule__GetProcess__Group__5() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalDsl.g:28059:1: ( rule__GetProcess__Group__5__Impl rule__GetProcess__Group__6 )
// InternalDsl.g:28060:2: rule__GetProcess__Group__5__Impl ru... | [
"public final void rule__GetProcess__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:28032:1: ( rule__GetProcess__Group__4__Impl rule__GetProcess__Group__5 )\n // InternalDsl.g:28033:2: rule__GetProcess__Gro... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ method to click CP | public void Click_CP()
{
controlbutt.click();
} | [
"public void click(){\n \t try{\n \t\t uniqId.click();\n \t\t// reportEvent.Status(e1.getClassName().toString().replace(\"com.uhg.vbr.panels.\",\"\")+\"page\",\"Button\"+label+\"is clcicked\",\"Pass\");\n \t }catch(Exception e){\n \t\t// reportEvent.Status(e1.getClassName().toString().replace(\"com.uhg.vb... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Merge the given book collections, returning a new collection which contains all the books found in either or both collections. The capacity of the new collection will be sufficient to hold all the books in the merged collection but can be larger. The collection will consist of new Book objects that are distinct from ... | public static BookCollection merge(BookCollection coll1, BookCollection coll2) {
BookCollection combinedColl;
// If the number of "actual" Book objects inside the two BookCollections
// is greater than the public field constant LIMIT the new merged
// BookCollection will have a capacity ... | [
"public static <T> Set<T> union(Collection<T> a, Collection<T> b) {\n return union(a, b, defaultSetFactory());\n }",
"private static <T> Set<T> union(Collection<T> c1, Collection<T> c2) {\n return Stream.concat(c1.stream(), c2.stream()).collect(Collectors.toUnmodifiableSet());\n }",
"@Test\n publ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
New dictionary type information | public int insertDictType(SysDictType dictType); | [
"private static HashMap<String, String> initMapping()\n {\n HashMap<String, String> typeMapping = new HashMap<String, String>();\n\n typeMapping.put(\"boolean\", \"boolean\");\n typeMapping.put(\"float\", \"float\");\n typeMapping.put(\"double\", \"double\");\n typeMapping.put(\"byte\", \"byte\");\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new CCR. | protected Ccr createCcr(CcRecordType type) {
if (type == null) {
throw new NullPointerException("cannot create a new CCR without a type");
}
long accountingRecordNumber = getRecordNumber();
DiameterClientRequest request = _client.newAuthRequest(ChargingConstants.COMMAND_CC, true);
DiameterAVP avp = new D... | [
"Crust create(Crust crust);",
"C createC();",
"static CRBase create(final boolean request, final int type, final byte[] data)\n\t{\n\t\tfinal byte[] opt = data != null ? data : new byte[0];\n\t\tif (type == KNXnetIPTunnel.TUNNEL_CONNECTION)\n\t\t\treturn request ? (CRBase) new TunnelCRI(opt) : new TunnelCRD(opt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Stores a success message in the session, if any other success messages exist, this one is simply added. This message will be removed from the session after the first time it has been accessed (a feature supported by Struts since version 1.2.4). | protected final void saveSuccessMessage(javax.servlet.http.HttpServletRequest request, java.lang.String message, java.lang.String[] arguments)
{
final javax.servlet.http.HttpSession session = request.getSession();
// we explicitely store and retrieve the messages from the session, as opposed to... | [
"void setSuccess(String message) \r\n { \r\n \tmSuccessMessage = message; \r\n }",
"public void setSuccessMessage(final String successMessage) {\n this.successMessage = successMessage;\n }",
"protected final void saveSuccessMessage(javax.servlet.http.HttpServletRequest request, java.lang.Stri... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Testing removal from the InternetContract repository. | @Test
public void deleteInternetContract() {
ContractRepository contractRepository = new ContractRepository();
contractRepository.add(internetContract);
Assert.assertEquals(internetContract, contractRepository.get(1));
contractRepository.delete(1);
Assert.assertNull(contractR... | [
"@Test\n public void deleteTvContract() {\n ContractRepository contractRepository = new ContractRepository();\n contractRepository.add(tvContract);\n Assert.assertEquals(tvContract, contractRepository.get(3));\n contractRepository.delete(3);\n Assert.assertNull(contractReposito... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates new form FrmRegistroTransportador | public FrmRegistroTransportador(Window parent) {
super(parent, DEFAULT_MODALITY_TYPE);
initComponents();
initialize();
} | [
"public frm_registro_admision_ingreso_registro() {\n }",
"public creacionempresa() {\n initComponents();\n mostrardatos();\n }",
"public FrmInsertar() {\n initComponents();\n }",
"public FrmCrearEmpleado() {\n initComponents();\n tFecha.setDate(new Date());\n }",... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks if the character can walk in the earth. | boolean canWalkInEarth(); | [
"boolean canWalkInWater();",
"public boolean canWalk() {\n\t\treturn rangeBottomLeft != null && !rangeBottomLeft.equals(location)\n\t\t\t\t&& rangeTopRight != null && !rangeTopRight.equals(location);\n\t}",
"public boolean isWalkable() {\n return type != CellType.WALL && isInBoundaries();\n }",
"public bo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a writer builder for CataloguePricingUpdate. | @Nonnull
public static UBL23WriterBuilder <CataloguePricingUpdateType> cataloguePricingUpdate ()
{
return UBL23WriterBuilder.create (CataloguePricingUpdateType.class);
} | [
"@Nonnull public static UBL23ReaderBuilder<CataloguePricingUpdateType> cataloguePricingUpdate(){return UBL23ReaderBuilder.create(CataloguePricingUpdateType.class);}",
"@Nonnull\n public static UBL22ValidatorBuilder <CataloguePricingUpdateType> cataloguePricingUpdate ()\n {\n return UBL22ValidatorBuilder.crea... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Extra npc option (Optional) | public boolean hasNPCOption3(NPC npc) {
return true;
} | [
"private void addOtherOptions() {\n\t\totherOptions = new OtherOptions(observer, pieces, playerModes, colors, ctrl, LOCAL_PIECE, randomPlayer, aiPlayer);\n\t\totherOptions.setSize(150, 150);\n\t\tadd(otherOptions);\n\t\tthis.internalObservers.add(otherOptions);\n\t}",
"private void processExtraOption(String opti... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Tests getTopRankedPwPairByGroupId with an empty collection. Also exercises getGroupId. Procedure: 1. Configure there to be an empty list of PwPairs to be sorted 2. Verify top ranked PwPair is null | @Test
public void testGetTopRankedPwPairByGroupIdEmptyCollection() throws Exception {
String groupId = "";
PhysicalWebCollection mockCollection = Mockito.mock(PhysicalWebCollection.class);
List<PwPair> pairs = Arrays.asList(new PwPair[]{});
Mockito.when(mockCollection.getGroupedPwPairsSortedByRank(
... | [
"@Test\n public void testGetTopRankedPwPairByGroupIdOneItemCollection() throws Exception {\n String groupId = \"group\";\n PwsResult mockResult = Mockito.mock(PwsResult.class);\n Mockito.when(mockResult.getGroupId()).thenReturn(groupId);\n PwPair mockPair = Mockito.mock(PwPair.class);\n Mockito.when... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
sdet_dsale_value_price numeric Valor de venta de precio | public BigDecimal getSdetDsaleValuePrice() {
return sdetDsaleValuePrice;
} | [
"sigma.software.leovegas.drugstore.api.protobuf.Proto.DecimalValue getPrice();",
"public BigDecimal getSdetDsalePrice() {\n\t return sdetDsalePrice;\n\t }",
"public BigDecimal getPriceStd();",
"org.spin.grpc.util.Decimal getPriceStd();",
"public BigDecimal getSdetDvalueSale() {\n\t return sdetDvalueS... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes all elements equal to element. (QVT) | public void removeAll(T element) {
if (size() > 0) {
T[] array = getArray();
for (int i = array.length - 1; i >= 0; i--) {
T elt = array[i];
if (element.equals(elt)) {
removeAt(i);
}
}
}
} | [
"public T remove (T element);",
"public T remove( T element );",
"public ImmutableHashOrderSet<T> removeElement(T elem) {\r\n if (inverse) {\r\n return new ImmutableHashOrderSet<T>(true,SortedArray.addElement(elements,elem));\r\n } else {\r\n return new ImmutableHashOrderSet<T>(false,SortedArray... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Default constructor for XMPPWrite. | public XMPPWrite() {
loadProperties();
} | [
"Write createWrite();",
"public XmppSender()\n {\n }",
"public MessageWriter(ChatServer L) {\n server = L;\n }",
"public PEMWriter() {\r\n }",
"public XMLIO() {\n\t\tthis(false); //construct the class with no namespace awareness\n\t}",
"public ServerPush() {\n this(\"\");\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of toJsonCollection method, of class Relation. | @Test
public void testToJsonCollection() {
System.out.println("testToJsonCollection()");
Relation instance = new Relation("singer", Relation.OUT);
String actualResult = "";
String result = instance.toJsonCollection();
assertNotSame(result, actualResult);
} | [
"public JsonElement serialize(NodeCollection nodeCollection, Type type,\n JsonSerializationContext jsonSerializationContext) {\n final Gson nodeBuilder = new GsonBuilder()\n .registerTypeAdapter(Segment.class, new NodeSerializer())\n .registerType... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Every passenger has unique id and some kind random generated in requirement destination story. | @Test
public void everyPassengerHasUniqueId() {
Elevator elevator = new Elevator(elevatorCapacity);
House house = new House(storiesNumber, passengersNumber, elevator);
List<Integer> ids = new ArrayList<>();
Set<Passenger> passengers = getAllPassengers(house);
for (Passenger ... | [
"public void generateId()\n\t{\n\t\t// generate random id\n\t\tRandom rn = new Random(); // new random, seed to current time\n\t\t\n\t\tint nRandomAgentId = rn.nextInt();\n\t\tnRandomAgentId = Math.abs(nRandomAgentId);\n\t\t\n\t\t// call Message class with registration tag\n\t\tString sAgentId = new Integer(nRandom... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Remove the metadata element representing a validValue. This will delete all anchored elements such as comments. | void removeValidValue(String userId,
String externalSourceGUID,
String externalSourceName,
String validValueGUID) throws InvalidParameterException,
UserNotAuthorizedException,
... | [
"public void unsetMetadata()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(METADATA$0, 0);\n }\n }",
"public void removeInvalidated( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.remove(this.model, this.getResource()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Draw in G the top card of the waste pile if there is one, or a white card if the waste is empty. | private void drawWaste(Graphics2D g) {
if (_game.topWaste() != null) {
paintCard(g, _game.topWaste(),
M_BOARDER + M_HORIZONTAL + CARD_WIDTH,
M_BOARDER + M_VERTICAL * 2 + CARD_HEIGHT * 2);
} else {
g.drawImage(getImage("playing-cards/WHITE.png... | [
"public Card drawTopCard() throws IllegalOperationException {\n\t\tif (cards.isEmpty()) {\n\t\t\tthrow new IllegalOperationException(\"Empty deck: no cards to show.\");\n\t\t}\n\t\telse return cards.pop();\n\t}",
"public Card drawCardFromTop() {\n Card temp = this.cards [this.topCardIndex];\n this... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes the association between the CRM Contact and the CRM Tag. Also notifies the appropriate model listeners and clears the mapping table finder cache. | @Override
public void removeCrmTag(long pk, contact.manager.model.CrmTag crmTag) {
crmContactToCrmTagTableMapper.deleteTableMapping(
pk, crmTag.getPrimaryKey());
} | [
"@Override\n\tpublic void removeCrmTag(long pk, long crmTagPK) {\n\t\tcrmContactToCrmTagTableMapper.deleteTableMapping(pk, crmTagPK);\n\t}",
"@Override\n\tpublic contact.manager.model.CrmTag deleteCrmTag(\n\t\tcontact.manager.model.CrmTag crmTag) {\n\n\t\treturn _crmTagLocalService.deleteCrmTag(crmTag);\n\t}",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Auxiliary method to insert person into tree according to lexicon. Only inserts, of void type. case1 : Person already exists, does nothing case2 : string name is bigger, goes to right subtree case3 : found insertion point, sets immediate root's right reference to new Person object case4 : string name is smaller, goes to... | private static void insertAux(Person p, BinarySearchPerson bt){
if(bt.getValue().getName().compareTo(p.getName()) == 0 ){
return ;
}else if(bt.getValue().getName().compareTo(p.getName()) < 0 && bt.getRight().getEmpty() == false){
insert(p, bt.getRight());
}else if(bt.getValue().getName(... | [
"@Test\n\tpublic void testInsertWithNode() {\n\t\tGeneralTree<String> gt = new GeneralTree<String>();\n\t\tassertEquals(0, gt.size());\n\t\tassertNull(gt.root());\n\t\tgt.insert(\"fruit\", \"apple\", null);\n\t\tassertEquals(1, gt.size());\n\t\tassertEquals(\"fruit\", gt.getKey(gt.root()));\n\t\tassertEquals(\"appl... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the maxSR value for this ConeSearchCapability. | public void setMaxSR(float maxSR) {
this.maxSR = maxSR;
} | [
"public float getMaxSR() {\n return maxSR;\n }",
"public void SetMaxVal(int max_val);",
"public void setRtoMaxValue(String rtoMaxValue) throws JNCException {\n setRtoMaxValue(new YangUInt32(rtoMaxValue));\n }",
"protected final void setMaximumVirtualCircuits(int maxVC) {\n\t\tm_maxVCs = ma... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column channel_push_config.channel_param | public void setChannelParam(String channelParam) {
this.channelParam = channelParam == null ? null : channelParam.trim();
} | [
"public String getChannelParam() {\n return channelParam;\n }",
"void setChannel(java.lang.String channel);",
"public void setChannelID(Integer channelID) {\n this.channelID = channelID;\n }",
"public void setChannel(int channel)\r\n {\r\n channelNumber = channel;\r\n }",
"p... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
this method gets and returns the boolean value of this val expression. | public Boolean getVal() {
return this.val;
} | [
"public Boolean getValue() {\r\n return Boolean.valueOf(this.value);\r\n }",
"public boolean booleanValue() {\n return booleanAt(0);\n }",
"public boolean booleanValue();",
"public static Matcher<Val> valTrue() {\n\t\treturn val(true);\n\t}",
"public Boolean booleanValue() {\n\t\tif (thi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
La methode VerifierPlagesHorairesUneLiv permet de verifier que l heure d arrivee sur le lieu de la livraison respecte bien la plage horaire associee. | public int VerifierPlagesHorairesUneLiv(Livraison liv) {
// juste checker si l'horaire d'arrivee fait partie de la ph
// valeur 0 : pas d'attente et pas tendu --> bleu
// valeur 1 : pas d'attente et tendu --> orange
// valeur 2 : attente --> PURPLE
// valeur 3 : plage horaire violee --> rouge
int va... | [
"public int[] VerifierPlagesHorairesTournee() {\r\n\t\tint nbLivraisons = getListeLivraison().size();\r\n\t\tint[] tableauPlageHoraire = new int[nbLivraisons]; // initialiser taille\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// a nombre de liv\r\n\r\n\t\tfor (int i = 0; i < nbLivraisons; i++) {\r\n\t\t\tint valeurPH = Verifi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new OptionException instance. | public OptionException(String msg) {
super(msg);
this.msg = msg;
this.cause = null;
} | [
"public OptionException(Exception oops) {\n\n super(oops.getMessage());\n\n this.msg = \"\";\n this.cause = oops;\n }",
"Exception createException();",
"public InvalidOptionChoice(String message) { super(message); }",
"ExceptionDef createExceptionDef();",
"public InvalidArgumentExcep... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Getter for property totalFasjabtel. | public double getTotalFasjabtel() {
return this.totalFasjabtel;
} | [
"public double getTotalFactoringFee() {\n return totalFactoringFee;\n }",
"public void setTotalFasjabtel(double totalFasjabtel) {\n this.totalFasjabtel = totalFasjabtel;\n }",
"public String getTotalFee() {\n return totalFee;\n }",
"public java.lang.String getTotalFee() {\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Exercise 8: Create a method that accepts a String and checks if it is a positive string. A string is considered a positive string, if on moving from left to right each character in the String comes after the previous characters in the Alphabetical order. For Example: ANT is a positive String (Since T comes after N and ... | public boolean isPositiveString(String input) {
for (int i = 0; i < input.length()-1; i++) {
if(input.charAt(i) > input.charAt(i+1)){
return false;
}
}
return true;
} | [
"public static boolean alphabeticalOrder(String s) {\n int prev = 0; //stores previous alphabetical character\n\n/*\n loops through string, compares current character to previous if current is alphabetic.\n if not at least previous, returns false\n*/\n for (int i = 0; i < s.length(); i++) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__XMemberFeatureCall__Group_1_1_3__1__Impl" $ANTLR start "rule__XMemberFeatureCall__Group_1_1_3__2" ../org.xtext.example.helloxcore.ui/srcgen/org/xtext/example/helloxcore/ui/contentassist/antlr/internal/InternalHelloXcore.g:6961:1: rule__XMemberFeatureCall__Group_1_1_3__2 : rule__XMemberFeatureCall__Gro... | public final void rule__XMemberFeatureCall__Group_1_1_3__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.xtext.example.helloxcore.ui/src-gen/org/xtext/example/helloxcore/ui/contentassist/antlr/internal/InternalHelloXcore.g:6965:1: ( rule__XM... | [
"public final void rule__XMemberFeatureCall__Group_1_1_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxcore.ui/src-gen/org/xtext/example/helloxcore/ui/contentassist/antlr/internal/InternalHelloXcore.g:... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Contexts: ObstacleInitDisplay returns ObstacleInitDisplay Constraint: (ObstacleIcon+=IconTag Iconsize=IconSize ObstacleTag=INT) | protected void sequence_ObstacleInitDisplay(ISerializationContext context, ObstacleInitDisplay semanticObject) {
genericSequencer.createSequence(context, semanticObject);
} | [
"public void displayCurrentObstacle() {\n\t\tif( !currentRunway.obstacleExits()){\n\t\t\tSwingUtilities.invokeLater(new Runnable(){\n\t\t\t\t@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\t// Perform the removal of the obstacle information if needed.\n\t\t\t\t\tview.getFrame().performRemovalOfObstacle();\n\t\t\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
System.out.println("centroid: " + ( (spectralCentroid / 100))); | private int quantizeCentroid(double spectralCentroid) {
return (int) (spectralCentroid / 1000) + 1;
} | [
"public Vector getCentroid() {\n return centroid;\n }",
"public Coordinates getCentroid() {\r\n return centroid;\r\n }",
"public double[] computeCentroid () {\n \tdouble [] ordinates = computeOrdinates();\n \tint divisor = ordinates.length / 2;\n \tdouble longitudes = 0;\n \tdouble lat... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the value of the 'Outputclass' attribute. If the meaning of the 'Outputclass' attribute isn't clear, there really should be more of a description here... | Object getOutputclass(); | [
"public Class getOutputValueClass() {\n return outputValueClass;\n }",
"public Class<?> getOutputType() {\n\t\treturn outputType;\n\t}",
"public String getOutputType() {\n return outputType;\n }",
"public static int getOutputType() {\r\n return outputType;\r\n }",
"@Override final protecte... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns and removes the next change from the change set. | public Change getNextChange()
{
try
{
return this.changes.dequeue();
}
catch (EmptyQueueException e)
{
return null;
}
} | [
"@Override\n\tpublic Passenger removeNext() {\n\t\treturn checkpoints.get(lineWithNextToClear()).removeFromLine();\n\t}",
"@Override\n public T remove() {\n //make sure there is something in the set\n if (first == null)\n return null;\n //make a reference to the data in the firs... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get all animation groups | public Collection<ColladaAnimationGroup> getAnimationGroups() {
return animationGroups.values();
} | [
"public Set<String> getAnimationNames() {\n return animationGroups.keySet();\n }",
"public ArrayList<Animation> getAllAnim() throws RemoteException;",
"ArrayList<Animations> getAnimations();",
"ArrayList<IAnimation> getAnimation();",
"public java.util.ArrayList<android.animation.Animator> getChild... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
METHOD NAME : listen INPUT : integer as an Update Value RETURNS : void PURPOSE : It's an Observer update, which it has received from corresponding subject | public void listen(int UPDATE_VALUE){
if(this.filterType.filter(UPDATE_VALUE)) {
this.setBNumber(this.getBNumber() + UPDATE_VALUE);
}
} | [
"public void updateObserver();",
"@Override\n public void update(Observable observable, Object arg) {\n numNotificationsReceived++;\n }",
"public void notifyObservers(int UPDATE_VALUE){\n\t\tfor(int i = 0; i < observerNodes.size();i++){\n\t\t\tNode currentNode = observerNodes.get(i);\n\t\t\tif(curr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test method searchAddresses(). Given filter is not searchable, PersistenceException expected. | public void testSearchAddresses_PersistenceException() throws Exception {
try {
this.dao.searchAddresses(new EqualToFilter("address_id", new Long(1)));
fail("PersistenceException expected");
} catch (PersistenceException e) {
//good
}
} | [
"public void testSearchAddresses() throws Exception {\r\n try {\r\n this.dao.searchAddresses(null);\r\n fail(\"IllegalArgumentException expected\");\r\n } catch (IllegalArgumentException e) {\r\n //good\r\n }\r\n }",
"public void testSearchAddresses_Associa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets (as xml) the "Company" element | public void xsetCompany(org.apache.xmlbeans.XmlString company)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMPANY$8, 0);
if (target =... | [
"public void setCompany(java.lang.String company)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMPANY$8, 0);\n if (target... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |