query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Returns a new object of class 'Wii Req Cmd'. | WiiReqCmd createWiiReqCmd(); | [
"@Override\r\n public Command getCommand(Request request) {\n return super.getCommand(request);\r\n }",
"public WiiCmd initialize() {\n\t\tWiiCmd writeRegisterCmd = BTWiimoteCmdUtils.INSTANCE.createWiiWriteRegisterReqCmd(\n\t\t\tnew byte[] { (byte) 0xa4, 0x00, 0x40}, \n\t\t\tnew byte[] { 0x00 }\n\t\t);\n\t\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method corresponds to the database table record | int deleteByPrimaryKey(Integer id); | [
"@Select({\r\n \"select\",\r\n \"BASE_DATE, ORG_CD, BRANCH_CD, DEPT_CD, OFFICE_CD, START_DATE, END_DATE, UPDATE_DATE, \",\r\n \"UPDATE_UID, ORG_SEND_YN\",\r\n \"from OP.T_FN_EMART_DEMAND_DATE\",\r\n \"where BASE_DATE = #{baseDate,jdbcType=VARCHAR}\",\r\n \"and ORG_CD = #{... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Handles the HTTP GET method. | @Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
} | [
"@Override\n\tpublic void handleGET(CoapExchange exchange) {\n\n\t\t\n\t}",
"protected void doGet(HttpServletRequest req, HttpServletResponse response) throws ServletException, IOException {\r\n\t\tSystem.out.println(\"--> get\");\r\n\t}",
"public void doGet(HttpServletRequest request, HttpServletResponse respo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Defines the box i.e . the scope of a composite activity represented as a box | protected Element getBoxDefinition(SVGDocument doc) {
return getBoxDefinition(doc, getDimensions().getXLeft() + BOX_MARGIN,
getDimensions().getYTop() + BOX_MARGIN,
getDimensions().getWidth() - (BOX_MARGIN * 2),
getDimensions().getHeight() - (BOX_MARGIN * 2), getBo... | [
"public Box(){\n\t\tarea=51;\n\t\ttheBoxIsOpen=false;\n\t\ttheWritingOnTheBox=\"For Dr. B.\";\n\t\t\n\t}",
"public void setBox(String box) {\n\t\tthis.box = box;\n\t}",
"Box(Box alteBox) {\r\n\t\tBox box = alteBox;\r\n\t}",
"void drawBox(Box box, Component c, RenderStyle style);",
"public Box() {\n\t\t\tsup... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/create variable nums assign several values using a loop calculate the sum and print it ADDITIONAL steps: calculate sun of even numbers calculate sum of odd numbers | public static void main(String[] args) {
int nums[]= {34,4,65,754,555,4376,456};
int sum = 0;
int sumOfEvens =0;
int sumOfOdds = 0;
for (int n : nums) {
sum += n;// sum= sum + n
if (n % 2 ==0) {
sumOfEvens +=n;
}else {
sumOfOdds += n;
}
}
System.out.println("Sum is " + sum... | [
"public static void main(String[] args) {\n\n int evensum=0;\n int oddsum=0;\n\n for (int i=1; i<=100; i+=1){\n //System.out.print(i+\" \");\n if (i%2==0){\n evensum+=i;\n }else{\n oddsum+=i;\n }\n\n }\n Sys... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | public static void main(String[] args) throws IOException{
File file = new File("Test.txt.txt");
Scanner reader = new Scanner(file);
int numLines = reader.nextInt();
int sC = 0;
int tC = 0;
String temp;
for (int i = 0; i < numLines; i++){
temp = reader.nextLine();
for (int j = 0; j < temp.length(); ... | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.xwalk, menu); | @Override
public boolean onCreateOptionsMenu(Menu menu) {
return true;
} | [
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflator = getMenuInflater();\n\t\tinflator.inflate(R.menu.activity_action_bar, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\r\n public boolean onCreateOptionsMenu( android.view.Menu menu)\r\n {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Function to get size of hash table | public int getSize()
{
return currentSize;
} | [
"@Override\n\tpublic int size() {\n\t\treturn HashTableChain.this.numKeys;\n\t}",
"public int size()\n\t{\n\t\t// Return the number of keys for this hashtable \n\t\treturn this.numKeys;\n\t}",
"int getHashmapCount();",
"@Override\n\tpublic int size() \n\t{\n\t\tint ctr = 0;\n\t\t\n\t\tfor(LinkedList<Map.Entry... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
[ALPS01577029]END [ALPS01602110] To support auto switch rat mode to 2G only for 3M TDD csfb project when inserting nonCMCC China operator Card | public int needSwitchRatModeForCertainSIM(int mSimId,String mccmnc){
if(mccmnc == null){
Log.i(TAG,"Null mccmnc, cannot check sim type");
return -1;
}
//Get Telephony Misc Feature Config
int miscFeatureConfig = Settings.Global.getInt(mContext.getContentResolve... | [
"public void gmode1() {\n \n // sanity check input values, or generate random ones\n if ((sweepwidth >= 0) && (sweepwidth <= 1023)) { \n gmode1_val1 = sweepwidth - gmode1_val1_sub;\n //println(sweepwidth);\n } else { gmode1_val1 = PApplet.parseInt(random(1023)); }\n if ((fineatten >= 0) && (fineatten <=... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional .CMsgVector offset_position = 7; | public boolean hasOffsetPosition() {
return ((bitField0_ & 0x00000040) == 0x00000040);
} | [
"org.ga4gh.protobuf.Common.PositionOrBuilder getPositionOrBuilder();",
"org.eclipse.kura.core.message.protobuf.KuraPayloadProto.KuraPayload.KuraPosition getPosition();",
"java.lang.String getPositionInfo();",
"public void setOffset(String offset)\n/* */ {\n/* 163 */ this.offset = offset;\n/* */ ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
gets the last save value for prefCountText out of the Shared Preference file and displays it in the textview | @Override
protected void onResume() {
super.onResume();
Log.i(TAG, "onResume: getting persistent data");
activityPreferences = getPreferences(Activity.MODE_PRIVATE);
prefCountText = activityPreferences.getInt("counter", -1);
textViewPrefCounter.setText(String.valueOf(prefCoun... | [
"private void loadText() {\n\t\tsPref = this.getActivity().getSharedPreferences(\"pref\",0);\r\n\t\tString savedTextLgn = sPref.getString(SAVED_TEXT_LGN, \"\");\r\n\t\tString savedTextPsw = sPref.getString(SAVED_TEXT_PSW, \"\");\r\n\t\tString savedTextRadio = sPref.getString(SAVED_TEXT_RADIO, \"\");\r\n\t\tetLgn.se... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Delete the incident by id. | @Override
public void delete(Long id) {
log.debug("Request to delete Incident : {}", id);
incidentRepository.delete(id);
incidentSearchRepository.delete(id);
} | [
"@Override\n\tpublic void delete(Long incidentId) {\n\t\t\n\t}",
"@Override\n public void delete(String id) {\n log.debug(\"Request to delete Emissiondetail : {}\", id);\n emissiondetailRepository.delete(UUID.fromString(id));\n }",
"public void delete(Long id) {\n log.debug(\"Request ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return all available tag providers. | List<TagProvider> getTagProviders(); | [
"public List<String> getProviders() {\n\n if (model==null) initializeDescriptorModel();\n List<String> ret=new ArrayList<String>();\n for (DescriptorProvider prov : model.getProviders()){\n ret.add(prov.getId());\n }\n\n return ret;\n }",
"public List<Provider> get... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Commune interface for all instances of DAO. | public interface IDao<T> extends Dao<T, Integer> {
} | [
"public interface DAO {\r\n\t\r\n\tpublic void setDataSource(DataSource ds);\r\n\t\r\n\tpublic void insert(String hostname, String eid, Integer duration, String startTime);\r\n\t\r\n\tpublic RentData getStudent(Integer id);\r\n\t\r\n\tpublic List<RentData> listAllDate();\r\n\t\r\n\tpublic void delete(Integer id);\r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Abre la base de datos | @Override
public void popupMenuWillBecomeVisible(PopupMenuEvent pme) {
Connection con = Star.conAbrBas(true, false);
//Si hubo error entonces regresa
if (con == null) {
return;
}
//Carga todos los almacenes... | [
"private void loadData(){\n\n\n crearColumnas();\n //Datos(horarios);\n\n }",
"private void cargarDatos() throws SQLException, InterruptedException {\n oUsu = new Usuario();\n ResponseObject oRes = oUsu.Listar();\n modelo = oRes.getjTResultado();\n asignarDatos();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
metodi setters e getters | public Long getId() {
return id;
} | [
"public void setNombre (String nuevoNombre) {\r\n\r\nthis.nombre = nuevoNombre;\r\n}",
"@Test()\r\n\tpublic void testSetterGetter() {\r\n\r\n\t\treceta.setId(ID);\r\n\t\tassertEquals(ID, receta.getId());\r\n\r\n\t\treceta.setNombre(NOMBRE);\r\n\t\tassertEquals(NOMBRE, receta.getNombre());\r\n\r\n\t\treceta.setIma... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method checks if the eastDoorSouthBlock is being collided with at the bottom | public boolean isCollidingEastDoorSouthBlockLeft() {
return this.character.isCollidingLeft(this.eastDoorSouthBlock.getRectX(), this.eastDoorSouthBlock.getRectY(), +
this.eastDoorSouthBlock.getRectWidth(), this.eastDoorSouthBlock.getRectHeight());
} | [
"public boolean isToEnd(int [] blockBottomY)\n {\n boolean flag = false;\n for(int i = 0;i < 4;i ++)\n {\n ////////System.out.println(cTetrisBlock.getTetrisCoordinateX() + \" \" + cTetrisBlock.getTetrisCoordinateY());\n int corX = cTetrisBlock.getTetrisCoordinateX() + 2... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
pagar paga una factura y devuelve la cantidad abonada Pre: la factura no debe ser null Post: devuelve la cantidad abonada si la factura no estaba pagada, si estaba pagada devuelve 0 | public double pagar(Factura factura) {
double monto = 0;
if (!factura.isPagada()) {
monto = factura.getCostoFinal() * 1.3;
factura.pagar();
}
return monto;
} | [
"@Override\n public int productoPaginaInicio() {\n ParametroTO parametro = parametroDAO.findByDescParametro(Constantes.PARAMETRIA_PRODUCTOS_POR_PAGINA);\n int cantidadProductosPorPagina = Integer.parseInt(parametro.getValorParametro());\n int cantidadProductos = productoDao.cantidadProductos... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Go to manage patient screen. | @FXML
void handleModifyPatient(ActionEvent event) throws IOException {
modifiedPatient = PatientTable.getSelectionModel().getSelectedItem();
showManageScreen(event);
} | [
"public void goViewPatientComplaintsScreen(Stage stage, PersonalData patient, String doctorName){\n ViewPatientComplaintsScreen viewComplaints = new ViewPatientComplaintsScreen(patient,ArrayKeeper.findDoctor(doctorName));\n try{\n viewComplaints.start(stage);\n }\n catch(Excep... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method returns the entire result from the HTTP response. | public static String getResponseFromHttpUrl(URL url) throws IOException {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url(url)
.build();
Response response = client.newCall(request).execute();
return response.body().... | [
"public String getResponse() {\n return(response);\n }",
"public String getResponse()\n\t{\n\t\treturn responses.getResponse();\t\n\t}",
"public byte[] getContent() {\n return (response == null) ? new byte[0] : response;\n }",
"public String getResponse() {\n return response;\n\t}... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
protected void execute() {
double leftValue = getYLeft();
double rightValue = getYRight();
pidSpeedLeft.setSetpoint(leftValue * maxSpeedLeft);
pidSpeedRight.setSetpoint(rightValue * maxSpeedRight);
Robot.chassis.setMotors(voltageLeft, voltageRight);
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the bookmark status | public final void setStatus(String value) {
this.status.setValue(value);
} | [
"private void bookmark(int lineNum) {\n if(lineFlags.isSet(lineNum,LINE_BOOKMARKED_FLAG)) {\n lineFlags.reset(lineNum,LINE_BOOKMARKED_FLAG);\n } else {\n lineFlags.set(lineNum,LINE_BOOKMARKED_FLAG);\n }\n }",
"public void setStatus(Book.statuses status) {\n thi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Moves the Player left by one MazeCell. | public void movePlayerLeft(View view) {
mazeManager.movePlayerSprite("LEFT");
goToNextLevel(view);
} | [
"@Override\r\n\tpublic void moveLeft() {\r\n\t\tif (IsValidState(CurrentState[1] - 1, CurrentState[0])) {\r\n\t\t\tMovesStack.push(new Integer[] { CurrentState[0], CurrentState[1],\r\n\t\t\t\t\tscore });\r\n\t\t\tMaze_Array[CurrentState[0]][CurrentState[1]] = 0;\r\n\t\t\tMaze_Array[CurrentState[0]][CurrentState[1] ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retrieves databasespecific table name used in SQL statements. Used to build join table meta data. | @Override
protected String getQualifiedTableName(Connection connection, String databaseName, String tableName)
throws SQLException {
PreparedStatement statement = null;
ResultSet resultSet = null;
try {
statement = connection.prepareStatement(SQL_TABLE_SCHEMA_QUERY);
String schemaName = "unknown"... | [
"String asTableDbName();",
"public String getNotEmptyDbTable() {\n String metaRefName = tableMetaRef == null ? \"\" : \".\" + tableMetaRef;\n return db == null || db.trim().isEmpty() ? table : db + DatabaseName.CAT_DB_TABLE_SEPARATOR + table + metaRefName;\n }",
"public final String getTableName() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Default constructor. Creates a new object of CarPersistImpl. | public CarLogicImpl(){
cp = new CarPersistImpl();
} | [
"public CarInDB() {}",
"private CarDAO() {\r\n\t\t\r\n\t}",
"public CarPositionDao() {\n super(CarPosition.class);\n }",
"public Car() {\n\t\tsuper();\n\t}",
"private CarRepo() {\n super();\n }",
"public PersistentModel() {\n this.connection = DatabaseConnection.getDatabaseConne... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
always use fullname, otherwise must check the datasource's default schema | @Override
public String getSQL() {
final String tableName = this.getTable().getSQLName().quote();
final String qAlias = SQLBase.quoteIdentifier(getAlias());
return tableName + (qAlias.equals(tableName) ? "" : " " + qAlias);
} | [
"@Override\n protected String getDataSourceDatabaseName(Configuration config) {\n // Return the configured database name.\n return getFullDataSourceDatabaseName(config.get(\n\tPARAM_DATASOURCE_DATABASENAME,\n\tgetSimpleDbName()));\n }",
"private String getDatasourceUnqualifiedName(List datamartNames, DBCo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the winner. If there's none, a special dummy gets returned. | GamePlayer winner(); | [
"public String winner() {\n int fireCount = countFire();\n int waterCount = countWater();\n if (fireCount == 0 && waterCount == 0) return \"No one\";\n else if (fireCount == 0) return \"Water\" ;\n else if (waterCount == 0) return \"Fire\" ;\n el... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Spawns a process defined by command. Process output is discarded. | public Process spawn(List<String> command) throws InterruptedException, ExecutionException {
return spawn(command.toArray(new String[0]));
} | [
"public RunProcess(List<String> command) {\n builder = new ProcessBuilder(command);\n }",
"public RhoxProcess start(String command) {\n return start(command, null);\n }",
"public static void startProcess(String command, String dirname) {\n\t\t// TODO: capture errors\n\t\tif (command==null ||... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | public String get_wish_id() {
return this.wish_id;
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructor. Assigns values to HTLMDocument and Website objects within the class | public PageScanner(Website website, HTMLDocument htmldoc)
{
this.ws = website;
this.htmlDoc = htmldoc;
} | [
"public Page() { // when we only want the content\n\t\ttheURL = \"\";\n\t\ttheSimilarity = null;\n\t\ttheResponse = true;\n\t\ttheContent = \"\";\n\t\ttheLinks = null;\n\t}",
"public Website()\n {\n hits = 0;\n salesTotal = 0;\n maxNumberOfWineCases = 6;\n buyer = new ArrayList<>(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Updates the default kiosk location | public void updateDefaultKioskLocation(String new_default_loc) {
String values[] = new String[]{
String.format("%s = '%s'", "default_kiosk_loc", new_default_loc)
};
database.update("DEFAULTLOC", values, null, null);
} | [
"private void updateLocation(){\n Message location = new UpdatedLocation(entity, ID, this.location);\n kioskManager.sendMessage(location);\n }",
"public void checkAndSetKiosk(){\n //if kiosk was initiated its fine\n //if not set kiosk to random (first location stuff) thing\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the CoderFactory to use to create default Coders for instances of the given class, or null if there is no default CoderFactory registered. | CoderFactory getDefaultCoderFactory(Class<?> clazz) {
CoderFactory coderFactory = coderFactoryMap.get(clazz);
if (coderFactory == null) {
LOG.info("No Coder registered for {}", clazz);
}
return coderFactory;
} | [
"public Class getFactoryClass() {\n\t\treturn null;\r\n\t}",
"java.lang.String getSerializerFactory();",
"public static StandardCombiningAlgFactory getFactory() {\n if (factoryInstance == null) {\n synchronized (StandardCombiningAlgFactory.class) {\n if (factoryInstance == null)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Cancel the container request. We must wait for the response from YARN to do the actual cancellation. For now, just mark the task as cancelled. | @Override
public void cancel(EventContext context) {
Task task = context.task;
context.task.cancel();
LOG.info(task.getLabel() + " - Cancelled at user request");
context.yarn.removeContainerRequest(task.containerRequest);
context.group.dequeueAllocatingTask(task);
task.dispositio... | [
"public void requestCanceled() {\n this.requestCanceled = true;\n this.context.requestCancelled();\n }",
"void cancel(String requestId);",
"public void cancelTask() {\n if (mTasks != null) {\n for (ResponseTask task : mTasks) {\n if (task != null) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Konstruktor zum Erstellen eines Termins bevor er in die Datenbank gespeichert wird. | public Termin(String terminName, LocalDate localDate1, LocalDate localdate2, Color color){
setTerminName(terminName);
setStartDatumName(localDate1);
setEndDatumName(localdate2);
setFarbe(color);
} | [
"public void defineConjuntoTerminales(List<Terminal> terminales){\n this.terminales = terminales;\n }",
"LocalizedTerminologies localizedTerminologies();",
"public List<Termin> findTerminByDatum() throws Exception{\n\t\treturn null;\r\n\t\t\r\n\t}",
"public abstract String terminaison();",
"public... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public void exitCall_params(Call_paramsContext ctx) {
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Created by Administrator on 2017/6/13. | interface FastFood
{
void Meal();
void Bread();
void Cheese();
void Lettuce();
} | [
"@Override\n public void extornar() {\n \n }",
"@Override\n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public int utilite() {\n return 0;\n }",
"private static void EX5() {... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns whether the data of this event has already been loaded. | public boolean isLoaded(); | [
"public boolean isDataLoaded()\r\n {\r\n return true;\r\n }",
"public boolean dataLoaded()\n\t{\n\t\treturn this.dm.isDataLoaded();\n\t}",
"boolean hasAddedData();",
"public boolean isLoaded() {\n return loaded.get();\n }",
"public boolean isDataPresent() {\n \t\treturn pref... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Asks user for desired amount of money to add to balance | private void subMenuOptionOne() {
double balanceIncrease = ui.printAddMoney();
//Checks to see if desired amount is less than 5000 and that the desired amount plus the current balance is not over 5000
if ((balanceIncrease <= 5000 && cashRegister.getBalance() + balanceIncrease <= 5000) && balanc... | [
"public void Deposit(double d) {\n //balance+= Double.parseDouble(JOptionPane.showInputDialog(\"Enter Desired Deposit\"));\n double b = balance+d;\n }",
"@Override\n\tpublic void addAmount() {\n\t\tSystem.out.println(\"Enter the amount to deposit\");\n\t\tdepAmt = details.nextInt();\n\t\tactualBal... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This can run in the EDT! | @Nullable
@Override
public String getContent() throws VcsException {
if (myProject.isDisposed()) {
throw new P4Exception(P4Bundle.message("exception.disposed"));
}
if (previous != null) {
String ret = previous.get();
if (ret != null) {
... | [
"private static void doEventRequest(Runnable run) {\n EventQueue.invokeLater(run);\n }",
"@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\trepaint();\n\t\t\t\t}",
"@Override\n\tprotected void onGuiEvent(GuiEvent arg0) {\n\t\t\n\t}",
"public void actionPerformed(ActionEvent evt) {\n /... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method to get the instance of the singleton to prevent from creating multiple instances. | public static AccountTerminationSingleton getInstance()
{
if (uniqueInstance == null)
{
uniqueInstance = new AccountTerminationSingleton();
}
return uniqueInstance;
} | [
"public static Singleton getInstance() { // !! static, does not need an instance\n\t\treturn INSTANCE;\n\t}",
"public static Singleton getInstance( ) {\r\n return singleton;\r\n }",
"public static Singleton getInstance() {\n // lazily loaded\n if (instance == null) {\n instanc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This methods returns the array of data which are only modified or new recordset | public String[] getNewModifyData(String[]alldata,String[]dirtyidlist,String[]fields){
int objpos=tu.getArrayFieldIndex("objid",fields);
int count=0;
int idcount=0;
int rowcount=0;
int row=alldata.length/fields.length;
String [][]tmpdata=new String[row][fields.length];
String [] marraydata;
Strin... | [
"public String [] retrieveModifableFields() ;",
"public Map<Integer, List<IRow>> getModifiedData() {\n return modifiedData;\n }",
"Set<Stmt> get_new_array_stmts() {\n return new HashSet<>(new_array_stmts);\n }",
"public Boolean getPruneModifiedRecords () {\r\n\t\treturn (Boolean) getStateH... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/////////////////////////////////////////////////////////////////////////////////////// ALARM RAISE COUNT /////////////////////////////////////////////////////////////////////////////////////// Increases the alarm raise count and sets the last alarm raise date to the current date / time | public void increaseAlarmRaiseCount() {
_lastAlarmRaiseDate = new Date();
_alarmRaiseCount = _alarmRaiseCount + 1;
} | [
"private void setNextAlert() {\n final Alarm alarm = calculateNextAlert();\n if (alarm != null) {\n AlarmReceiver.setUpRTCAlarm(mContext, alarm, alarm.time);\n broadcastAlarmState(alarm, Intents.ACTION_ALARM_SCHEDULED);\n } else {\n AlarmReceiver.removeRTC... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public ArrayList<SlipBean> findRangedSlipList(String fromDate, String toDate) throws SlipDataListException{
ArrayList<SlipBean> slipList=slipApplicationService.findRangedSlipList(fromDate, toDate);
if(slipList.isEmpty()){
throw new SlipDataListException("분개장을 조회하지 못했습니다.");
}
return slip... | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Created by Arun.Das on 14122017. | public interface TickerClient {
String TICKER_API_URL = "/ticker";
//https://koinex.in/api/ticker
@GET(TICKER_API_URL)
void getLatestTicker(Callback<Ticker> mCallback);
} | [
"@Override\n public void extornar() {\n \n }",
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"private static void EX5() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n public int utilite() {\n ret... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a new RPC connection to a Monero wallet server. | public MoneroWalletRpcClient(@NonNull URI address) {
super(address);
} | [
"public RpcServer createRpcServer(RpcContext context);",
"public void createConnection(MachineConnection connection);",
"PCAI createPCAClient(ServerConnectionProfile server) throws ConnectionException;",
"IXmlRpcFunction createXmlRpcServerFunction();",
"@Override\n public Object makeObject() throws Excep... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
To be overridden by extended classes. Called after render dimensions are set. | protected void RenderThread_DrawImpl(Canvas InDrawCanvas, Paint InDrawPaint){
} | [
"public void applySize() {\n\t\tsuper.applySize();\n\n\n int x = initCololrs(distance, false, null, null, null, null);\n x = initPen(x, false, null);\n initOthers(x, false, null, null, null, null);\n\t}",
"@Override\n public void settings() {\n size(500, 500);\n\n\n }",
"public... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public void onDetach() {
super.onDetach();
linkHandler = null;
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
check for valid and precount | @Test
public void testFetchFormaPgsByRequest() throws Exception
{
FormaPgInquiryRequest request = new FormaPgInquiryRequest();
request.setPreQueryCount(true);
request.setStartPage(0);
request.setPageSize(3);
InternalResultsResponse<FormaPg> response = getFinanceiroBAR().fetchFormaPgsByRequest(request)... | [
"private void validateOperationCount() {\r\n\t\tthis.validateCreateOperationCount();\r\n\t\tthis.validateReadOperationCount();\r\n\t\tthis.validateUpdateOperationCount();\r\n\t\tthis.validateDeleteOperationCount();\r\n\t}",
"private void validate() {\r\n\t\tfinal Map<String, Integer> counters = new HashMap<String... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub check wether the search concern Company or Executive | public void onClick(View v) {
RadioGroup rg_search_choice = (RadioGroup) findViewById(R.id.radio_group_search_choice);
// radio button "company" is checked
if (rg_search_choice.getCheckedRadioButtonId() == R.id.radio_group_search_choice_company)
{
//Call KaassaBusiness Web Service to Get Companies li... | [
"@WebMethod\r\n @RequestWrapper(localName = \"searchRequest\", className = \"com.topcoder.clients.webservices.SearchRequest\")\r\n public List < Company > searchCompanies(@WebParam(name = \"filter\") Filter filter)\r\n throws LookupServiceException, AuthorizationFailedException;",
"public List<Co... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retrieves the production class code list | public List<CE> getProductionClassCode() {
return this.productionClassCode;
} | [
"protected List getClassList() {\n return TableModelFormula.classList;\n }",
"public List<String> getClasses()\n {\n if (classes == null)\n {\n classes = new ArrayList<String>();\n }\n return this.classes;\n }",
"CS getClassCode();",
"public List queryClass() {\n\t\tList li... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional .com.laex.cg2d.model.CGVector2 linearVelocity = 12; | public com.laex.cg2d.model.ScreenModel.CGVector2OrBuilder getLinearVelocityOrBuilder() {
return linearVelocity_;
} | [
"void setVelocity(Vector vector);",
"public void setVelocity(Vector velocity);",
"Vector2 getVelocity () {\n // TODO: Fill in here, if necessary\n return null;\n }",
"public Vector3D getVelocity();",
"public int getVelocity();",
"ShipWired velocity(float x, float y);",
"public void setVerticalVel... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
DELETE /cuisine/delete/:id : Deletes a cuisine. | @DeleteMapping(path = "/delete/{id}")
public String deleteCuisine(@PathVariable long id) {
cuisineService.deleteCuisine(id);
return "Cuisine deleted";
} | [
"@DeleteMapping(\"/cartes/{id}\")\n public ResponseEntity<Void> deleteCarte(@PathVariable final Long id) {\n log.debug(\"REST request to delete Carte : {}\", id);\n carteService.delete(id);\n return ResponseEntity.ok().build();\n }",
"@Override\n public void delete(Long id) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the bounding box of the projectile to its new location | @Override
public void setBox() {
this.box = new BoundingBox(location.getX()+width/4, location.getY()+width/4, width/2, width/2);
} | [
"public void updateBoundingBox() {\n }",
"public void updateAABB()\n {\n float minX = boundingBox.getMinX() + dX;\n float maxX = boundingBox.getMaxX() + dX;\n float minY = boundingBox.getMinY() + dY;\n float maxY = boundingBox.getMaxY() + dY;\n\n boundingBox = new Bounding... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Ensures that the scroll wheel is adjusted i.e. there is no offset and the middle element is in the middle of the widget. | private boolean ensureScrollWheelAdjusted()
{
// adjust to the closest value
int delta = mInitialScrollOffset - mCurrentScrollOffset;
if (delta != 0)
{
mPreviousScrollerCoord = 0;
if (Math.abs(delta) > mSelectorElementSize / 2)
delta += (delta > 0) ? -mSelectorElementSize : mSelect... | [
"public void scrollCenter(){\r\n\t\tscroll(0.5);\r\n\t}",
"protected void setScrollWidgetPosition() {\n\t\tscrollUp.setLocation(x+w-BAR_WIDTH, y);\n\t\tscrollUp.setSize(BAR_WIDTH, BAR_WIDTH);\n\t\tscrollDown.setLocation(x+w-BAR_WIDTH, y+h-BAR_WIDTH);\n\t\tscrollDown.setSize(BAR_WIDTH, BAR_WIDTH);\n\t\tscrollBar.s... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
string rpc_message_id = 1; | public com.google.protobuf.ByteString
getRpcMessageIdBytes() {
Object ref = rpcMessageId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(String) ref);
rpcMessageId_ = b;
... | [
"long getMsgID();",
"ppl.delite.runtime.messages.Messages.Id getId();",
"public int getMsgCode(){\r\n return localMsgCode;\r\n }",
"int getMsgId() {\n return msgId;\n }",
"public java.lang.String getReceiverID(){\n r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a detached, initialised SbBoardVoteTbRecord | public SbBoardVoteTbRecord(UByte boardId, UInteger boardNo, String userId, String ip, Timestamp regDt) {
super(SbBoardVoteTb.SB_BOARD_VOTE_TB);
set(0, boardId);
set(1, boardNo);
set(2, userId);
set(3, ip);
set(4, regDt);
} | [
"public VTableRecord() {\n super(VTable.V_TABLE);\n }",
"private void createNewBid(){\n if (!bidAmountValid()){\n return;\n }\n\n BigDecimal amount = new BigDecimal(amountPlainText.getText().toString());\n newBid = new Bid(amount);\n }",
"public void newRecord... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "ruleXAnnotation" $ANTLR start "entryRuleXAnnotationElementValuePair" InternalGeoDsl.g:660:1: entryRuleXAnnotationElementValuePair returns [EObject current=null] : iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ; | public final EObject entryRuleXAnnotationElementValuePair() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValuePair = null;
try {
// InternalGeoDsl.g:660:68: (iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF )
... | [
"public final void ruleXAnnotationElementValuePair() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../fr.obeo.dsl.sprototyper.ui/src-gen/fr/obeo/dsl/ui/contentassist/antlr/internal/InternalSPrototyper.g:914:2: ( ( ( rule__XAnnotationElemen... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the value related to the column: APPLY_USER_ID | public void setApplyUser (com.justonetech.system.domain.SysUser applyUser) {
this.applyUser = applyUser;
} | [
"void setAssignedUser(User value);",
"private void setOriginalUserId(int value) {\n \n originalUserId_ = value;\n }",
"@Override\r\n\tpublic int initUserValue(int userId) {\n\t\treturn insert(SQL_PREFIX+\"insert\", userId);\r\n\t}",
"private void setToUserId(int value) {\n \n toUserId_ = value;\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Deletes a node (via the parent). Returns the number of nodes deleted by the operation (i.e. 1 or 0) | public int deleteNode(Node parentNode, String nodeName) {
int nodesDeleted = 0;
ConcurrentHashMap<String, Node> theChildren = parentNode.getChildren();
Node deletedNode = theChildren.remove(nodeName);
if (deletedNode != null) {
nodesDeleted = 1;
parentNode.setChildren(theChildren);
/* ... | [
"@Override\n\tpublic int deleteNode(int count) throws Exception {\n\t\treturn fnodeMapper.deleteNode(count);\n\t}",
"public void NodeDelete(JNode node);",
"public void deleteByParent(AVMNode parent);",
"void deleteNode(String path);",
"public void nodeDeleted(int o) {\n }",
"public Node<T> delete(int i)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Purchases a road for the player and places it on the board. | public static void purchaseRoad(){
} | [
"private void offerTileForSale(BoardTile tile) {\n Player currentPlayer = Game.getCurrentPlayer();\n Long cash = currentPlayer.getCash();\n\n UI.displayMyProperties();\n StdOut.println();\n\n switch (tile.getType()) {\n \n case Board.TILE_COUNTY:\n UI.displayCounty(tile);\n br... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Changes the value of speed. | public void setSpeed(int s)
{
speed = s;
} | [
"public void setSpeed(int value) \n {\n speed = value;\n }",
"private void setSpeed(float value) {\n \n speed_ = value;\n }",
"public void setSpeed(double speed)\r\n\t{\r\n\t\tcurrentSpeed = speed;\r\n\t}",
"public void setSpeed(double speed){\n\t setSpeed(speed, speed);\n }",
"p... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Only for check constraints | boolean hasColumn(Table table, String colname) {
if (constType != CHECK) {
return false;
}
Expression.Collector coll = new Expression.Collector();
coll.addAll(core.check, Expression.COLUMN);
Iterator it = coll.iterator();
for (; it.hasNext(); ) {
... | [
"public CheckConstraints() {\n\t\tsuper(\"check_constraints\", org.jooq.util.postgres.information_schema.InformationSchema.INFORMATION_SCHEMA);\n\t}",
"boolean isIsConstraintProblem();",
"boolean getIncludeCheckConstraints();",
"@Override\n\tpublic void validCheck() {\n\t\t\n\t}",
"protected void check() th... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Configures the given tabfolder in preparation to be displayed. The default implementation of this function sets the tabFolder layout and attach a listener. Subclasses may extend or reimplement. | protected void configureTabFolder(CTabFolder tabFolder) {
this.tabFolder.setLayout(new FillLayout());
this.tabFolder.addListener(SWT.Selection, this.listener);
this.tabFolder.setSelection(0);
} | [
"public void createInitialLayout(IPageLayout layout) {\n\t\tString editorArea = layout.getEditorArea();\n\t\tlayout.setEditorAreaVisible(true);\n\t\t\n\t\tIFolderLayout tabs = layout.createFolder(\"ID_TABS_FOLDER\", IPageLayout.LEFT, 0.3f, editorArea);\n\t\ttabs.addView(IPageLayout.ID_OUTLINE);\n\t\ttabs.addPlaceho... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks if the icon result is loaded. If true, we set the icon immediately. Else, we add a callback to set the icon once the icon result is loaded. | private void checkIconResult(View originalView) {
CancellationSignal cancellationSignal = new CancellationSignal();
if (mIconLoadResult == null) {
Log.w(TAG, "No icon load result found in checkIconResult");
return;
}
synchronized (mIconLoadResult) {
... | [
"public boolean isIconInitialized() {\n return icon_is_initialized; \n }",
"boolean hasIconResource();",
"@Override\n public void onLoadSuccess() {\n loadImageSuccessful = true;\n Log.e(\"dflefseofjsdopfj\", \"Could not decode default bitmap: 2\");\n panoWidgetV... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access. | public Resource getAccessPolicyResource() {
return this.accessPolicyResource;
} | [
"public PrivilegeResource resource() {\n return this.resource;\n }",
"public String writeAccessResourceId() {\n return this.writeAccessResourceId;\n }",
"HealthMonitor getMonitor();",
"public VitalWorksite getRelatedWorksite() {\n return material.getRelatedWorksite();\n }",
"pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
For a static method listener, with a single arg, make Object[] arg array and call actual constructor. | public void setMenuActionListener(String label, Class c, String methodName, Object arg)
{
setMenuActionListener(label, c, methodName, new Object[]{arg});
} | [
"private static BoffoDbObject invokeConstructor(BoffoDbObject _obj, ArrayList<String> _arr) {\n try {\n Constructor largestCons = findLargestConstructor(_obj);\n Class[] constructorParams = largestCons.getParameterTypes();\n Object argList[] = findArgObjects(largestCons, _arr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Type your code here. | int main()
{
int r;
cin>>r;
int a[r][r];
for(int i = 0;i<r;i++) {
for(int j = 0;j<r;j++)
cin>>a[i][j];
}
int sum1=0,sum2=0;
for(int i = 0;i<r;i++) {
for(int j = 0;j<r;j++) {
if(i==j)
sum1+=a[i][j];
if(i+j==r-1)
sum2+=a[i][j];
}
}
//cout<<sum1<<" "<<sum2;
if(sum1... | [
"void stuffForYouToDo() {\n\t\t// Write your code here...\n\t\t\n\t\t\n\t\t\n\t}",
"public static void main(String[] args){\r\n \r\n/* We use package,class and turn on methods,If we would like to execute codes in Java we should get used to create class,\r\npackage,methods.We are typing codes in methods,and... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The user had scrolled to a new message | @Override
public void onPageSelected(int position) {
if (mCurrentQm != null) {
mCurrentQm.saveReplyText();
}
// Set the new 'active' QuickMessage
mCurrentPage = position;
mCurrentQm = mMessageList.get(position);
markCurrent... | [
"private void scrollDown() {\n\t\tif(range.y > maxNumberOfMsg) {\n\t\t\trange.x++;\n\t\t\trange.y++;\n\t\t} else {\n\t\t\trange.y++;\n\t\t}\n\t}",
"private void displayMessage(String msg) {\n msgList.add(msg);\n msgView.smoothScrollToPosition(msgList.getCount() - 1);\n }",
"@Override\r\n\t\t\tp... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets maxLength parameter for the associated regex. | public void setMaxLength(int maxLength) {
if (this.exactLength != -1) {
throw new IllegalStateException(
"illegal attempt to set maxLength after mutually-exclusive exactLength has been set");
}
this.maxLength = maxLength;
} | [
"public void setMaxLength(long maxLength)\n {\n this.maxLength = maxLength;\n }",
"public void setMaxLength(Integer maxLength) {\n\t\tthis.maxLength = maxLength;\n\t}",
"public void setMaxLength(int maxLength) {\n getState().maxLength = maxLength;\n }",
"public void setMaxlength(int maxlength) ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Constructs a new SystemMessageException from another exception. | public SystemMessageException(Throwable cause) {
this.cause = cause;
} | [
"public SystemException(){\n\t\t\n\t}",
"static <T extends Throwable> T constructException(Class<T> exceptionClass, String message) {\r\n return createException(exceptionClass, new Class<?>[] {String.class}, new Object[] {message});\r\n }",
"public SystemException(String message, Throwable cause){\n\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests making queries on local secondary index | @Test
public void testQueryWithIndexRangekey() {
int indexFooRangePerHash = rangePerHash / indexFooRangeStep;
int indexBarRangePerHash = rangePerHash / indexBarRangeStep;
for (long hashKeyValue : hashKeyValues) {
IndexRangeKeyClass hashKeyItem = new IndexRangeKeyClass();
... | [
"@Test public void selectiveIndexTest() {\n try {\n // first run: use index; second run: no index\n for(final String include : new String[] { \"a\", \"b\" }) {\n set(MainOptions.TEXTINCLUDE, include);\n set(MainOptions.ATTRINCLUDE, include);\n execute(new CreateDB(NAME, \"<xml><a a... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
.weave.trait.telemetry.tunnel.TelemetryTunnelTrait.TunnelType currentActiveTunnel = 11; | public Builder setCurrentActiveTunnel(weave.trait.telemetry.tunnel.Tunnel.TelemetryTunnelTrait.TunnelType value) {
if (value == null) {
throw new NullPointerException();
}
currentActiveTunnel_ = value.getNumber();
onChanged();
return this;
... | [
"public void setUsesTunnelParameters() {\r\n usesTunnel = true;\r\n }",
"interface WithTunnelType {\n /**\n * Specifies that only SSTP tunnel type will be used.\n *\n * @return the next stage of the update\n */\n Update withSstpOnly()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Verification of user preference information | public void verifyIfUsersLogged() {
mPrefs = getSharedPreferences(PREFS_NAME, MODE_PRIVATE);
SharedPreferences sp = getSharedPreferences(PREFS_NAME, MODE_PRIVATE);
if (sp.contains("pref_email") && sp.contains("pref_password")) {
String emailPref = sp.getString("pref_email", "not foun... | [
"private void checkPreferences() {\n \tSharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(this);\n \tString verifier = sharedPref.getString(SettingsActivity.KEY_PREF_VERIFIER, \"\");\n \tString verificationID = sharedPref.getString(SettingsActivity.KEY_PREF_VERIFICATIONDESCRIPT... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return true if the input is not empty or null. | public static boolean isNotEmpty(String str) {
return str != null && str.length() > 0;
} | [
"private static boolean isNullOrEmpty(String input)\n\t{\n\t\treturn input == null || input.trim().length() == 0;\n\t}",
"public static boolean notNullAndNotEmpty(String input) {\n return !android.text.TextUtils.isEmpty(input);\n }",
"boolean IsEmpty();",
"public static boolean isEmpty(String input)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Check that a player is in a clan. | public Clan getClan() {
Clan clan;
if((clan = player.getClan()) != null) {
return clan;
} else {
player.sendMessage(Color.ERROR + "You are not in a clan.");
return null;
}
} | [
"public final static boolean checkClan(Player player1, Player player2)\r\n\t{\r\n\t\tif(player1.getClanId() > 0 && player2.getClanId() > 0 && player1.getClanId() == player2.getClanId())\r\n\t\t\treturn true;\r\n\t\t\r\n\t\treturn false;\r\n\t}",
"boolean isPlayerAllowed (Player player);",
"boolean isCubikPlayer... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__BindingDefinition__Alternatives_7" $ANTLR start "rule__AttributeType__Alternatives" ../org.ow2.mindEd.adl.textual.ui/srcgen/org/ow2/mindEd/adl/textual/ui/contentassist/antlr/internal/InternalFractal.g:1467:1: rule__AttributeType__Alternatives : ( ( 'STRUCT' ) | ( 'UNION' ) | ( 'ENUM' ) | ( RULE_ID ) )... | public final void rule__AttributeType__Alternatives() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../org.ow2.mindEd.adl.textual.ui/src-gen/org/ow2/mindEd/adl/textual/ui/contentassist/antlr/internal/InternalFractal.g:1471:1: ( ( 'STRUCT' ) | ( 'UNIO... | [
"public final void ruleAbstractAttributeType() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCommunicationObject.g:307:2: ( ( ( rule__AbstractAttributeType__Alternatives ) ) )\n // InternalCommunicationObject.g:308:2: ( ( ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
protected void onDraw(Canvas canvas) {
canvas.drawLine(x1, y1, x2, y2, paint);
canvas.drawText("Touch and Move to Draw Line", 80, 50, paint);
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "T__26" $ANTLR start "T__27" | public final void mT__27() throws RecognitionException {
try {
int _type = T__27;
int _channel = DEFAULT_TOKEN_CHANNEL;
// myC_new.g:18:7: ( '}' )
// myC_new.g:18:9: '}'
{
match('}');
}
state.type = _type;
state.channel = _channel;
}
finally {
// do for sure before leaving
}
} | [
"public final void mT__26() throws RecognitionException {\n try {\n int _type = T__26;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalTest.g:19:7: ( 'end' )\n // InternalTest.g:19:9: 'end'\n {\n match(\"end\"); \n\n\n }\n\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional uint32 owner_account_id = 2; | public boolean hasOwnerAccountId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
} | [
"long getUAccountid();",
"long getAAccountid();",
"public String getOwnerAccount();",
"public int getOwnerId() { return ownerId; }",
"int getNewUserAccountid();",
"public int getaccount_id() {\n return account_id;\n }",
"public interface Account extends AccountState {\n\n /** The constant DEF... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the 3rd specified weekday of the month and year of the specified date. | static public CDate getIMMDate(CDate date,int weekday)
{
return getJDate(date.getYear(),date.getMonth(), weekday, 3);
// return getJDate(date.getYear(),date.getMonth(), date.getDayOfWeek(), 3);
} | [
"public int getDayOfWeek() {\n if (!DateUtil.isValid(this)) return -1;\n int yearZeller = year;\n int monthZeller = month;\n if (month < 3) {\n yearZeller --;\n monthZeller += 12;\n }\n int c = yearZeller / 100;\n int y = yearZeller - c * 100;\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Commit files in working directory. Get the files to be added or removed, call the add and remove commands, and then commit if needed. | private boolean doCommit() throws RemoteSyncException {
Set<String> filesToAdd = new HashSet<String>();
Set<String> filesToRemove = new HashSet<String>();
Status status = this.getFileStatus(filesToAdd, filesToRemove, true);
boolean addedOrRemovedFiles = false;
try {
if (!filesToAdd.isEmpty()) {
... | [
"private void commit(String[] args) {\n Branch currentBranch = branches.get(currentBranchName);\n Commit lastCommit = commits.get(currentBranch.getLastCommit());\n if (addedFiles.isEmpty() && filesToRemove.isEmpty()) {\n System.out.println(\"No changes added to the commit.\");\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
close the app driver.quit(); | @AfterClass
public void teardown(){
} | [
"public void appClose()\r\n\t{\r\n\t\tdriver.close();\r\n\t}",
"public void CloseApp() {\n\t\t_driver.quit();\n\t\t_driver = null;\n\t\t_elementservice = null;\n\t}",
"public void quit() {\n\t\t\tdriver.close();\r\n\t\t}",
"public void CloseApplication()\r\n\t{\n\t\tdriver.close();\r\n\t}",
"public void qui... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
8 bytes (64bits) in hex | @Test
public void getLhalfTest() {
String s = "a7f1d92a82c8d8fe";
FealAttack fealAttack = new FealAttack();
String lh = fealAttack.getLhalf(s);
// 4 bytes (32bits)
// Subkeys are also 32 bits
assertEquals("a7f1d92a", fealAttack.getLhalf(s));
assertEquals(-14... | [
"com.google.protobuf.ByteString\n getHexBytes();",
"@Override\n public String getHexString()\n {\n int nelem = (int)Math.ceil(this.length/32.);\n int[] a = new int[nelem];\n for (Integer bit : this.getBitNums())\n {\n a[bit/32] |= 1 << (31 - bit % 32);\n }\n String ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
check for invalid input | public boolean isValidSudoku(char[][] board) {
if(board == null || board.length != 9 || board[0].length != 9)
return false;
// check each column
for(int row = 0; row < 9; row++) {
boolean[] m = new boolean[9];
for(int col = 0; col < 9; col++) {
... | [
"private void validateInput() {\n }",
"private boolean isValidInput() {\r\n //todo code toevoegen zodat de method checkt of de alle input juist is\r\n return true;\r\n }",
"public abstract boolean hasValidInput();",
"private boolean validInput() {\r\n\t\tStringBuffer errMsg = new StringBuf... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | public void onBackPressed() {
super.onBackPressed();
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ \brief Return the total number of components in all lists derived from the / clause. | @Converted(kind = Converted.Kind.AUTO,
source = "${LLVM_SRC}/llvm/tools/clang/include/clang/AST/OpenMPClause.h", line = 3068,
FQN="clang::OMPMappableExprListClause::getTotalComponentsNum", NM="_ZNK5clang25OMPMappableExprListClause21getTotalComponentsNumEv",
cmd="jclank.sh -java-options=${SPUTNIK}/modules/org.c... | [
"public int listLength(){\n\t\tint result = 0;\n\t\tDLLNode<T> focusNode = listStart;\n\t\tif(focusNode != null){\n\t\t\tresult++;\n\t\t}\n\t\twhile(focusNode.getNext() != null){\n\t\t\tresult++;\n\t\t\tfocusNode = focusNode.getNext();\n\t\t}\n\t\treturn result;\n\t}",
"int getTotalGangListCount();",
"int getLi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the car field of the Model | public void setCar(Car car) {
this.car = car;
setChanged();
notifyObservers(new ProxyModel(this));
} | [
"public void setCar(Cars param){\r\n \r\n this.localCar=param;\r\n \r\n\r\n }",
"public void setCar(CarResponse car) {\n this.car = car;\n }",
"public void setCarDetai... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets eat actor to a hash keys and checks if already exist then adds it to the graph | public void hashMapping(String[] actors) {
for (int i = 0; i < actors.length; i++) {
if (actors[i].startsWith(" ")) {
actors[i] = actors[i].substring(1);
}
if (!map.containsKey(actors[i])) {
map.put(actors[i], hashkeys++);
}
... | [
"private void setGraph(String[][] movies) {\r\n for (String[] currentMovie : movies) {\r\n // Iterate over the people in the movie\r\n for (int i = 0; i < currentMovie.length; i++) {\r\n // Store the current actor\r\n String currentActor = currentMovie[i];\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Provides a string representation of the Complex number using real and imaginary numbers. A complex number has the form a + bi, where a is the real number and b is the imaginary number. | @Override
public String toString() {
if (imaginary == 0) {
return String.valueOf(real);
}
if (real == 0) {
return String.valueOf(imaginary) + "i";
}
if (imaginary > 0) {
return String.valueOf(real) + "+" + String.valueOf(imaginary)... | [
"public String toString(){\n\t\tString result = \"\";\n\t\tresult += \"(\"+this.real +\" + \" +this.imaginary+\"i\"+\")\";\n\t\treturn result;\n\t}",
"@Override\n\tpublic String toString() { \n\t\tString complexString = \"\";\n\t\tDecimalFormat decimFormat = new DecimalFormat(\"0.####;-0.####\");\n\t\tif (!(Math.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Helper method that draws all of the pencils in the game by calling other methods in this class. | private void drawAllPencils() {
// draws the vertical pencils
if (pencil1.isVertical() || pencil2.isVertical() ||
pencil3.isVertical() || pencil4.isVertical()) {
drawPencilBodies();
drawPencilTips();
}
// draws the horizontal pencils
if (pencil1.isHorizontal() || pencil2.isHorizontal() ||
pen... | [
"public void draw() {\n for (DrawProcedure procedure : drawProcedureList) {\n procedure.draw();\n }\n }",
"private void drawRunning() {\n this.game.batch.draw(Assets.activePause, pauseX, pauseY, 20, 10);\n this.game.batch.draw(dices[this.dice - 1], diceX, diceY, 20, 20);\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public void removeListener(ILabelProviderListener listener) {
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Input: 2 / \ 1 3 Output: 1 Example 2: Input: 1 / \ 2 3 / / \ 4 5 6 / 7 Output: 7 | @Test
public void test() {
assertEquals(1, findLeftMostNode(tree("2,1,n,n,3,n,n")));
assertEquals(7, findLeftMostNode(tree("1,2,4,n,n,n,3,5,7,n,n,n,6,n,n")));
} | [
"public int findBottomLeftTreeValue(TreeNode root) {\n\t\tif (root == null) return 0;\n Queue<TreeNode> queue = new LinkedList<>();\n queue.offer(root);\n int res = 0;\n while (!queue.isEmpty()) {\n int size = queue.size();\n res = queue.peek().val;\n whi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
reposition of point q | private Tensor quinte(Tensor p, Tensor q, Tensor r) {
return midpoint( //
splitInterface.split(p, q, _5_8), //
splitInterface.split(r, q, _5_8));
} | [
"public void rotatePoints(pt G, pt P, pt Q) {rotatePoints(angle(V(G,P),V(G,Q)),verticesCenter());}",
"public void setPosition(Point p);",
"public FpPointAffine swapPointsBasefield (FpPointAffine q, BigInteger option) {\n Felm qx, qy;\n\n qx = x.fpSwap(q.x, option);\n qy = y.fpSwap(q.y, option);\n\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Utility method to write an element start tag. | private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart,
javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);
... | [
"public void writeStartTag(String element)\r\n\t\tthrows XMLStreamException\r\n\t{\r\n\t\t/*\r\n\t\t * Write start tag for XML block.\r\n\t\t */\r\n\t\twriteStartElement(element);\r\n\t\twriteStartElementEnd();\r\n\t}",
"public abstract StartElement createStartElement(String prefix, String namespaceUri, String lo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the 'OrderType' attribute value. Identifies the type of order. | public void setOrderType(String orderType) {
this.orderType = orderType;
} | [
"public void setOrderType (String OrderType);",
"public void setOrderType(String orderType) {\r\n\t\tthis.orderType = orderType == null ? null : orderType.trim();\r\n\t}",
"public void setOrdertype(Integer ordertype) {\r\n\t\tthis.ordertype = ordertype;\r\n\t}",
"public Integer getOrdertype() {\r\n\t\treturn ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method returns the list of entries. | public CatalogOffering[] getOfferings() throws OfferingException; | [
"List<? extends Entry> getEntries();",
"public ArrayList<Entry> getList() {\n return entries;\n }",
"public List<Entry> getAllEntries() {\n\t\treturn ofy().load().type(Entry.class).list();\n\t}",
"public List<Entry> getEntries()\n {\n return m_entries;\n }",
"public ArrayList<Entry> getEntries(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public String exportData() throws IOException {
return null;
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public boolean addCart(Cart3 cart) {
return false;
} | [
"@Override\n }",
"@Override\n\t\t\t\tpublic void pintate() {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void extornar() {\n \n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n\t\tpublic void kayit1() {\n\t\t\t\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Overridden to perform RELAXNG validation against the MathML 3.0 schema to ensure that there are no warning, errors or fatal errors in the resulting XML. | public static void assertMathMLValid(Document mathmlDocument) throws Throwable {
ClassPathResolver resolver = new ClassPathResolver();
PropertyMapBuilder builder = new PropertyMapBuilder();
builder.put(ValidateProperty.RESOLVER, resolver);
PropertyMap schemaProperties = builder.toPropert... | [
"private static void validatePridexmlSchema(String schemaLocation, File pridexml, File outputFile) {\n log.info(\"Validating PRIDE XML schema for: \" + pridexml.getPath() + \" using schema: \" + schemaLocation);\n try {\n PrideXmlClValidator validator = new PrideXmlClValidator();\n validator.setSche... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
toggle the value in the movie | public void setFavoriteMovie(boolean isFavorite) {
Movie movie = mMovie.getValue();
// short circuit if there is no change to be made.
if (movie.isFavorite() == isFavorite) return;
movie.setFavorite(isFavorite);
mMovie.setValue(movie);
writeMovie(movie);
} | [
"public void toggle() {\r\n\r\n }",
"@Override\n\tpublic void Toggle() {\n\t\t\n\t}",
"void togglePause();",
"public void toggleSandy();",
"public void toggleMoving()\n\t{\n\t\tmoving = !moving;\n\t}",
"private void toggleShowMovesBlack() {\n showMovesBlack = !showMovesBlack;\n }",
"public ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |