query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Constructor of Origin point | public Origin(int north, int south, int east, int west){
this.north = north;
this.south = south;
this.east = east;
this.west = west;
} | [
"public Coordinate(){\n this(0, 0, 0);\n }",
"public Origin() {\n setCoordinateSystem(new NormalCoordinateSystem());\n fFigure.setModel(this);\n }",
"public static Position origin() {\n\t\treturn new Position(new SprucePositioned() {\n\t\t});\n\t}",
"public ECEFPoint() {}",
"public XYPoint(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Register: Given a student id number and a course code, this function should try to register the student for that course. | static void registerStudent(Connection conn, String student, String course) throws SQLException {
String query = "SELECT * FROM studentsfollowing WHERE studentsfollowing.nationalidnbr = ?";
PreparedStatement statement = conn.prepareStatement(query);
statement.setString(1, student);
Resul... | [
"static void registerStudent(Connection conn, String student, String course)\n throws SQLException\n {\n \tString query = \"INSERT INTO \\\"registrations\\\"(national_id, code) VALUES (\" + student + \", '\" + course + \"')\";\n PreparedStatement ps = conn.prepareStatement(query);\n \n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the cniBgpConfiguration property: CniBgpConfiguration represents the Calico BGP configuration. The Calico BGP configuration. | public DefaultCniNetworkInner withCniBgpConfiguration(CniBgpConfiguration cniBgpConfiguration) {
if (this.innerProperties() == null) {
this.innerProperties = new DefaultCniNetworkProperties();
}
this.innerProperties().withCniBgpConfiguration(cniBgpConfiguration);
return this;... | [
"public CniBgpConfiguration cniBgpConfiguration() {\n return this.innerProperties() == null ? null : this.innerProperties().cniBgpConfiguration();\n }",
"public void setCnpj(String cnpj) {\n String oldCnpj = this.cnpj;\n this.cnpj = cnpj;\n propertyChangeSupport.firePropertyChange(P... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
getColumnAsList Get DBSubset row as a List interface | public List getRowAsList (int iRow)
throws ArrayIndexOutOfBoundsException,IllegalStateException {
if (super.isEmpty())
throw new IllegalStateException("DBSubset.getRowAsList("+String.valueOf(iRow)+") DBSubset not loaded");
else
return (List) super.get(iRow);
} | [
"public List<Object> getSubset(String column, String key, String clasColumn);",
"java.util.List<io.dstore.engine.procedures.ImGetItemConditionPartsAd.Response.Row> \n getRowList();",
"public List<Object> getValues(String column);",
"java.util.List<io.dstore.engine.procedures.PmModifyPersonCharacsInCatA... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Build call for eventSourceServiceEventSourcesLogs | public okhttp3.Call eventSourceServiceEventSourcesLogsCall(String namespace, String name, String eventSourceType, String eventName, String grep, String podLogOptionsContainer, Boolean podLogOptionsFollow, Boolean podLogOptionsPrevious, String podLogOptionsSinceSeconds, String podLogOptionsSinceTimeSeconds, Integer podL... | [
"private void logEvents(String subscriptionName, String sourceDatastore, String targetDatastore)\r\n\t\t\tthrows Exception, EmbeddedScriptException {\r\n\t\tlogger.debug(\"Obtaining the log events of subscription \" + subscriptionName);\r\n\t\t// Get number of events to retrieve\r\n\t\tint numberOfEvents = settings... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests whether the indexes (i.e. indexes.dat) is cached in memory or not. | public boolean isIndexesCached() {
return _indexesCached;
} | [
"public boolean getIndexesCached() {\n return _indexesCached;\n }",
"boolean inCache();",
"public boolean isCachedMemory() {\n return false;\n }",
"public boolean isCached() { return cached; }",
"private boolean cached(int offset, int byte_count) throws BadRangeException {\n check... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a cursor for a given locker and retainNonTxnLocks parameter. The locker parameter must be nonnull. With this constructor, we use the given locker and retainNonTxnLocks parameter without applying any special rules for different lockers the caller must supply the correct locker and retainNonTxnLocks combination. | Cursor(final Database dbHandle,
final Locker locker,
CursorConfig cursorConfig,
final boolean retainNonTxnLocks) {
if (cursorConfig == null) {
cursorConfig = CursorConfig.DEFAULT;
}
/* Check that Database is open for internal Cursor usage. */
... | [
"public CursorImpl(DatabaseImpl databaseImpl,\n Locker locker,\n boolean retainNonTxnLocks) {\n\n thisId = (int) getNextCursorId();\n bin = null;\n index = -1;\n\n this.retainNonTxnLocks = retainNonTxnLocks;\n\n /* Associate this cursor wi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column TFSTRX_EXTENDED.AMEND_ADVISING_BANK_CIF | public void setAMEND_ADVISING_BANK_CIF(BigDecimal AMEND_ADVISING_BANK_CIF) {
this.AMEND_ADVISING_BANK_CIF = AMEND_ADVISING_BANK_CIF;
} | [
"public BigDecimal getAMEND_ADVISING_BANK_CIF() {\r\n return AMEND_ADVISING_BANK_CIF;\r\n }",
"public void setINVESTMENT_ACC_CIF(BigDecimal INVESTMENT_ACC_CIF)\r\n {\r\n\tthis.INVESTMENT_ACC_CIF = INVESTMENT_ACC_CIF;\r\n }",
"public void setBANK_CIF(BigDecimal BANK_CIF) {\r\n this.BANK_CI... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Update the UI's labels to match the Game's current state values | public void updateState() {
float uptime = .05f; // Amount of Time the up animation is performed
float downtime = .35f; // Amount of Time the down animation is performed
Color colorUp = Color.YELLOW; // Color for when a value is increased
Color colorDown = Color.RED; // Color for when a value is decreased
... | [
"public void updateLabels() {\n\t\tfinal PlayerInfo player = ControllerImpl.getController().getCurrentPlayer();\n\t\tplayerLabel.setText(\"Player:\\n\" + player.getName());\n\t\tcashLabel.setText(\"Cash:\\n\" + player.getMoney());\n\t\tnetWorthLabel.setText(\"Net Worth:\\n\" + player.totalAssets());\n\t\tprisonLabe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ 'default' enter sequence for state ActivateAlarm | private void enterSequence_main_region_digitalwatch_Alarm_ActivateAlarm_default() {
entryAction_main_region_digitalwatch_Alarm_ActivateAlarm();
nextStateIndex = 7;
stateVector[7] = State.main_region_digitalwatch_Alarm_ActivateAlarm;
} | [
"private void enterSequence_main_region_digitalwatch_Alarm_AlarmOn_default() {\n\t\tentryAction_main_region_digitalwatch_Alarm_AlarmOn();\n\t\tnextStateIndex = 7;\n\t\tstateVector[7] = State.main_region_digitalwatch_Alarm_AlarmOn;\n\t}",
"private void exitSequence_main_region_digitalwatch_Alarm_ActivateAlarm() {\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column TRSDEAL_PROMISSORY_FX.INVESTMENTONBS_FC_2 | public void setINVESTMENTONBS_FC_2(BigDecimal INVESTMENTONBS_FC_2)
{
this.INVESTMENTONBS_FC_2 = INVESTMENTONBS_FC_2;
} | [
"public void setINVESTMENTONBS_FC_2(BigDecimal INVESTMENTONBS_FC_2) {\r\n this.INVESTMENTONBS_FC_2 = INVESTMENTONBS_FC_2;\r\n }",
"public void setINVESTMENTONBS_FC(BigDecimal INVESTMENTONBS_FC)\r\n {\r\n\tthis.INVESTMENTONBS_FC = INVESTMENTONBS_FC;\r\n }",
"public void setINVESTMENTONBS_FC(BigDe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
den Text designen: FW, CW, MS | public void designText(IllocutionUnitRoots iur) {
if (designer instanceof FWAndCWDesigner) {
doc.setCharacterAttributes(0, editor.getText().length(), PLAIN,
true);
Vector<ConstitutiveWord> cws = iur.getConstitutiveWords();
for (int i = 0; i < cws.size(); i++) {
ConstitutiveWord cw = (ConstitutiveWor... | [
"protected void drawDesignators(int y, Color textColor) {\n gc.setFill(textColor);\n gc.setFont(Font.font(\"Consolas\", 24));\n gc.setTextAlign(TextAlignment.CENTER);\n gc.setTextBaseline(VPos.CENTER);\n\n String num = runway.getDesignator().substring(0, 2);\n String design... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests a blank input in the registration dialog | @Test
public void testBlankRegisterUser()
{
try
{
onView(withId(R.id.signOut)).perform(click());
}
catch (NoMatchingViewException e)
{
}
// Input text
onView(withId(R.id.etxt_Username))
.perform(typeText(testUsername), ... | [
"private Boolean signUpFieldsEmpty() {\n \tif(create_username.getText().length() < 1) {\n \t\treturn true;\n \t} else if(create_email.getText().length() < 1) {\n \t\treturn true;\n \t} else if(create_password.getText().length() < 1) {\n \t\treturn true;\n \t} else if(confirm_password.getText().... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
remove the internal and external (file) policy statements. | private void removePolicy(){
excludedPermissions = null;
uncheckedPermissions = null;
rolePermissionsTable = null;
removePolicyFile(true);
removePolicyFile(false);
removePolicyContextDirectory();
initLinkTable();
policy = null;
writeOnCommit = true;
} | [
"private void removePolicyFile(boolean granted){\n\tString fileName = getPolicyFileName(granted);\n\tFile f = new File(fileName);\n\tif(f.exists()){\n\t if (!f.delete()) {\n String defMsg = \"Failure removing policy file: \"+fileName; \n String msg=localStrings.getLocalString(\"pc.f... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the forfeit value. | @Override
public final Float getForfeit() {
return _forfeit;
} | [
"public int getFe() {\n return fe;\n }",
"public double getFvalue() {\r\n return fvalue;\r\n }",
"public Integer getFeenum() {\n return feenum;\n }",
"public int getFret() {\n return _fret;\n }",
"protected Object getFeatureValue() {\n\t\tExtendedFeatureElement element = Ex... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__UseCaseModel__Group_5__0" $ANTLR start "rule__UseCaseModel__Group_5__0__Impl" ../br.com.levysiqueira.dsl.textualusecase.ui/srcgen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:1081:1: rule__UseCaseModel__Group_5__0__Impl : ( ',' ) ; | public final void rule__UseCaseModel__Group_5__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.... | [
"public final void rule__UseCase__Group_8__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualU... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the activity type to associate with the configuration container. | public void setActivityType(/*@WindowConfiguration.ActivityType*/ int activityType) {
int currentActivityType = getActivityType();
if (currentActivityType == activityType) {
return;
}
if (currentActivityType != ACTIVITY_TYPE_UNDEFINED) {
throw new IllegalStateExce... | [
"@Override\n\tpublic void setActivityType(java.lang.String activityType) {\n\t\t_events.setActivityType(activityType);\n\t}",
"public void setActivityType(ActivityType activityType) {\n this.activityType = activityType;\n }",
"public void setActivityType(ActivityType activity, UsertypeType type) {\n\t\tacti... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method to fetch data feom the databse & to club it with header & footer of the Report. | void getDATA()
{
try
{
String L_strDPTCD=""; //Retrieve department Code
setCursor(cl_dat.M_curWTSTS_pbst);
fosREPORT = new FileOutputStream(strFILNM);
dosREPORT = new DataOutputStream(fosREPORT);
setMSG("Report Generation in Process.......",'N');
if((cl_dat.M_cmbOPTN_pbst.getSelectedItem().toS... | [
"void getDATA()\n\t{\n\t\ttry\n\t\t{\n\t\t\tintRECCT = 0; \n\t\t\tsetCursor(cl_dat.M_curWTSTS_pbst);\t\t\t\n\t\t\tfosREPORT = new FileOutputStream(strFILNM);\n\t\t\tdosREPORT = new DataOutputStream(fosREPORT);\n\t\t\tint L_intH_CNT =0;\n\t\t\tint L_intM_CNT =0;\n\t\t\tint L_intL_CNT =0;\n\t\t\t\n\t\t\tfloat L_fltH_... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
comparator, nulls lower (workingItemCount) // | public JwComparator<AcCommonCustodySummaryVo> getWorkingItemCountComparatorNullsLower()
{
return WorkingItemCountComparatorNullsLower;
} | [
"public JwComparator<AcCommonCustodySummaryVo> getTotalItemCountComparatorNullsLower()\n {\n return TotalItemCountComparatorNullsLower;\n }",
"public JwComparator<AcAirportProgressSummaryVo> getGiveItemCountComparatorNullsLower()\n {\n return GiveItemCountComparatorNullsLower;\n }",
"p... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Program loop for owner subsystem | private static void ownerLoop()
{
boolean exit = false;
Scanner input = new Scanner(System.in);
while (!exit) {
displayOwner();
String[] tokens = input.nextLine().toLowerCase().split("\\s");
char option = tokens[0].charAt(0);
char dataOpt = 0;
if (to... | [
"public static void ownerLoop() {\n boolean exit = false;\n Scanner input = new Scanner(System.in);\n\n while (!exit) {\n displayOwner();\n\n String[] tokens = input.nextLine().toLowerCase().split(\"\\\\s\");\n char option = tokens[0].charAt(0);\n cha... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Provides all available display modes that this window can be set to. | DisplayMode[] getAvailableDisplayModes(); | [
"public Map<String, ArrayList<Integer>> modes() {\n return this.modes;\n }",
"String getModes();",
"public abstract List<MODE> getModes();",
"void retrieveListModes();",
"Set<String> getRunModes();",
"public int getNumModes(){\n return numModes;\n }",
"public int getDisplayMode() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the cpgwStatus value for this PreviousPaymentInfoWithStatus. | public java.lang.Integer getCpgwStatus() {
return cpgwStatus;
} | [
"public int getPreviousStatus() {\r\n return(this.previousStatus);\r\n }",
"public Integer getwPrStatus() {\n return wPrStatus;\n }",
"public java.lang.String getCpgwStatusDesc() {\n return cpgwStatusDesc;\n }",
"public String getPREV_STATUS() {\r\n return PREV_STATUS;\r\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the hover color callback. | public void setHoverColor(ColorCallback<DatasetContext> hoverColorCallback) {
// sets the callback
this.hoverColorCallback = hoverColorCallback;
// checks if callback is consistent
if (hoverColorCallback != null) {
// adds the callback proxy function to java script object
setValueAndAddToParent(CommonProp... | [
"public void setHoverColor(NativeCallback hoverColorCallback) {\n\t\t// resets callback\n\t\tsetHoverColor((ColorCallback<DatasetContext>) null);\n\t\t// stores value\n\t\tsetValueAndAddToParent(CommonProperty.HOVER_COLOR, hoverColorCallback);\n\t}",
"public ColorCallback<DatasetContext> getHoverColorCallback() {... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__TypeAssertion__Group__0" $ANTLR start "rule__TypeAssertion__Group__0__Impl" InternalGo.g:14161:1: rule__TypeAssertion__Group__0__Impl : ( '.' ) ; | public final void rule__TypeAssertion__Group__0__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalGo.g:14165:1: ( ( '.' ) )
// InternalGo.g:14166:1: ( '.' )
{
// InternalGo.g:14166:1: ( '.' )
... | [
"public final void rule__TypeAssertion__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalGo.g:14153:1: ( rule__TypeAssertion__Group__0__Impl rule__TypeAssertion__Group__1 )\r\n // InternalGo.g:14154:2: ru... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new instance of Interpolator3D | public Interpolator3D(PhysicalEnvironment pe) {
super(pe.getGrid());
this.pe = pe;
this.grid = pe.getGrid();
if (interpolateLikeROMS) logger.info("\n\nInterploator3D: Warning: likeOldROMS is true!!\n\n");
} | [
"public Interpolator3D(ModelGrid3D grid) {\n super(grid);\n this.pe = null;\n this.grid = grid;\n if (interpolateLikeROMS) logger.info(\"\\n\\nInterploator3D: Warning: likeOldROMS is true!!\\n\\n\");\n }",
"private D3() {\n super(3);\n }",
"public MultiShape3D()\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Test MigrationTask for CSRF tokens | @Test
public void testCsrfTokenMigrationTask() throws ServiceException {
List<EphemeralInput> results = new LinkedList<EphemeralInput>();
Map<String, AttributeConverter> converters = new HashMap<String, AttributeConverter>();
converters.put(Provisioning.A_zimbraCsrfTokenData, new CsrfTokenCo... | [
"@Test\n public void csrfTokenTest() {\n // TODO: test csrfToken\n }",
"@Test public void testSetTokenGenerationStrategy() {\n manager = new CSRFTokenManager();\n manager.setTokenGenerationStrategy(IdentifierGenerationStrategy.getInstance(ProviderType.SECURE));\n }",
"@Test\n pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes a previously registered interaction from the group. | protected void removeInteraction(AInteraction i) {
interactions.remove(i);
} | [
"void removeInteraction(Object collab, Object interaction);",
"public void removeInteractionChange(IInteractionChange interactionChangeToRemove);",
"public void _unlinkInteraction(Interaction interaction1);",
"protected void removeAllInteractions() {\n interactions.clear();\n }",
"public Interaction det... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Internal method to get the order of a base64 character. Used for making an array of characters. | private static int getIndexForBase64Character(char c) {
switch (c) {
case 'A':
return 0;
case 'B':
return 1;
case 'C':
return 2;
case 'D':
return 3;
case 'E':
return 4;
... | [
"int toBase64Index(char c);",
"public String[] getEncryptionCharacterOrderSet() {\n // printable 94 characters\n String ch[]=new String[94];\n int index=0;\n \n // first add the digits \n ch[0]=\"|)|\";\n ch[1]=\"|!|\";\n ch[2]=\"|@|\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Construct an object with the following properties: Name of producer, time for producing an article unit for the given warehouse. | public Producer(String producerName, int timePerUnits, Warehouse warehouse) {
run = true;
this.name = producerName;
this.timePerUnits = timePerUnits;
this.warehouse = warehouse;
} | [
"public WarehouseSystem(Warehouse warehouse) {\n this.warehouse = warehouse;\n setTransDict(\"translation.csv\");\n }",
"public WellFormedName(Object part, Object vendor, Object product,\n Object version, Object update, Object edition, Object language, Object sw_edition, Object target_sw, Object... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column file_id.file_date | public Date getFileDate() {
return fileDate;
} | [
"public Date getFileDate();",
"public Date getFileDate()\r\n {\r\n return dFileDate;\r\n }",
"private String getDateFile() {\n return dateFile;\n }",
"public String getFileFormattedDate() {\n return this.date.format(DateTimeFormatter.ofPattern(\"yyyy-MM-dd\"));\n }",
"public... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "sass_interpolation_expression_var" $ANTLR start "sass_nested_properties" /home/matthias/src/netbeans/ide/css.lib/src/org/netbeans/modules/css/lib/Css3.g:1248:1: sass_nested_properties : property ( ws )? COLON ( ws )? ( propertyValue ( ws )? )? LBRACE ( ws )? syncToFollow ( declarations )? RBRACE ; | public final void sass_nested_properties() throws RecognitionException {
try { dbg.enterRule(getGrammarFileName(), "sass_nested_properties");
if ( getRuleLevel()==0 ) {dbg.commence();}
incRuleLevel();
dbg.location(1248, 0);
try {
// /home/matthias/src/netbeans/ide/css.lib/src/org/netbeans/modules/css/lib/... | [
"public final void sass_interpolation_expression_var() throws RecognitionException {\n\t\ttry { dbg.enterRule(getGrammarFileName(), \"sass_interpolation_expression_var\");\n\t\tif ( getRuleLevel()==0 ) {dbg.commence();}\n\t\tincRuleLevel();\n\t\tdbg.location(1225, 0);\n\n\t\ttry {\n\t\t\t// /home/matthias/src/netbe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Marshal simple features through response using formatter. Response cannot be reused after this method is called. | protected void sendFormatted(SimpleFeatureFormatter formatter,
List<List<SimpleFeature>> res, IOgcHttpResponse response)
throws Exception {
OutputStream out = null;
try {
out = response.getOutputStream();
formatter.format(res, out);
out.flush()... | [
"public void enableFormattedJson();",
"@JsonProperty(\"features\")\n @ApiModelProperty(required = true, value = \"Specific features to analyze the document for\")\n @NotNull\n public Features getFeatures() {\n return features;\n }",
"@RequestMapping(value = \"/api/v1/getAllFacilitiesAsString\", method = ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the extension attributes associated with this RTPExtension or null if this extension does not have any. | public String getExtensionAttributes()
{
return extensionAttributes;
} | [
"public Map<String, String> getExtendedAttributes() {\n\t\treturn attributes == null ? Utils.<Map<String, String>>cast(Collections.EMPTY_MAP) : attributes;\n\t}",
"private Map<String, String> getExtensionProperties() {\n\n if (descriptor != null && descriptor.getExtensions() != null) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a dialog which allows to open wireless settings window (used if any communication service is disabled). | private AlertDialog getWirelessSettingsDialog(final String message, final String buttonText) {
final AlertDialog.Builder builder = new AlertDialog.Builder(NFCMediaShare.this);
builder.setMessage(message).setCancelable(true)
.setPositiveButton(buttonText, new DialogInterface.OnClickListener() {
// @Override
... | [
"public static void openWirelessSettings() {\n Utils.getApp().startActivity(\n new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS)\n .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)\n );\n }",
"private void internetSettingsDialog() {\n AlertDialog.Builder alertDialog = new Alert... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the stroke width of shapes | private void setShapeStrokeWidth(double width) {
rectangle.setStrokeWidth(width);
oval.setStrokeWidth(width);
line.setStrokeWidth(width);
} | [
"public void setStrokeWidth(String strokeWidth)\r\n {\r\n myStrokeWidth = strokeWidth;\r\n }",
"public void setStrokeWidth(float width) {\n \t\n }",
"public void setPaintStrokeWidth(int width) {\n paint.setStrokeWidth(width);\n }",
"void setLineWidth(float width) { }",
"public n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Container's getter for Library1. | public ViewObjectImpl getLibrary1() {
return (ViewObjectImpl)findViewObject("Library1");
} | [
"public ViewObjectImpl getLibrary2() {\n return (ViewObjectImpl)findViewObject(\"Library2\");\n }",
"public ArrayList getLibrary() {\n return Library;\n }",
"public Library getLibrary() {\r\n\t\treturn library;\t\r\n\t}",
"public Library getLibrary() {\r\n\t\treturn library;\r\n\t}",
"public P... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the result of interpreting the object as an instance of 'Unresolved Item'. This implementation returns null; returning a nonnull result will terminate the switch. | public T caseUnresolvedItem(UnresolvedItem object) {
return null;
} | [
"@Nullable\n public ItemStack parseItem()\n {\n return parseItem( false );\n }",
"public T caseItem(Item object) {\n\t\treturn null;\n\t}",
"public T caseBindingPossiblyUnresolved(BindingPossiblyUnresolved object) {\n\t\treturn null;\n\t}",
"protected ItemData getSiebelItem() throws MappingExc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO: delete user from database by userHash | @Override
public boolean deleteByUserHash(String user_hash) {
boolean status = userRepository.delete(user_hash);
if (status) {
System.out.println("User has been deleted!");
} else {
System.out.println("User has not been deleted!.");
}
return status;
} | [
"@Override\n\tpublic boolean deleteByUserHash(String userHash) {\n\t\tboolean status = userRepository.delete(userHash);\n\t\tif (status) {\n\t\t\tSystem.out.println(\"User has been deleted!\");\n\t\t} else {\n\t\t\tSystem.out.println(\"User has not been deleted!.\");\n\t\t}\n\t\treturn status;\n\t}",
"public void... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
load a float into a uniform variable location | protected void loadFloat(int location, float value) {
GL20.glUniform1f(location, value);
} | [
"protected void loadFloat(int location, float value){\r\n\t\tGL20.glUniform1f(location, value);\r\n\t}",
"public void loadFloat(int location, float value){\n\t\tGL20.glUniform1f(location, value);\n\t}",
"float readFloat();",
"public abstract void load(IntFloatElement element, DataInputStream in) throws IOExce... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get body length from field | int getBodyLength(); | [
"Long payloadLength();",
"long getBodySize();",
"public int getBodyLength() {\n return bodyLength_;\n }",
"public int getFieldLength()\n\t{\n\t\treturn fieldLength;\n\t}",
"public short getFieldLength() {\r\n\t\treturn fieldLength;\r\n\t}",
"public int getBodyLength() {\n return bodyLength_... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Extracts the fmt which the migration is expected to show this information is configured within the xml config | private URI getExpectedMigrationResultfmt() throws Exception{
return this.getServiceCallConfigs(this.migrate1).
getPropertyAsURI(SER_PARAM_MIGRATE_TO);
} | [
"java.lang.String getOutputFormats();",
"public VersionProperty getConfigurationFormat();",
"private String inFormat() {\n File f = cfg.getReadFromFile();\n if (f != null) {\n return \" in format file \" + f.getPath();\n }\n return \" in format \" + StringUtils.defaultStri... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns all the jobs where uuid = &63;. | public static List<Job> findByUuid(String uuid) {
return getPersistence().findByUuid(uuid);
} | [
"public static List<Job> findByUuid_C(String uuid, long companyId) {\n\t\treturn getPersistence().findByUuid_C(uuid, companyId);\n\t}",
"public Set<String> getJobs(String tag, long timestamp);",
"public String[] getAllJobs();",
"public static Job fetchByUUID_G(String uuid, long groupId) {\n\t\treturn getPersi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Getter for the sortBy button | public MenuButton getSortBy() {
return sortBy;
} | [
"public String sortBy() {\n return this.sortBy;\n }",
"public boolean getClickSort() {\r\n\t\treturn _clickSort;\r\n\t}",
"private void updateSorting()\n\t{\n\t\t// Set the direction icon\n\t\tthis.btnSortingDirection.setSortingDirection( this.sortingDirection );\n\n\t\t// Set the order icon\n\t\tthis... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
select product_id, sum(quantity) as c FROM order_detail GROUP by (product_id) ORDER BY (c) DESC; | @Query("SELECT new thiendz.j5.assignment.model.ReportProduct(od.product, SUM(od.price * od.quantity), SUM(od.quantity) AS s) FROM OrderDetail od GROUP BY od.product ORDER BY (s) DESC")
public List<ReportProduct> getListProductBigOrder(Pageable pageable); | [
"public BigDecimal getOrder_Qty();",
"public BigDecimal getOrderTotal()\r\n {\r\n BigDecimal orderTotal = BigDecimal.ZERO;\r\n for (Entry<Product, Long> product : this.products.entrySet()) \r\n {\r\n Product key = product.getKey();\r\n BigDecimal totalProductPrice = key.getPrice()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
returns the size for admin tab. | public final int getAdminTab() {
return adminTabList.size();
} | [
"protected int getTabSize() {\n Integer i = (Integer) getDocument().getProperty(PlainDocument.tabSizeAttribute);\n int size = (i != null) ? i.intValue() : 8;\n return size;\n }",
"public int getTabSize()\n\t{\n\t\treturn ((Integer)getProperty(\"tabSize\")).intValue();\n\t}",
"public int ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Renderer used to display hybrid fields | @objid ("0a72aad1-cb5b-11e1-9165-002564c97630")
@Override
public DefaultCellRenderer getRenderer() {
if (isDisplayOwner()) {
HybridCellRenderer hybridRendererWithOwner = new HybridCellRenderer(DefaultCellRenderer.INDICATION_FOCUS, true);
hybridRendererWithOwner.setForeground(Disp... | [
"java.lang.String getRenderer();",
"String getRendererType();",
"protected abstract IFieldRenderer<FlowPanel> getRenderer();",
"public int getRenderType()\n {\n return 40;\n }",
"public int getRenderType()\r\n {\r\n return 1;\r\n }",
"public int getRenderType()\n {\n re... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Registra o actualiza el uso de los articulos (articuloImpuesto) desde la edicion masiva | void registrarActualizarArticuloImpuesto(ArticuloImpuestoDTO articuloImpuestoDTO) throws SICException; | [
"private void registraUpdate() {\n /* variabili e costanti locali di lavoro */\n Date oggi;\n\n try { // prova ad eseguire il codice\n oggi = Lib.Data.getCorrente();\n Pref.Update.ultimoAgg.getWrap().setValore(oggi);\n Pref.registra();\n } catch (Exceptio... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Prepares a formatted String representation of the trading properties | public static String getFormattedTradingProperties(String sessionName, int classKey,
int propertyType)
{
return getFormattedTradingProperties(sessionName, classKey,
TradingPropertyFactoryHome.find().getProper... | [
"private static String getFormattedTradingProperties(TradingPropertyGroup tpg)\n {\n if(null == tpg)\n {\n return NONE;\n }\n\n try\n {\n return FORMATTER.format(tpg, DEFAULT_TEXT_FORMAT);\n }\n catch(Exception e)\n {\n GUIL... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
A list of log entries. repeated .google.logging.v2.LogEntry entries = 1; | com.google.logging.v2.LogEntry getEntries(int index); | [
"java.util.List<com.google.logging.v2.LogEntry> \n getEntriesList();",
"public com.google.logging.v2.ListLogEntriesResponse listLogEntries(com.google.logging.v2.ListLogEntriesRequest request) {\n return io.grpc.stub.ClientCalls.blockingUnaryCall(\n getChannel(), getListLogEntriesMethod(), getCa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
in the edit row window, a sports team is being edited set the attributes accordingly. | static public void set_team_data(String league){
Edit_row_window.attrs = new String[]{"team name:", "rating:", "release year:"};
Edit_row_window.attr_vals = new String[]
{Edit_row_window.selected[0].getText(1), Edit_row_window.selected[0].getText(2),
Edit_row_window.selected[0].getText(3)};
Edit_row_... | [
"static public void set_player_data(String league){\n\t\t\n\t\tEdit_row_window.attrs = new String[]{\"player name:\", \"rating:\", \"birth year:\"};\n\t\tEdit_row_window.attr_vals = new String[]\n\t\t\t\t{Edit_row_window.selected[0].getText(1), Edit_row_window.selected[0].getText(2), \n\t\t\t\tEdit_row_window.selec... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Resolves throttling policy according to the settings. | @NotNull private PageMemoryImpl.ThrottlingPolicy resolveThrottlingPolicy() {
PageMemoryImpl.ThrottlingPolicy plc = persistenceCfg.isWriteThrottlingEnabled()
? PageMemoryImpl.ThrottlingPolicy.SPEED_BASED
: PageMemoryImpl.ThrottlingPolicy.CHECKPOINT_BUFFER_ONLY;
if (throttlingPoli... | [
"private ThrottlingExceptionRoutePolicy getThrottlingExceptionRoutePolicy() {\n\t\tList<Class<?>> throttledExceptions = new ArrayList<Class<?>>();\t\t\n\t\tthrottledExceptions.add(ServerUnavailableException.class);\n\t\tThrottlingExceptionRoutePolicy routePolicy = new ThrottlingExceptionRoutePolicy(1, 30000, 60000,... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The exists function returns true if this RulesDataSnapshot contains any data. It is purely a convenience function since "data.exists()" is equivalent to "data.val() != null". | @SuppressWarnings({"unused"})
public boolean exists() {
return (val != null);
} | [
"public boolean has(Data d) { return search(d, true, true) != -1; }",
"public boolean exists() {\n\t\treturn jq().exists();\n\t}",
"public boolean exists() {\n return fields != null;\n }",
"private boolean doesDataExist(){\n Cursor cursor = getAllData(WicedDBSchema.MovementTable.NAME);\n cur... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Print the specified range of characters, with escapes. | private void printCharacters(char[] ch, int start, int length) {
for (int i = start; i < start+length; ++i)
printCharacter(ch[i]);
} | [
"private void showCharacters(char ch[], int start, int length) {\r\n for (int i = start; i < start + length; i++) {\r\n switch (ch[i]) {\r\n case '\\\\':\r\n System.out.print(\"\\\\\\\\\");\r\n break;\r\n case '\"':\r\n System.out.print(\"\\\\\\\"\");\r\n br... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column XUYU_CONTENT_CARD_INFO_RECORD.REAL_DEADLINE | public void setRealDeadline(Date realDeadline) {
this.realDeadline = realDeadline;
} | [
"public void setDeadline(Date deadlineArg) {\n deadline = deadlineArg;\n }",
"public Date getRealDeadline() {\r\n return realDeadline;\r\n }",
"public Builder setAbsoluteDeadline(long value) {\n \n absoluteDeadline_ = value;\n onChanged();\n return this;\n }"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Appends the value as the last "WarehouseID" element | void addWarehouseID(java.lang.String warehouseID); | [
"java.util.List<java.lang.String> getWarehouseIDList();",
"public String getWarehouseid() {\n return warehouseid;\n }",
"void insertWarehouseID(int i, java.lang.String warehouseID);",
"public String getWarehouseNo() {\r\n return warehouseNo;\r\n }",
"public void setWarehouse(String wareh... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Find Artist based on the entity Id. | public Artist findById(Long artistId) {
Artist artist = manager.find(Artist.class, artistId);
if (artist == null) {
throw new EntityNotFoundException("Can't find Artist for ID "
+ artistId);
}
return artist;
} | [
"Artist getById(long id);",
"public Artist getArtist(int id) {\n try (PreparedStatement ps = connection.prepareStatement(\"SELECT * FROM artists WHERE id = ?\")) {\n ps.setInt(1, id);\n ResultSet set = ps.executeQuery();\n if (set.next())\n return new Artist(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Case ID:116814. Test Case Name: Rate/Sort answers. PreCondition: PostCondition: | @Test
public void test01_RateSortAnswers() {
String answer1 = txData.getContentByArrayTypeRandom(1)+"a1116814";
String answer2 = txData.getContentByArrayTypeRandom(1)+"a2116814";
String answer3 = txData.getContentByArrayTypeRandom(1)+"a3116814";
info("Create answer");
hp.goToAnswer();
aMang.goToAnswerQue... | [
"@Test(priority = 8)\n\tpublic void validateSortingByRating() {\n\t\tlog = Logger.getLogger(HeroImageProducttestscripts.class);\n\t\tLogReport.getlogger();\n\t\tlogger = extent.startTest(\"Validating the Sorting functionality\");\n\t\tHeroImageProductPageFlow.selectSortingDropdown(2, locator);\n\t\theroImg.validate... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Wrapper Method to delete a node having value 'x' from AVL tree Time Complexity O(log n) , Space Complexity O(log n) [As recursion is used] | public void deleteNode(int x){
if(root==null){
System.out.println("AVL Tree is already empty, hence can't delete");
return;
}
if(searchNode(root,x)==null){
System.out.println("Given data= "+x+" is not present in AVL tree, Hence can't delete");
retu... | [
"public int delete(int k) {\n\t\tif (this.empty()) {// empty tree, nothing to erase\n\t\t\treturn -1;\n\t\t}\n\t\tAVLNode root = (AVLNode) this.root;\n\t\tAVLNode node = (AVLNode) root.delFindNode(k);\n\t\tif (node == null) {// no node with key==k in this tree\n\t\t\treturn -1;\n\t\t}\n\t\tchar side = node.parentSi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
build DeletionManager for lsmEngine | public <R extends IDeletionRequest> LSMEngineBuilder<T> buildDeletionManager(
DeletionManager<T, R> deletionManager) {
lsmEngine.setDeletionManager(deletionManager);
return this;
} | [
"public <R extends IDeletionRequest> LSMEngineBuilder<T> buildDeletionManager(\n LevelProcessorChain<T, R, DeleteRequestContext> levelProcessChain) {\n DeletionManager<T, R> deletionManager = new DeletionManager<>(lsmEngine.getWalManager());\n deletionManager.setLevelProcessorsChain(levelProcessChain);\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates the event with the given delegate, yield, question asker, and comments remaining. | public YieldActionEvent(Delegate delegate, Yield yield,
ActionType actionType, Delegate questionAsker, int commentsRemaining) {
super(delegate);
this.delegate = delegate;
this.yield = yield;
this.actionType = actionType;
this.questionAsker = questionAsker;
this.commentsRemaining = commentsRemaining;
} | [
"public YieldActionEvent(Delegate delegate, Yield yield,\n\t\t\tActionType actionType, Delegate questionAsker) {\n\t\tthis(delegate, yield, actionType, questionAsker, 0);\n\t}",
"public YieldActionEvent(Delegate delegate, Yield yield,\n\t\t\tActionType actionType, int commentsRemaining) {\n\t\tthis(delegate, yiel... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Pack characters from message string into TEA array | public int[] pack_message(String m) {
int[] v = new int[2];
/* INSERT YOUR CODE HERE */
v[0] = 0x20202020;
v[1] = 0x20202020;
for (int i = 0; i < m.length(); i++) {
char c = m.charAt(i);
int index = (i % 2);
v[inde... | [
"public static char[] convertStringToCharArray(String messageString) \r\n {\r\n //create variables\r\n int index, stringLength;\r\n char currentChar;\r\n char[] finalArray;\r\n \r\n //create the array with length of the string\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Provide access to the underlying server proxy to permit the ProxyTrustVerifier class to verify the proxy. | @SuppressWarnings("unused")
private ProxyTrustIterator getProxyTrustIterator() {
return new SingletonProxyTrustIterator(getServerProxy());
} | [
"Verifier(I_PublishLogRecord serverProxy) {\n if (serverProxy instanceof RemoteMethodControl && serverProxy instanceof TrustEquivalence) {\n this.serverProxy = (RemoteMethodControl) serverProxy;\n } else {\n throw new UnsupportedOperationException();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Calculate the distance between this point and the other point. Creates an SQL expression that will report the distance (in units) between these two points. Essentially this utilizes a database specific method to calculate sqrt((x2x1)^2+(y2y1)^2). | public NumberExpression distanceTo(Point2DExpression otherPoint) {
return new NumberExpression(new PointPointFunctionWithNumberResult(this, otherPoint) {
@Override
public String doExpressionTransform(DBDatabase db) {
try {
return db.getDefinition().doPoint2DDistanceBetweenTransform(getFirst().toSQLStr... | [
"double distance(double x1, double y1, double x2, double y2){return Math.sqrt(Math.pow(x2-x1,2)+Math.pow(y2-y1,2));}",
"private static double distance(double x1, double y1, double x2, double y2) {\r\n return Math.sqrt((y2 - y1) * (y2 - y1) + (x2 - x1) * (x2 - x1));\r\n }",
"public double distance(double x1,... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Stop and clean up a previous ModelData if one exists. This usually is used when the previous model has a different UUID for the same keyphrase ID. | private int cleanUpExistingKeyphraseModelLocked(ModelData modelData) {
int status = tryStopAndUnloadLocked(modelData, true /* stop */, true /* unload */);
if (status != STATUS_OK) {
Slog.w(TAG, "Unable to stop or unload previous model: " +
modelData.toString());
}... | [
"@Override\n protected void onDestroy() {\n saveData();\n stopRepeatingDeletionSearch();\n super.onDestroy();\n }",
"@Override\n protected void onStop() {\n saveData();\n stopRepeatingDeletionSearch();\n super.onStop();\n }",
"private void recreateModel() {\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method calculates the viewMin/viewMax values for the visualisation, based on the original bounds and the zoom factor. A margin (equal to the largest communication range) is also added. The method also updates the size of this component Attributes updated: viewMinX, viewMaxX, viewMinY, viewMaxY Attributes used: max... | private void updateViewBounds()
{
assert !sim.getMap().isEmpty() : "Visualiser needs simulator whose a map has at least one node";
viewMinX = minX * zoomFactor;
viewMinY = minY * zoomFactor;
viewMaxX = maxX * zoomFactor;
viewMaxY = maxY ... | [
"public void updateBounds() {\n\t\tbounds = new Rectangle2D.Double((position.x - (size * scale / 2) + xDif),\n\t\t\t\t(position.y - (size * scale / 2) + yDif), size * scale, size * scale);\n\t}",
"private void resize() {\n\t\t\t// set delta x and delta y (plotting area / range)\n\t\t\tdouble dx = (double) (innerW... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Mapper for the entity Record25Herfinancieering and its DTO Record25HerfinancieeringDTO. | @Mapper(componentModel = "spring", uses = {})
public interface Record25HerfinancieeringMapper extends EntityMapper<Record25HerfinancieeringDTO, Record25Herfinancieering> {
default Record25Herfinancieering fromId(Long id) {
if (id == null) {
return null;
}
Record25Herfinancieer... | [
"@Mapper(componentModel = \"spring\", uses = {FdnAanvragerMapper.class})\npublic interface LegitimatiebewijsMapper extends EntityMapper<LegitimatiebewijsDTO, Legitimatiebewijs> {\n\n @Mapping(source = \"fdnAanvrager.id\", target = \"fdnAanvragerId\")\n LegitimatiebewijsDTO toDto(Legitimatiebewijs legitimatieb... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retrieve the Accrual Interval Change | public double accrualChange()
{
return _dblAccrualChange;
} | [
"public double interval() {\n return interval;\n }",
"public int get_interval() {\n return (int)getUIntBEElement(offsetBits_interval(), 16);\n }",
"protected AtomicInteger getTimeInterval() {\n return timeInterval;\n }",
"public int getAvpfRrInterval();",
"public double getRate... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the group manager map used by this ExceptionDemoImpl. | public OpbGroupManagerMap getGroupManagerMap() {
return opbGroupManagerMap;
} | [
"public Map<ServiceID,String[]> getGroups() {\n return new HashMap<ServiceID,String[]>(groups);\n }",
"public Map getESBManagers()\n\t{\n\t\tMap mgrs = (Map)cache( \"esbManagers\" );\t\t\n\t\t\n\t\tif ( mgrs == null )\n\t\t{\n\t\t\tmgrs = new HashMap();\n\t\t\tCollection names \t= getESBManagerNames();\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
To check whether the CheckBox is checked or not | boolean isCheckboxChecked(); | [
"boolean isChecked();",
"public boolean isChecked(int index) {\n if(index < getModel().getSize()) {\n final CheckBoxData cbd = (CheckBoxData) getModel().getElementAt(index);\n return cbd.isSelected();\n }\n return false;\n }",
"public static void ValidateCheckBox(WebElement obj)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the weapon core attributes dependly on weapon type | public static Map<Attribute, Number> getWeaponCoreAttributes(WeaponType type) {
Map<Attribute, Number> value = new LinkedHashMap<>();
switch(type) {
case ASSAULTRIFLE:
value.put(Attribute.ASSAULTRIFLEDAMAGE, 15.0);
break;
case LIGHTMACHINEGUN:
value.put(Attribute.LMGDAMAGE, 15.0); ... | [
"public static Map<Attribute, Number> getWeaponMinorAttributes(WeaponType type) {\n\t\tMap<Attribute, Number> value = new LinkedHashMap<>();\n\t\t\n\t\tif (type != WeaponType.SHOTGUN) {\n\t\t\tvalue.put(Attribute.DAMAGETOARMOR, 6.0);\n\t\t}\n\t\tif (type != WeaponType.SUBMACHINEGUN) {\n\t\t\tvalue.put(Attribute.CRI... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Add or Update a Entry into the donor_camp table | public DonorCamp addUpdateDonorCamp(DonorCamp entity){
return this.repo.save(entity);
} | [
"void updateEntry(BlogEntry entry) throws DAOException;",
"int updateByPrimaryKey(Landownership record);",
"public void addDoctorPerInfo(String doc_id, String doctor_login_id, String membership_id, String first_name, String middle_name, String last_name, String email_id, String phone_no, String company_id) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the inner cone angle for spotlights. | public float getInnerConeAngle() {
return this.spotlightConeInner;
} | [
"public float getOuterConeAngle() {\n return this.spotlightConeOuter;\n }",
"public double getInteriorAngle() {\n\t\tdouble angle = 180 * (numberOfSides - 2) / numberOfSides;\n\t\treturn angle;\n\t}",
"public void setInnerConeAngle(float coneInner) {\n this.spotlightConeInner = coneInner;\n fireChange... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Handle the retaining cash event. Different from "retain cash", which means retain prepared but not out yet cash Here "retain out cash" means retain the cash which is already out. | public void retainOutCash()
{
Platform.runLater(new Runnable() {
@Override
public void run() {
try {
//JOptionPane.showMessageDialog(null, "Out cash retained!");
Alert alert=new Alert(Alert.AlertType.INFORMATION, "Out cash retai... | [
"@Override\r\n public void storeCash() {\r\n\r\n }",
"@Override\n public void returnCash() {\n System.out.println(\"Return Cash 2\");\n System.out.println(\n \"Returning :\" + (((DataStore2) this.dataStore).getCash() - this.dataStore.getTotal()));\n ((DataStore2) this.dataStore).setCash(0);... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Container's getter for SearchMemberBarcodeHistory. | public MemberBarcodeHistoryVOImpl getSearchMemberBarcodeHistory() {
return (MemberBarcodeHistoryVOImpl)findViewObject("SearchMemberBarcodeHistory");
} | [
"public ViewObjectImpl getMemberBarcodeHistory1() {\n return (ViewObjectImpl)findViewObject(\"MemberBarcodeHistory1\");\n }",
"public MemberBarcodeHistoryVOImpl getMemberBarcodeHistoryVO1() {\n return (MemberBarcodeHistoryVOImpl)findViewObject(\"MemberBarcodeHistoryVO1\");\n }",
"public View... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This repaints the requested range asynchronously. This means many calls at once will only result in one call to paint(Graphics). Only the audio graphs are repainted, not the borders. | public void repaintSampleRange(int fromSample, int toSample) {
Rectangle r = getGraphBoundaries(fromSample, toSample);
if (!r.isEmpty()) {
if (DEBUG_DRAW) {
debug("Calling repaint with x=" + r.x + " width=" + r.width);
}
repaint(r.x, r.y, r.width, r.height);
}
} | [
"public void redrawWaveSynchronously(int fromSample, int toSample) {\r\n\t\tif (canPaintGraph()) {\r\n\t\t\tGraphics g = getGraphics();\r\n\t\t\tif (g != null) {\r\n\t\t\t\tRectangle r;\r\n\t\t\t\tif (fromSample == section.getStart()\r\n\t\t\t\t\t\t&& toSample == section.getEnd())\r\n\t\t\t\t\tr = getGraphBounds(AL... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the line number for this dotaccess node. The line number is the one corresponding to the RHS of the dotaccess. | public int lineNum() {
return myId.lineNum();
} | [
"public int get_line() {\r\n\t\treturn this.line_number;\r\n\t}",
"public int getLineNum() {\n\t\treturn (parser == null) ? 0 : parser.getCurrentLocation().getLineNr();\n\t}",
"public Integer getLineNumber() {\r\n return this.lineNumber;\r\n }",
"public int getLineNumber()\r\n {\r\n return... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the past name list in the form of JList | public JList<String> getPastNameList(){
return this.pastNameList;
} | [
"public NlsString getNameList()\n // -end- 394895E40137 get_head358A69810091 \"nameList\"\n {\n // -beg- preserve=no 394895E40137 get_body358A69810091 \"nameList\"\n return nameList;\n // -end- 394895E40137 get_body358A69810091 \"name... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Updates userObj if user has different values. It only updates name for now. | private void updateUserObjIfNecessary(User user, DBObject userObj)
{
final String name = get(userObj, FIELD_NAME);
if (isEmpty(name) || !name.equals(user.getName()))
{
userObj.put(FIELD_NAME, user.getName());
users.save(userObj);
}
} | [
"public void setUser(String newVal) {\n if ((newVal != null && this.user != null && (newVal.compareTo(this.user) == 0)) || \n (newVal == null && this.user == null && user_is_initialized)) {\n return; \n } \n this.user = newVal; \n user_is_modified = true; \n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks if this block is a sign | public boolean isSign() {
return this.type == Type.SIGN;
} | [
"public static boolean isSignBlock(Block block) {\n \treturn block.getState() instanceof Sign;\n }",
"private boolean checkSign(Block block, BlockFace face) {\n for(int i = 1; true; i++) {\n Block relative = block.getRelative(face, i);\n if(!plugin.allowedBlocks.contains(relati... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Note: To load GreetingService, we are using ServiceLoader. If GreetingsService has multiple implementations, the ServiceLoader will load all of them. This depends on us and how we can handle implementations. In the above code, I am assuming there is only one implementation and finding out using next(). | public GreetingsServiceInterface serviceImpl() {
GreetingsServiceInterface service = loader.iterator().next();
if(service != null) {
return service;
} else {
throw new NoSuchElementException(
"No implementation for GreetingsProvider");
}
} | [
"public GreetingService() {\n\n }",
"public static void loadService() {\n Optional<EconomyService> optService = Sponge.getServiceManager().provide(EconomyService.class);\n if(optService.isPresent()) {\n service = optService.get();\n isLoaded = true;\n } else {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the number of problems reported. | public int getProblemCount() {
return problems.size();
} | [
"public int getProblemCount();",
"public int getNumProblemas() {\n return numProblemas;\n }",
"int getViolationReportCount();",
"public int countProblem() throws Exception;",
"int getErrorCount();",
"public static int getErrorCount() {\n return errorCount;\n }",
"public static int getNu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return true if `rect1' and `rect2' are the same, false otherwise. APISince: 2.0 | @Generated
@CFunction
public static native boolean CGRectEqualToRect(@ByValue CGRect rect1, @ByValue CGRect rect2); | [
"public boolean equals(Object other) {\n if (this == other) {\n return true;\n }\n if (!(other instanceof Rectangle)) {\n return false;\n }\n Rectangle r = (Rectangle) other;\n return (this.name.equals(r.name))\n && (this.color.equals(r.color))\n && (this.xPos == r.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
returns input gate for specified class, if exists | IGate getInputGate(Class<? extends IPacket> msgClass); | [
"boolean hasInputGate(Class<? extends IPacket> msgClass);",
"IGate declareInputGate(Class<? extends IPacket> msgClass);",
"boolean isInputNeuron();",
"IGate getOutputGate();",
"Class<I> getInputType();",
"InputOperation getInputOperation();",
"InputImpl.InputType getInputType();",
"ubii.processing.Pro... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
abstraction for easier building example iconButtonRow.addItem("TEST", R.drawable.my_icon); | public abstract void addItems(IconButtonRow iconButtonRow); | [
"private ImageButton generateItemButton(Texture image) {\n\t\tTextureRegion imgRegion = new TextureRegion(image);\n\t\tTextureRegionDrawable imgDraw = new TextureRegionDrawable(imgRegion);\n\t\treturn new ImageButton(imgDraw);\n\t}",
"public S withItemIcon(Object itemId, Resource icon);",
"protected void addIte... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create new webview Client to show progress dialog When opening a url or click on link | private void startWebView(String url) {
myWebView.setWebViewClient(new WebViewClient() {
ProgressDialog progressDialog;
//If you will not use this method url links are opeen in new brower not in webview
public boolean shouldOverrideUrlLoading(WebView view, String url) {
... | [
"private void startWebView(String url) {\n\n webView.setWebViewClient(new WebViewClient() {\n Dialog progressDialog;\n\n //If you will not use this method url links are opeen in new brower not in webview\n public boolean shouldOverrideUrlLoading(WebView view, String url) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Receive a Player object | public Player receivePlayer() {
try {
return (Player) dIn.readObject();
} catch (IOException e) {
System.out.println("Player not received");
e.printStackTrace();
} catch (ClassNotFoundException e) {
System.out.println("C... | [
"com.huya.ig.jump.protocol.Player getPlayer();",
"void onPlayerListReceive();",
"@Override\n public Object asObject() {\n return player;\n }",
"public Player getPlayer() { return player; }",
"public Player getPlayerObject () {\r\n \treturn playerObject;\r\n }",
"Player createPlayer();... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Load HTML from file | private void loadHTMLFile(File file) {
try {
StringBuilder sb = new StringBuilder();
FileInputStream fis = new FileInputStream(file);
BufferedInputStream bis = new BufferedInputStream(fis);
while (bis.available() > 0) {
sb.append((char) bis.read());
}
bis.close();
String htmlContent = sb.toS... | [
"protected abstract void parseHtml(File htmlFile);",
"public void generateHtml(AlmuallimURL url, File file);",
"public void readHtmlData() {\r\n\t\tFile folder = new File(filePath);\r\n\t\tif (folder.exists() && folder.isDirectory()) {\r\n\t\t\tFile[] files = folder.listFiles();\r\n\t\t\tfor (File file : files)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Convert from NMEA format to decimal (there is already a method in Location so this is not really necessary) | Double nmeaLonToDecimal(String nmea) throws NumberFormatException {
int deg = Integer.parseInt(nmea.substring(0,3));
Double min = Double.parseDouble(nmea.substring(3));
return deg+min/60d;
} | [
"Double nmeaLatToDecimal(String nmea) throws NumberFormatException {\n\t\tint deg = Integer.parseInt(nmea.substring(0,2));\n\t\tDouble min = Double.parseDouble(nmea.substring(2));\n\t\treturn deg+min/60d;\n\t}",
"private String longitudeConversion() {\n int lon = record[5];\n if (lon >= 0) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Creates a secure container with the specified parameters. Returns an int consistent with MountServiceResultCode | public int createSecureContainer(String id, int sizeMb, String fstype, String key,
int ownerUid, boolean external) throws RemoteException; | [
"public int createSecureContainer(String id, int sizeMb, String fstype, String key,\n int ownerUid, boolean external) throws RemoteException {\n Parcel _data = Parcel.obtain();\n Parcel _reply = Parcel.obtain();\n int _result;\n try {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new wlan_Modes_r13Type from encoded stream. | public static wlan_Modes_r13Type fromPerUnaligned(byte[] encodedBytes) {
wlan_Modes_r13Type result = new wlan_Modes_r13Type();
result.decodePerUnaligned(new BitStreamReader(encodedBytes));
return result;
} | [
"public static wlan_Modes_r13Type fromPerAligned(byte[] encodedBytes) {\n wlan_Modes_r13Type result = new wlan_Modes_r13Type();\n result.decodePerAligned(new BitStreamReader(encodedBytes));\n return result;\n }",
"public static wlan_MeasSupported_r13Type fromPerUnaligned(byte[] encodedBytes) {\n wlan... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the cumulative assists earned by this participant before this play. | public int getCumulativeAssists() {
return cumulativeAssists;
} | [
"public int getAssists(){\r\n\t\treturn assists;\r\n\t}",
"public double[] cumulativePercentage(){\n if(!this.pcaDone)this.pca();\n return this.cumulativePercentage;\n }",
"public int getTotalAbsence()\n {\n return totalAbsence;\n }",
"public int[][] get_ascent_profile () {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method will test UpdateSalesOrders service. It checks whether the sales order is successfully created or not. | @org.junit.Test
public void checkUpdateSalesOrders() throws IOException, SQLException, Exception {
long salesPersonId = 1;
long productId = 1;
long orderQty = 13;
long salesOrderId = 1;
String query = "SELECT * FROM SalesOrder WHERE SalesOrderID= " + salesOrderId;
res... | [
"@Test\r\n\tvoid testupdate() {\r\n\t\t\r\n\t\tassertEquals(true,service.updateOrder(ob));\r\n\t}",
"@Test\n\tpublic void createOrderTest() {\n\t\ttry {\n\t\t\tassertNull(salesOrderCtrl.getOrder());\n\t\t\tsalesOrderCtrl.createSalesOrder();\n\t\t\tassertNotNull(salesOrderCtrl.getOrder());\n\t\t} catch (Exception ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Look for plants adjacent to the current location. Only the first live plant is eaten. | private Location findFood()
{
Field field = getField();
List<Location> adjacent = field.adjacentLocations(getLocation());
Iterator<Location> it = adjacent.iterator();
while(it.hasNext()) {
Location where = it.next();
Object object = field.getObjectAt(... | [
"protected Location nextLocation()\n {\n // Get list of neighboring empty locations.\n ArrayList emptyNbrs = emptyNeighbors();\n\n // Remove the location behind, since fish do not move backwards.\n Direction oppositeDir = direction().reverse();\n Location locationBehind = envir... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
.google.protobuf.Int32Value id = 1; | com.google.protobuf.Int32Value getId(); | [
"com.google.protobuf.Int32ValueOrBuilder getIdOrBuilder();",
"com.google.protobuf.Int64Value getId();",
"com.google.protobuf.Int64Value getFromId();",
"public interface ProtoStreamTypeIds {\n\n // 1 byte Ids 0..127 -> Reserved for critical messages used a lot\n int WRAPPED_MESSAGE = WrappedMessage.PROTOBU... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
restart pods by manipulating the serverStartPolicy to Never and IfNeeded | private void restartDomain() {
logger.info("Restarting domain {0}", domainNamespace);
shutdownDomain(domainUid, domainNamespace);
logger.info("Checking for admin server pod shutdown");
checkPodDoesNotExist(adminServerPodName, domainUid, domainNamespace);
logger.info("Checking managed server pods we... | [
"public void restartServer() {\n stopServer();\n startServer();\n }",
"@Override\n public void restartSever() {\n this.stopServer();\n this.startServer();\n }",
"public void setRestartPolicy(int policy) {\n \t\trestartPolicy = policy;\n \t}",
"@Override\n public void re... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the node at the other side of this flow: the source if receive, the target if send. | public final Node getOther() {
Flow f = getFlow();
return f.isInternal()
? isSend()
? f.getTarget()
: f.getSource()
: ( (ExternalFlow) f ).getConnector();
} | [
"public Node getTargetNode() {\r\n return targetNode;\r\n }",
"public AbstractNode getNode2() {\n\t\treturn this.node2;\n\t}",
"public Node getDestinationNode()\n {\n return destinationNode;\n }",
"public Node getNode2() {\n\t\tif (this.n2 == null)\n\t\t\tSystem.out.println(\"NODE 2 IS ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the saturation for the colors displayed by the color swatch. | public void setSaturation(double saturation) {
checkArgument(0.0 <= saturation && saturation <= 1.0,
"Saturation must be between 0.0 and 1.0 inclusive.");
this.saturation = saturation;
updateColors();
} | [
"public void setSaturation(float saturation);",
"private ColorAdjust __setSaturation(double saturation) {\n ColorAdjust colorAdjust = new ColorAdjust();\n colorAdjust.setSaturation(saturation);\n return colorAdjust;\n }",
"public void setSaturation ( float value ) {\n\t\texecute ( handle... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO: Please implement the method to print all cards on screen (10 points) | public void printDeck(){
//Hint: print all items in ArrayList<Card> cards,
//TODO: please implement and reuse printCard method in Card class (5 points)
Card card;
for(int n=0;n<cards.size();n++) {
card=cards.get(n);//取得cards中 索引值為n之值,並將之傳給card
card.printCard();//使用printCard() Method
}
} | [
"public void printAllCards() {\n \tif(this instanceof CardCollection) {\n \t\tSystem.out.printf(\"%-4s%-26s%-20s%-6s%-10s%-9s%n\",\"#\",\"Name\",\n \t\t \"Manufacturer\",\"Year\",\"Price\",\"Size\");\n \t\tSystem.out.printf(\"%-4s%-26s%-20s%-6s%-10s%-9s%n\",\"--\",\"----\",\n \t\t \"------------\",... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Javna metoda setKorisnik kojom se dodeljuje odredjena vrednost atributu korisnik. | public void setKorisnik(String korisnik) {
if (korisnik == null || korisnik == "") {
throw new RuntimeException("Ime korisnika mora biti uneto");
}
this.korisnik = korisnik;
} | [
"public void setujKorisnika(Korisnik k) throws SQLException{\r\n try{\r\n k.setPrezime(rs.getString(\"Prezime\"));\r\n k.setIme(rs.getString(\"Ime\")); \r\n k.setVlasnik(rs.getString(\"Vlasnik\"));\r\n k.setNivo(rs.getInt(\"Nivo\")); \r\n }catch(Exception e){}\r\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get all values of property Department as a ReactorResult of java.lang.String | public ReactorResult<java.lang.String> getAllDepartment_as() {
return Base.getAll_as(this.model, this.getResource(), DEPARTMENT, java.lang.String.class);
} | [
"public static ReactorResult<java.lang.String> getAllDepartment_as(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource) {\r\n\t\treturn Base.getAll_as(model, instanceResource, DEPARTMENT, java.lang.String.class);\r\n\t}",
"java.lang.String getDepartment();",
"private String getDepartmentString... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |