query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Returns the save file from the default save directory. | @Override
protected File getDefaultSaveFile() {
String fileName = getDefaultFileName();
return new File(SharingSettings.getSaveDirectory(fileName), fileName);
} | [
"private String getDefaultSavePath() {\r\n\t\tString operatingSystem = System.getProperty(\"os.name\").toUpperCase();\r\n\t\tString path = \"\";\r\n\t\tif(operatingSystem.contains(\"WIN\")) {\r\n\t\t\tpath = System.getenv(\"APPDATA\") + \"\\\\ScheduleGenerator\\\\\";\r\n\t\t}\r\n\t\telse if(operatingSystem.contains... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the validation Response | public void setValidationResponse(SerialValidationResponseIfc validationResponse)
{
this.validationResponse = validationResponse;
} | [
"public void setValidationFailed(String validation) {\r\n validationFailed = validation;\r\n }",
"public void setSuccess()\n {\n setIsValid(true);\n }",
"void setResponseFormatError(){\n responseFormatError = true;\n }",
"protected void setBadRequestResponse() {\n\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets ith "CallRecord" element | public void setCallRecordArray(int i, com.callfire.api.data.CallRecordDocument.CallRecord callRecord)
{
synchronized (monitor())
{
check_orphaned();
com.callfire.api.data.CallRecordDocument.CallRecord target = null;
target = (com.callfire.a... | [
"public void setCallRecordArray(com.callfire.api.data.CallRecordDocument.CallRecord[] callRecordArray)\n {\n synchronized (monitor())\n {\n check_orphaned();\n arraySetterHelper(callRecordArray, CALLRECORD$0);\n }\n }",
"public void setC... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "ruleAttribute" $ANTLR start "entryRuleAbstractType" ../org.xtext.example.lmrc.entity/srcgen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:268:1: entryRuleAbstractType returns [EObject current=null] : iv_ruleAbstractType= ruleAbstractType EOF ; | public final EObject entryRuleAbstractType() throws RecognitionException {
EObject current = null;
EObject iv_ruleAbstractType = null;
try {
// ../org.xtext.example.lmrc.entity/src-gen/org/xtext/example/lmrc/entity/parser/antlr/internal/InternalEntityDsl.g:269:2: (iv_ruleAbstractT... | [
"public final EObject ruleAbstractType() throws RecognitionException {\n EObject current = null;\n\n EObject this_BooleanType_0 = null;\n\n EObject this_IntType_1 = null;\n\n EObject this_StringType_2 = null;\n\n EObject this_EntityReference_3 = null;\n\n\n enterRule(); \n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
native declaration : include\capi\cef_download_handler_capi.h:19 | public interface on_before_download_callback extends Callback {
void apply(cef_download_handler_t self, cef_browser_t browser, cef_download_item_t download_item, cef_string_utf16_t suggested_name, cef_before_download_callback_t callback);
} | [
"public interface on_download_updated_callback extends Callback {\n\t\tvoid apply(cef_download_handler_t self, cef_browser_t browser, cef_download_item_t download_item, cef_download_item_callback_t callback);\n\t}",
"public void OnDownloadFinished();",
"public void OnFileDataReceived(byte[] data,int read, int l... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column TRSPAYPLANDET_TENTATIVE_TEMP.PAYMENT_TYPE | public String getPAYMENT_TYPE() {
return PAYMENT_TYPE;
} | [
"public Integer getPaymentType() {\n return paymentType;\n }",
"public Integer getPaymentType() {\r\n return paymentType;\r\n }",
"public String getPaymentType() {\r\n return paymentType;\r\n }",
"public String getPaymentAmountType() {\r\n return paymentAmountType;\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test case number: 5 / 2 covered goals: Goal 1. org.objectweb.cjdbc.driver.ResultSetMetaData.(Lorg/objectweb/cjdbc/driver/DriverResultSet;)V: rootBranch Goal 2. org.objectweb.cjdbc.driver.ResultSetMetaData.isCaseSensitive(I)Z: I4 Branch 3 IF_ICMPLT L73 true | @Test(timeout=300000)
public void test05() throws Throwable {
ResultSetMetaData resultSetMetaData0 = new ResultSetMetaData((DriverResultSet) null);
try {
resultSetMetaData0.isCaseSensitive((-123));
fail("Expecting exception: SQLException");
} catch(SQLException e) {
... | [
"@Test(timeout=300000)\n public void test06() throws Throwable {\n Field[] fieldArray0 = new Field[5];\n Driver driver0 = new Driver();\n ArrayList arrayList0 = driver0.pendingConnectionClosing;\n DriverResultSet driverResultSet0 = new DriverResultSet(fieldArray0, (ArrayList) arrayList0);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the list of taxa that are represented by the supplied keyword | public synchronized List<Item> getTaxaForKeyword(String keyword) {
List<Item> retList = new ArrayList<Item>();
keyword = keyword.toLowerCase();
if (keyword.equals(TAXON_KEYWORD_ALL)) {
return _dataset.getItemsAsList();
} else if (keyword.equals(TAXON_KEYWORD_ELIMINAT... | [
"public List<Keyword> getKeywords();",
"Set<Keyword> listKeywords();",
"String[] getKeywords();",
"List<SLKeyword> getKeywords();",
"String getKeywords();",
"public abstract Collection<OntologyTerm> findTerms( String search );",
"Set<String> getKeywords();",
"public List<Tag> getSimilarTags(String key... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds the code that has been built as a code attribute to the given method. | public void addCodeAttribute(ProgramClass programClass,
ProgramMethod programMethod)
{
addCodeAttribute(programClass,
programMethod,
new ConstantPoolEditor(programClass));
} | [
"public void addCodeAttribute(ProgramClass programClass,\n ProgramMethod programMethod,\n ConstantPoolEditor constantPoolEditor)\n {\n CodeAttribute codeAttribute =\n new CodeAttribute(constantPoolEditor.addUtf8Constant(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a Java program that reads a number N from the console and calculates the sum of all numbers from 1 to N (inclusive). TO RUN CLICK RIGHT BUTTON AND THEN RUN; TO RUN CLICK RIGHT BUTTON AND THEN RUN; TO RUN CLICK RIGHT BUTTON AND THEN RUN; | public static void main(String[] args) {
Scanner console = new Scanner(System.in);
int n = console.nextInt();
int sum = 0 ;
int counter = 0;
while (n>=counter){
sum +=counter;
counter++;
}
System.out.println(sum);
} | [
"public void run() {\r\n\t\tSystem.out.println(\"\\nFind all sum combinations using 1 through 9\\n\");\r\n\t\tint value = 0;\r\n\t\tString answer = \"\";\r\n\t\tdo {\r\n\t\t\tvalue = Prompt.getInt(\"Input a number\", 1, (LARGEST_NUMBER * 2));\r\n\t\t\t\r\n\t\t\t// iterative version\r\n\t\t\tSystem.out.println(\"\\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the time coordinate | void setTimeCoord(GridTimeCoord tcs) {
this.tcs = tcs;
} | [
"public void setTime(Time time) {\n this.time = time; // assigns the time argument value to the time attribute\n }",
"public void setTimestamp(long time)\n {\n this.gpsTimestamp = time;\n }",
"public final void setTime(Date date);",
"public void setWorldTime(long time)\n {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
uint16_t ChannelTransactionParameters_get_holder_selected_contest_delay(const struct LDKChannelTransactionParameters NONNULL_PTR this_ptr); | public static native short ChannelTransactionParameters_get_holder_selected_contest_delay(long this_ptr); | [
"public static native short CounterpartyChannelTransactionParameters_get_selected_contest_delay(long this_ptr);",
"public static native void ChannelTransactionParameters_set_holder_selected_contest_delay(long this_ptr, short val);",
"public static native short DirectedChannelTransactionParameters_contest_delay(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Save Auto Reply Detail | public static Boolean addAutoReplyDetail(String autoReplyId, String to,
String date) {
ContentValues values = new ContentValues();
values.put("autoReplyId", autoReplyId);
values.put(TO, to);
values.put("sentOn", date);
try {
// Perform insert into Database
db.insert(DbHelper.TABLE_AUTO_... | [
"public void saveReply(ContactUsReply cr)\n\t{\n\t\tcontactUsReplyRepo.save(cr);\n\t}",
"void saveAnswer(Answer answer);",
"private void saveCurrentAcknowledgment() {\n\t\tacknowledgment.setANumber(aNumberField.getText());\n\t\tacknowledgment.setDate(DateUtil.formatToString(dateField.getValue()));\n\t\tacknowle... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Stores the text of the element identified by the given locator to the given variable. | public void storeText(final String elementLocator, final String variableName); | [
"public void storeValue(final String elementLocator, final String variableName);",
"public static String setData(By elementLocator, String data) {\r\n\r\n\t\tWebElement textControl;\r\n\r\n\t\t// sDriver.findElement(elementLocator).clear();\r\n\t\ttextControl = sDriver.findElement(elementLocator);\r\n\t\ttextCont... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
SEGY :::::::::::: General Read int/short values given a location :::::::::::: read an integer (4 bytes) at the given location: | public int readInt(long location)
{
return read(location, 4);
} | [
"private native short Df1_Read_Integer(String plcAddress) throws Df1LibraryNativeException;",
"public int readInt(long offset) throws IOException {\n\t\tByteBuffer buf = ByteBuffer.allocate(4);\n\t\tread(buf, offset);\n\t\treturn buf.getInt(0);\n\t}",
"private int read(long location, int length)\n {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Merges "avatars" folder and subfolders. If file already exists then imported version takes precedence. | private void importAvatars() throws IOException {
setProgressNote(UiString.get(_S6));
final String directoryName = "avatars";
final Path sourcePath = importDataPath.resolve(directoryName);
if (sourcePath.toFile().exists()) {
final Path targetPath = MagicFileSystem.getDataPath... | [
"private static void mergeConfigFiles(File masterFile, File userFile) throws Exception {\n\t\tFileUtils.copyFile(masterFile, userFile);\n\t}",
"private void loadAvatar() {\n File tmp_image;\n String jID = null;\n\n if (this.contact != null) {\n // The contact JID associated to CONTACT the avatar.\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retrieve all activity logs for the user with given userId | public Map<String, ActivityLog> getAllActivityLogsForUser(String userId)
throws PersuasionAPIException {
try {
List<ActivityLog> activityLogs = activityLogDAO.getAllActivityLogsForUser(userId);
Map<String, ActivityLog> returnMap = new HashMap<String, ActivityLog>();
for(ActivityLog activityLog : activity... | [
"@RequestMapping(value = \"/users/{userId}/logs\", method = RequestMethod.GET)\n public List<ApiLogData> getUserLogs(@PathVariable Long userId) {\n return loggingService.getLogsForUser(userId);\n }",
"public List<SignLog> getAll(String userId) {\n List<SignLog> signLogs = new ArrayList<SignLog... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set path to included binding. | public void setIncludePath(String path) {
m_includePath = path;
} | [
"public static void setIncludePath(String path) {\n\t\tsetPreferenceStoreValue(PreferenceConstants.P_LLVM_INCLUDE_PATH, path);\n\t}",
"public static void appendIncludePath(String path) {\n\t\tappendValue(PreferenceConstants.P_LLVM_INCLUDE_PATH, path);\n\t}",
"void setInclude(String include);",
"public void se... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the value associated with the column: exam_comm_time | public java.lang.String getExamCommTime () {
return examCommTime;
} | [
"public Integer getExamTime() {\n return examTime;\n }",
"public void setExamCommTime (java.lang.String examCommTime) {\n\t\tthis.examCommTime = examCommTime;\n\t}",
"@Override\r\n public String getAcquisitionTimeHHMMSS() throws DIException {\n DValue dataElementTime = dicomDataSet.getValueB... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Updates all the channels the bot is connected to with the new submission | private void updateChannels(RedditLink redditLink) {
for(Channel c : bot.getChannels()) {
if(redditLink.isOver18()) {
bot.sendMessage(c, "[r/" + redditLink.getSubreddit() + "] " + redditLink.getTitle() + " (submitted by " + redditLink.getAuthor() + " about " + redditLink.getCreatedR... | [
"private void updateConversations() {\n\t}",
"public void doUpdateChannel() {\n\t\tChannel editedChannel;\n\t\tScannedChannel comparedScannedChannel;\n\n\t\teditedChannel = channelsManager.getEditedChannel();\n\t\tif (channelsManager.getComparisonFilter() == COMPARISON_CHANGED_MAIN) {\n\t\t\tcomparedScannedChanne... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new subscription community with the primary key. Does not add the subscription community to the database. | public SubscriptionCommunity create(long id) {
SubscriptionCommunity subscriptionCommunity = new SubscriptionCommunityImpl();
subscriptionCommunity.setNew(true);
subscriptionCommunity.setPrimaryKey(id);
return subscriptionCommunity;
} | [
"@SuppressWarnings(\"squid:S1166\")\n\tpublic void createCommunity() {\n\t\ttry {\n\t\t\tchatService.createChatCommunity(userSession.getUsername(), getCommunityName(), true);\n\t\t\tsetCommunityName(\"\");\n\t\t\tgetPerson();\n\t\t} catch (ServiceException e) {\n\t\t\tFacesMessage message = new FacesMessage(FacesMe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The descriptors for the reporting tasks properties. | @ApiModelProperty(example = "null", value = "The descriptors for the reporting tasks properties.")
public Map<String, PropertyDescriptorDTO> getDescriptors() {
return descriptors;
} | [
"public PropertyDescriptor[] getDescriptors() {\n return descriptors;\n }",
"@Override\n public PropertyDescriptor[] getPropertyDescriptors() {\n return getPdescriptor();\n }",
"public PropertyDescriptor[] getPropertyDescriptors() {\n return getPdescriptor();\n }",
"@Override\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__CommRepositoryImport__Group__1__Impl" $ANTLR start "rule__CommRepositoryImport__Group__2" InternalCommunicationObject.g:1183:1: rule__CommRepositoryImport__Group__2 : rule__CommRepositoryImport__Group__2__Impl ; | public final void rule__CommRepositoryImport__Group__2() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalCommunicationObject.g:1187:1: ( rule__CommRepositoryImport__Group__2__Impl )
// InternalCommunicationObject.g:1188:2: rule__CommRe... | [
"public final void rule__CommObjectsRepository__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCommunicationObject.g:1268:1: ( rule__CommObjectsRepository__Group__2__Impl rule__CommObjectsRepository__Group__3 )\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns list of Domainobjects whose Keyvalue pair matched. | public List<DomainObject> getListByKeyandValue(String colname, Object value) {
Session session = getSession();
List<DomainObject> retList = null;
try {
Criteria query = session.createCriteria(getPersistentClass()).add(Restrictions.eq(colname, value));
retList = query... | [
"public ArrayList<K> searchKeysForValue (V value) {\n ArrayList<K> keyList = new ArrayList<K>();\n for (int i = 0; i < capacity; i++) {\n LinkedList<KeyValuePair> keyValueList = this.mainTable.get(i);\n for (KeyValuePair kvPair: keyValueList) {\n V valueObj = kvPai... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Setter for windowWidth, status GUI's width attribute | private void setWindowWidth(int windowWidth) {
this.windowWidth = windowWidth;
} | [
"private void setWindowWidth(int width) {\n this.width = width;\n }",
"public void setWidth(int w) { fWidth = w; }",
"public void setWidth( int w );",
"private void setWidth( int w )\n {\n this.width = w; //set the width\n }",
"@Override\n\tpublic int getWidth() {\n\t\treturn windowWi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get a SyncTreeEntry for a hash if there is one | public SyncTreeEntry getHash(byte[] hash) {
if (null == hash)
return null;
synchronized (this) {
return _hashes.get(new SyncHashEntry(hash));
}
} | [
"@Test\n public void getEntryByHashTest() throws ApiException {\n String chainId = null;\n String entryHash = null;\n Entry response = api.getEntryByHash(chainId, entryHash);\n\n // TODO: test validations\n }",
"HashEntry getFirst(int hash) {\n HashEntry[] tab = table;... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Loads the peripheral software driver based on software id (class loader) | public final Class<?>loadPeripheralSoftwareDriver(String peripheralSoftwareId, String version) throws ClassNotFoundException, PackagePermissionsNotUpToDateException {
return packages.loadPeripheralSoftwareDriver(peripheralSoftwareId, version);
} | [
"public Peripheral getHardwareDriverFromSoftwareDriver();",
"public PeripheralHardwareDriverInterface getHardwareDriver();",
"public final PeripheralHardwareDriverInterface loadPeripheralDriverByVidPid(String vendorId, String productId) throws ClassNotFoundException, PackagePermissionsNotUpToDateException {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional int64 sectId = 3; | public long getSectId() {
return sectId_;
} | [
"long getSectId();",
"public long getSectId() {\n return sectId_;\n }",
"public Builder setSectId(long value) {\n \n sectId_ = value;\n onChanged();\n return this;\n }",
"Long getKitId();",
"long getSeatworkId();",
"public int getSection()\r\n\t{\r\n\t\treturn sect... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Whether or not another term is equivalent to this constant symbol. | public boolean equals(Term t)
{
//-- 't' is not a constant symbol.
if (!(t instanceof TermConstant))
return false;
//-- Check if 't' is the same constant symbol.
return (index == ((TermConstant)t).index);
} | [
"public boolean equals(NamedConstant other) {\n\t return this.value.equals(other.value);\n\t}",
"boolean equivalent(Concept x, Concept y);",
"public boolean isConstant() {\n\t\tif (terms.size() > 1) {\n\t\t\treturn false;\n\t\t}\n\t\tif (terms.firstKey().equals(new PTerm())) {\n\t\t\treturn true;\n\t\t}\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
averageTokens() Determines the average number of tokens on each place at steady state. | private double[] averageTokens(double[] pi, StateList states) {
int numstates = states.size();
if (numstates == 0) {
return null;
}
int numplaces = states.get(0).length;
double[] averages = new double[numplaces];
DecimalFormat f = new DecimalFormat();
f.setMaximumFractionDigits(1);
// Set all the a... | [
"public double averageTokenAccuracy (InstanceList ilist)\n\t{\n\t\t@Var\n\t\tdouble accuracy = 0;\n\t\tfor (int i = 0; i < ilist.size(); i++) {\n\t\t\tInstance instance = ilist.get(i);\n\t\t\tSequence input = (Sequence) instance.getData();\n\t\t\tSequence output = (Sequence) instance.getTarget();\n\t\t\tassert (inp... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The reset function is called when the game is first constructed and every time that the snake dies. It resets the move timer, creates a new snake, creates a new list of mushrooms, and resets the number of strokes to ignore. It also checks to see if the player is out of lives, and if so sets the game over boolean to be ... | public void reset(){
if (moveTimer != null) moveTimer.stop();
mySnake = new Snake(MAX_WIDTH/2, MAX_HEIGHT/2, MAX_WIDTH, MAX_HEIGHT);
moveSpeed = mySnake.getList().size();
moveTimer = new Timer(1000/moveSpeed, new MoveTimerHelper());
moveTimer.start();
shrooms = new ArrayList<Mushroom>();
ignoreSt... | [
"public void reset() {\n for (Snake snake :\n pileOfSnakes) {\n snake.endSnake();\n\n }\n pileOfSnakes.clear();\n drawStarterMap();\n }",
"public void resetGame() {\n initializeBoard();\n setGameState(1);\n turn = 0;\n playedGame... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method is used to fetch all the Substatuses for a ststus id | public String loadSubStatuses(){
try {
Integer statusId = new Integer(getRequest().getParameter("subStatId"));
List<LookupVO> serviceOrderStatusVOList = null;
serviceOrderStatusVOList = soMonitorDelegate.getSubStatusList(statusId);
setAttribute("subStatusList", serviceOrderStatusVOList);
return S... | [
"public SubsStatusType getStatus();",
"List<ContactSubStatusDTO> findAll();",
"public java.util.List<GDFTenderSubSchedDetails> findAll();",
"public SalonSubServiceModel getSalonSubServiceModelList(String id){\n RealmResults<SalonSubServiceModel> results = realm.where(SalonSubServiceModel.class).findAll... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column TRS_SYN_SETLMT_ACC.MT103_REGULATORY_REPORT1 | public void setMT103_REGULATORY_REPORT1(String MT103_REGULATORY_REPORT1) {
this.MT103_REGULATORY_REPORT1 = MT103_REGULATORY_REPORT1 == null ? null : MT103_REGULATORY_REPORT1.trim();
} | [
"public String getMT103_REGULATORY_REPORT1() {\r\n return MT103_REGULATORY_REPORT1;\r\n }",
"public void setMT103_REGULATORY_REPORT2(String MT103_REGULATORY_REPORT2) {\r\n this.MT103_REGULATORY_REPORT2 = MT103_REGULATORY_REPORT2 == null ? null : MT103_REGULATORY_REPORT2.trim();\r\n }",
"publ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Configure this shakemap indexer. | @Override
public void configure(final Config config) throws Exception {
super.configure(config);
baseEventDirectory = new File(config.getProperty(
SHAKEMAP_DIRECTORY_PROPERTY, DEFAULT_SHAKEMAP_DIRECTORY));
LOGGER.config("Shakemap event directory "
+ baseEventDirectory.getCanonicalPath());
indexerComm... | [
"public ShakeMapIndexerWedge() {\n\t\tthis.getIncludeTypes().add(\"shakemap\");\n\t}",
"@Override\n protected void configure() {\n install(new AvroIndexingInternalModule(properties));\n }",
"public void setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters)\n throws P... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a zoned LocalDateTime object using now as start and deducting the offSet to get daysago. | public static LocalDateTime getZonedDateTime(int offSet) {
LocalDate startDate = LocalDate.now().minus(offSet, ChronoUnit.DAYS);
return (ZonedDateTime.of(startDate.atStartOfDay(), ZoneId.of("UTC"))).toLocalDateTime();
} | [
"public static LocalDate getZonedDate(int offSet) {\n\n LocalDate startDate = LocalDate.now().minus(offSet, ChronoUnit.DAYS);\n return (ZonedDateTime.of(startDate.atStartOfDay(), ZoneId.of(\"UTC\"))).toLocalDate();\n }",
"public LocalDateTime nowUTC() {\n return LocalDateTime.now(ZoneOffse... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Updates an existing Billing Account for a Patient that already has an existing Billing Account | public void updateBillingAccount(Scanner input) {
System.out.println("Please enter patient ID, the patient must already be present in the database.");
int pId = 0;
//Get the patient ID from input
try {
pId = Integer.parseInt(input.nextLine());
} catch (NumberFormatEx... | [
"Account updateAccount();",
"public void updateAccount(Account accForUpdate);",
"void updateAccount(Account account);",
"public void updatePaymentMethod(Scanner input, int pId) {\n //Get the payment method\n System.out.println(\"Please enter the payment method for Billing Account.\");\n S... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This checks if there are no more claims at all by looping through the claims of all users | public void checkNoClaimsAtAll(){
int nullAmount = 0;
for (int i = 0; i < players.length; i++) {
if (playerClaims.get(players[i]) == "null") {
nullAmount++;
}
}
if (nullAmount == 1) {
checkNoMoreClaims();
}
} | [
"public void checkNoMoreClaims(){\r\n if(claimAmount == 0){\r\n nextPlayer();\r\n }\r\n }",
"private void hasRefreshToken() {\n\n /* Attempt to get a user and acquireTokenSilently\n * If this fails we will do an interactive request\n */\n List<User> users ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Serializes the specified asssociation. | private void _writeAssociation(final Association assoc) throws IOException {
Set<Role> roles = assoc.getRoles();
if (roles.isEmpty()) {
return;
}
_out.startObject();
_writeReifier(assoc);
_writeItemIdentifiers(assoc);
_writeType(assoc);
_writeS... | [
"@Nullable\n public JsonObject serializeAdvancement() {\n return this.advancementBuilder.serializeToJson();\n }",
"public void saveAsSerialization() {\n try(ObjectOutputStream os = new ObjectOutputStream(new FileOutputStream(new File(\"saves/data.dat\")))){\n os.writeObject(this);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Builds the URI based on this builder's current state. | URI build(); | [
"public DIDURL build() {\n\t\t\treturn url.deepClone(true);\n\t\t}",
"private URI buildURI() throws URISyntaxException\n\t{\n\t\tURIBuilder locURIBuilder = new URIBuilder();\n\t\tlocURIBuilder.setScheme(this.protocol.getScheme());\n\t\tlocURIBuilder.setHost(FSSymbolLookup.HOST_SYMBOL_LOOKUP);\n\t\tlocURIBuilder.s... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Deletes one DiseaseDefm from the database. | public static void delete(long customerNum, long diseaseDefNum) throws Exception {
String command = "DELETE FROM diseasedefm " + "WHERE CustomerNum = " + POut.long(customerNum) + " AND DiseaseDefNum = " + POut.long(diseaseDefNum);
Db.nonQ(command);
} | [
"public static void delete(long defNum) throws Exception {\n String command = \"DELETE FROM definition \" + \"WHERE DefNum = \" + POut.Long(defNum);\n Db.NonQ(command);\n }",
"public void deleteAltDef(String idseq_) throws ToolException\n {\n String select = \"delete from sbr.definition... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column qrtz_simple_triggers.TIMES_TRIGGERED | public void setTimesTriggered(Long timesTriggered) {
this.timesTriggered = timesTriggered;
} | [
"public void setTriggerFiredTime(long triggerFiredTime) {\n\t\t\tthis.triggerFiredTime = triggerFiredTime;\n\t\t}",
"public void setTriggerTime(String triggerTime) {\n this.triggerTime = triggerTime;\n }",
"private void setUpdateTriggerTime(int value) {\n bitField0_ |= 0x00000002;\n updateTr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates new form SurchargeCalculator | public SurchargeCalculator() {
initComponents();
try {
boolean prod = AppConfig.isProduction();
if (prod) {
btnSaveSimulation.setVisible(false);
}
}
catch (Exception e) {
}
} | [
"Calcul createCalcul();",
"public CFCalculator() {\n initComponents();\n }",
"public calculator() \n {\n \n }",
"public SimpleCalculator() {\n initComponents();\n }",
"public CalculatorForm() {\n initComponents();\n }",
"public MyCalculator() {\n initCompo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Purges all link for the given node in the given view returns true if successful | public boolean purgeViewNode(PCSession session, String sViewID, String sNodeID) throws SQLException; | [
"public boolean purgeAllLinks(PCSession session, String sViewID) throws SQLException;",
"public boolean purgeLink(PCSession session, String sLinkID, String sViewID) throws SQLException;",
"boolean removeLink(Link link);",
"public void clearLinkChanges();",
"public boolean deleteView(PCSession session, Strin... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "entryRuleTrigger" $ANTLR start "ruleTrigger" ../hu.bme.mit.inf.gomrp.statemachine.dsl.text/srcgen/hu/bme/mit/inf/gomrp/statemachine/dsl/text/parser/antlr/internal/InternalStateMachineDSL.g:745:1: ruleTrigger returns [EObject current=null] : (this_TrainHeadingSpeedChanged_0= ruleTrainHeadingSpeedChanged | th... | public final EObject ruleTrigger() throws RecognitionException {
EObject current = null;
EObject this_TrainHeadingSpeedChanged_0 = null;
EObject this_TrainTrackElementChanged_1 = null;
EObject this_SignalAllowedSpeedChanged_2 = null;
EObject this_TurnoutDirectionChan... | [
"public final EObject entryRuleTrigger() throws RecognitionException {\n EObject current = null;\n int entryRuleTrigger_StartIndex = input.index();\n EObject iv_ruleTrigger = null;\n\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 19) ) { return current; }\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__SingleValue__Alternatives" $ANTLR start "rule__PRIMITIVE_TYPE_NAME__Alternatives" InternalBasicAttributes.g:602:1: rule__PRIMITIVE_TYPE_NAME__Alternatives : ( ( ( 'Int8' ) ) | ( ( 'Int16' ) ) | ( ( 'Int32' ) ) | ( ( 'Int64' ) ) | ( ( 'UInt8' ) ) | ( ( 'UInt16' ) ) | ( ( 'UInt32' ) ) | ( ( 'UInt64' ) )... | public final void rule__PRIMITIVE_TYPE_NAME__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalBasicAttributes.g:606:1: ( ( ( 'Int8' ) ) | ( ( 'Int16' ) ) | ( ( 'Int32' ) ) | ( ( 'Int64' ) ) | ( ( 'UInt8' ) ) | ( ( 'UInt16' ) ) | ( ( ... | [
"public final void rulePRIMITIVE_TYPE_NAME() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBasicAttributes.g:447:1: ( ( ( rule__PRIMITIVE_TYPE_NAME__Alternatives ) ) )\n // InternalBasicAttributes.g:448:2: ( ( rule__PRIMIT... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Accuracy test for the method setStatuses(List<TaskStatus> statuses). The value should be properly set. | @Test
public void test_setStatuses() {
List<TaskStatus> value = new ArrayList<TaskStatus>();
instance.setStatuses(value);
assertSame("'setStatuses' should be correct.",
value, TestsHelper.getField(instance, "statuses"));
} | [
"@Test\n public void test_getStatuses() {\n List<TaskStatus> value = new ArrayList<TaskStatus>();\n instance.setStatuses(value);\n\n assertSame(\"'getStatuses' should be correct.\",\n value, instance.getStatuses());\n }",
"public void setStatusList(List<MagicNumberData> statu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "selector" $ANTLR start "assignment" C:\\anton\\oberon0\\src\\edu\\uva\\sc\\oberon0\\oberon0.g:73:1: assignment returns [Assignment a] : IDENT sel= selector ':=' exp= expression ; | public final Assignment assignment() throws RecognitionException {
Assignment a = null;
Token IDENT4=null;
ISelector sel = null;
IEvaluator exp = null;
try {
// C:\\anton\\oberon0\\src\\edu\\uva\\sc\\oberon0\\oberon0.g:74:3: ( IDENT sel= selector ':=' ex... | [
"private Assignment assignment () {\n \tExpression e;\n \tVariable v;\n \t\n \t// Assignment 정의에 따라 Token이 오는지 검사하고 expression node를 생성\n \tv = new Variable(match(TokenType.Identifier));\n \tmatch(TokenType.Assign);\n \te = expression();\n \tmatch(TokenType.Semicolon);\n return new As... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Inserts the given node at the end of the list. | private void insertAtEnd(Node node) {
Node last = getNode(size - 1);
last.setNext(node);
} | [
"public Node insertAfter(Node node);",
"public void insertAtEnd(T data) {\n //if the list is empty then call insertATHead()\n if (isEmpty()) {\n insertAtHead(data);\n return;\n }\n //Creating a new Node with value data\n Node newNode = new Node();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method counts the values of the quadratic function on the interval | public float[] valuesQuadraticFunctionOnInterval() {
int numberElementsInArray = segment.getPointB() / segment.getPointA(); //the number of elements in the array
int leftPoint = segment.getPointA();
float[] array = new float[numberElementsInArray];
for (int i = 0; i < numberElementsInAr... | [
"int getNumberOfCurveSegments();",
"private static double StatCom(double q, int i, int j, int b) {\r\n double zz = 1;\r\n double z = zz;\r\n int k = i;\r\n while (k <= j) {\r\n zz = zz * q * k / (k - b);\r\n z = z + zz;\r\n k = k + 2;\r\n }\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This function gets ArrayList of layers and converts it to KML file that can be display on google earth. | public void writeFile(ArrayList<GIS_layer> a, String output) {
ArrayList<String> content = new ArrayList<String>(); // the content in long String
String kmlstart = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n" +
"<kml xmlns=\"http://www.opengis.net/kml/2.2\"><Document>"
+"<Style id=\"red\"><IconStyle><... | [
"public ArrayList<Layer> getAllLayer() throws Exception {\n ArrayList<Layer> ret = new ArrayList<>();\n JSONArray jsa = new Get(\"/layer\").execute().getJSONArray(\"array\").getJSONArray(0); //PAS compris le .getJSONArray(0) à la fin\n for (int i = 0; i < jsa.length(); i++) {\n ret.a... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return either omp or nonomp pragma | protected PASTPragma retrievePragma()
{
return (ompPragma_!=null ? ompPragma_ : pragma_);
} | [
"public boolean isPragma()\n {\n Token token = getModule();\n\n if (!token.isNull())\n {\n return Keyword.isPragma(getModule().getContent());\n }\n\n return false;\n }",
"public boolean isUseStrict()\n {\n return (isPragma() && getModule().toKeyword().... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
idTmpBReBusCSm: with default state. .id : idTmpB:reBusC::sm .title : .class : Html.DIV .classIndex : 2 | protected GuiTestObject html_idTmpBReBusCSm()
{
return new GuiTestObject(
getMappedTestObject("html_idTmpBReBusCSm"));
} | [
"protected GuiTestObject html_idTmpBReBusC() \r\n\t{\r\n\t\treturn new GuiTestObject(\r\n getMappedTestObject(\"html_idTmpBReBusC\"));\r\n\t}",
"protected GuiTestObject html_idTmpBReBusCCh() \r\n\t{\r\n\t\treturn new GuiTestObject(\r\n getMappedTestObject(\"html_idTmp... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the maximum amount of data transferred in the eager protocol. | public void setMaxEagerSendSize(long maxEagerSendSize) {
this.maxEagerSendSize = maxEagerSendSize;
} | [
"public void setMaxSize(int max) {\r\n this.max_conn = max;\r\n }",
"public void setMaxBufferSize(int value) {\n this.maxBufferSize = value;\n }",
"void resetMaxBuf() {\n this.maxAllowedPacket = this.connection.getMaxAllowedPacket();\n }",
"public void setMaxConnections(int max) ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the deploymentConfiguration property: Using CloudServiceConfiguration specifies that the nodes should be creating using Azure Cloud Services (PaaS), while VirtualMachineConfiguration uses Azure Virtual Machines (IaaS). | DeploymentConfiguration deploymentConfiguration(); | [
"interface WithDeploymentConfiguration {\n /**\n * Specifies the deploymentConfiguration property: Using CloudServiceConfiguration specifies that the nodes\n * should be creating using Azure Cloud Services (PaaS), while VirtualMachineConfiguration uses Azure\n * Virtua... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
If there is a null Path returned it getRandomPath it should not return the path and instead throw an IllegalStateException this would mean that the location is connected to nowhere so the driver is stuck | @Test
public void testGetRandomPathNotNull(){
try{
Location loc = new Location("Library");
Path p = loc.getRandomPath(8);
System.out.println("path " + p);
}catch(IllegalStateException ise){
//expected
}
} | [
"public void testNoPathAvailableDueToCampInTheWay() {\n Game game = getStandardGame();\n Map map = getSingleLandPathMap(game);\n game.setMap(map);\n \n // set obstructing indian camp\n Tile settlementTile = map.getTile(2,10);\n FreeColTestCase.IndianSettlement... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests that the findVeichleByLicence returns a car with the same licenceplate as the parameter | @Test
void findVeichleByLicence() {
vr.registerVeichle(dieselCar);
vr.registerVeichle(dieselCar2);
assertEquals(dieselCar, vr.findVeichleByLicence(dieselCar.getLicencePlateNumber()));
assertNotEquals(dieselCar, vr.findVeichleByLicence(dieselCar2.getLicencePlateNumber()));
} | [
"@Test\n void findVeichleByWeight() {\n\n final int ALL_CARS = 500;\n final int ONE_CAR = 1500;\n final int NO_CARS = 2500;\n\n vr.registerVeichle(dieselCar);\n vr.registerVeichle(dieselCar2);\n //check if all cars are returned as all cars are over 500 kg\n assert... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method that executes command and does certain job with given arguments and outputs result through environment onto output. | ShellStatus executeCommand(Environment env, String arguments); | [
"private RawToolOutput invokeProcess(ProcessBuilder pb, String[] args) {\n String outputCSV = \"\";\n String condensedOutputMetadata = \"\";\n // Run the tool in a separate system process\n try {\n Process proc = pb.start();\n InputStream stdout = proc.getInputStrea... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
returns indices of db1 and db2 corresponding to pred index q in int[] | private int[] calcDBIndices(int q){
int[] res=new int[2];
int FeatureBlockPos=q%(num_atts1*num_atts2);
res[1]=FeatureBlockPos%num_atts2;
res[0]=FeatureBlockPos/num_atts2;
return res;
} | [
"public int[] answerQueriesV2(int[] nums, int[] queries) {\n Arrays.sort(nums);\n int n = nums.length;\n int m = queries.length;\n int[] res = new int[m];\n\n for (int i = 1; i < n; ++i) {\n nums[i] += nums[i - 1];\n }\n\n for (int i = 0; i < m; ++i) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Not the correct Facebook ID yet. | public String getfbID() { return getString("fbID"); } | [
"@Override\n public void setIdFacebook(String idFacebook) {\n this.idFacebook = idFacebook;\n }",
"public long getFacebookID() {\n return facebookID;\n }",
"@Override\n\t public void onFacebookError(FacebookError fberror) {\n\t }",
"@Override\n\t\t\t\t\t\tp... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get Methods Gets the identifier associated with this Quest. | public String getID() {
return questID;
} | [
"public Set<AbstractProgramData<?>> getMethods()\n {\n return this.methods;\n }",
"public MethodType[] getMethods () {\n return methods;\n }",
"public String getMethodId() {\n\t\treturn methodId;\n\t}",
"public Method[] getMethods() {\n\t\treturn methods;\n\t}",
"public nl.webservices.ww... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by Apache iBATIS ibator. This method returns the value of the database column V_RP_WK_BRANCH_3G.SITES | public Integer getSites() {
return sites;
} | [
"public Integer getSites() {\r\n return sites;\r\n }",
"public List<String> getAnatomicSite();",
"public List<SiteResourceId> sites() {\n return this.sites;\n }",
"public String getAllSites()\n {\n return m_allSites;\n }",
"private String[] getGatewaySiteList()\n\t{\n\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
and csv_update_time is null | public M csvUpdateTimeNull(){if(this.get("csvUpdateTimeNot")==null)this.put("csvUpdateTimeNot", "");this.put("csvUpdateTime", null);return this;} | [
"public M csvHappenTimeNull(){if(this.get(\"csvHappenTimeNot\")==null)this.put(\"csvHappenTimeNot\", \"\");this.put(\"csvHappenTime\", null);return this;}",
"public M csvCutoffTimeNull(){if(this.get(\"csvCutoffTimeNot\")==null)this.put(\"csvCutoffTimeNot\", \"\");this.put(\"csvCutoffTime\", null);return this;}",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test method setFunctionalDescription(String) with null. IllegalArgumentException is expected. | public void testSetFunctionalDescription_Null() {
try {
impl.setFunctionalDescription(null);
fail("IllegalArgumentException is expected.");
} catch (IllegalArgumentException iae) {
// Success
}
} | [
"public void testSetFunctionalDescription_AlreadySet() {\r\n impl.setFunctionalDescription(\"foo\");\r\n try {\r\n impl.setFunctionalDescription(\"bar\");\r\n fail(\"IllegalArgumentException is expected.\");\r\n } catch (IllegalArgumentException iae) {\r\n // Su... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Prunes the keys and keeps up to the latest N keys around | synchronized TokenMetadata pruneKeys(int numKeysToKeep) {
if (keyCache.cache.size() <= numKeysToKeep) {
return getTokenMetadata(); // nothing to do
}
Map<BytesKey, KeyAndCache> map = new HashMap<>(keyCache.cache.size() + 1);
KeyAndCache currentKey = keyCache.get(keyCache.curr... | [
"protected void trimTopN(final int topNEntries)\n\t{\n\t\tif (this.size() <= topNEntries)\n\t\t\treturn;\n\n\t\tfinal String[] all_tokens = super.keys(new String[0]);\n\t\tArrays.sort(all_tokens, new Comparator<String>(){\n\t\t\t\tpublic int compare(String o1, String o2)\n\t\t\t\t{\n\t\t\t\t\t/* # adding `or $a cm... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
new columns (possessionCarrierCode) // | public ScGridColumn<AcUspsDomesticInvoiceThsOriginAdjustment> newPossessionCarrierCodeColumn()
{
return newPossessionCarrierCodeColumn("Possession Carrier Code");
} | [
"public ScGridColumn<AcConsignmentTransport> newCarrierCodeColumn()\n {\n return newCarrierCodeColumn(\"Carrier Code\");\n }",
"public ScGridColumn<AcUspsDomesticSupply> newCarrierCodeColumn()\n {\n return newCarrierCodeColumn(\"Carrier Code\");\n }",
"public ScGridColumn<AcDomesticCan... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructor for contact request recycler view adapter. Initializes necessary fields | public ContactRequestRecyclerViewAdapter(List<ContactCard> items, ContactRequestViewModel rModel, UserInfoViewModel uModel, SettingsViewModel model) {
this.mContacts= items;
this.rModel = rModel;
this.uModel = uModel;
this.sModel = model;
this.newChat = false;
this.select... | [
"public RequestMessage() {\r\n\t\tsuper();\r\n\t\tthis.criteria = new PersonSearchCriteria();\r\n\t\tthis.setSourceSystemID(SOURCE_SYSTEM_ID);\r\n\t\tthis.setSourceUserID(SOURCE_USER_ID);\r\n\t}",
"public ContactListViewModel(@NonNull Application application) {\n super(application);\n mRequestList =... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
auto generated Axis2 call back method for addWriteoff method override this method for handling normal response from addWriteoff operation | public void receiveResultaddWriteoff(
org.apache.ws.axis2.MySQLServiceEquipmentStub.AddWriteoffResponse result) {
} | [
"sy_soapserver.SetResponseDocument.SetResponse addNewSetResponse();",
"public void receiveResultgetWriteoff(\n org.apache.ws.axis2.MySQLServiceEquipmentStub.GetWriteoffResponse result) {\n }",
"public void rcvAppendEntriesResponse(Response response)\n throws NotImplementedException{\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a new object of class 'Length Smaller'. | LengthSmaller createLengthSmaller(); | [
"Length createLength();",
"LengthEquals createLengthEquals();",
"LengthGreater createLengthGreater();",
"LengthAdd createLengthAdd();",
"LengthSubtract createLengthSubtract();",
"@Test\n public void testNewLength() {\n System.out.println(\"setLength\");\n double l = 5.0;\n double r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the products before and after the current product in the ordered set of products that the user has permission to view where userId = &63; and groupId = &63;. | public Product[] filterFindByUserIdGroupId_PrevAndNext(
long productId, long userId, long groupId,
com.liferay.portal.kernel.util.OrderByComparator<Product>
orderByComparator)
throws NoSuchProductException; | [
"public java.util.List<Product> filterFindByUserIdGroupId(\n\t\tlong userId, long groupId, int start, int end,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<Product>\n\t\t\torderByComparator);",
"public Product[] findByUserIdGroupId_PrevAndNext(\n\t\t\tlong productId, long userId, long groupId,\n\t\t\tcom... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Converts expression to format and copies the string to the system clipboard | public String outputToClipboard(MathObject startNode) {
autoBrackets=false;
String syntax="";;
try {
root = formatDoc.getRootElement();
bracket = root.getChild("BracketsRnd");
if (startNode != null) {
Element initial =... | [
"private void directToClipboard(String text) {\n\t\tthis.systemClipboard.setContents(new StringSelection(text), null);\n\t}",
"public void copy () {\n\t\tif (wrappedText == null || selection == null ||\n\t\t\tselection.isEmpty()) return;\n\t\tString str = wrappedText.getText(selection);\n\t\tStringSelection sel =... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the reference files of this job. | @Override
public void setReferenceFiles(String referenceFiles) {
model.setReferenceFiles(referenceFiles);
} | [
"public void setFiles(Set<JsComponentFile> filesIn)\r\n\t{\r\n\t\tfiles = filesIn;\r\n\t}",
"public void setFiles(final String[] files) {\n _files = files;\n }",
"public void setFilesToUpdate(Set<File> files)\n {\n filesToUpdate = files;\n }",
"public void setReferenceDirPath(String path) thr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Getter for property codigo. | public java.lang.String getCodigo() {
return codigo;
} | [
"@Column(name = \"codigo\", nullable = false, length = 100)\n\tpublic String getCodigo() {\n\t\treturn codigo;\n\t}",
"String getCodProdotto();",
"String getCodComponente();",
"public int getCodPrueba() { return codPrueba; }",
"@Override\n\tpublic java.lang.String getCodiceAgenzia() {\n\t\treturn _bancheApp... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the resource reference of default open tree folder. | protected ResourceReference getFolderOpen()
{
return FOLDER_OPEN;
} | [
"String getBaseFolderLocation();",
"public URI getAbsoluteLobFolder();",
"protected String getDefaultParentLocation() {\n return \"../parent.ivy\";\n }",
"FileObject getBaseFolder();",
"public static String getOODefaultPath() {\n\n\t\tif (isMacOSX())\n\t\t\treturn getProgramFolder() + \"Op... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of getWeight method, of class Polygon. | @Test
public void testGetWeight() {
System.out.println("getWeight");
int weight = 0;
Polygon instance = new Polygon();
instance.setWeight(weight);
int expResult = weight;
int result = instance.getWeight();
assertEquals(expResult, result);
} | [
"@Test\r\n public void testSetWeight() {\r\n System.out.println(\"setWeight\");\r\n int weight = 0;\r\n Polygon instance = new Polygon();\r\n instance.setWeight(weight);\r\n int expResult = weight;\r\n int result = instance.getWeight();\r\n assertEquals(expResult,... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Add a auths bundle | protected final <T extends AuthsBundle> void bindAuthsBundle(Class<T> authsBundleClass) {
if (annotationType != null) {
bind(authsBundleClass).annotatedWith(annotationType).toProvider(new SynaptixAuthsBundleProvider<T>(annotationType, authsBundleClass)).in(Scopes.SINGLETON);
} else if (annotation != null) {
b... | [
"private void addBundle(final Bundle bundle) {\n\n final Enumeration<?> entries = bundle.findEntries(\"META-INF\", \"*.tld\", false);\n if (entries != null) {\n while (entries.hasMoreElements()) {\n final URL taglib = (URL) entries.nextElement();\n final String... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set value of CompleteName | public final void setCompleteName(java.lang.String completename)
{
setCompleteName(getContext(), completename);
} | [
"public final void setCompleteName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String completename)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.CompleteName.toString(), completename);\n\t}",
"public void setFullName(java.lang.CharSequence value) {\n this.full_name = value;\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
set series of opening price | private void setOpenSeries() {
openSeries = new XYChart.Series();
openSeries.setName("Open");
for (DailyTickerData dailyTickerData : CsvData.TickerData) {
openSeries.getData().add(
new XYChart.Data<String, Number>(dailyTickerData.getDateString(), dailyTickerData.g... | [
"public void setOpen_price(Double open_price) {\n this.open_price = open_price;\n }",
"private void setLowSeries() {\n lowSeries = new XYChart.Series();\n lowSeries.setName(\"The Stock Rose (High - Top, Low - Bottom)\");\n for (DailyTickerData dailyTickerData : CsvData.TickerData) ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the last access time (in local time) of a file or directory. | void setLastAccessTime(String path, long newTime) throws IOException; | [
"void setLastAccessTimeUtc(String path, long newTime) throws IOException;",
"void setLastAccess(long time);",
"void setLastAccessTime(Path doc, FileTime time) throws IOException;",
"void setLastWriteTime(String path, long newTime) throws IOException;",
"void setLastWriteTimeUtc(String path, long newTime) th... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
default to tenant database datasource | public DataSource retrieveTenantAwareDataSource() {
ComboPooledDataSource tenantDataSource = this.tenantDataSource;
MifosPlatformTenant tenant = ThreadLocalContextUtil.getTenant();
if (tenant != null) {
// if tenant information available switch to appropriate datasource
... | [
"private DataSource defaultDataSource() {\n DataSourceBuilder<?> dataSourceBuilder =\n DataSourceBuilder.create(this.getClass().getClassLoader())\n .driverClassName(properties.getDriverClassName())\n .url(properties.getUrl())\n .username(properties.getUsername())\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the 'field690' field. doc for field690 | public java.lang.CharSequence getField690() {
return field690;
} | [
"public java.lang.CharSequence getField690() {\n return field690;\n }",
"java.lang.String getField1360();",
"java.lang.String getField1368();",
"public java.lang.CharSequence getField697() {\n return field697;\n }",
"java.lang.String getField1468();",
"public java.lang.CharSequence getField106... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests if there are bytes remaining in the read buffer. | private final boolean hasBufferedInputBytes() {
return reading && (buffer.hasRemaining() || ungotc != -1);
} | [
"public synchronized boolean hasRemaining() {\n return byteBuffer.hasRemaining();\n }",
"private boolean checkBuf() throws IOException {\n if (remaining <= 0) {\n return false;\n }\n\n if (bufPos >= bufSize) {\n bufSize = base.read(buf, 0, Math.min(remaining, buf.length));\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets value as the attribute value for PlanQty. | public void setPlanQty(Number value) {
setAttributeInternal(PLANQTY, value);
} | [
"public void setPlanQty(int arg)\n\t{\n\t\twPlanQty = arg ;\n\t}",
"public void setPlanQty(int arg)\n\t{\n\t\tsetValue(PLANQTY, new Integer(arg));\n\t}",
"public void setRatioPlanQty(Number value) {\n setAttributeInternal(RATIOPLANQTY, value);\n }",
"public void setPlannedQty (BigDecimal PlannedQty)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Triggers the unification of the two specified types by proving a UnifyGoal constructed with the two types and recording the specified location extent. | public final void unify (Type t1, Type t2, Locatable extent) throws TypingErrorException
{
prove(new UnifyGoal(t1,t2,extent));
} | [
"public final void unify (Type t1, Type t2) throws TypingErrorException\n {\n prove(new UnifyGoal(t1,t2));\n }",
"public IExtent union(IExtent extent) throws ThinklabException;",
"public native static void assignAsGunner(GameObject oper1, GameObject oper2);",
"public void _linkPowertypeRange(Genera... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Choose between a package and a combination of things which one is the best composition based on theirs weight and cost. | private String chooseBetterPackageCombination(String aPackage, ThingsCombination aCombination) {
LOGGER.debug("choosing better combination between {} and {}", aPackage, aCombination);
// no package combination can have a negative cost, so we will use a default of -1 if
// aPackage is NULL or empty [costMap wil... | [
"Optional<String> resolveBetterPackage(List<Thing> things, double packageWeight) throws APIException {\n\t\t// keep a reference to the better package created until now\n\t\tString betterPackage = null;\n\t\t\n\t\t/*\n\t\t * This is based on a solution to the problem of create a powerset of a list. We need all possi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Sets the passing property. | public void setPassing(boolean passing) {
this.passing = passing;
} | [
"public void setProperty(String property) {\n }",
"public void setPass(boolean pass) {\r\n this.pass = pass;\r\n\r\n setChanged();\r\n notifyObservers(this);\r\n }",
"public void setPassVariables( final boolean passIt ) {\n\t\t_passVariables = passIt;\n\t\tgenerateQualifier();\n\t}",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Updates a single row in the sgfens_banco table. | public void update(SgfensBancoPk pk, SgfensBanco dto) throws SgfensBancoDaoException; | [
"public void updateCoupon(Coupon coupon) throws DbException;",
"int updateSBaby(SBaby sBaby) throws Exception;",
"@Override\n\tpublic boolean updateShoe(Shoe s) {\n\t\t//Update shoe sql stmt\n\t\tString sql = \"UPDATE shoeproject.SHOES SET BRAND=?, COLOR=?, SIZE=?, PRICE=? WHERE ID=?\";\n\t\ttry {\n\t\t\t//exec... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructs selection tree. The resulting tree has no members selected. | public SelectionNode() {
selections = new EnumMap<Operator,Sign>(Operator.class);
selections.put(Operator.DESCENDANTS, Sign.EXCLUDE);
overridingChildren = new ArrayList<SelectionNode>();
parent = null;
} | [
"public Selection() {}",
"protected void createSelection() {\r\n\t\tsel = new GraphSelection();\r\n\t}",
"public abstract Selection createDummySelection();",
"private void createDefaultTree() {\n\t\tSelectionViewerPane selectionViewerPane = new SelectionViewerPane(this);\n\t\tselectionViewerPane.createControl... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Negative test where it is performed a request to GET endpoint to retrieve the list of existing transactions. The responseList is stored and mapped to get only email fields and store them in another email List. It is done a code verification to make sure the fake email created to be used in the POST transaction creation... | @Test(priority = 2)
public void negativeTest() {
List<CreateTransactionResponse> responseList =
given()
.when()
.get("transferMoney")
.then()
.statusCode(HttpStatus.SC_OK)
... | [
"public Response getUniqueEmails(List<String> emails) {\n\t\tResponse response = new Response();\n\t\tboolean success=true;\n\t\ttry {\n\t\t\tSet<String> uniqueEmails = new HashSet<>();\n\t\t\tif(emails !=null) {\n\t\t\t\tfor(String email : emails) {\n\t\t\t\t\tint indexOfAt = email.indexOf(\"@\");\n\t\t\t\t\tif(in... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
If the rightFlag is true, we can quickly find the inorder successor of the current node | private static TreeNode inorderLRSuccessor(TreeNode pointer) {
if (pointer.rightFlag == true)
return pointer.rightChild;
// Or return the leftmost child of the right subtree
pointer = pointer.rightChild;
while (pointer.leftFlag == false) {
pointer = pointer.leftChild;... | [
"private static TreeNode inorderRLSuccessor(TreeNode pointer) {\n\t if (pointer.leftFlag == true) \n\t return pointer.leftChild; \n\t \n\t // Or return the rightmost child of the left subtree \n\t pointer = pointer.leftChild; \n\t while (pointer.rightFlag == false) { \n\t \tpointer = ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
method to reset the number of rolls used back to zero | public void resetNumberRollsUsed()
{
myNumberRollsUsed = 0;
} | [
"public void resetCount() {\n\t\tcount = 0;\n\t}",
"public void resetCount() {\r\n\t\tthis.count = 0;\r\n\t\tthis.isCounting = true;\r\n\t}",
"public int RollCount() {\n\t\treturn 0;\r\n\t}",
"void resetCounters() {\n iterations = 0;\n correctCount = 0;\n }",
"public void reset(){\n\t\tthis.dice1.res... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the groupId from Response | private String getCreatedGroupId(Response response) {
String locationHeader = response.getHeaderString("Location");
log.info("创建用户组的头信息{}",locationHeader);
locationHeader.replaceAll(".*/(.*)$", "$1");
log.info("替换后用户组信息groupId{}",locationHeader.replaceAll(".*/(.*)$", "$1"));
Stri... | [
"public Long getGroupId() {\n return groupId;\n }",
"@Override\n\tpublic long getGroupId() {\n\t\treturn _esfMatchResult.getGroupId();\n\t}",
"public java.lang.String getGroupId()\n {\n return this._groupId;\n }",
"private static List<Group> extractGroups(HttpResponse response) {\n L... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column SCT_GSXXZCB.SFY_DWDB | public Integer getSfyDwdb() {
return sfyDwdb;
} | [
"public void setSfyDwdb(Integer sfyDwdb) {\r\n this.sfyDwdb = sfyDwdb;\r\n }",
"public String getDbColumn() {\r\n return dbColumn;\r\n }",
"public String getDbCol() {\n return dbCol;\n }",
"public String getBzdw() {\n return bzdw;\n }",
"DB2Field getUnitDB2Field();"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
penaltyCost(ind1, ind2) The function finds the cost of mismatch of characters at index1 and index2 | private int penaltyCost(int ind1, int ind2){
char a = seq1.charAt(ind1 - 1);
char b = seq2.charAt(ind2 - 1);
int ind_seq1 = findIndex(a);
int ind_seq2 = findIndex(b);
int sol = similarityMatrix[ind_seq1][ind_seq2];
return sol;
} | [
"private int calculateLevenshtein(String lhs, String rhs) {\n\t\tint len0 = lhs.length() + 1; \n\t int len1 = rhs.length() + 1; \n\t ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Read file until we found pattern: CREATE SCHEMA ; | private static String getSchemaName(String filePath) {
String schemaName = "";
ArrayList<String> fileContent = Utils.fileToArray(filePath);
for (String line : fileContent){
if (line.length() > 15) {
String pattern = line.substring(0, 13).toUpperCase();
if (pattern.equals("CREATE SCHEMA")){
schemaN... | [
"void createSchema() throws IOException, SQLException {\n // Read the SQL script.\n StringBuilder sb = new StringBuilder();\n try (InputStream in = getClass().getResourceAsStream(\"/initialize-schema.sql\")) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(in, \"U... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use SignIdentity.newBuilder() to construct. | private SignIdentity(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
} | [
"BuildIdentity toBuildIdentity();",
"private SignedIdentity(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n\t\t\tsuper(builder);\n\t\t}",
"SignatureIdentification createSignatureIdentification();",
"private SignInit(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(build... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column INTRAT.DATE_ENTERED | public void setDATE_ENTERED(Date DATE_ENTERED) {
this.DATE_ENTERED = DATE_ENTERED;
} | [
"public Date getDATE_ENTERED() {\r\n return DATE_ENTERED;\r\n }",
"public void setEnterDate(Date value) {\r\n setAttributeInternal(ENTERDATE, value);\r\n }",
"public Date getEnterDate() {\r\n return (Date) getAttributeInternal(ENTERDATE);\r\n }",
"public void setEntDate(java.sql.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the value of the forceValidation property. | public void setForceValidation ( Boolean forceValidation ) {
getStateHelper().put(PropertyKeys.forceValidation, forceValidation);
handleAttribute("forceValidation", forceValidation);
} | [
"void setValidationPossible(boolean validationPossible);",
"public Boolean getForceValidation () {\r\n\t\treturn (Boolean) getStateHelper().eval(PropertyKeys.forceValidation);\r\n\t}",
"public void setXmlValidation(final boolean xmlValidation)\r\n {\r\n XmlObjectFactory.setDefaultValidating(xmlValidat... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Converts ReadableMap to a requested generic IAP instance(ProductInfoReq, PurchaseIntentReq, PurchaseIntentReq, ConsumeOwnedPurchaseReq, StartIapActivityReq). | public static <T> T toIAPObject(final ReadableMap readableMap, Class<? extends T> type) {
T instance;
JSONObject jsonObject = toJson(readableMap);
instance = fromJson(jsonObject.toString(), type);
if (instance instanceof ProductInfoReq) {
if (readableMap.hasKey("productList")... | [
"IntentMap createIntentMap();",
"private PurchaseIntentReq createPurchaseIntentReq(int type, String productId) {\n PurchaseIntentReq req = new PurchaseIntentReq();\n req.setProductId(productId);\n req.setPriceType(type);\n req.setDeveloperPayload(\"test\");\n return req;\n }"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new element node for the provided document. The created element is an element that refers to another resource, i.e. it has xlink attributes and an objid attribute. | public Element createReferencingElementNode(
final Document doc, final String namespaceUri, final String prefix, final String tagName,
final String xlinkPrefix, final String title, final String href) throws Exception {
Element newElement = createElementNodeWithXlink(doc, namespaceUri, prefi... | [
"ObjectElement createObjectElement();",
"public N createNode(E element);",
"public abstract Element createElementfromEntity(Document document, E entity);",
"HTMLElement createHTMLElement();",
"Object create(Element element) throws IOException, SAXException, ParserConfigurationException;",
"public void add... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true if the logger is in silent mode. In silent mode, nothing is mogged. | public static boolean silent() {
return silent;
} | [
"public boolean getSilent(){\n\t\treturn this.silent;\n\t}",
"@JsonGetter(\"silent\")\n public boolean isSilent() {\n return silent != null && silent;\n }",
"public boolean isSilentModeEnabled() {\n\t\t// Determine if the ringer's silent mode is enabled.\n\t\tandroid.media.AudioManager audioManager;\n\t\ta... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |