query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Add a new data object to the node. | public void addData(F dataObject) {
this.data = dataObject;
} | [
"public void add(Object data){\n\n \tif(head == null){\n head = new Node(data);\n\n \t} \n\n \tNode currNode = head;\n \tNode nextNode = new Node(data);\n\n \tif(currNode != null) {\n\n \t while(currNode.getNext() != null){\n\n currNode = currNode.getNext();\n \t }\n\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
validates that the mandatory documents are present. | void validateMandatoryDocuments(List<DocumentDTO> documentDTOs, StringBuilder errorMsg) {
errorMsg.append(paServiceUtils.checkDocumentListForValidFileTypes(documentDTOs));
if (!paServiceUtils.isDocumentInList(documentDTOs, DocumentTypeCode.PROTOCOL_DOCUMENT)) {
errorMsg.append("Protocol Docu... | [
"private void validateRequiredDocuments(Noc noc, Object mdmsData) {\n\t\tMap<String, List<String>> masterData = mdmsValidator.getAttributeValues(mdmsData);\n\n\t\tif (!noc.getWorkflow().getAction().equalsIgnoreCase(NOCConstants.ACTION_REJECT) && !noc.getWorkflow().getAction().equalsIgnoreCase(NOCConstants.ACTION_VO... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the value of the digital output 'Open'. This method is automatically generated. Please, do not modify! I/O direction and type: digital output User description of the I/O: ./. Range of the I/O value: [false; true] | public void setOpen(java.lang.Boolean value)
{
setDigitalOutput("Open", value);
} | [
"public void setOpen(Double open) {\n this.open = open;\n }",
"public void setOpen(double open) {\n\t\tthis.open = open;\n\t}",
"public void setOpen(Integer open) {\n this.open = open;\n }",
"public void setOpenStatus(boolean open){\n this.open = open;\n }",
"public abstract vo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks whether the 'field55' field has been set | public boolean hasField55() {
return fieldSetFlags()[55];
} | [
"public boolean hasField41() {\n return fieldSetFlags()[41];\n }",
"public boolean hasField1055() {\n return fieldSetFlags()[1055];\n }",
"public boolean hasField544() {\n return fieldSetFlags()[544];\n }",
"public boolean hasField56() {\n return fieldSetFlags()[56];\n }",
"p... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Put new conversation into repository. | private void addConversation(Node conversationsNode, Conversation conversation) {
try {
jcrom.addNode(conversationsNode, conversation);
conversationsNode.getSession().save();
} catch (Exception e) {
e.printStackTrace();
}
} | [
"public void writeThrough(Conversation conversation) {\n Entity conversationEntity = new Entity(\"chat-conversations\", conversation.getId().toString());\n conversationEntity.setProperty(\"uuid\", conversation.getId().toString());\n conversationEntity.setProperty(\"owner_uuid\", conversation.getOwnerId().t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks that spawns satisfying Spawns.mayBeCached false are not looked up in the remote cache, and also that their result and artifacts are not uploaded to the remote cache. | @Test
public void noCacheSpawns() throws Exception {
for (String requirement : ImmutableList.of(NO_CACHE, LOCAL)) {
SimpleSpawn uncacheableSpawn = /* arguments= */
/* environment= */
/* inputs= */
/* outputs= */
new SimpleSpawn(new FakeOwner("foo",... | [
"@Test\n public void failedActionsAreNotUploaded() throws Exception {\n CacheHandle entry = cache.lookup(simpleSpawn, simplePolicy);\n Mockito.verify(remoteCache).getCachedActionResult(ArgumentMatchers.any(ActionKey.class));\n assertThat(entry.hasResult()).isFalse();\n SpawnResult res... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
FYI grammar must be created BEFORE we start to listen | @Override
public void startListening() {
startListening(null); // use existing grammar
} | [
"private void grammar() {\n _original_lexer = S.lexer;\n S.lexer = _grammar_lexer;\n\n // add predefined terminals\n for (int i = 0; i < MINUSERTERM; i++) {\n _terms[i] = new SYMBOL();\n _terms[i].val = i;\n }\n\n // parse grammar\n S.expect(LBR... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method handles if the pet mode is activated or not. | private void readPetMode(){
SharedPreferences sp = this.getApplicationContext().getSharedPreferences("settings", 0);
boolean petModeEnabled = sp.getBoolean("petMode", false);
if(!petModeEnabled){
tPet.setBackground(getResources().getDrawable(R.drawable.mainbottom_background_grey));... | [
"public boolean checkPet() {\r\n return this.player.pet.getIsAlive();\r\n }",
"public boolean isPet() {\n return this.isPet;\n }",
"@Override\n public boolean isStealthOn() {\n // Try to find a Mek Stealth system.\n for (Mounted mEquip : getMisc()) {\n MiscType mt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets (as xml) the "TransferSoundId" element | public void xsetTransferSoundId(org.apache.xmlbeans.XmlLong transferSoundId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlLong target = null;
target = (org.apache.xmlbeans.XmlLong)get_store().find_element_user(TRANS... | [
"public void setTransferSoundId(long transferSoundId)\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(TRANSFERSO... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes checked items and finishes the activity | private void removeChecked() {
try{
mDataSource.open();
mDataSource.deleteCheckedEntrys(mID);
}
catch(Exception e){
Log.d("ERROR", "ERROR: " + e.getMessage());
}
finally{
mDataSource.close();
finish();
}
} | [
"public void removeCheckedItems(){\n\t\tmCopyList = new ArrayList<ListItem>();\r\n\t\tmCopyList.clear();\r\n\t\tfor (int i=0; i<mTransactionList.size();i++){\r\n\t\t\tif (!isChecked(i)){\r\n\t\t\t\tmCopyList.add(mTransactionList.get(i));\r\n\t\t\t} else {\r\n\t\t\t\tLog.v(TAG, \"Dropping: \"+mTransactionList.get(i)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
System.out.println("Attemting reload " + commonStuff.getColleague().getUserID() ) ; | public void reload() {
if(commonStuff.getColleague() != null && commonStuff.getColleague().getUserID() != "-1") {
commonStuff.setColleague(fetchuser(commonStuff.getColleague()));
System.out.println("reload after if - after fetch ");
populateUserInfo();
refreshSkills();
}
} | [
"public void reloadUserLogged() {\n setUserLogged(userBean.findUser(userLogged.getId()));\n }",
"public void reload() {\n\t\treload = true;\n\t}",
"private void refreshCurrentRunInfo() {\r\n\r\n\t\tif(currentRun == null || currentRun.isNew()){\r\n\t\t\twriteToProbeLogWindow(\"\", false);\r\n\t\t\tdeco... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Determine if a reply code is a positive preliminary response. All codes beginning with a 1 are positive preliminary responses. Postitive preliminary responses are used to indicate tentative success. No further commands can be issued to the SMTP server after a positive preliminary response until a follow up response is ... | public static boolean isPositivePreliminary(int reply) {
return (reply >= 100 && reply < 200);
} | [
"private boolean CheckResponseCode(int code) throws IOException\r\n {\r\n String response = ReadFromServer();\r\n \r\n return response.startsWith(code + \" \");\r\n }",
"public static boolean isPositiveCompletion(int reply) {\n\t\treturn (reply >= 200 && reply < 300);\n\t}",
"public s... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "entryRuleReturnStatement" $ANTLR start "ruleReturnStatement" ../de.jevopi.mitra2/srcgen/de/jevopi/mitra2/parser/antlr/internal/InternalMitraParser.g:2743:1: ruleReturnStatement returns [EObject current=null] : ( () otherlv_1= KEYWORD_73 ( (lv_expression_2_0= ruleExpression ) )? otherlv_3= KEYWORD_13 ) ; | public final EObject ruleReturnStatement() throws RecognitionException {
EObject current = null;
int ruleReturnStatement_StartIndex = input.index();
Token otherlv_1=null;
Token otherlv_3=null;
EObject lv_expression_2_0 = null;
enterRule();
try {
... | [
"public final void entryRuleReturnStatement() throws RecognitionException {\n try {\n // InternalDsl.g:2305:1: ( ruleReturnStatement EOF )\n // InternalDsl.g:2306:1: ruleReturnStatement EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.g... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a new object of class 'Send Action'. | SendAction createSendAction(); | [
"SendInteraction createSendInteraction();",
"Action createAction();",
"SendMessageAction.Builder send(Endpoint messageEndpoint);",
"@NotNull public static ScheduleAction.Builder scheduleAction() { return new ScheduleAction.Builder(new HashMap<String,Object>()); }",
"void sendPlayerAction(PlayerAction player... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
rollover on women category and select casual dresses user should be able to navigate to women category from home page | public void navigateToWomanCategory(){
a = new Actions(driver);
a.moveToElement(driver.findElement(By.cssSelector("div[id ='block_top_menu'] a[title='Women']"))).build().perform();
driver.findElement(By.cssSelector("ul[class='submenu-container clearfix first-in-line-xs'] li a[title='Casual Dresses'] ")).cli... | [
"private void selectCategory(String category) {\n\t\twaitUntil(ExpectedConditions.attributeContains(By.id(\"Deals\"), \"aria-selected\", \"true\"), 5);\n//\t\tOptional<HtmlElement> mainMenu = topCategories.stream().filter(m -> m.getText().trim().equalsIgnoreCase(category)).findFirst();\n//\t\tAssert.assertTrue(cate... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Saves all the information about the newly created game into a DTO | protected ActiveGamePostDTO createActiveGamePostDTO(GameEntity game){
ActiveGamePostDTO activeGamePostDTO=new ActiveGamePostDTO();
activeGamePostDTO.setId(game.getId());
List<String> playerNames= new ArrayList<>();
for (PlayerEntity player : game.getPlayers()){
playerNames.ad... | [
"@PostMapping(\"/createNewGameRoom\")\n @ResponseStatus(HttpStatus.CREATED)\n public Game generateNewGameRoom() {\n String entrycode = service.generateEntryCode();\n currentGame.setEntrycode(entrycode);\n currentGame = gameDao.add(currentGame);\n return currentGame;\n }",
"pub... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
return a joint by playing simulations. the distribution is produced by taking the HOB of agent_idx. TODO: haven't worked on yet | public JointDistributionEmpirical simulOneAgent(SeqAuction auction, int agent_idx, int no_simulations) throws IOException {
SeqAgent[] agents = auction.agents;
JointDistributionEmpirical jde = new JointDistributionEmpirical(no_goods, precision, max_price);
for (int j = 0; j<no_simulations; j++) {
// Cause... | [
"DiscreteDistribution<Joint<A>> getJointActionDistribution();",
"public JointDistributionEmpirical[] simulAllAgents(SeqAuction auction, int no_simulations) throws IOException {\t\n\t\tSeqAgent[] agents = auction.agents;\n\n\t\t// create JDEs, one per agent\n\t\tJointDistributionEmpirical[] jde = new JointDistribu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the provisioningState property: The provisioning status of the Data Lake Store account. | public DataLakeStoreAccountStatus provisioningState() {
return this.provisioningState;
} | [
"public String provisioningState() {\n return this.provisioningState;\n }",
"public com.profitbricks.api.ws.ProvisioningState getProvisioningState() {\r\n return provisioningState;\r\n }",
"public DomainProvisioningState provisioningState() {\n return this.provisioningState;\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the file extension for the configured writer type | public String getFileExtension() {
// Extension
switch (this.writerType) {
case OWL:
return ".owl";
case DAML:
return ".daml";
case NTRIPLES:
return ".nt";
case SQL:
return ".sql";
case PostgreSQL:
return... | [
"public String getFileExtension();",
"String fileExtension();",
"java.lang.String getExt();",
"String getExtension();",
"String getFileExtension();",
"public String getExtension();",
"public String getExtension() {\r\n return (String) get(\"extension\");\r\n }",
"public String getExtension()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method to start recording | private void startRecording() {
} | [
"public void startRecording();",
"void startRecording();",
"public void startRecording() {\n RecordAndPlay.startRecording(this);\n }",
"public void startRecording() {\r\n interactionMode = InteractionMode.RECORDING;\r\n eventStream = new Vector<Serializable>();\r\n lastTime = System.c... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Runs all "route" filters. These filters route calls to an origin. | public void route() throws ZuulException {
try {
runFilters("route");
} catch (ZuulException e) {
throw e;
} catch (Throwable e) {
throw new ZuulException(e, 500, "UNCAUGHT_EXCEPTION_IN_ROUTE_FILTER_" + e.getClass().getName());
}
} | [
"public void route(ConnectionContext ctx, RoutingRequest request, RoutingResponse response) {\n RoutingExecutor routingExecutor = new RoutingExecutor(ctx, rootRoute, request, response, maxReRouteCount);\n // we cannot throw an exception to the filters, as then the filter would not have information abo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The total size (int bytes) of the aggregate. | public Long getSizeTotal() { return this.sizeTotal; } | [
"public long getTotalSize() {\n return totalSize;\n }",
"public double totalSize() {\n if (bag != null) {\n return bag.getSize();\n } else {\n return 0;\n }\n\n }",
"int getTotalSize();",
"public Integer getSize() {\r\n if (obj != null) {\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
True if has "CodIntCli" element | public boolean isSetCodIntCli()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CODINTCLI$20) != 0;
}
} | [
"public boolean isSetCodInst() {\r\n\t\treturn this.codInst != null;\r\n\t}",
"boolean isSetNcbi8Aa();",
"boolean comprovarCodi(String codi) {\r\n if(codi == id) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }",
"boolean isSetCit();",
"b... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set method for struct member 'edit_quality'. Field Documentation Blender Source Code Quality setting when editing. | public void setEdit_quality(short edit_quality) throws IOException
{
if ((__io__pointersize == 8)) {
__io__block.writeShort(__io__address + 356, edit_quality);
} else {
__io__block.writeShort(__io__address + 280, edit_quality);
}
} | [
"public void setQuality(float quality);",
"public void setQuality(final int quality);",
"public void setQuality(int quality)\n\t{\n\t\tthis.quality = Math.max(0, Math.min(quality, 2));\n\t}",
"public void setQuality(Integer value) {\n this.quality = value;\n }",
"public void setQuality(int quality) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Convenience method to get the specified member as a JsonPrimitive element. | public JsonPrimitive getAsJsonPrimitive(String memberName) {
return (JsonPrimitive) members.get(memberName);
} | [
"private static JsonElement toJsonElement(String name, Member member, Object object) {\n if (object instanceof Jsonable) {\n Jsonable jsonable = (Jsonable) object;\n verifyAllowedJsonKeyName(name, member, jsonable.getClass());\n return jsonable.toJson();\n }\n if (object instanceof String) {... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retrieving NAMECHANGED flag that shows if this CA has gone through the Name Change any time in its history renewal. | public boolean getNameChanged() {
Boolean v = ((Boolean) data.get(NAMECHANGED));
return (v == null) ? false : v.booleanValue();
} | [
"public boolean isNameChange () {\n return name;\n }",
"public boolean isNameChange() {\n return name;\n }",
"public boolean isCompanyNameModified()\n\t{\n\t\treturn companyNameModified;\n\t}",
"public boolean isNameModified() {\n return name_is_modified; \n }",
"public boolean... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true if field length is set (has been assigned a value) and false otherwise | public boolean isSetLength() {
return __isset_bit_vector.get(__LENGTH_ISSET_ID);
} | [
"boolean isSetMaxLength();",
"public boolean isSetLength() {\n return EncodingUtils.testBit(__isset_bitfield, __LENGTH_ISSET_ID);\n }",
"public boolean isSetMaxLength()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(MAXLE... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the destinationNetworkInterfaceIpConfiguration property: The reference to the private IP Address of the collector nic that will receive the tap. | NetworkInterfaceIpConfiguration destinationNetworkInterfaceIpConfiguration(); | [
"public String destinationIPAddress() {\n return this.destinationIPAddress;\n }",
"public NetworkInterfaceIpConfigurationInner ipConfiguration() {\n return this.ipConfiguration;\n }",
"java.lang.String getDestinationIp();",
"public String getDestIpAddress() {\n return destIpAddress;\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Open a dialog for choose the file to be opened as dataset. | @FXML
protected void dialogOpen() throws IOException {
final FileChooser fileChooser = new FileChooser();
File file = fileChooser.showOpenDialog(FracGenApplication.getInstance().stageOpenData);
if (file != null) {
if (file.exists()) {
if (file.getAbsolutePat... | [
"public void openFileDialog() {\n\tswitch(buttonAction) {\n\t case SELECT_FILES:\n openFileDialog(fileUpload, true);\n break;\n\t case SELECT_FILE:\n default:\n openFileDialog(fileUpload, false);\n break;\n\t}\n }",
"public void chooseDatasetDescriptionFile() {\n JFileCh... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the global roles. | public Set<GlobalRole> getGlobalRoles() {
if (globalRoles == null) {
globalRoles = Sets.newHashSet();
}
return globalRoles;
} | [
"public Set<String> getCurrentRoles();",
"Role getRoles();",
"List<RoleEntity> getSystemRoles();",
"public String getRoles() {\r\n return roles;\r\n }",
"public String getRoles() {\n return roles;\n }",
"public List<Role> getAllRoles();",
"public Roles getRoles()\n\t{\n\t\treturn Soc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Preview a favor while editing | private void favorPreviewTests(){
ViewInteraction textView14 = onView(
allOf(withId(R.id.favTitle), withText("Renamed favor"),
childAtPosition(
childAtPosition(
IsInstanceOf.<View>instanceOf(android.w... | [
"void favoriteView();",
"public void setPreview(boolean preview) {\r\n this.preview = preview;\r\n }",
"private void updateFavouriteDisplay() {\n updateFavouritesGalleryButtonDisplay();\n\n ImageFile currentImage = adapter.getImageAt(imageIndex);\n if (currentImage != null)\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ If a car is unparked this method vacant the slot , calculate the parking fee (nonJavadoc) | @Override
public void vacantSlot(Map<Integer, ParkingStatus> availableSlots, String vehicleRegNo, String status,double hours) {
AllocateParkingSlot.logger.info(CURRENT_CLASS_NAME + "Executing vacantSlot method" );
Iterator<Map.Entry<Integer, ParkingStatus>> iterator = availableSlots.entrySet().iterator();
d... | [
"private Integer computeAndAllocateFreeSlotForCar(Car car) {\n\n logger.log(Level.INFO, \"Entering computeAndAllocateFreeSlotForCar(Car car)\");\n List<ParkingSlot> parkingSlotList = CreateParkingLot.getInstance().getParkingSlotList();\n for(Integer counter = 0; counter < parkingSlotList.size()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Starts the given thread, wait for its completion and in the meantime sets the wait cursor for the supplied component. The original mouse pointer is restored when the thread completes its execution. | public void waitCursorForAction(JComponent comp, Thread thr) {
waitCursorForAction(comp, thr, false);
} | [
"public void waitCursorForAction(JComponent comp, Thread thr, boolean disable) {\r\n Cursor orig = comp.getCursor();\r\n boolean status = comp.isEnabled();\r\n if (disable) comp.setEnabled(false);\r\n comp.setCursor(waitCursor);\r\n thr.start();\r\n try {\r\n thr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Add the given SPFChecker on top of the stack | public void pushChecker(SPFChecker checker) {
checkers.push(checker);
} | [
"@Override\r\n\tpublic void setStackChecker(StackCheck s) {\r\n\t\tif (partialOrderReduction) {\r\n\t\t\tpartial = new PartialOrder(alphabet, actionName, stateMachines, new StackChecker(coder, s), cs.getHidden(),\r\n\t\t\t\t\tcs.exposeNotHide, false, highAction);\r\n\t\t\texplorerContext.partial = partial;\r\n\t\t}... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes the ith "securityroleref" element | void removeSecurityRoleRef(int i); | [
"public void removeAllSecurityRole() {\n _securityRoleList.removeAllElements();\n }",
"public void deleteSecRetencion()\r\n {\r\n this._has_secRetencion= false;\r\n }",
"public void unsetSwissprot()\r\n {\r\n synchronized (monitor())\r\n {\r\n c... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new LNDCDC_ADS_PRPSL_DEAL_PNT_FEAT_LN RecordBuilder. | public static org.LNDCDC_ADS_PRPSL.DEAL_PNT_FEAT_LN.apache.nifi.LNDCDC_ADS_PRPSL_DEAL_PNT_FEAT_LN.Builder newBuilder() {
return new org.LNDCDC_ADS_PRPSL.DEAL_PNT_FEAT_LN.apache.nifi.LNDCDC_ADS_PRPSL_DEAL_PNT_FEAT_LN.Builder();
} | [
"public static org.LNDCDC_ADS_PRPSL.DEAL_PNT_FEAT_LN.apache.nifi.LNDCDC_ADS_PRPSL_DEAL_PNT_FEAT_LN.Builder newBuilder(org.LNDCDC_ADS_PRPSL.DEAL_PNT_FEAT_LN.apache.nifi.LNDCDC_ADS_PRPSL_DEAL_PNT_FEAT_LN other) {\n if (other == null) {\n return new org.LNDCDC_ADS_PRPSL.DEAL_PNT_FEAT_LN.apache.nifi.LNDCDC_ADS_... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Helper function to construct a recording, given a Cursor object. The Cursor object is left as it is. It is the caller's responsibility to close the Cursor | private Recording constructRecording(Cursor cursor) {
Recording recording = new Recording();
Gson gson = new Gson();
recording.setRecordingID(cursor.getString(
cursor.getColumnIndex(RecordingTableContract.COLUMN_RECORDING_ID)));
recording.setTitle(cursor.getString(
... | [
"private Cursor findOrCreateCursor() {\n\t\tCursor cursor = findCursor();\n\t\t\n\t\tif(cursor != null) {\n\t\t\treturn cursor;\n\t\t}\n\t\t\n\t\tMeasure measure = getMeasures().get(0);\n\t\tVoice voice = measure.getVoices().get(0);\n\t\n\t\tcursor = new Cursor(measure, voice);\n\t\tvoice.insertItem(cursor, 0);\n\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method is used to add invited company for closed tender. | @RequestMapping(path = "/admin/data/invitedCompany/{tenderId}", method = RequestMethod.POST,
produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity addTenderInvitedCompany(@PathVariable(value="tenderId") int id, HttpServletRequest request)
... | [
"protected void addInvestors(CompanyVO company) throws ActionException {\n\t\tStringBuilder sql = new StringBuilder(175);\n\t\tsql.append(\"SELECT i.INVESTOR_COMPANY_ID, c.COMPANY_NM FROM \").append(customDbSchema).append(\"BIOMEDGPS_COMPANY_INVESTOR i \");\n\t\tsql.append(LEFT_OUTER_JOIN).append(customDbSchema).ap... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column sys_login.dev_brand | public String getDevBrand() {
return devBrand;
} | [
"java.lang.String getDevicebrand();",
"public java.lang.String getBrandField() {\n return brandField;\n }",
"@Override\n\tpublic java.lang.String getBrand() {\n\t\treturn _join.getBrand();\n\t}",
"java.lang.String getBrand();",
"public Object getBrand() {\n\t\treturn this.brand;\n\t}",
"public j... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get one projectRole by id. | @Override
@Transactional(readOnly = true)
public ProjectRole findOne(Long id) {
log.debug("Request to get ProjectRole : {}", id);
return projectRoleRepository.findOne(id);
} | [
"public Mono<ProjectRole> getProjectRoleById(Long id) throws WebClientResponseException {\n Object postBody = null;\n // verify the required parameter 'id' is set\n if (id == null) {\n throw new WebClientResponseException(\"Missing the required parameter 'id' when calling getProjectR... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Resume the current download. It the download was already resumed, this method has no effect | public synchronized void resume() {
downloadTask.resume();
} | [
"private void actionResume() {\n\t\tselectedDownload.resume();\n\t\tupdateButtons();\n\t}",
"public void resumeFile() {\n try {\n synchronized (pauseLock) {\n paused = false;\n pauseLock.notifyAll(); // Unblocks thread\n }\n }\n catch (Excep... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Peek the next value as a signed integer. | public int peekSigned()
{
return toSigned(peekUnsigned());
} | [
"public int peekUnsigned()\n {\n if(lookahead == Integer.MAX_VALUE)\n {\n lookahead = readInternal();\n }\n return lookahead;\n }",
"public int getUnsigned()\n {\n if(lookahead != Integer.MAX_VALUE)\n {\n int tmp = lookahead;\n lo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method is used to initialize password ranges and starting server in separate thread | public void initServer(Server server){
//generate slots of password
TOTAL_SLOT = (int) Math.ceil(Math.pow(BASE, PASSWORD_LENGTH)/PASS_RANGE);
//System.out.println("TOTAL SLOT: "+TOTAL_SLOT+"ZQ0CC.compartTo(10BFY4) = "+ "ZQ0CC".compareTo("10BFY4"));
String LP = "00000";
int LP_INT... | [
"private SocketServer(){\n threads = new HashMap<>();\n salt = new Salt(LOGIN_INFO_FILE);\n executorService = Executors.newFixedThreadPool(NUM_THREADS);\n }",
"public void startServer() {\n // configure the server properties\n int maxThreads = 20;\n int minThreads = 2;... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Looks up a stations index by a string name | public int getIndexFromStationName(String stName) {
return getStationIndex(stName);
} | [
"public int searchStation(String name){\n\t\tif(null == ReadConfig.stationNames){\n\t\t\treturn -2;\n\t\t}\n\t\tString[] tmp = ReadConfig.stationNames;\n\t\tfor(int i=0; i<tmp.length; i++){\n\t\t\tif(name.equals(tmp[i]))\n\t\t\t\treturn i;\n\t\t}\n\t\treturn -1;\n\t}",
"Station findByName(String name);",
"Index... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the name and value of the leaf. See above what the name is supposed to be. | public PiptDataLeaf(String name, Object value)
{
this.name = name;
this.value = value;
} | [
"public void setLeaf(String leaf) {\n this.leaf = leaf == null ? null : leaf.trim();\n }",
"public void setLeaf(Commit c) {\n\t\tmyLeaf = c;\n\t}",
"public final void setLeaf(final boolean leaf) {\n setAttributes(TreeAttribute.LEAF, String.valueOf(leaf));\n }",
"public void setLeaf() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the settings for the specific profile and block. | @ResourceOperation( name="get_settings", path="GET : settings" )
public List<Setting> getSettings(
@NotEmpty @RequestParam( name="profile" ) String theProfile,
@NotEmpty @RequestParam( name="block" ) String theBlock ) {
List<Setting> settings = engine.getSettings( theProfile, theBlock );
if( settin... | [
"com.google.apps.alertcenter.v1beta1.Settings getSettings();",
"public Profile getProfileOverrides() {\n return profileOverrides;\n }",
"public abstract Properties getProfileProperties();",
"private DeviceProfile readCurrentProfile() {\n String profileName = mProfileSpinner.getSelectedItem().... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get usage metrics for a multirole pool of an App Service Environment. Get usage metrics for a multirole pool of an App Service Environment. | Observable<Usage> listMultiRoleUsagesAsync(final String resourceGroupName, final String name); | [
"Observable<HostingEnvironmentResourceMetric> listMultiRolePoolInstanceMetricsAsync(final String resourceGroupName, final String name, final String instance);",
"Observable<HostingEnvironmentResourceMetric> listMultiRoleMetricsAsync(final String resourceGroupName, final String name);",
"protected void processMe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds a new Product result to the Result set | private void addResult(String title, String price, String vendor) {
if (!(title.equals("") || price.equals(""))) {
Product newProduct = new Product(title,price,vendor);
this.results.add(newProduct);
}
} | [
"public void addProduct(Product product);",
"public void addResult(Result res) {\r\n results.add(res);\r\n }",
"void addProduct(Product product);",
"public void addProduct() {\n\t}",
"public void addProduct() {\n Product result;\n String prodName = getToken(\"Enter product name: \");... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Merges multiples char arrays onto one. | public static char[] merge(final char[]...arrays){
char[] prev = {};
for(char[] array : arrays){
char[] res = new char[prev.length + array.length];
System.arraycopy(prev, 0, res, 0, prev.length);
System.arraycopy(array, 0, res, prev.length, array.length);
prev = res;
}
return prev;
} | [
"public static char[] combine(char[] a, char[] b){\n int length = a.length + b.length;\n char[] result = new char[length];\n System.arraycopy(a, 0, result, 0, a.length);\n System.arraycopy(b, 0, result, a.length, b.length);\n return result;\n }",
"public static String merge(f... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
required bytes fromnick = 4; | public com.tshang.peipei.protocol.protobuf.ByteString getFromnick() {
return fromnick_;
} | [
"com.tshang.peipei.protocol.protobuf.ByteString getFromnick();",
"com.tshang.peipei.protocol.protobuf.ByteString getNick();",
"public static byte[] nickNames(){\n ArrayList<User> users= userList.getUserList();\n int connected = userList.getConnected();\n PDU rawdata = new PDU(4);\n r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the 'var33' field. | public java.lang.Integer getVar33() {
return var33;
} | [
"public java.lang.Integer getVar33() {\n return var33;\n }",
"public java.lang.Integer getVar34() {\n return var34;\n }",
"public java.lang.Integer getVar34() {\n return var34;\n }",
"public java.lang.Integer getVar123() {\n return var123;\n }",
"public java.lang.Integer getVar123() ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes all attributes of the given object from this generic template. More precisely, it removes the attributes from the template which have the same type as an attribute of the given object. Notice that type in this context does not refer the the type of data in the attribute's value. For instance, Attribute.SIGN is ... | public void removeAllAttributes(Object object) {
if (object == null) {
throw new NullPointerException("Argument \"object\" must not be null.");
}
Enumeration keysToRemove = object.attributeTable_.keys();
while (keysToRemove.hasMoreElements()) {
attributeTable_.remove(keysToRemove.nextElement());
}
} | [
"public void removeAllPresentAttributes(Object object) {\n\t\tif (object == null) {\n\t\t\tthrow new NullPointerException(\"Argument \\\"object\\\" must not be null.\");\n\t\t}\n\t\tEnumeration keysToRemove = object.attributeTable_.keys();\n\t\twhile (keysToRemove.hasMoreElements()) {\n\t\t\tAttribute attribute = (... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
"20191219 05:27:40" string timeInGMT = 3; | java.lang.String getTimeInGMT(); | [
"public java.lang.String getTimeInGMT() {\n java.lang.Object ref = timeInGMT_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Deletes an annotation spec set by resource name. | public com.google.protobuf.Empty deleteAnnotationSpecSet(
com.google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteAnnotationSpecSetMethod(), getCallOptions(), request);
} | [
"public void deleteAnnotationSpecSet(\n com.google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest request,\n io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {\n io.grpc.stub.ClientCalls.asyncUnaryCall(\n getChannel().newCall(getDeleteAnnotationSpecSetM... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets an option that is mapped to the OptionKey 'key' from the optionsMap. | @Override
public Option getOption(OptionKey key) {
return optionsMap.get(key);
} | [
"public Option getOption(OptionKey key);",
"public String getOption(String key)\r\n {\r\n return (String) options.get(key);\r\n }",
"public Object getOption(String key) {\n\t\tint index = propertyKeys.indexOf(key);\n\t\tif (index == -1)\n throw new IllegalArgumentException(\"Unknown opti... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns all the dict versions where dictCollectionId = &63;. | public static java.util.List<org.opencps.datamgt.model.DictVersion> findByDictCollectionId(
long dictCollectionId)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence().findByDictCollectionId(dictCollectionId);
} | [
"List<RepoCollectionList> getCollectionVersions(RepoId id);",
"public static org.opencps.datamgt.model.DictVersion[] findByDictCollectionId_PrevAndNext(\n\t\tlong dictVersionId, long dictCollectionId,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.ex... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return an iterable collection of values for each local store | public static Iterable<Versioned<byte[]>> getValues (Serializable key, List<LocalStore> lStores) {
Vector<Versioned<byte[]>> values = new Vector<Versioned<byte[]>>();
for ( LocalStore l : lStores )
values.addAll(l.get(key));
return values;
} | [
"public ArrayList<KeyVal> readAllLocal(){\n\t\tDHTNode myNode = dynamoRing.getNode(MY_ADDRESS);\n\t\treturn readDHTAllFromNode(myNode);\n\t}",
"Map<K,V> readFromStore(Collection<K> keys);",
"public com.vmware.converter.ManagedObjectReference[] getDatastores() {\r\n return datastores;\r\n }",
"public... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the passLevelNo property. | public long getPassLevelNo() {
return passLevelNo;
} | [
"public void setPassLevelNo(long value) {\r\n this.passLevelNo = value;\r\n }",
"public int getLevelNum() {\n\t\t\n\t\treturn levelNumber.intValue();\n\t}",
"java.lang.String getLevelNo();",
"public Long getLevel() {\r\n return (Long) getAttributeInternal(LEVEL);\r\n }",
"public Integer ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the substring of the first function read from the given if src string. | public static String getFirstSubStringIfOut(final String srcString) {
return getIfOutSubString(srcString, true);
} | [
"protected static String getIfOutSubString(final String srcString, final boolean first) {\n return first ? srcString.split(ConstantsAfcl.IfFuncSeparator)[0]\n : srcString.split(ConstantsAfcl.IfFuncSeparator)[1];\n }",
"protected static String getSrcSubString(final String srcString, final boolean produc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Zips a string input to compressed bytes | public static byte[] zipString(String input) {
try {
byte [] uncompressedBytes = input.getBytes("UTF-8");
return zip(uncompressedBytes);
}
catch (Exception e) {
if ("true".equals(System.getProperty("de.innovationgate.wga.debug.zip... | [
"private String compressString(String input) throws IOException {\n\t\tByteArrayOutputStream output = new ByteArrayOutputStream();\n\t\tGZIPOutputStream gzip = new GZIPOutputStream(output);\n\n\t\tgzip.write(input.getBytes(\"UTF-8\"));\n\t\tgzip.close();\n\t\toutput.close();\n\n\t\treturn Base64.encodeBase64String(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Initialise un nouveau Coin | public Coin() {
this.conteneurs = new ArrayList<>();
this.col = Couleur.INNOCUPE;
} | [
"public GoldCoin(){\n \tinit();\n }",
"public Coin()\r\n\t{\r\n\t\tthis.value = 0.0;\r\n\t\tthis.name = \"N/A\";\r\n\t}",
"public Coin() {\n flip();\n }",
"private void initCoins(){\n\t\tint[] xCoordCoins = new int[] {813, 1337, 1702, 2250, 2582, 2630, 2822, 2664, 2988, 3012, 3760, 4497, 5251, 5579,... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__BaseTypes__Group__1" $ANTLR start "rule__BaseTypes__Group__1__Impl" InternalAst.g:2803:1: rule__BaseTypes__Group__1__Impl : ( ( rule__BaseTypes__NamesAssignment_1 ) ) ; | public final void rule__BaseTypes__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalAst.g:2807:1: ( ( ( rule__BaseTypes__NamesAssignment_1 )* ) )
// InternalAst.g:2808:1: ( ( rule__BaseTypes__NamesAssignment_1 )* )
... | [
"public final void rule__BaseTypes__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:2796:1: ( rule__BaseTypes__Group__1__Impl )\n // InternalAst.g:2797:2: rule__BaseTypes__Group__1__Impl\n {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__ImportedVariableList__Group_1__0__Impl" $ANTLR start "rule__ImportedVariableList__Group_1__1" InternalReflex.g:3662:1: rule__ImportedVariableList__Group_1__1 : rule__ImportedVariableList__Group_1__1__Impl ; | public final void rule__ImportedVariableList__Group_1__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalReflex.g:3666:1: ( rule__ImportedVariableList__Group_1__1__Impl )
// InternalReflex.g:3667:2: rule__ImportedVariableList__Group_... | [
"public final void rule__ImportedVariableList__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:3677:1: ( ( ( rule__ImportedVariableList__Group_1_1__0 )* ) )\n // InternalReflex.g:3678:1: ( ( rule_... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
example test code... edit this as much as you want! you will need working CardSwitch, Hand, Player, Deck and PlaySwitch classes to run the given code | public static void main(String[] args) {
Deck<CardSwitch> deck = new Deck<CardSwitch>();
PlaySwitch.init_deck(deck);
BoardSwitch<CardSwitch> myBoard = new BoardSwitch<CardSwitch>(deck);
Player<CardSwitch> player1 = new Player<CardSwitch>("Tom");
Player<CardSwitch> player2 = new Player<CardSwitch>("Jerry")... | [
"@Test\n public void testPlayCard() {\n System.out.println(\"playCard\");\n Game instance = new Game(new euchreGUI(), new Deck());\n instance.startGame(1, 1, 1);\n instance.playCard();\n }",
"@Test\n public void testCheckPlayerCard() {\n System.out.println(\"checkPlayer... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true if field folder is set (has been assigned a value) and false otherwise | public boolean isSetFolder() {
return this.folder != null;
} | [
"public boolean isFolder() {\n return folder;\n }",
"public boolean isDirectorySet();",
"boolean isFolder();",
"public boolean isSetDir() {\n return this.dir != null;\n }",
"private boolean checkDirectoryFolder() {\n\t\tif (!DEFAULT_DIRECTORY_FILE.exists()) {\n\t\t\tDEFAULT_DIRECTORY_FILE.mkdi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a candidate manager that holds and updates for each atom in met.molecule 1 a list of equivalent atoms in met.molecule 2. | public CandidateManager(
Molecule g1,
Molecule g2) {
this.g1 = g1;
this.g2 = g2;
// initialize candidate sets
candidates = new HashMap<>();
// create fingerprints of atoms
AtomFingerprint fp = new AtomFingerprint();
// test whether two ... | [
"public void matchAtoms(Molecule m1, Molecule m2) {\n \tHashMap<Integer, Integer> mapping = new HashMap<Integer, Integer>();\n \tint m1AtomNum = 0;\n \tint m2AtomNum = 0;\n \tint rootMatches = 0;\n \tHashMap<String, Integer> m1BondTypes = m1.listChangedBonds();\n \tHashMap<String, Integer> m2BondTypes = m2.listChan... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
select() this method is called with a where clause and returns a List of VTECpracticeRecord objects | public List select(String where) throws SQLException
{
VTECpracticeRecord record = null;
// create a List to hold VTECpractice Records
List recordList = new ArrayList();
// set number of records found to zero
_recordsFound = 0;
// Create the SQL statement and issue... | [
"List<PointsExchangeRecord> selectAll();",
"List<VipRechargeRecord> selectByExample(VipRechargeRecordCriteria example);",
"public List selectNRecords(String where, int maxRecordCount) throws SQLException\n {\n VTECpracticeRecord record = null;\n\n // create a List to hold VTECpractice Records\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Attach this thread ID to a repository. | public void attachThreadIDToRepository(org.wyona.yarep.core.Repository repository, String directoryPath) throws IllegalStateException, org.wyona.yarep.core.RepositoryException {
// Also see http://grizzly.java.net/
log.debug("Java thread ID: " + getId());
String threadKey = getThreadKey(this.thr... | [
"void threadAdded(String threadId);",
"public CompletableFuture<Void> attach(long id);",
"public void addOwnedThread(final String key,final String thread_name,final String thread_id) {\n String childString = \"/\"+key+\"/owned_threads/\"+thread_id;\n Firebase newRef = mRef.child(childString);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The keyword must be at least one character and less than 80 characters long. Keywords are always interpreted according to the ISO/IEC 88591 (Latin1) character set [ISO/IEC88591]. They must contain only printable Latin1 characters and spaces; that is, only character codes 32126 and 161255 decimal are allowed. To reduce ... | public TextBuilder keyword(String keyword) {
this.keyword = keyword.trim().replaceAll("\\s+", " ");
return this;
} | [
"@Test\n void isKeywordSuccessfullyCreatedWhenNameLengthEqualsMaxLengthTest() throws IllegalKeywordArgumentException {\n name = \"Money Maker $$$'*!20\"; // min length = 20\n keyword = new Keyword(name, LocalDateTime.now(), card);\n Assertions.assertNotNull(keyword);\n Assertions.asse... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ This method sets the drawPanel lineWidth with a given int value in pixels. | private void setLineWidthTextField(int lineWidth) {
drawPanel.setLineWidth(lineWidth);
} | [
"void setLineWidth(float width) { }",
"public void incLineWidth() {\n\t\tlineWidth++;\n\t}",
"@Override\n public void setLineWidth(int w) {\n cover.setLineWidth(w);\n }",
"double setPenWidth(double pixels);",
"public void setLineWidth ( int width ) {\r\n\t\tline_width = width;\r\n\t}",
"publi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
add a value to Cache | public boolean add(String key ,Object value){
return memCachedClient.add(key,value);
} | [
"public void add(String key, T value) {\n if(key != null && value != null) {\n cache.put(key, value);\n System.out.println(\"Record stored in \"\n + value.getClass().getSimpleName()\n + \" Cache with Key = \" + key);\n }\n }",
"public T ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
returns the number of completed squares connected to edge in state, after edge is taken | public int completedSquaresForEdge(int edge, GameState state){
int taken = 0;
String s = state.getBinaryString();
//for each square attached to this edge
for(int i = 0; i < edgeSquares[edge].length; i++){
int index = edgeSquares[edge][i];
taken++;
//for each edge of that square
... | [
"public int getNextEdgeCount();",
"public int getEdgeCount(){\r\n HashSet<FlowGraphNode> visited = new HashSet<>();\r\n LinkedList<FlowGraphNode> queue = new LinkedList<>();\r\n queue.add(start);\r\n visited.add(start);\r\n int counter = 0;\r\n while(!queue.isEmpty()){\r\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
methods for ISinglePatch Sends a patch to the synth's edit buffer. Override this in the subclass if parameters or warnings need to be sent to the user (aka if the particular synth does not have a edit buffer or it is not MIDI accessable). | protected void sendPatch(Patch p) {
sendPatchWorker(p);
} | [
"public void sendPatch(Patch p) {\n storePatch(p, 0, QSConstants.MAX_LOCATION_PROG + 1);\n }",
"@Override\n public void sendPatch(Patch p) {\n storePatch(p, 0, 0);\n }",
"public void changePatch(Model tempModel) \n {\n int bank = tempModel.get(\"bank\");\n int number ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The default Selectbox style. | protected final SelectBox.SelectBoxStyle generateDefaultSelectboxStyle() {
SelectBox.SelectBoxStyle selectboxStyle = new SelectBox.SelectBoxStyle();
selectboxStyle.font = this.get("default_font", BitmapFont.class);
selectboxStyle.fontColor = Color.GREEN;
Sprite sprite = new Sprite(cAsse... | [
"public final SelectBox.SelectBoxStyle getDefaultSelectboxStyle() {\n return get(\"default_selectboxStyle\", SelectBox.SelectBoxStyle.class);\n }",
"public final <T> SelectBox<T> generateDefaultSelectbox() {\n return new SelectBox<T>(this.get(\"default_selectboxStyle\", SelectBox.SelectBoxStyle.c... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
System.out.println("in binaryExprType, begin"); System.out.println("leftid is " + leftId + ", methodid is " + methodId + ",right type is " + rightType.id); get the functions of left class | protected CuType binaryExprType(CuContext context, String leftId, String methodId, CuType rightType) throws NoSuchTypeException {
CuClass cur_class = context.mClasses.get(leftId);
if (cur_class == null) {
Helper.P(" cur_class of %s is null", leftId);
throw new NoSuchTypeException(Helper.getLineInfo());
}
... | [
"public BinaryExpression(ClassType returnType, ClassType leftType, ClassType rightType, Expression<L> left, Expression<R> right)\n {\n super(returnType);\n this.leftType = leftType;\n this.rightType = rightType;\n this.left = left;\n this.right = right;\n }",
"@Override\n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Can the children of a node be rearranged. The new order is such that after the permutation the first child is the one initially indexed by p[0] the second child is the one initially indexed by p[1] and so on. Precondition: p.length==getNumberOfChildren() Each number from 0 up to getNumberOfChildren() appears exactly on... | boolean canPermuteChildren( int[] p ) ; | [
"void permuteChildren( int[] p ) ;",
"@Test\n\tpublic void sortChildrenTest() {\n\t\t\n\t\tCluster parent2 = new Cluster(rightChild, leftChild, parentCreationStep);\n\t\t\n\t\tassertTrue(Arrays.equals(parent.getClusterValue(), parent2.getClusterValue()));\n\t\t\n\t}",
"private List<TrainingTreeNode> reorder_chi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Caches the flight in the entity cache if it is enabled. | @Override
public void cacheResult(Flight flight) {
entityCache.putResult(
entityCacheEnabled, FlightImpl.class, flight.getPrimaryKey(),
flight);
finderCache.putResult(
_finderPathFetchByUUID_G,
new Object[] {flight.getUuid(), flight.getGroupId()}, flight);
flight.resetOriginalValues();
} | [
"@Override\n\tpublic void cacheResult(List<Flight> flights) {\n\t\tfor (Flight flight : flights) {\n\t\t\tif (entityCache.getResult(\n\t\t\t\t\tentityCacheEnabled, FlightImpl.class,\n\t\t\t\t\tflight.getPrimaryKey()) == null) {\n\n\t\t\t\tcacheResult(flight);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tflight.resetOriginalValu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This is an admissable RowKeyFormat2 object, but only because FijiTableLayout should set its HashSpec ('salt') element to a nonnull default value. | private RowKeyFormat2 makeDefaultSaltRowKeyFormat() {
// SCHEMA-489: Do not set the 'salt' field directly; use the default from the AVDL.
// components of the row key
final List<RowKeyComponent> components = Lists.newArrayList(
RowKeyComponent.newBuilder().setName("astring").setType(ComponentType.S... | [
"private RowKeyFormat2 badHashSizeRowKeyFormat() {\n // components of the row key\n ArrayList<RowKeyComponent> components = new ArrayList<RowKeyComponent>();\n components.add(RowKeyComponent.newBuilder()\n .setName(\"NAME\").setType(ComponentType.STRING).build());\n\n HashSpec hs = HashSpec.newBu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds an image to an entry and if entry has no primary image, sets primary image to this image. | protected static Entry.Builder addImage(final Entry.Builder entry,
final Image.Builder builder) {
if(builder != null) {
Image image = builder.build();
entry.addImage(image);
if(entry.getPrimaryImage() == null) {
entry.setPrimaryImag... | [
"void setPrimaryPhotoImage(String id, ImageIcon image) {\n \t\tthis.lblIcon.setIcon(image);\n \t\tthis.ssPhotoset.setPrimary(id);\n \t\tthis.ssPhotoset.setPrimaryPhotoIcon(image);\n \t\tthis.cbxLock.setSelected(true);\n \t\tthis.ssPhotoset.setLockPrimaryPhoto(true);\n \t}",
"Builder addImage(ImageObject value);",... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Saves vehicle's mileage in the database. If the car is new, returns the mileage to the AddCarActivity for display instead of saving in the database. | public void saveMileage(View view) {
Intent intent = null;
if (calledBy != null && calledBy.equals(MileageNotification.TAG)) {
intent = new Intent(this, MileageNotification.class);
} else if (calledBy != null && calledBy.equals(ViewCarActivity.TAG)) {
intent = new... | [
"public Car saveCar(Car car) {\r\n return repository.save(car);\r\n }",
"public static void addToMileage(Car car, double mileageToAdd) {\n car.setMileage(car.getMileage() + mileageToAdd);\n }",
"public void updateMileage(Car car, int newMileageVal){\n\t\tif(car == null) return; //check for e... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes the selected category set from the database. | public void removeCategorySet() {
if (selectedCategorySet != null) {
categorySetEJB.remove(selectedCategorySet);
selectedCategorySet = null;
selectedCategory = null;
// refetch eventgroups, maybe other way to update it?
fetchEventGroups();
}
... | [
"public void removeCategory(Category selectedCat) {\n categories.remove(selectedCat);\n }",
"public void removeCategory() {\n if (selectedCategory != null) {\n int index = selectedCategory.getOrderNumber();\n categories.remove(index);\n int i = 0;\n for... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Initializes an empty course using the name, code, descr, and fmt variables | public Course()
{
this.code = "";
this.name = "";
this.description = "";
this.format = "";
} | [
"public Course(String name, String code, String descr, String fmt)\r\n\t{\r\n\t\tthis.code = code;\r\n\t\tthis.name = name;\r\n\t\tthis.description = descr;\r\n\t\tthis.format = fmt;\r\n\t}",
"public Course() {\n this(\"No Name\", 0);\n }",
"public Course() {\n\t\tname = \"CPSC999\"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
UserSessionManager sessionManager = UserSessionManager.INSTANCE; sessionManager.clearSession(); | private void clearSession(){
} | [
"private void clearSessionManager(HttpSession p_session)\n {\n SessionManager sessionMgr =\n (SessionManager)p_session.getAttribute(SESSION_MANAGER);\n\n sessionMgr.clear();\n }",
"public void clearSession(){\n currentUser = null;\n session = null;\n }",
"private ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds length of another object to this object | public void add(Length other){
double meters = other.toMeters();
this.setLength((this.toMeters() + meters)/METERS_PER_FOOT);
} | [
"@Override\r\n\tpublic void add(Length other) \r\n\t{\r\n\t\tsuper.setLength((other.toMeters() + this.toMeters()) / METERS_PER_FOOT);\r\n\t}",
"public void addLength(int num) {\r\n this.length += num;\r\n }",
"LengthAdd createLengthAdd();",
"protected void addLength(int aLength)\n {\n _len... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the value of the 'field267' field. | public void setField267(java.lang.CharSequence value) {
this.field267 = value;
} | [
"public com.maxpoint.cascading.avro.TestExtraLarge.Builder setField267(java.lang.CharSequence value) {\n validate(fields()[267], value);\n this.field267 = value;\n fieldSetFlags()[267] = true;\n return this; \n }",
"public void setField269(java.lang.CharSequence value) {\n this.field269 ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "ruleLocalReaction" $ANTLR start "entryRuleTransitionReaction" ../org.yakindu.sct.statechart.expressions/srcgen/org/yakindu/sct/statechart/parser/antlr/internal/InternalExpressions.g:1387:1: entryRuleTransitionReaction returns [EObject current=null] : iv_ruleTransitionReaction= ruleTransitionReaction EOF ; | public final EObject entryRuleTransitionReaction() throws RecognitionException {
EObject current = null;
EObject iv_ruleTransitionReaction = null;
try {
// ../org.yakindu.sct.statechart.expressions/src-gen/org/yakindu/sct/statechart/parser/antlr/internal/InternalExpressions... | [
"public final EObject entryRuleTransitionReaction() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleTransitionReaction = null;\r\n\r\n\r\n try {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalST... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the minimum quantity needed for the discount. | public int getQuantity() {
return minQty;
} | [
"public BigDecimal getMinQuantity() {\n return _minQuantity;\n }",
"public BigDecimal getMinQty();",
"public String getVlidationMinimumQuantity()\n\t{\n\t\twaitForVisibility(validationMinimumQuantity);\n\t\treturn validationMinimumQuantity.getText();\n\t}",
"public int getMinQuantRem() {\n return m... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Deletes a share network. | ActionResponse delete(String shareNetworkId); | [
"DeleteNetworkSiteResult deleteNetworkSite(DeleteNetworkSiteRequest deleteNetworkSiteRequest);",
"DeleteNetworkResult deleteNetwork(DeleteNetworkRequest deleteNetworkRequest);",
"ShareNetwork removeSecurityService(String shareNetworkId, String securityServiceId);",
"public void deleteShares(SrvSession sess)\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Minimum cpu/platform to be used by this instance. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform... | public String getMinCpuPlatform() {
return minCpuPlatform;
} | [
"java.lang.String getMinCpuPlatform();",
"public String getMinCpuPlatform() {\n return minCpuPlatform;\n }",
"public Builder setMinCpuPlatform(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n minCpuPlatform_ = value;\n bitField0_ |= 0x... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Run the specified command and direct standard out and standard err output to the log. This helped debug some permissions issues; not currently used. | private static void run(String command) throws IOException
{
Process process = Runtime.getRuntime().exec(command);
InputStream standardOut = process.getInputStream();
log(standardOut);
InputStream standardErr = process.getErrorStream();
log(standardErr);
} | [
"private static void execWithOutput(String[] cmd)\n throws IOException\n {\n Process p = Runtime.getRuntime().exec(cmd);\n StreamRedirector errRedirector = new StreamRedirector(p.getErrorStream(), System.err);\n errRedirector.start();\n StreamRedirector outRedirector = new Stre... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Reads behavior from the database and sets those data into the MeasuredEntity object given by parameter. | public void loadBehaviors(MeasuredEntity entity)
{
try
{
String sqlSelect = sqlSelect2 + String.valueOf(entity.getId());
ResultSet rs2 = super.pst.executeQuery(sqlSelect);
while (rs2.next())
{
Integer id = rs2.getInt("id");
String name = rs2.getString("name");
String ... | [
"public void loadStateBehaviors(MeasuredEntity entity)\n\t{\n\t\ttry \n\t\t{\n\t\t\tString sqlSelect = sqlSelect3 + String.valueOf(entity.getId()); \n\t\t\tResultSet rs3 = super.pst.executeQuery(sqlSelect);\n\n\t\t\twhile (rs3.next()) \n\t\t\t{\n\t\t\t\tInteger id \t\t = rs3.getInt(\"id\"); \n\t\t\t\tString... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the result of interpreting the object as an instance of 'Package Child'. This implementation returns null; returning a nonnull result will terminate the switch. | public T casePackageChild(PackageChild object) {
return null;
} | [
"public T casePackageRoot(PackageRoot object) {\n\t\treturn null;\n\t}",
"public Object caseProcessPackageableElement(ProcessPackageableElement object) {\n\t\treturn null;\n\t}",
"public T caseTargetPackage(TargetPackage object) {\r\n\t\treturn null;\r\n\t}",
"public T casePackage(umlMM.Package object) {\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
A TokenResolverFactory creates TokenResolvers. The concrete resolver to be created is determined by the given token name (i.e., the type of the token). One may consider TokenResolverFactories as a registry, which maps token types to TokenResolvers. | public interface IXwpfTokenResolverFactory {
/**
* Creates a token resolver for normal tokens of type <code>tokenName</code>.
*/
public dk.itu.sdg.language.xwpf.resource.xwpf.IXwpfTokenResolver createTokenResolver(String tokenName);
/**
* Creates a token resolver for COLLECT-IN tokens that are stored in fe... | [
"public dk.itu.sdg.language.xwpf.resource.xwpf.IXwpfTokenResolver createTokenResolver(String tokenName);",
"interface TokenFactory {\n\n\n\t/**\n\t * Returns a null token.\n\t *\n\t * @return A null token.\n\t */\n\tpublic Token createToken();\n\n\n\t/**\n\t * Returns a token.\n\t *\n\t * @param line The segment ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Save the inventory of a player | void saveInventory(Player player); | [
"public void save() {\r\n\t\tGame.getInstance().getInventory().add(id);\r\n\t}",
"public Inventory saveInventory(Inventory inventory);",
"@EventHandler \r\n\tpublic void onPlayerChangeWorldSaveInv(PlayerChangedWorldEvent e){\r\n\t\ttry {\r\n\t\tPlayer player = e.getPlayer();\r\n\t\t\r\n\t\tif (ConfigFile.getCus... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
calculates Standard deviation based on current average and count and sum | private void calculateStandardDeviation()
{
double sumOfPointStandardDevs = 0.0;
for(Integer i : allNumbers)
{
sumOfPointStandardDevs += Math.sqrt(Math.abs(average - (double)(i.intValue())));
}
standardDeviation = Math.sqrt((sumOfPointStandardDevs)/((double)(count)));
} | [
"double stdDev() {\n\t\tint cnt = this.count();\n\t\tdouble sum = this.sum();\n\t\tdouble average = this.average();\n\n\t\tdouble temp = 0;\n\t\tfor (double i : this.array) {\n\t\t\ttemp += Math.pow(i - average, 2);\n\t\t}\n\t\tdouble stdDev = Math.sqrt(temp / count);\n\t\treturn stdDev;\n\t}",
"public void Stand... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new instance of JxtaReplicationReceiver | public JxtaReplicationReceiver(EmbeddedWebContainer embedded) {
this();
_embedded = embedded;
_appsMap = new HashMap();
} | [
"public JxtaReplicationReceiver() {\n _threadName = \"JxtaReplicationReceiver\";\n /*\n if (_logger == null) {\n _logger = LogDomains.getLogger(LogDomains.WEB_LOGGER);\n }\n */ \n }",
"public static JxtaReplicationReceiver createInstance(EmbeddedWebContaine... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Output only. The use broad match keyword recommendation. .google.ads.googleads.v13.resources.Recommendation.UseBroadMatchKeywordRecommendation use_broad_match_keyword_recommendation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; | boolean hasUseBroadMatchKeywordRecommendation(); | [
"com.google.ads.googleads.v13.resources.Recommendation.UseBroadMatchKeywordRecommendation getUseBroadMatchKeywordRecommendation();",
"com.google.ads.googleads.v13.resources.Recommendation.UseBroadMatchKeywordRecommendationOrBuilder getUseBroadMatchKeywordRecommendationOrBuilder();",
"com.google.ads.googleads.v1... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Consult all the tweets from a list | public TweetPageDTO consultAllTweets(String listId); | [
"public List<Tweet> consultRecentTweets(String listId, int totalNrOfTweets);",
"List<Tweet> getAllTweet();",
"public List<Tweet> consultNewerTweets(String listId, String tweetId);",
"public List<Tweet> listAllTweets() {\n\t\tthis.metricWriter.increment(new Delta<Number>(\"times-queried-tweets\", 1));\n\t\tret... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__XAssignment__Group_0__1__Impl" $ANTLR start "rule__XAssignment__Group_0__2" ../org.xtext.example.helloxcore.ui/srcgen/org/xtext/example/helloxcore/ui/contentassist/antlr/internal/InternalHelloXcore.g:3556:1: rule__XAssignment__Group_0__2 : rule__XAssignment__Group_0__2__Impl rule__XAssignment__Group_0... | public final void rule__XAssignment__Group_0__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.xtext.example.helloxcore.ui/src-gen/org/xtext/example/helloxcore/ui/contentassist/antlr/internal/InternalHelloXcore.g:3560:1: ( rule__XAssignment__... | [
"public final void rule__XAssignment__Group_0__2() 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:5166:1: ( rule__XAssignment... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Generated method Setter of the AmazonConfig.sandboxSimulate attribute. | public void setSandboxSimulate(final SessionContext ctx, final Boolean value)
{
setProperty(ctx, SANDBOXSIMULATE,value);
} | [
"public void setSandboxSimulate(final Boolean value)\n\t{\n\t\tsetSandboxSimulate( getSession().getSessionContext(), value );\n\t}",
"public void setSandboxSimulate(final SessionContext ctx, final boolean value)\n\t{\n\t\tsetSandboxSimulate( ctx,Boolean.valueOf( value ) );\n\t}",
"public Boolean isSandboxSimula... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |