query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Gets the account text. | public String get_account_text(){
return wait.until(ExpectedConditions.visibilityOf(txtDisplayed_MyAccount)).getText();
} | [
"public String getBreadcrumpMyAccountText()throws Exception{\r\n SearchPageFactory pageFactory = new SearchPageFactory(driver);\r\n String accountBreadcrupmText = getElementText(pageFactory.breadcrumpMyaccount);\r\n return accountBreadcrupmText;\r\n }",
"String getAccountDescription();",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the name for the phase. | public String getPhaseName() {
return this.phaseName;
} | [
"public String phaseName() {\n return this.phaseName;\n }",
"public String getPhaseName() {\r\n return phaseName;\r\n }",
"public String getPhaseName() {\n return (String)getAttributeInternal(PHASENAME);\n }",
"public String getPhaseName() {\n return _phaseName;\n }",... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
whether to allow skin management in admin console | @ZAttr(id=751)
public boolean isAdminConsoleSkinEnabled() {
return getBooleanAttr(Provisioning.A_zimbraAdminConsoleSkinEnabled, false);
} | [
"public void setSkin(Skin skin);",
"public boolean canHoldSkinType(ISkinType skinType);",
"public abstract boolean allowsUserCustomization();",
"public void createSkin(){\n skin = new Skin(Gdx.files.internal(\"menuButtons.json\"));\n skin.add(\"Assets.asgard\", Assets.asgard);\n skin.addR... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Convert qos integer to QOS enum. | public static QOS getQOSFromValue(int qos) {
if (qos == 1) {
return QOS.AT_LEAST_ONCE;
} else if (qos == 0) {
return QOS.AT_MOST_ONCE;
}
return QOS.AT_LEAST_ONCE; //default value
} | [
"public QosType qosType() {\n return this.qosType;\n }",
"public void setQoS(int value) {\n this.qoS = value;\n }",
"public int getQtype();",
"public static QoS from(final int level) {\n switch (level) {\n case 0:\n return AT_MOST_ONCE;\n cas... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a CommonSQLMapper instance. This constructor should only be called by SQLMapperFactory. | public CommonSQLMapper() {
this.properties = null;
super.orMapping = null;
this.orMapping = null;
this.forNativeUseOnly = false;
this.forNativeUseOnlyOverWritten = false;
this.returnCompleteBeans = false;
this.returnCompleteBeansOverW... | [
"public mapper3c() { super(); }",
"public DatabaseAbstractor(Mapper mapper) {\r\n this(mapper, null);\r\n }",
"public Mapper createMapper() {\n assertNotReference();\n if (mapper != null) {\n throw new BuildException(\"Too many <mapper>s!\");\n }\n mapper = ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the inflection points during a given period. The points are copies of what is in the data, so it is safe to modify them | public List<InflectionPoint> getInflectionPoints(long start, long end) {
List<InflectionPoint> results = new ArrayList<InflectionPoint>();
for (InflectionPoint inflectionPoint : inflectionPoints) {
if (inflectionPoint.utcDateTime <= start) {
results.add(new InflectionPoint(start, inflectionPoint.o... | [
"public ArrayList <CartesianPoint> calculatePeriod(){\r\n // stores points to be returned to fill a permanent ArrayList\r\n ArrayList <CartesianPoint> tempList = new ArrayList();\r\n boolean cycle = false;\r\n \r\n double x = 0 + this.d;\r\n double main = (period/4) + this.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__XRelationalExpression__Alternatives_1" $ANTLR start "rule__OpCompare__Alternatives" ../org.xtext.example.rmodp.ui/srcgen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:4208:1: rule__OpCompare__Alternatives : ( ( '>=' ) | ( '' ) | ( '<' ) ); | public final void rule__OpCompare__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.xtext.example.rmodp.ui/src-gen/org/xtext/example/rmodp/ui/contentassist/antlr/internal/InternalRmOdp.g:4212:1: ( ( '>=' ) | ( '<=' ) | ( '>' )... | [
"public final void rule__Relation__OpAlternatives_1_0_0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.openmodelica.modelicaml.editor.xtext.modeleditor.ui/src-gen/org/openmodelica/modelicaml/editor/xtext/model/ui/contenta... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Attach network object to the request. | public void attachNetworkObject(NetworkObject obj, int id) {
mNetworkObject = obj;
mRequestId = id;
} | [
"public void attach(T attachment) {\n this.attchment = attachment;\n }",
"private void addRequest(InstanceRequest request) {\r\n\t\t\r\n\t}",
"public Object attach(Object object)\n{\n\treturn object;\n}",
"public void attach(NetworkOwner owner) {\n if (owners.contains(owner))\n thr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR start "operator" /home/dominik/dev/java/AntlrX/src/dhbw/compilerbau/xparser/X_Java_Code_Transformation.g:58:1: operator : ( '+' | '' | '' | '/' ); | public final X_Java_Code_Transformation.operator_return operator() throws RecognitionException {
X_Java_Code_Transformation.operator_return retval = new X_Java_Code_Transformation.operator_return();
retval.start = input.LT(1);
try {
// /home/dominik/dev/java/AntlrX/src/dhbw/compilerbau/xparser/X_Java_Code_Tra... | [
"private int parseOperator() {\r\n\ttry {\r\n\t if (eat(\"=\", true) || eat(\"==\", true)) {\r\n\t\treturn BinaryExpression.EQUALS;\r\n\t } else if (eat(\"<\", true)) {\r\n\t\treturn BinaryExpression.LESSER;\r\n\t } else if (eat(\"<=\", true)) {\r\n\t\treturn BinaryExpression.LESSER_EQUALS;\r\n\t } else... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
required int32 openidAccountid = 2; | int getOpenidAccountid(); | [
"public int getOpenidAccountid() {\n return openidAccountid_;\n }",
"int getUnionidAccountid();",
"int getNewAccountid();",
"int getAccountNum();",
"String getAccountID();",
"java.lang.String getAccountid();",
"int getOldAccountid();",
"public void setAccountNo (String AccountNo);",
"pub... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
get user profile picture | public ParseFile getProfilePicture() {
return getParseFile(KEY_IMAGE);
} | [
"java.lang.String getProfileImage();",
"java.lang.String getProfileImageUrl();",
"public void getProfileImage() {\r\n\t\tCTCDetailModel model = new CTCDetailModel();\r\n\t\tmodel.initiate(context, session);\r\n\t\tmodel.getImage(ctcDetail);\r\n\t\tString photo = ctcDetail.getUploadFileName();\r\n\t\tString str ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Iterable interface delegate to coordinates | public Iterator iterator() {return coordinates.iterator();} | [
"public Iterator<Coordinate> iterator() {\n\t\treturn getAllPoints().iterator();\n\t}",
"Iterable<Position<E>> positions();",
"Collection<Point> getAllCoordinates();",
"public interface IntegerCoordinates {\n\n int getX();\n\n int getY();\n}",
"abstract protected Collection<GridCoordinates> getNeighbo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the customer profile id. | public String getCustomerProfileId() {
return customerProfileId;
} | [
"private String getCustomerId() {\n Properties properties = getUserDataAsProperties();\n String customer = properties.getProperty(CUSTOMER_ID_KEY);\n LOGGER.info(\"Customer ID: {}\", customer);\n return customer;\n }",
"java.lang.String getCustomerId();",
"@ApiModelProperty(exampl... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Allocate devices by specified number for testing. | public TestDevice[] allocateDevices(final int num) throws DeviceNotAvailableException {
ArrayList<TestDevice> deviceList;
TestDevice td;
int index = 0;
if (num < 0) {
throw new IllegalArgumentException();
}
if (num > mDevices.size()) {
... | [
"public static void setDeviceNumber(int number)\r\n {\r\n \tint count[] = new int[1];\r\n \tcuDeviceGetCount(count);\r\n \tif (number < 0 || number >= count[0])\r\n \t{\r\n \t\tthrow new CudaException(\r\n \t\t \"Invalid device number: \"+number+\". \"+\r\n \t\t \"There are only \"+cou... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The identifier for the report. This identifier is unique only in combination with a seller ID. | @Schema(required = true, description = "The identifier for the report. This identifier is unique only in combination with a seller ID.")
public String getReportId() {
return reportId;
} | [
"public String getReportID() {\r\n\t\treturn lookupValue(Params.REPORT_ID);\r\n\t}",
"public Integer getReportId() {\r\n return reportId;\r\n }",
"public Integer getReportId() {\n return reportId;\n }",
"public Long getReportId() {\n return reportId;\n }",
"public long getRepor... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructs a new PauseUntilPathBegins. | public PauseUntilPathBegins(FollowPath fpc)
{
this.fpc = fpc;
startTime = Double.MAX_VALUE;
delay = 0;
modifiedDelay = 0;
pauseType = PauseType.NO_PAUSE;
hasInitializedStartTime = false;
hasInitializedModifiedDelay = false;
} | [
"public PauseUntilPathBegins(FollowPath fpc, PauseType pauseType, double delay, double totalTime)\n {\n this.fpc = fpc;\n this.pauseType = pauseType;\n if (pauseType == PauseType.END_OF_PATH)\n {\n modifiedDelay = 0;\n hasInitializedModifiedDelay = false;\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ GenerateCXXGlobalDtorsFunc Generates code for destroying global / variables. | @Converted(kind = Converted.Kind.AUTO,
source = "${LLVM_SRC}/llvm/tools/clang/lib/CodeGen/CGDeclCXX.cpp", line = 574,
FQN="clang::CodeGen::CodeGenFunction::GenerateCXXGlobalDtorsFunc", NM="_ZN5clang7CodeGen15CodeGenFunction26GenerateCXXGlobalDtorsFuncEPN4llvm8FunctionERKSt6vectorISt4pairINS2_6WeakVHEPNS2_8ConstantEES... | [
"Global createGlobal();",
"@Converted(kind = Converted.Kind.AUTO,\n source = \"${LLVM_SRC}/llvm/tools/clang/lib/CodeGen/CGDeclCXX.cpp\", line = 227,\n FQN=\"clang::CodeGen::CodeGenFunction::registerGlobalDtorWithAtExit\", NM=\"_ZN5clang7CodeGen15CodeGenFunction28registerGlobalDtorWithAtExitERKNS_7VarDeclEPN4llvm8... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds a bidirectional link of type TblVerbframes to the tblVerbframes set. | public void addTblVerbframes(TblVerbFrames tblVerbFrames) {
this.tblVerbFrames.add(tblVerbFrames);
} | [
"public void setTblVerbFrames(final Set<TblVerbFrames> tblVerbFrames) {\n\t\tthis.tblVerbFrames = tblVerbFrames;\n\t}",
"@ManyToMany(mappedBy = \"tblConcepts\")\n \t@org.hibernate.annotations.Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE})\n\t@OrderBy(\"id ASC\")\n\tpublic Set<TblVerbFrames> getTblVe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method transforms a template entity into a class entity. Example: Input: < Output: < | public static String transformTemplateToClass(String templateToTransform, String targetNamespace) {
String transformedTemplate = templateToTransform;
if (targetNamespace != null) {
// check whether entity is already transformed to target targetNamespace
String namespaceDomain ... | [
"public void generateClass(Writer out, ObjEntity entity) throws Exception {\n this.entity = entity;\n classTemplate.merge(velCtxt, out);\n }",
"T onBeforeConvert(T entity, String spaceName);",
"public <T> T parse(final Class<T> entityClass) {\n final var dataFile = DataFileHelper.getInst... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new assemblyConnector based on the connector type with the name fqComponentTypeName and supported interface. | public static AssemblyComponentConnector createAssemblyConnector(
final ModelManager modelManager,
final String fqConnectorTypeName,
final Interface iface) {
final ConnectorType connectorType = modelManager.getTypeRepositoryManager().createAndRegisterConnectorType(fqConnectorTypeName, iface);
return modelM... | [
"public static AssemblyComponent createAssemblyComponent(\n\t\t\tfinal ModelManager modelManager,\n\t\t\tfinal String fqComponentTypeName,\n\t\t\tfinal String fqAssemblyComponentName) {\n\t\tfinal ComponentType componentType = modelManager.getTypeRepositoryManager().createAndRegisterComponentType(fqComponentTypeNam... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use a particular asset | public void useAsset(Asset asset){
asset.use();
} | [
"MaterialAsset resolveAsset( MaterialAsset asset );",
"Asset findAsset(Asset asset);",
"Asset getAsset(String name);",
"public Assets getAsset(String name);",
"java.lang.String getAsset();",
"Asset getAsAsset();",
"public void add(Assets asset);",
"public void update(Assets asset);",
"protected Imag... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Makes coffee using a specific recipe. Takes recipe name, and if there is enough inventory to make recipe, make the coffee. Returns true if coffee is made, else false. | public boolean makeCoffee(java.lang.String recipeName) {
if(getRecipe(recipeName) == null) {
return false;
}
int recipeCoffee = getRecipe(recipeName).getCoffeeLevel();
int recipeMilk = getRecipe(recipeName).getMilkLevel();
int recipeSugar = getRecipe(recipeName).getSugarLevel();
int recipeExpresso... | [
"@Test\n\tpublic void testMakeCoffee() {\n\t\tcoffeeMaker.addRecipe(recipe1);\n\t\tassertEquals(25, coffeeMaker.makeCoffee(0, 75));\n\t\tcoffeeMaker.addRecipe(recipe2);\n\t\tassertEquals(25, coffeeMaker.makeCoffee(1, 25));\n\t\tcoffeeMaker.addRecipe(recipe3);\n\t\tassertEquals(0, coffeeMaker.makeCoffee(2, 100));\n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the minimum submission date. | public void setMinSubmitDate(Long to) {
minSubmitDate = to;
} | [
"public void setMinimumDate(Date minimumDate) {\n\n this.minimumDate = minimumDate;\n }",
"public void setMinimumDate(Calendar date) {\n\t\tminDate = ((date == null) ? null : copyDate(date, minDate));\n\t\tminDay = ((date == null) ? (-1) : minDate.get(Calendar.DATE));\n\n\t\t_refresh();\n\t}",
"public... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Metamodel__Group__2" $ANTLR start "rule__Metamodel__Group__2__Impl" ../emfviews.dsl.ui/srcgen/emfviews/dsl/ui/contentassist/antlr/internal/InternalSqlview.g:899:1: rule__Metamodel__Group__2__Impl : ( ( rule__Metamodel__MetamodelNameAssignment_2 ) ) ; | public final void rule__Metamodel__Group__2__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../emfviews.dsl.ui/src-gen/emfviews/dsl/ui/contentassist/antlr/internal/InternalSqlview.g:903:1: ( ( ( rule__Metamodel__MetamodelNameAssignment_2 ) ) )
... | [
"public final void rule__Metamodel__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../emfviews.dsl.ui/src-gen/emfviews/dsl/ui/contentassist/antlr/internal/InternalSqlview.g:892:1: ( rule__Metamodel__Group__2__Impl )\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the decoration style of the JRootPane. | protected int getWindowDecorationStyle() {
return this.getRootPane().getWindowDecorationStyle();
} | [
"public String getStyle() {\n \t\treturn null;\n \t}",
"public String getOutlineStyle();",
"public String getStyle() {\n return style;\n }",
"public NodeStyle getStyle() {\n return style;\n }",
"public String getStyle() {\r\n return style;\r\n }",
"public String getDefaultSty... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the list of all files in the package, restricted by the specified scope. (This is normally the list of all files in all directories corresponding to the package, but it can be modified by custom language plugins which have a different notion of packages.) | PsiFile @NotNull [] getFiles(@NotNull GlobalSearchScope scope); | [
"public abstract FileSet getFilesInPackage(int pkgId, int pkgScopeId);",
"public abstract FileSet getFilesOutsidePackage(int pkgId, int pkgScopeId);",
"@Nullable\n public Condition<PsiFile> getPackageFilesFilter(@NotNull PsiPackage psiPackage, @NotNull GlobalSearchScope scope) {\n return null;\n }",
"Psi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get Product Detail Obtain detailed information on a single product offered openly to the market | @Test
public void getProductDetailTest() throws ApiException {
String productId = null;
ResponseBankingProduct response = api.getProductDetail(productId);
// TODO: test validations
} | [
"String getProductInfo(int productId);",
"Product getProductDetails(int idproduct) throws DataBaseException;",
"public ProductData getOpenedProductInfo() {\n CustomReporter.logAction(\"Get information about currently opened product\");\n // TODO extract data from opened page\n throw new Uns... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Draw the background of the GUI | protected void drawBackgroundImage()
{
int displayX = (width - xSize)/2;
int displayY = (height - ySize)/2;
int imgId = mc.renderEngine.getTexture("/gui/sculpt.png");
mc.renderEngine.bindTexture(imgId);
drawTexturedModalRect(displayX, displayY, 0, 0, xSize, ySize);
} | [
"public void drawBackground(Graphics g);",
"protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)\n {\n GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);\n this.mc.func_110434_K().func_110577_a(textureForge);\n int k = (this.width - this.xSize) / 2;\n int l = (this.he... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the function signature. | protected void setFunctionSignature(FunctionSignature signature)
{
assert (signature != null);
m_signature = signature;
for (FunctionSignature sig : this.getFunction().getFunctionSignatures())
{
if (sig.getName().equals(signature.getName())) return;
... | [
"void setSignatureType(int signatureType);",
"void setSignature(cl.sii.siiDte.dsig.SignatureType signature);",
"public void setSignature(short signature) {\n\t\ttry {\n\t\t\tgetStream().setInt(this.signature, signature);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn;\n\t\t}\n\t}",
"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__OpcUaDeviceClient__Group__0__Impl" $ANTLR start "rule__OpcUaDeviceClient__Group__1" InternalComponentDefinition.g:4971:1: rule__OpcUaDeviceClient__Group__1 : rule__OpcUaDeviceClient__Group__1__Impl rule__OpcUaDeviceClient__Group__2 ; | public final void rule__OpcUaDeviceClient__Group__1() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalComponentDefinition.g:4975:1: ( rule__OpcUaDeviceClient__Group__1__Impl rule__OpcUaDeviceClient__Group__2 )
// InternalComponentDefin... | [
"public final void rule__OpcUaDeviceClient__Group_2_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:5083:1: ( rule__OpcUaDeviceClient__Group_2_0__1__Impl )\n // InternalComponentDefinition.g:5084... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Unwind the stack trace past Thread and LogHelper to find the calling class. | private StackTraceElement unwindStackTrace() {
final StackTraceElement[] stes = Thread.currentThread().getStackTrace();
int offset = 0;
while (offset < stes.length
&& (stes[offset].getClassName().equals(THREAD_CLASS_NAME) || stes[offset]
.getClassName().eq... | [
"private void getCallerDetails() {\n //StackTraceElement stackTraceElement = Thread.currentThread().getStackTrace()[4];\n StackTraceElement[] stackTraceElements = Thread.currentThread().getStackTrace();\n String className = \"\";\n String methodName = \"\";\n int lineNumber = 0;\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the hashed password type | public final int getPasswordType()
{
return m_hashType;
} | [
"public int getPasswordType() throws RemoteException;",
"String getUserPasswordHash();",
"int getPasswordHashLength();",
"public String getHashType() {\n\t\treturn _hash_type;\n\t}",
"public String hashPassword(String plainTextPassword);",
"String hashPassword(String password);",
"public static String h... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of removeAll method, of class SegmentedOasisList. | @Test
public void testRemoveAll() {
SegmentedOasisList<Integer> instance = new SegmentedOasisList<>();
instance.add(3);
instance.add(2);
instance.add(3);
instance.add(2);
instance.add(3);
instance.add(2);
Collection c = Arrays.asList(2, 3);
bo... | [
"@Test\n public void testRemoveAll_Not_Empty() {\n SegmentedOasisList<Integer> instance = new SegmentedOasisList<>();\n instance.add(3);\n instance.add(2);\n instance.add(3);\n instance.add(2);\n instance.add(3);\n instance.add(1);\n instance.add(2);\n\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column ac_comments.ac_comments_parent | public void setAcCommentsParent(Integer acCommentsParent) {
this.acCommentsParent = acCommentsParent;
} | [
"public void setCommentParent(Long commentParent) {\n this.commentParent = commentParent;\n }",
"public void setParentCommentId(Long parentCommentId) {\n this.parentCommentId = parentCommentId;\n }",
"@Override\n\tpublic void setParentId(long parentId) {\n\t\t_comment.setParentId(parentId);\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ save report entity save list of par score save report record find the par object by par id save the ReportParAppraise including par object write iteratoror to save the List of ScoreParAppraisee | public void saveReportAndScore(Integer parId,List<ScoreParAppraiseeDtoPost> scheduleParAppraisorList,ReportParAppraise reportParAppraise); | [
"@Override\n\tpublic ReportParAppraiseeDtoGet getReportAndScore(Integer parId) {\n\t\tReportParAppraiseeDtoGet reportParAppraiseeDtoGet=new ReportParAppraiseeDtoGet();\n\t\t\n\t\t// find par by id\n\t\tPar par=parservice.findParById(parId);\n\t\t// set the par id at dto\n\t\treportParAppraiseeDtoGet.setParId(par.ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retrieve the name of the environment variable which value has been loaded as the value for the poolSize property. | public String getPoolSizeEnvName() {
return this.poolSizeEnvName;
} | [
"public String getSaltSizeBytesEnvName() {\n return this.saltSizeBytesEnvName;\n }",
"public static Integer poolSize(){\n\t\treturn Integer.parseInt(properties.getProperty(\"POOL_SIZE\"));\n\t}",
"java.lang.String getEnvName();",
"public void setPoolSizeEnvName(final String poolSizeEnvName) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "ruleConst" $ANTLR start "entryRuleEnum" InternalReflex.g:471:1: entryRuleEnum : ruleEnum EOF ; | public final void entryRuleEnum() throws RecognitionException {
try {
// InternalReflex.g:472:1: ( ruleEnum EOF )
// InternalReflex.g:473:1: ruleEnum EOF
{
if ( state.backtracking==0 ) {
before(grammarAccess.getEnumRule());
}
... | [
"public final void entryRuleEnum() throws RecognitionException {\n try {\n // InternalMyDsl.g:304:1: ( ruleEnum EOF )\n // InternalMyDsl.g:305:1: ruleEnum EOF\n {\n before(grammarAccess.getEnumRule()); \n pushFollow(FOLLOW_1);\n ruleEnum();\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests for the existence of a docref in the list. | public boolean containsDocRef(LocatedDocumentReference docref) {
return this.docrefs.contains(docref);
} | [
"boolean exist(Reference ref);",
"boolean exist(Reference ref, String featName);",
"public boolean documentExist(Path doc_path) {\n\t\treturn root.resolve(doc_path).toFile().exists();\n\t}",
"boolean isSetDocumentReference();",
"boolean hasDocV2();",
"boolean hasDocV1();",
"boolean hasDocTitle();",
"p... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks if there is already a live db snapshot, and if so then requests deletion and waits until the old snapshot is deleted. | void deletePriorLiveSnapshot(boolean noop)
{
LOGGER.info(liveContext() + "Checking for prior snapshot of live RDS instance" + noopRemark(noop));
if (!noop)
{
String snapshotId = makeSnapshotId();
if (snapshotExists(snapshotId))
{
LOGGER.info(liveContext() + "Deleting prior snapsh... | [
"private void waitTilSnapshotIsDeleted(String snapshotId, DBSnapshot initialSnapshot)\n {\n LOGGER.info(liveContext() + \"Waiting for deletion of old snapshot\");\n RdsSnapshotDeletedProgressChecker progressChecker = new RdsSnapshotDeletedProgressChecker(snapshotId, liveContext(), rdsClient,\n initial... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Denote the LDPC's membershipconstantURI | @Iri("http://www.w3.org/ns/ldp#membershipResource")
LdpResource membershipResource(); | [
"@Override\r\n\tprotected void checkConstantValue(Value constantValue)\r\n\t\t\tthrows R2RMLDataError {\n\t\tif (!RDFDataValidator.isValidURI(constantValue.stringValue()))\r\n\t\t\tthrow new R2RMLDataError(\r\n\t\t\t\t\t\"[StdPredicateMap:checkConstantValue] Not a valid URI : \"\r\n\t\t\t\t\t\t\t+ constantValue);\r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
compute radius and z for given latitude | public void computeRadiusAndZ(int v, int latitudeLength, double[] rz); | [
"public double getRadius(){\n\t\treturn Math.sqrt(Math.pow(x,2)+Math.pow(y,2)+Math.pow(z,2));\n\t}",
"public double radius();",
"public double getRadius() {\n return getCenter().distance(new Coord3d(xmin, ymin, zmin));\n }",
"private int radiusFromCenter() {\n return ( // center coordinates: 0,0,0\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
sdet_vdescription_serv character varying Descripcion de servicio | public void setSdetVdescriptionServ(String sdetVdescriptionServ) {
this.sdetVdescriptionServ = sdetVdescriptionServ;
} | [
"public String getSdetVdescriptionServ() {\n\t return sdetVdescriptionServ;\n\t }",
"public void setVincoloDesc(String vincoloDesc) {\n\t\tthis.vincoloDesc = vincoloDesc;\n\t}",
"public void setSdetVdescriptionProd(String sdetVdescriptionProd) {\n\t this.sdetVdescriptionProd = sdetVdescriptionProd;\n\t ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
menu method for testing your linked list 1) Print the List 2) Create a BoxCar and addFirst 3) Create a BoxCar and addLast 4) Create a BoxCar, read and index and add at the index 5) Create a BoxCar, check the list to see if the list contains the BoxCar 6) Create a BoxCar, find the indexOf that BoxCar 7) removeFirst 8) r... | public static int menu(final Scanner kb)
{
// Preconditions
if(kb == null)
throw new IllegalArgumentException("Scanner kb is null");
int choice;
do
{
System.out.println("1) Print the List");
System.out.println("2) Create a BoxCar and addFirst");
... | [
"public static void main(String[] args) {\n\t\tLinkedList<Integer> list = new LinkedList<Integer>();\r\n\t\tScanner input = new Scanner(System.in);\r\n\t\tString command = \"\";\r\n\t\t\r\n\t\twhile (!command.equalsIgnoreCase(\"end\")) {\r\n\t\t\tSystem.out.println(\"Please enter a list command (add,remove,size,pri... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Lock / unlock the unit to using conversation. Implemented by the counter, so lock unlock need to be matched. Example: player disableConversation true | public native static void disableConversation(GameObject oper1, boolean oper2); | [
"public void lockGame() {\n this.isLocked = true;\n btnLockGame.setEnabled(false);\n }",
"public void setunlock(){\r\n unlock = true;\r\n }",
"LockRequest setLockMode(LockMode lockMode);",
"public void disableChat(Reason denyReason);",
"public void setLocked(boolean locked) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Searches history for all last sale entries for the current day given a session and product. The result will be returned in ascending time order. Will assume that business day and calendar day are equivalent. | MarketDataHistoryForReports[] findCurrentDayLastSales(String sessionName, int productKey); | [
"public ArrayList<Search> getLastSearchHistory() {\r\n ArrayList<Search> search = new ArrayList<>();\r\n SQLiteDatabase db = helper.getReadableDatabase();\r\n\r\n Cursor cursor = db.rawQuery(\"SELECT * FROM \" + DBConsts.Table_SearchHistory.TABLE_NAME + \" ORDER BY \" + DBConsts.Tab... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the value of the 'Importance' attribute. | int getImportance(); | [
"public int getImportance() {\n return importance;\n }",
"public int getImportance(){\n return this.importance;\n }",
"public Importance getImportance() throws Exception {\t\t\n\t\treturn (Importance)this.getPropertyBag().\n\t\t\t\tgetObjectFromPropertyDefinition(\n\t\t\t\tConversationSchema.Impor... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the result of interpreting the object as an instance of 'Feature Access In Collection'. This implementation returns null; returning a nonnull result will terminate the switch. | public T caseFeatureAccessInCollection(FeatureAccessInCollection object) {
return null;
} | [
"public T caseFeatureList(FeatureList object) {\n\t\treturn null;\n\t}",
"public T caseEFeatureObject(EFeatureObject object) {\n\t\treturn null;\n\t}",
"public T caseInCollectionElementsDeclaration(InCollectionElementsDeclaration object)\n {\n return null;\n }",
"public T caseOperationOverCollectionType(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
cost of edge e | public int cost(Edge e) {
if(mcg!=null)
{
return mcg.cost(e);
}
return 0;
} | [
"public abstract int getEdgeCost();",
"public int getEdgeCost() {\n return edgeCost;\n }",
"public abstract double getCost(Iterable<Edge> path, Edge edge, double[] parameters, Request request, boolean isForward);",
"private int getResult() {\n \tint totalCost = 0;\n \t// sortam muchiil... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Calls the handled activity to update the elapsed time. | void updateElapsedTime(long time); | [
"public void updateTime() {\n //update the time shown on screen, called by the service\n getActivity().runOnUiThread(new Runnable() {\n @Override\n public void run() {\n setTotalTime(mService.getTime());\n //Log.d(\"UpdateTime\", mService.getTime() + \"\");\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "ruleParameterCS" $ANTLR start "entryRulePropertyContextDeclCS" InternalMyDsl.g:4628:1: entryRulePropertyContextDeclCS returns [EObject current=null] : iv_rulePropertyContextDeclCS= rulePropertyContextDeclCS EOF ; | public final EObject entryRulePropertyContextDeclCS() throws RecognitionException {
EObject current = null;
EObject iv_rulePropertyContextDeclCS = null;
try {
// InternalMyDsl.g:4628:62: (iv_rulePropertyContextDeclCS= rulePropertyContextDeclCS EOF )
// InternalMyDsl.g:... | [
"public final EObject entryRuleParameterCS() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleParameterCS = null;\n\n\n try {\n // InternalMyDsl.g:4565:52: (iv_ruleParameterCS= ruleParameterCS EOF )\n // InternalMyDsl.g:4566:2: iv_ruleParameterCS=... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Helper to quickly get the ValueIteratorProvider instances from obj | public static final List<SubqueryContainer<?>> getValueIteratorProviders(LanguageObject obj) {
ValueIteratorProviderCollectorVisitor visitor = new ValueIteratorProviderCollectorVisitor();
PreOrderNavigator.doVisit(obj, visitor);
return visitor.getValueIteratorProviders();
} | [
"@SuppressWarnings({\"unchecked\", \"rawtypes\"})\r\n public static <T> Iterator<T> getIterator(Object obj)\r\n {\r\n if (obj instanceof Iterator)\r\n {\r\n return (Iterator) obj;\r\n }\r\n else if (obj instanceof Collection)\r\n {\r\n if (((Collection)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a db_mall.t_mac_log table reference | public TMacLog() {
this(DSL.name("t_mac_log"), null);
} | [
"private void createNewTable()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\t// If table is not exists, dateStr is null, then create a new\r\n\t\t\t// table\r\n\t\t\tString dateStr = LogMessageServiceUtil\r\n\t\t\t\t\t.getLatestMaxCreateDate(tableName);\r\n\t\t\tif (dateStr == null)\r\n\t\t\t\tLogMessageServiceUtil.createNew... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Query to select the picture name given lesson_id | public String selectPictureName(int lesson_id){
open();
Cursor c = myDatabase.rawQuery("SELECT picture_name FROM lessons WHERE lesson_id = " +
lesson_id, null);
c.moveToFirst();
String pictureName = c.getString(0);
c.close();
close();
return pic... | [
"public boolean gameIntroHasImages(int lesson_id){\n open();\n\n ArrayList<String> images = new ArrayList<>();\n Cursor c = myDatabase.rawQuery(\"SELECT lesson_name FROM lessons WHERE lesson_id = \" + lesson_id, null);\n\n c.moveToFirst();\n\n close();\n\n if(c==null){\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the order list | public void setOrderList() {
int index = 0;
listModel.clear();
for (Order order : driver.getOrderDB().getCustomerOrderList()) {
listModel
.addElement(textAlignment(" " + order.getId(), "" + order.getDate(), ""
+ order.getPerson().getId(), ""
+ order.getCurrentlyLoggedInStaff().getId... | [
"public void setOrder(List list) {\n order = list;\n }",
"public void setOrderList(Order[] orderList) {\n this.orderList = orderList;\n }",
"public void setOrder(int order);",
"void setOrder(Order order);",
"public void setOrders(List<Order> value)\n {\n \torders = value;\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Instantiates a new app config. | public AppConfig() {
} | [
"public ApplicationConfig()\r\n {\r\n super();\r\n // Constructeur vide\r\n }",
"private static Configuration createInstance() {\n\t\tif (SystemProperty.environment.value() == null) {\n\t\t\treturn createInstanceFromLocalConifg();\n\t\t} else {\n\t\t\treturn createInstanceFromAppEngineMetaData... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Intent for creating AddActivity. | private void createAddActivity() {
Intent intent = new Intent(this, AddActivity.class);
startActivityForResult(intent, ADD_ACT);
} | [
"private void addActivity(){\n Intent intent = new Intent(this,AddNotte.class);\n startActivity(intent);\n }",
"public void onAddNewPressed(View v) {\n Intent i = new Intent(this, AddNewActivity.class);\n startActivity(i);\n }",
"private void createAddImageActivity() {\n\t\t\n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Inserts the specified transactions, adding them to existing accounts, or creating new accounts as necessary, based on the account number associated with each transaction. TODO: this needs to be refactored and tested | public boolean insertTransactionsAndCreateAccounts(List<Transaction> transactions) {
try (final AutoCommittingHandle handle = new AutoCommittingHandle(dbi)) {
try {
// fetch all existing accounts, initializing a map entry for each that contains an empty set of
// transactions as its value
final Map<Acc... | [
"void inserBatch(List<AccountTransfer> batchAccountTransfers);",
"public void saveTransactions(List<Transaction> transactions) {\r\n Session session = HibernateUtil.getSessionFactory().getCurrentSession();\r\n try {\r\n org.hibernate.Transaction hbtransaction = session.beginTransaction();... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns an ordered range of all the evp divisions. Useful when paginating results. Returns a maximum of end start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtilALL_POS will return the full result s... | public java.util.List<EVPDivision> findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator<EVPDivision>
orderByComparator,
boolean useFinderCache); | [
"public java.util.List<EVPDivision> findAll(\n\t\tint start, int end,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<EVPDivision>\n\t\t\torderByComparator);",
"@Override\n\tpublic List<EVPDivision> getEVPDivisions(int start, int end) {\n\t\treturn evpDivisionPersistence.findAll(start, end);\n\t}",
"publi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets a CachedPlayer for a name. If no entry is found in the cache this method will query Mojang if queryMojangIfUnknown is true. This query is blocking, so avoid calling it in the main thread if possible. The result may be null if this player is not found in the cache. This method can be called from any thread. | CachedPlayer getPlayer(String playerName, boolean queryMojangIfUnknown); | [
"CachedPlayer getPlayer(String playerName);",
"CachedPlayer getPlayerFromNameOrUUID(String playerNameOrUUID, boolean queryMojangIfUnknown);",
"CachedPlayer getPlayer(UUID playerUUID, boolean queryMojangIfUnknown);",
"CachedPlayer getPlayerFromNameOrUUID(String playerNameOrUUID);",
"public Player getPlayerBy... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Same as isOnTaper(), but if the vehicle would be on the given lane. | public boolean isTaper(Lane lane) {
return ((lane.taper != null) && vehicle.route.canBeFollowedFrom(lane.taper));
} | [
"public boolean isOnTaper() {\r\n return isTaper(vehicle.getLane());\r\n }",
"public boolean hasRoadTraffic() {\n return trafficOptionCase_ == 5;\n }",
"public boolean canDriveOn(MapTile tile) {\n\t\tif ((tile.isType(MapTile.Type.ROAD)) ||\n\t\t\t(tile.isType(MapTile.Type.FINISH)) ||\n\t\t\t(tile.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The AWS libraries use the default signer but this property allows you to specify a custom signer to support older S3compatible services. | public final ListS3 setSignerOverride(final String signerOverride) {
properties.put(SIGNER_OVERRIDE_PROPERTY, signerOverride);
return this;
} | [
"public final ListS3 removeSignerOverride() {\n properties.remove(SIGNER_OVERRIDE_PROPERTY);\n return this;\n }",
"public void setUsedPDFSignerLibrary(Signator.Signers signer);",
"public final String getSignerOverride() {\n return properties.get(SIGNER_OVERRIDE_PROPERTY);\n }",
"java.lang.String ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Operation service end. It is called by each thread to end the service. | public void serviceEnd() {
ClientCom com = new ClientCom (serverHostName, serverPortNumb);
while(!com.open()){
try {
Thread.currentThread ();
Thread.sleep ((10));
} catch (InterruptedException ex) {
}
}
Message msg = new Message(MessageType.SERVICE_END);
com.writeObject(msg);
Message inMes... | [
"public void serviceEnd(String serviceName);",
"process finishService ();",
"@PreDestroy\r\n\t@Override\r\n\tpublic void terminate()\r\n\t{\r\n\t\tthis.cleanUpDone = true;\r\n\t\tthis.isRunning = false;\r\n\t\tthis.priceMap.clear();\r\n\t\tthis.priceUpdateBlockingQueue.clear();\r\n\t\tthis.executorService.shutd... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Instantiates a new locate device. | public LocateDevice(Context context) {
this.context = context;
} | [
"private void createDriver() {\n CloudFoundryPaasLocation location = getLocationOrNull();\n if (location != null) {\n this.initDriver(location);\n } else {\n throw new ExceptionInInitializerError(\"Location should not be null in \" + this +\n \" the driv... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a new object of class 'Hearing Plan Of Care Activity Observation'. | HearingPlanOfCareActivityObservation createHearingPlanOfCareActivityObservation(); | [
"HearingPlanOfCareActivityAct createHearingPlanOfCareActivityAct();",
"HearingPlanOfCareActivityEncounter createHearingPlanOfCareActivityEncounter();",
"HearingPlanOfCareProcedureActivityAct createHearingPlanOfCareProcedureActivityAct();",
"HearingPlanOfCareInstructions createHearingPlanOfCareInstructions();"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column obj_ent_product.ent_cid | public Integer getEnt_cid() {
return ent_cid;
} | [
"public void setEnt_cid(Integer ent_cid) {\n this.ent_cid = ent_cid;\n }",
"public Long getCentIdc() {\n return centIdc;\n }",
"public Integer getCid() {\r\n return cid;\r\n }",
"public Long getCid() {\n return cid;\n }",
"public Integer getCid() {\n return cid... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Unsets the "Straight" element | void unsetStraight(); | [
"void unsetDirection();",
"public void unsetSetbackSide()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(SETBACKSIDE$36);\r\n }\r\n }",
"void unsetValueSet();",
"public void unsetPattF... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructors Create a detached BookRecord | public BookRecord() {
super(Book.BOOK);
} | [
"public BookRecord() {\n\t\tsuper(org.tmarcus.sandbox.data.tables.Book.BOOK);\n\t}",
"public TBookRecord() {\n\t\tsuper(org.jooq.test.firebird.generatedclasses.tables.TBook.T_BOOK);\n\t}",
"public Book(){\r\n newBook();\r\n }",
"public Book(){}",
"public Book create()\r\n {\r\n return (B... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column dic_bank.bank_branch_name | public String getBankBranchName() {
return bankBranchName;
} | [
"java.lang.String getBankName();",
"public String getBankBranchID() {\n return bankBranchID;\n }",
"public String getBankBranchID() {\n return bankBranchID;\n }",
"public String getBANK_NAME() {\r\n return BANK_NAME;\r\n }",
"public java.lang.String getBank_name() {\n return ban... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Initializes an instance of PageableAsyncClient class. | @Generated
PageableAsyncClient(PageableClientImpl serviceClient) {
this.serviceClient = serviceClient;
} | [
"public void initialize() {\n\t\t\n JSONObject params = new JSONObject();\n params.put(\"page\", page);\n params.put(\"size\", size);\n \n getPage(params); \n\t}",
"AWSMediaTailorAsyncClient(AwsAsyncClientParams asyncClientParams) {\n this(asyncClientParams, false);\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ TODO Generates terrain using cellular automata | public void generateTerrain2(){
//Fill terrain with 45% probability
for(int i = 0; i < terrain.length; i++){
for(int j = 0; j < terrain[i].length; j++){
if(random.nextInt(100) <= 45){
terrain[i][j] = 1;
}
}
}
for(int n = 0; n < 4; n++){
for(int i = 0; i < terrain.length; i++){
for(int ... | [
"public void generateTerrain()\n\t{\n\t\tint rand;\n\t\tint starting=(int)(blocksWide*0.45);//Choose the first grass block\n\t\tblocksTall=(int)(blocksWide*0.6);\n\t\tfor(int i=0;i<blocksWide;i++)\n\t\t{\n\t\t\t//Determine whether the next block will go up a level, down a level or stay the same (55% chance of stayi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Store Matrix into a file | public void storeMatrix(String Path){
try {
FileWriter fileWriter=new FileWriter(Path);
String temp="";
for(ArrayList<Double> var0:simMatrix) {
temp="";
for(double var1:var0) {
temp+=var1+";";
}
... | [
"private void writeMatrixFile(int matrix[][], String filename) {\n try {\n ObjectOutputStream outputStream;\n outputStream = new ObjectOutputStream(new FileOutputStream(filename));\n outputStream.writeObject(matrix);\n } catch (Exception e) {\n System.out.pr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
What will be the output when you divide a number by zero? Number = Interger, Double, Float System.out.println(5/0); //Throws ArithmeticException | public static void main(String[] args) {
System.out.println(9.0/0); //Doesn't throw any ArithmeticException //output - Infinity
System.out.println(9/0.0); //output - Infinity
System.out.println(12.33f/0); //output - Infinity
System.out.println(19.99999d/0); //output - Infinity
... | [
"public static void main(String[] args){\n System.out.println(5/0.0); // Infinity\n System.out.println(5.0/0.0); // Infinity\n System.out.println(5.0/0); // Infinity\n// System.out.println(0/0); // java.lang.ArithmeticException: / by zero\n System.out.println(0/0.0); // ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the WFMS_Requisition_Audit local service. | public void setWFMS_Requisition_AuditLocalService(
com.ys.hmawfm.wfms.services.service.WFMS_Requisition_AuditLocalService wfms_Requisition_AuditLocalService) {
this.wfms_Requisition_AuditLocalService = wfms_Requisition_AuditLocalService;
} | [
"public com.ys.hmawfm.wfms.services.service.WFMS_Requisition_AuditLocalService getWFMS_Requisition_AuditLocalService() {\n\t\treturn wfms_Requisition_AuditLocalService;\n\t}",
"public void setAmfAuditLogService(AmfAuditLogService amfAuditLogService) {\n\t\tthis.amfAuditLogService = amfAuditLogService;\n\t}",
"p... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Verifies if the use case with the given use case id contains the given step id. | public boolean verifyReferencesToAnotherUseCase(String useCaseId, String stepId, List<UseCase> useCases)
{
UseCase useCase = this.getUseCase(useCaseId, useCases);
if (useCase != null)
{
return this.useCaseContainsStep(stepId, useCase);
}
retu... | [
"public boolean useCaseContainsStep(String stepId, UseCase useCase)\n {\n List<Flow> flows = useCase.getFlows();\n Iterator<Flow> itFlow = flows.iterator();\n \n while (itFlow.hasNext())\n {\n Flow flow = (Flow) itFlow.next();\n \n for (int x = ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ This method will execute the updateSemester query that updates value of the planned semester in the database. | protected void updateSemester(String semester, int id) {
try {
updateSemester.setString(1, semester);
updateSemester.setInt(2, id);
updateSemester.executeUpdate();
}
catch (SQLException sqlException) {
sqlException.printStackTrace();
}
} | [
"@RequestMapping(value = \"/semesters\",\n method = RequestMethod.PUT,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Semester> update(@Valid @RequestBody Semester semester) throws URISyntaxException {\n log.debug(\"REST request to update Semester : {}\", ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
method to print no of distinct triplet | public void triplet(int[] b,int n){
int count=0;
for(int i=0;i<n;i++){
for(int j=i+1;j<n-1;j++){
for(int k=j+1;k<n-2;k++){
if(b[i]+b[j]+b[k]==0){
System.out.println(b[i]+" "+b[j]+" "+b[k]);
count++;
}
}
}
}
System.out.println("no of distinct triplet is:"+count);
... | [
"public static void findTriplets(int[] triplet, int n) {\n int triplets = 0;\n System.out.println(\"the distinct triplets are:\");\n for (int i = 0; i < n - 2; i++) {\n for (int j = i + 1; j < n - 1; j++) {\n for (int k = j + 1; k < n; k++) {\n if (t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the 'var163' field. | public java.lang.Integer getVar163() {
return var163;
} | [
"public java.lang.Integer getVar163() {\n return var163;\n }",
"public java.lang.CharSequence getVar161() {\n return var161;\n }",
"public java.lang.CharSequence getVar161() {\n return var161;\n }",
"public java.lang.CharSequence getVar162() {\n return var162;\n }",
"public java.lang.Cha... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks if a user has sent a feedback to an event within a minute | public boolean canSendFeedback(String userID, String eventCode) {
// Get the event from the database
Event e = DatabaseManager.getDatabaseManager().getEventFromCode(eventCode);
// Return false if the event could not be found
if (e == null)
return false;
// G... | [
"public abstract void userFeedbackStarts(long ms);",
"boolean hasLoggedEventTime();",
"public boolean firedRecently(double time);",
"public boolean isAmendable() {\n\t\tif (getTimestamp() == null) {\n\t\t\treturn false;\n\t\t}\n\t\tlong now = Utils.timestamp();\n\t\t// check timestamp for recent correction,\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Replace infected humans with new zombies This occurs during a safe point in execution | public void infect()
{
// use a traditional for loop here
int maxHuman = humans.size();
for( int i=0; i<maxHuman; i++ )
{
if( humans.get(i).getInfect() )
{
// add a zombie
zombies.add( new Zombie(humans.get(i).x,humans.get(i).y,humans.get(i).facing,dp,humans.get(i).type));
humans.remove(i);
... | [
"private static void advanceZombies() {\t\t\n\t\t\n\t\tfor (int y = 0; y < board.getTiles().length; y++) {\n\t\t\tfor (int x = 0; x < board.getTiles()[y].length; x++) {\n\t\t\t\tif( board.getEntity(x, y) instanceof Zombie) {\n\t\t\t\t\tadvanceZombie(x,y);\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"private void g... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Generate whole entity with cascade all. Include all sub entities, such as EmbeddedId, and Embedded class. | public void generate(Object entity, Context ormContext) throws AAException; | [
"public void generate()\r\n {\r\n List<A> items = genEntities();\r\n\r\n for (A item : items) {\r\n Long result = add(item);\r\n Log.e(\"Creation\", \"This happened to \" + toString() + \" \" + result);\r\n }\r\n\r\n //addForeignKeys();\r\n }",
"public React... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructs a new Entry containing id, amount, Budget, notes, and Date information. | public Entry(long id, int amount, Budget budget, String notes,
LocalDate date) {
this.entryId = id;
this.amount = amount;
this.budget = budget;
this.notes = notes;
this.date = date;
this.createdAt = LocalDateTime.now();
this.updatedAt = LocalDateTime.now();
} | [
"public Entry(int amount, Budget budget, String notes, LocalDate date) {\n\t\tthis(NEW_ID, amount, budget, notes, date);\n\t}",
"Entry createEntry();",
"public ua.org.gostroy.guestbook.model.Entry3 create(long entryId);",
"public BookmarksEntry create(long entryId);",
"public DataEntry create(long dataEntry... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
sendRemoveToPoolCleaner removes set of files from the pool | private void sendRemoveToPoolCleaner(String poolName,
List<String> removeList) throws InterruptedException {
if (_logNamespace.isDebugEnabled()) {
_logNamespace.debug("sendRemoveToPoolCleaner: poolName="+ poolName);
_logNamespace.debug("sendRemoveToPoolCleaner: removeLi... | [
"void cleanPoolComplete(Connection dbConnection, String poolName) throws SQLException, InterruptedException {\n \n List<String> filePartList = new ArrayList<String>();\n \n if(_logNamespace.isDebugEnabled()) {\n \t_logNamespace.debug(\"CleanPoolComplete(): poolname= \" + poolName);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
count how many powers of type p this user has used | public int countUsedPowers (Power p) {
return countPowers(p, 2);
} | [
"public int countPowers (Power p) {\n return countPowers(p, 0);\n }",
"public int countAvailablePowers (Power p) {\n return countPowers(p, 1);\n }",
"int countPowertypeRanges();",
"public int incrementPower(int count);",
"public int getPower();",
"public int problem63() {\n bool... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Construct a Trend Volatility Line indicator | public TrendVolatilityLineIndicator(Indicator<? extends MultipleMovingAverage> mmaIndicator, int index, TADecimal entry) {
if (mmaIndicator == null) {
throw new IllegalArgumentException("Supplied input Indicator is invalid: NULL");
}
if (entry == null) {
throw new Illegal... | [
"@VTID(10)\n @UseDefaultValues(paramIndexMapping = {9}, optParamIndex = {0, 1, 2, 3, 4, 5, 6, 7, 8}, javaType = {com.exceljava.com4j.excel.XlTrendlineType.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates an interactive GUI element that allows the user to add friendships, view mutual friends, remove friendships, and view the shortest path between two users. | private void setUpTwoInputBox(Stage primaryStage) {
Label label0 = new Label("Multi User Options:");
label0.setStyle("-fx-padding: 0 0 10 0"); // sets bottom padding of label to 10px
// Labels/TextFields to enter two users to evaluate
Label userOneLabel = new Label("User 1:");
TextField userOneFie... | [
"public void addFriendUI() throws IOException\n {\n System.out.println(\"Add friendship: id user1;id user2\");\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String line = reader.readLine();\n String[] a = line.split(\";\");\n Long id1 = Lon... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__XWhileExpression__PredicateAssignment_3" $ANTLR start "rule__XWhileExpression__BodyAssignment_5" ../org.xtext.guicemodules.ui/srcgen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:18089:1: rule__XWhileExpression__BodyAssignment_5 : ( ruleXExpression ) ; | public final void rule__XWhileExpression__BodyAssignment_5() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:18093:1: ( ( ruleXExpression... | [
"public final void rule__XWhileExpression__BodyAssignment_5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxcore.ui/src-gen/org/xtext/example/helloxcore/ui/contentassist/antlr/internal/InternalHelloXcore.g:16208:... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ The total distance walked is retrieved from SharedPreferences and the TextView is updated, the value will have 1 decimal place. | private void updateDistanceWalked() {
SharedPreferences statistics = getSharedPreferences("statistics", Context.MODE_PRIVATE);
float totalDistanceWalked = statistics.getFloat("totalDistanceWalked", 0.0f) / (1000.0f);
TextView distanceWalkedTv = findViewById(R.id.distance_walked_tv);
di... | [
"private void changeDistance() {\n kilometers = sb.getProgress();\n TextView textView = (TextView) findViewById(R.id.distanceText);\n textView.setText(kilometers + \" km\");\n }",
"void calculateAndPopulateDistance(){\n\n float distanceResult = helper.calculateDistance(this, city.ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Open a new Activity by action string and bring some parameters | protected void openActivity(String action, Bundle bundle) {
Intent intent = new Intent(action);
if (bundle != null) {
intent.putExtras(bundle);
}
startActivity(intent);
} | [
"protected void openActivity(String action) {\n\t\topenActivity(action, null);\n\t}",
"Intent createIntent();",
"public void openNewActivity(Class c) {\n Intent intentNewActivity = new Intent(this, c);\n startActivity(intentNewActivity);\n }",
"void startCustomActivity(CustomActivityRequest r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
A setter that sets a new int priceLb. | public void setPriceLb(int priceLb){
this.priceLb=priceLb;
} | [
"public int getPriceLb(){\n return priceLb;\n }",
"public void setPrice(double price);",
"public void setPrice(int p)\r\n {\r\n if (p >= DEFAULT_VAL)\r\n _price = p;\r\n }",
"public void setPrice() {\n this.price = 37.99;\n }",
"public void setCurrentPrice(int val... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
check content without roman number | public static boolean checkContentWithoutRomanNumber(String content) {
String numberPattern = "\\d{1,5}+(\\.\\d+)?";
Pattern pattern = Pattern.compile(numberPattern);
Matcher matcher = pattern.matcher(content);
if (!matcher.find()) {
return true;
}
return fa... | [
"public static boolean isRomanNum(String s){\n\n boolean isValid = true;\n int i = 0;\n int count = 0;\n\n //Count 'M's, not limit to the amount of these\n while ((i < s.length()) && (s.charAt(i) == 'M')){\n i++;\n }\n\n //Count 'D's, can only contain one ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
inAConstructorDeclaration In a interface body. Treat it like a class so that inner classes can be named properly. | @Override
public void inAInterfaceBody(AInterfaceBody node) {
// Determine the start and end line numbers.
int begin = findInterfaceBeginLine(node);
int end = node.getRBrace().getLine();
String cname = null;
Node parentNode = node.parent();
if (parentNode instanceof AInt... | [
"interface InnerClass_5 {\n }",
"InterfaceDeclaration createInterfaceDeclaration();",
"Interface()\n {\n // Empty\n }",
"interface MyInterface {\r\n\tclass MyClass {} // this class is implicitly static\r\n\tinterface MyNestedInterface {} // this interface is implicitly static\r\n}",
"publ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the value of the indicadorOtorgamiento property. | public void setIndicadorOtorgamiento(boolean value) {
this.indicadorOtorgamiento = value;
} | [
"public void setOcena(int value) {\n this.ocena = value;\n }",
"public boolean isIndicadorOtorgamiento() {\n return indicadorOtorgamiento;\n }",
"public void setOcupacion(int value) {\n this.ocupacion = value;\n }",
"public void setIndicadorGlobalizado(final Integer indicadorGlob... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This Method is used to obtain an arraylist of all the diagnosis that are currently present for a particular date | public List<Diagnosis> fetchDiagnosisByDate(Date date, int patientId) throws ApplicationException; | [
"public List<Diagnosis> retrieveDiagnosisByDate(Date date, int patientId) throws ApplicationException;",
"public java.util.List<EncounterDiagnosis> diagnosis() {\n return getList(EncounterDiagnosis.class, FhirPropertyNames.PROPERTY_DIAGNOSIS);\n }",
"public List<ICase> searchCases(Date date) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This step is in charge of the cheese. Next Step available : VegetableStep | public interface CheeseStep {
VegetableStep noCheesePlease();
VegetableStep withCheese(String cheese);
} | [
"public interface VegetableStep {\n BuildStep noMoreVegetablesPlease();\n\n BuildStep noVegetablesPlease();\n\n VegetableStep addVegetable(String vegetable);\n }",
"public void foodPhase(){\n\t\tsupplies.eatFood(people.getLiving());\n\t\tsupplies.forage(people.getLiving());\n\t\tsupplies.getForaged();\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
le da un turno a cada elemento | private void turnos() {
for(int i=0; i<JuegoListener.elementos.size(); i++){
Elemento elemento = JuegoListener.elementos.get(i);
elemento.jugar();
}
} | [
"public void turnos(){\n\t\t\n\t\tElemento elemento;\n\t\tfor(int i = 0;i < this.elementos.size(); i++){\n\t\t\telemento = elementos.get(i);\n\t\t\telemento.jugar();\n\t\t}\n\t}",
"public void tour() {\n System.out.println(\"-- Tour #\" + ++tour); // incrémenter le compteur de tours\n LinkedList o... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Releases a script from a previous get. | public void release(int idx) {
synchronized (this) {
Script s = scripts.get(idx);
s.useCnt --;
if (s.useCnt == 0) {
if (s.flush) {
free(s,false); // free it now
} else {
addLastFree(s); // can be freed later
}
}
}
} | [
"public void releaseShell(ScriptLock lock) throws SmartFrogException {\n\n }",
"public void setScriptReleased(String scriptReleased) {\n this.scriptReleased = scriptReleased;\n }",
"public void release(String resourceId) throws DoesNotExistException, IncorrectStateException, NotImplementedException... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Undiscover a recipe for this player such that it has already been discovered. This method will remove the key's associated recipe from the player's recipe book. | public boolean undiscoverRecipe ( NamespacedKey recipe ) {
return invokeSafe ( "undiscoverRecipe" , recipe );
} | [
"public void removeRecipe(Recipe recipe) {\r\n \t\trecipeList.remove(recipe);\r\n \t\tpersistenceManager.remove(recipe);\r\n \t}",
"public void removeRecipe(IRecipe recipe) {\n this.recipes.remove(recipe);\n }",
"private void removeEnchantRecipe() {\n Iterator<Recipe> it = Bukkit.recipeIterator... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Define a new class under the Object namespace. Roughly equivalent to rb_define_class in MRI. | public RubyClass defineClass(String name, RubyClass superClass, ObjectAllocator allocator) {
return defineClassUnder(name, superClass, allocator, objectClass);
} | [
"public void setClass (String name, com.rivescript.ObjectMacro impl);",
"private ClassObj createGlobalClass(String name) {\n ClassObj metaclass = new ClassObj(mClass, name + \"Class\", mClass);\n \n // Create the class object itself. This will hold the instance methods for\n // objects of the clas... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tag the passed host with: this instructions line number (if one is set) the original bytecode offset | protected void addTags(Host host) {
Options options = Options.v();
if (options.keep_line_number() && lineNumber != -1) {
host.addTag(new LineNumberTag(lineNumber));
host.addTag(new SourceLineNumberTag(lineNumber));
}
if (options.keep_offset()) {
host.addTag(new BytecodeOffsetTag(codeAd... | [
"public String getSourcePositionFromStack(Context cx, int[] linep);",
"protected abstract void addBreakpoint(final int line);",
"@Override\n public void enterDowhileloop(CParser.DowhileloopContext ctx) {\n addressStack.push(data.getCurrentInstructionAddress() + 1);\n }",
"@Override\n public vo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Mapping from 'BookOrderItemEntity' to 'BookOrderItem' | @Test
public void testMapBookOrderItemEntityToBookOrderItem() {
// Given
BookOrderItemEntity bookOrderItemEntity = new BookOrderItemEntity();
bookOrderItemEntity.setQuantity(mockValues.nextInteger());
bookOrderItemEntity.setPrice(mockValues.nextBigDecimal());
// When
BookOrderItem bookOrderItem = bookOr... | [
"@Test\n\tpublic void testMapBookOrderItemToBookOrderItemEntity() {\n\t\t// Given\n\t\tBookOrderItem bookOrderItem = new BookOrderItem();\n\t\tbookOrderItem.setQuantity(mockValues.nextInteger());\n\t\tbookOrderItem.setPrice(mockValues.nextBigDecimal());\n\n\t\tBookOrderItemEntity bookOrderItemEntity = new BookOrder... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |