query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Get the rgshd field for the TAP record. | public byte[] getRgshd()
{
return field_10_rgshd;
} | [
"public String getRg() { return rg; }",
"public String getMrghs() {\n return mrghs;\n }",
"public String getRr() {\n return rr;\n }",
"@Override\n\tpublic String getRg() {\n\t\treturn model.getRg();\n\t}",
"public java.lang.String getTRAGR() {\n return TRAGR;\n }",
"public ja... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return type metadata object | public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
} | [
"<T> T getMetaData(Class<T> type);",
"public CodedMetadataType getCodedMetadataType();",
"public interface TypeInfo {\n\n static final String SYMBOL_NAME = \"typeinfo\";\n\n /**\n * Gets name for the TypeInfo DataType Model\n * \n * @throws InvalidDataTypeException\n */\n String getName... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This function MUST be used at the beginning of game loading. | public static void createResources(MainActivity activity)
{
BitmapTextureAtlasTextureRegionFactory.setAssetBasePath("gfx/tiles/");
gameTextureAtlas = new BuildableBitmapTextureAtlas(activity.getTextureManager(), 1024,
1024, TextureOptions.BILINEAR);
for (TileType tileType : TileType.values())
{
... | [
"@Override\n\tpublic void gameStarting() {\n\t\t\n\t}",
"private void startGame()\r\n \t{\t\t\r\n \t\t// Nothing here yet.\r\n \t}",
"public void startLoadActions() {\r\n loading = true;\r\n gameLoader = new GameLoader(player);\r\n gameLoader.timer.start();\r\n }",
"private void doneLo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public void messageAction(MessageEvent e) {
System.out.println(e);
String[] tokens = e.toString().split(" ");
if (tokens[0].equals("vrCamera") && tokens[1].equals("start")) {
System.out.println("start camera1 & 2");
t1 = new Thread() {
public void run() {
System.out.println("new camera t... | [
"@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"
]
]
}
} |
Retrieve file url to delete data file | @After
public void tearDownAfterClass() throws Exception {
url = GeoStayPointProcessorTest.class.getResource(DELETE_FILE);
// Delete data from database
TestDatabase.executeStatementsFromFile(url.getFile());
// Close connection to database
TestDatabase.teardown();
} | [
"public void deleteDataFileUri() {\n SharedPreferences.Editor editor = _sharedPrefs.edit();\n editor.remove(SHARED_PREFERENCES_DATA_FILE_NAME);\n editor.commit();\n }",
"void delFile();",
"private void deleteFile(String filename, String path) throws ClientProtocolException, IOException {... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return true if CyclingPowerVector support InstantaneousTorqueMagnitudeArray field. | public boolean isSupportInstantaneousTorqueMagnitudeArray() {
return (mFlags.getInstantaneousTorqueMagnitudeArrayPresent() == 1);
} | [
"public boolean isSupportInstantaneousSpeed() {\r\n return (mFlags.getInstantaneousSpeedPresent() == 1);\r\n }",
"boolean hasHasSpeedLimit();",
"public boolean hasSpeed() {\n return ((bitField0_ & 0x00004000) == 0x00004000);\n }",
"public boolean hasSpeed() {\n return ((bitField... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Opens up a selection dialog and shows the chosen image inside a JFrame. | public static void main(final String[] args) throws IOException {
final BufferedImage image = ImageIO.read(FileDialog.open());
if (image == null) {
throw new IOException("Error. Could not decode image from the specified file.");
}
final JFrame frame = new JFrame();
frame... | [
"@Override\n public void actionPerformed(ActionEvent event) {\n (new ImageViewerDialog(null, true, searchModel.getRow(selectedRow))).setVisible(true);\n }",
"@Override\n public void actionPerformed(ActionEvent event) {... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns all alternative ways of constructing a certain type name using a tree type. | public List<TreeNodeType> lookupTreeNodeTypes(NamedTreeType type) {
return fSignatures.get(type);
} | [
"public static BaseNode[] getProveTestTypes() {\n\n Name foo = new Name(\"foo\");\n Name bar = new Name(\"bar\");\n Name baz = new Name(\"baz\");\n Name blub = new Name(\"blub\");\n Name lex = new Name(\"lex\");\n Name bla = new Name(\"bla\");\n Name STR = new Name(N... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
React to player button press | @Override
public void actionPerformed(ActionEvent arg0) {
TileButton button = (TileButton) arg0.getSource();
if (!button.isFlipped() && !gameOver){
controller.flipTile(button.getRow(), button.getColumn());
}
} | [
"public void onPlayer1(View v) {\n handlePlayerButtons(0);\n }",
"public void pressGameButton() {\r\n state.pressGameButton();\r\n }",
"@Override\r\n\tpublic void mousePressed(final MouseEvent e) {\n\t\tif (e.getSource() == switchPlayers) {\r\n\t\t\tswitchPlayers();\r\n\t\t} else if (current... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Retrieves event for editing. I don't think the parameter editType is applicable to this implementation. | @Override
public CalendarEventEdit getEditEvent(String eventId, String editType)
throws IdUnusedException, PermissionException, InUseException {
// Retrieve Google event from Google calendar
Event gEvent = getGoogleCalendarEvent(eventId);
// Convert the Google event to an editable calendar event
CalendarEv... | [
"@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tprivate static void roomEdit(CellEditEvent<String, String> e) {\n\t\t\t\t\tTableColumn.CellEditEvent<String, String> editEvent;\r\n\t\t\t\t\teditEvent = (TableColumn.CellEditEvent<String, String>) e;\r\n\t\t\t\t\tString s = editEvent.getRowValue();\r\n\t\t\t\t\ts = editE... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Each Composite MUST have two or more constituent resources | @Test
public void compositeItems() throws Exception {
checkTestResult("4.2. (1) Composite", OATestRecords.OA_ALL_RULES_PASS, "pass", "Two items");
checkTestResult("4.2. (1) Composite", OATestRecords.OA_COMPOSITE_ONE_ITEM, "error", "One item");
checkTestResult("4.2. (1) Composite", OATestReco... | [
"boolean hasComposite();",
"Composite() {\r\n\r\n\t}",
"public CompositeIcon(Icon anIcon1, Icon anIcon2) { _icon1 = anIcon1; _icon2 = anIcon2; }",
"@Override\r\n\tpublic void setComposite(Composite arg0) {\n\t\t\r\n\t}",
"public interface ResourceWithChildren extends Resource {\n\n\t/**\n\t * @return false... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Most recent Java reserved word map<string, .map_for_proto2_test.ReservedAsMapFieldWithEnumValue.SampleEnum> enum = 9; | public map_test.MapForProto2TestProto.ReservedAsMapFieldWithEnumValue.SampleEnum getEnumOrThrow(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map<java.lang.String, java.lang.Integer> map =
internalGetEnum().getMap();
if ... | [
"MapEnumElementType getMapEnumElement();",
"public java.util.Map<String, NestedEnum>\n getMapStringEnumMap() {\n return internalGetAdaptedMapStringEnumMap(\n internalGetMapStringEnum().getMap());}",
"private static Map<String, ParticipationRoleType> makeEnumFromNameMap()\n {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public int delete(Map map) {
return 0;
} | [
"@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 void onItemSelected(AdapterView<?> parent, View view,
int position, long id) {
if (position == 0) {
((TextView) parent.getChildAt(0)).setTextColor(getResources().getColor(R.color.black));
((TextVi... | [
"@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"
]
]
}
} |
Gets the width used for the 'pause' and 'play' symbols | public double getSymbolWidth() {
return symbolWidth;
} | [
"public static int getWidth() {\treturn width; }",
"@Override\n\tpublic int getWhidth() {\n\t\treturn GenericGame.Width;\n\t}",
"public static int getWidth() { return engine!=null?engine.width:-1; }",
"public double getNameFontCharWidth();",
"@Override\n\tpublic int getWidth() {\n\t\treturn fr.getStringWidt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Scan By routine / Using cursor T000324 | public void scanStart037( )
{
pr_default.execute(22, new Object[] {Short.valueOf(A12CountryId)});
RcdFound7 = (short)(0) ;
if ( (pr_default.getStatus(22) != 101) )
{
RcdFound7 = (short)(1) ;
A24CityId = T000324_A24CityId[0] ;
}
/* Load Subordinate Levels */
} | [
"public native void scan_offset(int offset);",
"public abstract StructureDataIterator getStructureDataIterator(Cursor cursor) throws IOException;",
"void prepare(CursorType cursorType);",
"public native boolean\tfetchFromBindCursor();",
"public Cursor queryTheCursor1(String username, String curPage,\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Produces a fresh new SSA index for an assignment and updates the SSA map. | int makeFreshIndex(String name, CType type, SSAMapBuilder ssa) {
return getIndex(name, type, ssa, true);
} | [
"public final TLParser.assignment_return assignment() throws RecognitionException {\n TLParser.assignment_return retval = new TLParser.assignment_return();\n retval.start = input.LT(1);\n\n\n Object root_0 = null;\n\n Token Identifier15=null;\n Token char_literal17=null;\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "entryRuleEDataType_Impl" $ANTLR start "ruleEDataType_Impl" ../pimar.editor.textual.xwcore.ui/srcgen/pimar/editor/textual/xwcore/ui/contentassist/antlr/internal/InternalXwcore.g:1005:1: ruleEDataType_Impl : ( ( rule__EDataType_Impl__Group__0 ) ) ; | public final void ruleEDataType_Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../pimar.editor.textual.xwcore.ui/src-gen/pimar/editor/textual/xwcore/ui/contentassist/antlr/internal/InternalXwcore.g:1009:2: ( ( ( rule__EDataType_Impl__Group... | [
"public final EObject entryRuleEDataType_Impl() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleEDataType_Impl = null;\r\n\r\n\r\n try {\r\n // ../pimar.editor.textual.xwcore/src-gen/pimar/editor/textual/xwcore/parser/antlr/internal/InternalXwcore.g:4... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Read data from a database | public Cursor readData() {
SQLiteDatabase db = dbHelper.getWritableDatabase();
return db.rawQuery("select * from " + FeedReaderContractReminders.FeedEntry.TABLE_NAME,
null);
} | [
"private void read_db() {\n Pair<ArrayList<Reservation>, TreeMap<LocalDate, Float>> dbs;\n\n // Using limited context input stream.\n try (FileInputStream file = new FileInputStream(db_loc);\n ObjectInputStream in = new ObjectInputStream(file)) {\n\n dbs = (Pair<ArrayList... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Construct a grid with the given dimensions. | public Grid(IArea area, T initElement) {
if (area == null) {
throw new IllegalArgumentException();
}
this.area = area;
this.cells = new ArrayList<T>(area.getSize());
for (int i = 0; i < area.getSize(); ++i) {
cells.add(initElement);
}
} | [
"public Grid(int dimension) \r\n\t{\r\n\t\tdim = dimension;\r\n\t\t\r\n\t\tJFrame frame = new JFrame(\"Grid Game\");\r\n\t\t\r\n\t\tJPanel panel = new JPanel();\r\n\t\tpanel.setBackground(Color.blue);\r\n\t\tpanel.setLayout(new GridLayout(dim, dim));\r\n\r\n\t\t\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use Spring Boots User detailsMAnager | @Autowired
public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
JdbcUserDetailsManager userDetailsService = new JdbcUserDetailsManager();
//Set our Datasource to use the one defined in application.properties
userDetailsService.setDataSource(datasource);
... | [
"@Bean\n protected UserDetailsService userDetailsService() {\n\n return new MyUserDetailService();\n }",
"@Bean\r\n\t@Override\r\n\tpublic UserDetailsService userDetailsService() {\n\t\t@SuppressWarnings(\"deprecation\")\r\n\t\tUserDetails user = User.withDefaultPasswordEncoder().username(\"allianz\"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Inserts and returns a new empty value (as xml) as the ith "fee" element | au.gov.asic.types.fss.FeeWithAmountType insertNewFee(int i); | [
"int insert(FeeType record);",
"private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, com.swifta.sub.mats.operation.data.MatsdataserviceStub.DepositFloatinsert param, boolean optimizeContent, javax.xml.namespace.QName methodQName)\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Runs the translator on the file and write it to the output file. | private static void runTranslator(File outPutFile, File inPutFile) {
CompilationEngine ce = new CompilationEngine(inPutFile,outPutFile);
} | [
"void outputToText(String fileName);",
"public static void translate(final CoqAst ast, \n final File output) throws FileNotFoundException {\n CoqAst node = ast;\n final CoqTranslator trans = new CoqTranslator(new PrintStream(\n new FileO... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Using DP approach Time Complexity: O(MxN) Space Complexity: O(MxN) | public static int minimumDeleteSum(String s1, String s2) {
int s1length = s1.length();
int s2length = s2.length();
int[][] dp = new int[s1length + 1][s2length + 1];
for (int i = 1; i <= s1length; i++) {
dp[i][0] = s1.charAt(i - 1) + dp[i - 1][0];
}
for (int... | [
"public static void main(String[] args) throws Exception {\n Scanner scn = new Scanner(System.in);\n int n = scn.nextInt();\n int m = scn.nextInt();\n \n int[][] arr = new int[n][m];\n \n for(int i= 1;i<arr.length;i++){\n for(int j = 0;j<arr[0].length;j++)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a new instance | public static DatePickerDialogFragment newInstance(int year,
int monthOfYear,
int dayOfMonth)
{
DatePickerDialogFragment frag = new DatePickerDialogFragment();
Bundle args = new Bundle();
... | [
"T createNewInstance();",
"public void create() { }",
"public Create() {\n\t\t\tsuper();\n\t\t}",
"public void create(T newInstance);",
"@SuppressWarnings(\"unchecked\")\n\tpublic static JSONObject createInstance() {\n\t\tJSONObject json = new JSONObject();\n\t\ttry {\n\t\t\tjson = makeRequest(URL + \"/inst... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the "SystemAttributes" element | public void setSystemAttributes(org.erdc.cobie.cobielite.core.AttributeCollectionType systemAttributes)
{
generatedSetterHelperImpl(systemAttributes, SYSTEMATTRIBUTES$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
} | [
"public void setSystem(java.lang.String system)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SYSTEM$2);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new hash map with default capacity. | public static <K, V> HashMap<K, V> newHashMap() {
return new HashMap<K, V>();
} | [
"public HashMap()\n {\n this(DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR);\n }",
"public SimpleHashMapMap() {\r\n this(INITIAL_CAPACITY);\r\n }",
"public static <K, V> Map<K, V> newMap(int initialCapacity) {\n\t return net.hudup.core.Util.newMap(initialCapacity);\n\t}",
"public MyHashMap(int initialCapa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Prompts the user to enter coordinates of points | public static void main(String[] args) {
java.util.Scanner input = new java.util.Scanner(System.in);
System.out.print("Enter x1, y1, x2, y2, x3, y3, x4, y4: ");
double x1 = input.nextDouble();
double y1 = input.nextDouble();
double x2 = input.nextDouble();
double y2 = inp... | [
"public static void main( String[] args) {\n Scanner keys = new Scanner(System.in);\n System.out.println(\"\"); //prompt the user for an x-coordinate\n //your x variable = keys.nextDouble();\n System.out.println(\"\"); //prompt the user for a y-coordinate\n //your y variable = k... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
function to initialize frequency chart | public void initializeFC(int n){
freqChart=new int[n+1];
//initializing it with zero
for(int i=0; i<n ; i++){
freqChart[i]=0;
}
} | [
"public FrequencyTable() {\n super();\n }",
"private void initChart2() {\n\t\t\n\t}",
"private void calculateFrequency(){\n\t\tthis.frequency = RECORDER_SAMPLERATE/findMax(diff(this.zeroCrossingIndices));\n\t}",
"long getFrequencyCount();",
"private void initfHistogram() {\n for (int i = 0; i < ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Select a single node to evict. | private IN selectIN( INList inList, ScanIterator scanIter) throws DatabaseException {
IN target=null;
long targetGeneration=Long.MAX_VALUE;
int targetLevel=Integer.MAX_VALUE;
boolean targetDirty=true;
boolean envIsReadOnly=envImpl.isReadOnly();
int scanned=0;
boolean wrapped=false;
whi... | [
"void evict(CacheServer cacheServer, String cacheName, String cacheKeyId);",
"private Node select(Node x, int k) {\n return null;\n \n }",
"void evict(TemplateSource source);",
"void afterNodeInsertion(boolean evict) { }",
"public void selectNodeAt(int index) {\n selectNodeAt(index,... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public boolean onTouchEvent(MotionEvent event) {
if (dialog != null) {
dialog.onTouchEvent(event);
} else
mBaseView.onTouchEvent(event);
return true;
} | [
"@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"
]
]
}
} |
/ renamed from: a | public final void mo25616a(Context context) {
try {
if (C11008b.m32267a() == null) {
context.startService(new Intent(context, MessageHandler.class));
}
} catch (Throwable unused) {
}
} | [
"public interface C3511a {\n /* renamed from: a */\n void mo29057a(int i);\n }",
"interface C4511c {\n /* renamed from: a */\n void mo29775a();\n }",
"public interface ans {\n /* renamed from: a */\n void mo1174a();\n}",
"public interface C24712af {\n /* renamed from... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
(Highcharts, Highstock, Highmaps, Gantt) Individual data label for each node. The options are the same as the ones for series.sankey.dataLabels. | @JSProperty("dataLabels")
void setDataLabels(SeriesSankeyDataLabelsOptionsObject... value); | [
"SeriesSolidgauge dataLabels(DataLabels dataLabels);",
"DataLabels dataLabels();",
"@Override\n public List<String> getSeriesLabels() {\n //List<String> seriesLabels = new ArrayList<String>();\n //seriesLabels.add(\"Love it\");\n //seriesLabels.add(\"Hate it\");\n return seriesLab... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ This method is the implementation of of mouse which will get the points that will obtain on clicking the mouse and it will print it. | public void mousePressed(java.awt.event.MouseEvent e)
{
start = e.getPoint();
System.out.println("X1::"+start.getX());
System.out.println("Y1::"+start.getY());
size.setVisible(true);
} | [
"public void mouseClicked(MouseEvent e) {\n e.getPoint();\n int pointX = e.getPoint().x;\n int pointY =e.getPoint().y;\n System.out.println(pointX/4);\n System.out.println(pointY/4);\n }",
"public void mouseClicked (MouseEvent e)\n {\n //Syst... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Unable to fully structure code | public Builder zaa(HashMap<String, Object> var1_1) {
Asserts.checkNotNull(var1_1);
var2_2 = this.zac;
if (var2_2 == null || (var2_2 = var1_1.get(var2_2)) == null) ** GOTO lbl8
var4_4 = this.zad.get(var2_2);
if (var4_4 == null) {
this.zad.put(va... | [
"protected void method_5557() {}",
"private static void EX5() {\n\t\t\r\n\t}",
"public void mo28221a() {\n }",
"@Override\n }",
"protected void mo4791d() {\n }",
"protected abstract void mo3493a();",
"protected void method_2117() {\n }",
"@Override\n public void extornar() {\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
European countries have at least these 2 days as holidays in common | @Override
public SortedSet<Day> getCalendarHolidays(int year) {
SortedSet<Day> days = new TreeSet<>();
days.add(new Day(LocalDate.of(year, 1, 1), "New Year"));
days.add(new Day(LocalDate.of(year, 12, 25), "Christmas"));
return days;
} | [
"private int checkIsHoliday() {\n Calendar cal = Calendar.getInstance();\n cal.setTime(this.date);\n HolidayManager holidayManager = HolidayManager.getInstance(HolidayCalendar.UNITED_STATES);\n if (holidayManager.isHoliday(cal, HolidayType.OFFICIAL_HOLIDAY)) {\n return 1;\n } else {\n cal.a... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
update data and reset search priority in antDBDeviceList | @Override
public void run() {
dataBaseAdapter.addDeviceToDB(content);
// resetSearchPriority
dataBaseAdapter.resetSearchPriorityFromAcq(content.getAsInteger(DB_KEY_DEV_NUM),
content.getAsInteger(DB_KEY_DEV_TYPE));
} | [
"public void updateSearchList() {\n Log.d(TAG, \"PbSearch begin\");\n ArrayList<BtExe.SearchItem> list = new ArrayList<>();\n for (int i = 0; i < BtExe.mListPb.size(); i++) {\n BtExe.SearchItem si = new BtExe.SearchItem();\n si.pb = BtExe.mListPb.get(i);\n si.Ma... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Add vehicles and allow them to move for each direction | public static void initRoad() {
for (SignalDirection sigDir : SignalDirection.values()) {
Road road = new Road(sigDir.name(), sigDir);
road.generateVehicles();
road.allowVehicles();
}
} | [
"private void moveVehicles()\n {\n for(Vehicle vehicle : mapViewer.getMapSchema().getVehicles())\n {\n vehicle.move();\n }\n }",
"public void addVehicle(Vehicle vehicle) {\r\n\t\tvehicle.stop();\r\n\t\tvehicles.add(vehicle);\r\n\t}",
"@Override\n\tpublic void addVehicle() {... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Report device token to webservice | public Observable<BaseResponse> updateDeviceToken(String token) {
return wsService.updateDeviceToken(iCommon.DEVICE_OS, token)
.compose(WSTransformer.<BaseResponse>get());
} | [
"long getLocalDeviceToken();",
"java.lang.String getDeviceTokenVoip();",
"private void sendRegistrationToServer(String token) {\n String userID = AppSharedData.getInstance().getUserId();\n if (userID == null)\n return;\n try {\n String path = Params.serverIP + Params.u... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
repeated .com.proto.indexer.Assignment assignments = 1; | AssignmentOrBuilder getAssignmentsOrBuilder(
int index); | [
"void getAssignments(AssignmentParameters params);",
"public void setAssignments(Collection < Assignment > assignments) {\n this.assignments = assignments;\n }",
"public interface Assignator {\n /**\n * The config key for the default assignator instance.\n */\n public final static Config... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ The patched class loader is expected to be a descendant of dalvik.system.BaseDexClassLoader. We modify its dalvik.system.DexPathList pathList field to append additional DEX file entries. | private static void install(ClassLoader loader, List<File> additionalClassPathEntries,
File optimizedDirectory)
throws IllegalArgumentException, IllegalAccessException,
NoSuchFieldException, InvocationTargetException, NoSuchMethodException {
... | [
"private DexClassLoader createDexClassLoader(String apkPath) {\n File dexFile = mContext.getDir(\"dex\",Context.MODE_PRIVATE);\n DexClassLoader dexClassLoader = new DexClassLoader(apkPath,dexFile.getAbsolutePath(),null,mContext.getClassLoader());\n return dexClassLoader;\n }",
"private voi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ renamed from: O | public C41446ap mo31386O(C46867w c46867w) {
AppMethodBeat.m2504i(122510);
C25052j.m39376p(c46867w, "key");
C41446ap O = this.Bik.mo31386O(c46867w);
AppMethodBeat.m2505o(122510);
return O;
} | [
"private O()\r\n {\r\n super();\r\n }",
"public interface OooO00o {\n /* renamed from: a */\n void mo27271a();\n\n /* renamed from: b */\n void mo27272b();\n }",
"public void mo28221a() {\n }",
"@Override\n\t\tprotected void swop() {\n\n\t\t}",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
function get list of the keys in the order of sorting and will be saved on disk in that order | private Map<String,String> create_file_sorted_by_keys(LinkedList<String> csv_data, List<String> keys, List<Integer> currentIndexKeyList) {
//String[] lines = csv_data.split("\n");
TreeMap<String,String> map = new TreeMap<>();
for(String line : csv_data)
{
String[] curr_line ... | [
"public List<String> keysToSortedList()\r\n\t{\r\n\t\tLinkedList<String> keys = new LinkedList<String>();\r\n\t\tfor (Entry<String, String> entry : properties.entrySet())\r\n\t\t\tkeys.add(entry.getKey());\r\n\t\tCollections.sort(keys);\r\n\t\treturn keys;\r\n\t}",
"public List<String> getKeyListEntryOrder() {\n\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This is function get TenCanBo by TaiKhoanNguoiDungId History: DATE AUTHOR DESCRIPTION 3March2013 Nam Dinh Create new | public static String getTenCanBo(long taiKhoanNguoiDungId) {
try {
return CongChucLocalServiceUtil.fetchCongChuc(taiKhoanNguoiDungId).getHoVaTen();
} catch (Exception e) {
}
return "";
} | [
"public HistorySO() {}",
"PersonHistory createPersonHistory();",
"public ArrayList<HistoryModel> getHistory() {\n\n\t\tSystem.out.println(\"Starting to fetch the Tickets History\");\n\t\tArrayList<HistoryModel> history = new ArrayList<HistoryModel>();\n\n\t\tResultSet rs = null;\n\n\t\tString Sql = \"Select LNA... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
called by Configurator class when creating Person object method takes an already created hashMap and makes tasksToDo = this | public void setTasks(HashMap<Integer, String> tasks){
tasksToDo = tasks;
} | [
"public ToDoMap() {\n toDoMap = new HashMap<>();\n String generalName = \"general\";\n ToDoList generalList = new ToDoList(\"general\");\n toDoMap.put(generalName, generalList);\n }",
"void newTask(Task task){\n\t\t\tif(Task.TaskType.CLEANING.equals(task.type)) {\n\t\t\t\tpendingHou... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This constructs an instance from a factory and a notifier. | public OperationParameterItemProvider(AdapterFactory adapterFactory) {
super(adapterFactory);
} | [
"public TicketNotifier createNotifier() {\n\t\treturn new TicketNotifier(\n\t\t\t\truntimeManager,\n\t\t\t\tnotificationManager,\n\t\t\t\tuserManager,\n\t\t\t\trepositoryManager,\n\t\t\t\tthis);\n\t}",
"private Factory() { }",
"public interface SenderFactory {\n public Sender create();\n}",
"private Factor... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Obter um Entity Manager | public static void main(String[] args) {
EntityManager em = EntityManagerFactorySingleton.getInstance().createEntityManager();
//Obter uma CidadeDao
CidadeDAO cidadeDao = new CidadeDAOImpl(em);
//Exibir o nome das cidades cadastradas!
List<Cidade> cidades = cidadeDao.listar();
System.out.println("Cida... | [
"@Override\n protected EntityManager getEntityManager() {\n return entitymanager;\n }",
"EntityManager getEm();",
"protected EntityManager getEntityManager()\r\n {\r\n return entityManager;\r\n }",
"@Override\r\n\tprotected EntityManager getEntityManager() {\n\t\treturn JPAFactory.ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the root node of the AST tree. | public QueryStatement getRoot()
{
return m_root;
} | [
"public AvlNode getRoot() {\n return root;\n }",
"public Node getSyntaxTreeRoot() {\n return this.root;\n }",
"public Node getRoot() {\n\n\t\treturn root;\n\t}",
"public Node getRoot() {\n\t\t\treturn root;\n\t\t}",
"public Node<E> getRoot(){\n\t\treturn root;\n\t}",
"public Dnode getR... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Add an interface Score to your program. It should have a method getScore that takes a string, a Website object, and an Index object, and returns a floating point number. | public double getScore(String individualSearchTerm, Website website, Index idx); | [
"public interface Score {\n public int score (int Score);\n}",
"public interface Score {\n\n int getScore();\n\n void addScore(int increment);\n}",
"public Score getScore();",
"public int getScore() { /* ... code ... */ }",
"public int getScore( Team t );",
"public float getScore(int rank) throws Ex... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the amount of time it takes the drone to get home. Used by AI logic to stop work and return home for recharge | public int getTimeToHome()
{
if (this.home != null)
{
//TODO calculate jump time, and rotation time
double distance = new Vector3(this).difference(new Vector3(this.home)).getMagnitudeSquared();
double speed = this.getMoveHelper().getSpeed();
ret... | [
"public long timeSpent();",
"public int TimeToEnterDetails() {\n\t\treturn (int) (((Math.random() * maxTimeToEnterDetails) / speedSetting) * 1000); \n\t}",
"float getAngryTime();",
"public int getDuration()\r\n\t{\r\n\t\treturn (int) (System.currentTimeMillis() - this.battleStart);\r\n\t}",
"double getResti... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
If you don't need header feature, you can bypass overriding this method. | protected void onBindHeaderViewHolder(VH holder, int position) {
} | [
"@Override\n protected ServiceValue treatHeader() {\n return null;\n }",
"@Override\n public Header getHeader() {\n return null;\n }",
"public abstract Header header();",
"@Override\n\tvoid createHeader() {\n\t\t\n\t}",
"@java.lang.Override\n public boolean hasHeader() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
a simple constructor for Material | public Material(double kD, double kS, int nShininess) {
this(kD, kS, nShininess, 0, 0);
} | [
"public Material() {\r\n }",
"public Material() {\n this(new RGBAColor(true), Math.random(), Math.random() * 600, Math.random());\n }",
"public GLMaterial() {\n\t}",
"public Material() {\n\t\tKa = new float[4];\n\t\tKd = new float[4];\n\t\tKs = new float[4];\n\n\t\tfor (int i = 0; i < Ka.length; ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Creates the necessary streams from the sockets. | void createStreams() throws IOException {
try {
from_server = outSocket.getInputStream();
http_from_server = new HttpInputStream(from_server);
to_server = outSocket.getOutputStream();
http_to_server = new HttpOutputStream(to_server, http_from_server);
// ENABLE the following in order to LOG socket data... | [
"private void setupStreams() throws IOException {\n //send to client\n output = new ObjectOutputStream(connection.getOutputStream());\n output.flush();\n //receive from the client\n input = new ObjectInputStream(connection.getInputStream());\n System... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/Task devuelve un AuthResult, almacenado en un task cuando el objeto tenga exito | @Override
public void onComplete(@NonNull @NotNull Task<AuthResult> task) {
if(task.isSuccessful()){
//si el task es correcto, es decir, si evalua que el correo ya esta verificado por el usuario
... | [
"@Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n\n mProgressView.setVisibility(View.GONE);\n if (!task.isSuccessful()) {\n // there was an error\n Toast.makeText(LoginActivit... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Should pass if SensorData object has properties attached to it. | @Test
public void testDataProperties() {
String[] row = setupRow();
SensorData data = TestHneiRowParser.parser.parseRow(row);
// Check number of properties.
assertEquals("size is 1", 1, data.getProperties().getProperty().size());
// Check source name.
String mtu = row[2];
String port = ro... | [
"public boolean hasSensor() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }",
"public boolean isSensor(){\n\t\treturn LiquidWrapperJNI.Fixture_isSensor(super.getPtr());\n\t}",
"public boolean hasSensor() {\n return fieldSetFlags()[5];\n }",
"public boolean hasSensorType() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create attribute from JavaBean getter | private ValueAttribute toAttribute(String name, Element element) {
// expect field or method
TypeMirror returnType = element.getKind().isField() ? element.asType() : MoreElements.asExecutable(element).getReturnType();
ValueAttribute attribute = new ValueAttribute();
attribute.reporter = protoclass.repor... | [
"Object buildAttribute(Object model, Object type);",
"Object getObjectAttribute(String _name);",
"public AttributeAccessor<X, Y> getAccessor();",
"Object buildAttribute2(Object type);",
"Object get(String attrName);",
"MAttribute createMAttribute();",
"WidgetAttribute createWidgetAttribute();",
"Prope... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Test Explanation: Testing the command being run correctly Expectation: All inputs should be able to be handled, new visitor should be registered | @Test
public void happyPath() {
Mockito.doReturn(null).when(regSpy).findMatchingVisitor(any(), any(), any(), any());
Mockito.doReturn(Instant.now()).when(regSpy).getRegistrationTime();
Mockito.doReturn(visitorMock).when(regSpy).createVisitor(any(), any(), any(), any(), any());
Assert... | [
"@Test\n\tpublic void testProcess() throws Exception {\n\n\t\t// Set up the input\n command.setPathInfo(\"/FirstTestOp\");\n\t\twhen(request.getParameter(\"FirstOpFirstParam\")).thenReturn(\"hello\");\n when(request.getScheme()).thenReturn(\"http\");\n\n\t\t// Resolve the input command\n\t\trescriptCo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
.msggamedata.BattleEndResultType battle_result = 3; | public com.felania.msldb.BattleEndResultTypeOuterClass.BattleEndResultType getBattleResult() {
com.felania.msldb.BattleEndResultTypeOuterClass.BattleEndResultType result = com.felania.msldb.BattleEndResultTypeOuterClass.BattleEndResultType.valueOf(battleResult_);
return result == null ? com.felania.msldb.Ba... | [
"Triangle.Protocol.GameProtocol.CombatResult getCombatResult();",
"@Override\r\npublic void onBattleEvent(BattleEvent e) {\n\t\r\n}",
"TfGcmessages.CMsgGC_Match_Result.Status getStatus();",
"void onOutOfTurnPlayed(Bot bot,Player outOfTurnPlayer,String playerAction, JsonObject actionData,Room room,boolean isSe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Called whenever a key is pushed, and sends out commands based on what key | public boolean keyDown(Event evt, int key) {
boolean shiftWasDown = ( (evt.modifiers & evt.SHIFT_MASK) != 0) ? true : false;
switch(key) {
case 'q':
case 'Q':
worms[CUR_WORM].incWeap();
break;
case 'a':
case 'A':
worms[CUR_WORM].beginMovingLeft(shiftWasDown);
break;
case 'd':
case ... | [
"public boolean onKey() {\n\ttry {\n\t\tthis.action.invoke(this.receiver);\n\t\tif (this.message!=null) this.writer.println(this.message);\n\t\tthis.writer.flush();\n\t} catch (IllegalAccessException e) {\n\t\tSystem.err.println(e);\n\t\te.printStackTrace();\n\t} catch (InvocationTargetException e) {\n\t\tSystem.er... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Obtaining the reference to the local interface of an existing Service Session. | public synchronized AccessSessionLocal getAccessSession(String asid)
throws KernelException {
log.debug("-> start processing ...");
AccessSessionLocal ret = null;
try {
ret = this.repository.getAccessSession(asid);
log.debug("got the access session from repository");
} catch (KernelRepositoryException ... | [
"public IInterface queryLocalInterface(String descriptor);",
"public static com.mstar.tv.service.interfaces.ITvServiceServerPip asInterface(android.os.IBinder obj)\n{\nif ((obj==null)) {\nreturn null;\n}\nandroid.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);\nif (((iin!=null)&&(iin instanceof com.mstar... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a link to artwork, this is not recommended because the link may be broken if the mp3 or image file is moved | public TagField createLinkedArtworkField(String url)
{
AbstractID3v2Frame frame = createFrame(getFrameAndSubIdFromGenericKey(TagFieldKey.COVER_ART).getFrameId());
if (frame.getBody() instanceof FrameBodyAPIC)
{
FrameBodyAPIC body = (FrameBodyAPIC) frame.getBody();
... | [
"public String getLink(){\n\t\treturn \"http://open.spotify.com/artist/\" + SpotifyURI.toURI(this.id);\n\t}",
"public void setAlbumArt(String filename);",
"public String linkPreview() {\n\t\tNumber storyId = (Number)storedValueForKey(\"id\");\n\t\treturn ( new String ( Helpers.BaseStoryPreviewUrl() + storyId ) ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Declared at the super level | public int getKeyPartition(Object oKey)
{
// import com.tangosol.util.Binary;
return ((PartitionedCache) get_Module()).getKeyPartition((Binary) oKey);
} | [
"@Override\n }",
"@Override\n public void extornar() {\n \n }",
"public void method_5753() {\r\n super();\r\n }",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\r\n public void publicando() {\n }",
"@Override\n\tprotected void metprot() {\n\t\tsuper.m... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | private void Listener() {
scanf.setOnClickListener(scanfListener);
read.setOnClickListener(readListener);
colse.setOnClickListener(colseListener);
sleep.setOnClickListener(sleepListener);
week.setOnClickListener(weekListener);
} | [
"@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"
]
]
}
} |
use test local config | @Test
public void testSubscribeAll() throws Exception {
final Config testConfig = createConfig();
final EventSink sink = EventSink.instance(testConfig);
final EventSource source = EventSource.instance(testConfig);
final String testChannelName = "TestAllChannel";
final int ST... | [
"@Test\n public void configTest() throws Exception {\n }",
"@Before\r\n public void setUp() throws Exception {\r\n config = TestsHelper.getConfig();\r\n }",
"@Test\n public void readConfig(){\n assertTrue(app.ghosts.size() == 5);\n assertTrue(app.fruitLeft == 299);\n a... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Cancel discovery because it otherwise slows down the connection. | public void run() {
try {
if (mBluetoothAdapter != null) {
mBluetoothAdapter.cancelDiscovery();
}
} catch (NullPointerException w) {
Log.e(TAG, "adapter is not visible", w);
}
try {
// Con... | [
"public void cancelDiscoverDevice() {\n mESP8266Scaner.cancel();\n }",
"public void cancelScan() {\n\n mBluetoothAdapter.cancelDiscovery();\n\n }",
"public void internalStopDiscovery() {\n manager.stopPeerDiscovery(channel,\n new CustomizableActionListener(\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the ODK defined label for a OSM tag key if exists | public String getTagKeyLabel(String key) {
ODKTag tag = requiredTags.get(key);
if (tag != null) {
return tag.getLabel();
}
return null;
} | [
"@NonNull\n String getLabel();",
"public static String getLabel(String key) {\n \n if ( StringUtils.isBlank( key ) ) return curlyBracketLabelKey(\"\");\n \n Locale locale = SessionUtil.getLocaleInSession();\n String moduleName = SessionUtil.getModuleNameInSession();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
ClientOptions getClientOptions(); String getSourceElasticsearch(); | public boolean isIncreamentImport(); | [
"ElasticsearchClient client();",
"@Bean(name = \"elasticsearch-client\")\n\tpublic ElasticSearchClient elasticsearchClient() {\n\t\t// This dependency is needed for initializing context but is not used\n\t\treturn null;\n\t}",
"public interface ESClient\n{\n /**\n * This methods returns result of search ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
FALTA considerar no sobrepasar el limite del ancho y alto de la imagen | public ArrayList<Punto> contornear() {
ArrayList<Punto> puntosContorno = new ArrayList<>();
boolean encontrePrimerPixel = false;
int[] coor = new int[2];
Color color = Color.black;
int vengoDe = DIR_IZQUIERDA;
for (int i = 1; i < pixeles.length - 1 && !encontrePrimer... | [
"public void negativoImagen(){\n saveAll();\n\n try{\n \n NegativoOp negativo = new NegativoOp();\n negativo.filter(img, img);\n repaint();\n \n }catch(Exception e){\n System.err.println(\"Error \"+e.toString());\n } \n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub int ctr=0; | @Override
public void run() {
int n=1;
Dijkstra path = new Dijkstra();
try {
while(n!=0)
{
System.out.println(" **************************************************************************************");
System.out.println(" Welcome to Fedex Tracking System ");
System.out... | [
"public void setCtrNum(int ctrNum) {\n this.ctrNum = ctrNum;\n }",
"@Override\n\t\tpublic int c() {\n\t\t\treturn 0;\n\t\t}",
"@Override\r\n\tpublic int refCnt() {\n\t\treturn 0;\r\n\t}",
"public void setCounter(int c) { counter = c; }",
"public counter(){\r\n\t\tstate = 0... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Scales vector with given values. | public Vector scale(float sx, float sy, float sz) {
x *= sx;
y *= sy;
z *= sz;
return this;
} | [
"public void scale(double val) {\n x *= val;\n y *= val;\n z *= val;\n }",
"public void scale(float x);",
"public void scale(float val) {\n x *= val;\n y *= val;\n z *= val;\n }",
"public Vector scale(double scalar) {\r\n return performUnaryPiecewise(v -> v * scalar);\r\n }",
"public... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public void askForPin() {
} | [
"@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"
]
]
}
} |
The number of seats in the venue that are neither held nor reserved | public int numSeatsAvailable() {
int countAvailable = 0;
for(List<Seat> rowSeats : stadiumSeats) {
for(Seat seat: rowSeats) {
if (seat.getStatus() == SeatStatus.AVAILABLE) {
countAvailable = countAvailable + 1;
}
}
}
return countAvailable;
} | [
"@Override\n public int numSeatsAvailable() {\n return venue.getNumberOfAvailableSeats();\n }",
"public int econClassSeatCount()\r\n\t{\r\n\t\tint count=0;\r\n\t\tfor(int i=0; i<20;i++)\r\n\t\t{\r\n\t\t\tfor(int j=0;j<6;j++){\r\n\t\t\t\tif(economyClassSeats[i][j]==null){count++;}\r\n\t\t\t\t\r\n\t\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
public List list() ; | public void deleteMenuById(int id); | [
"public Object list() {\n\t\tSystem.out.println(\"list\");\r\n\t\treturn null;\r\n\t}",
"List asList();",
"public AList getList();",
"public List getList() {\n\t\treturn this.list;\n\t}",
"Collection<L> list();",
"@Override\n \tpublic void list() {\n\n \t}",
"public final List<T> getList(){\n ret... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end rule__BundleClass__Group__1 $ANTLR start rule__BundleClass__Group__1__Impl ../edu.kit.scc.cfeditor.cfengine.ui/srcgen/edu/kit/scc/cfeditor/cfengine/ui/contentassist/antlr/internal/InternalCfengineEditor.g:1704:1: rule__BundleClass__Group__1__Impl : ( '::' ) ; | public final void rule__BundleClass__Group__1__Impl() throws RecognitionException {
int stackSize = keepStackSize();
try {
// ../edu.kit.scc.cfeditor.cfengine.ui/src-gen/edu/kit/scc/cfeditor/cfengine/ui/contentassist/antlr/internal/InternalCfengineEditor.g:1708:1: ( ( '::' ) ... | [
"public final void rule__Class__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../it.univaq.coevolution.emfmigrate.ui/src-gen/it/univaq/coevolution/emfmigrate/ui/contentassist/antlr/internal/InternalEmig.g:5987:1: ( rule__Class__... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes a element from the last of the data | @Override
public E remove() {
return removeLast();
} | [
"public Object removeLast()\n {\n \n }",
"public V removeLast();",
"E removeLast ();",
"public T removeLast ();",
"@Override\n public void removeLastPoint() {\n data.remove(data.size()-1);\n }",
"private void deleteLastElement()\n\t{\n\t\t// No elements to remove\n\t\tif(this.size == 0)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jLabel1 = new javax.swing.JLabel();
jPanel1 = new javax.swing.JPanel();
botonSalas = new javax.swing.JButton();
botonEmpleado ... | [
"public StForm() {\n initComponents();\n }",
"public CineForm() {\n initComponents();\n }",
"public javaform() {\n initComponents();\n }",
"public EditDemographicForm() {\n initComponents();\n }",
"public FightForm() {\n initComponents();\n }",
"public For... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This is Instance method | public void instancemethod(){
System.out.println("Emon");
} | [
"@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 public void publicando() {\n }",
"protected Exam() {\n\t}",
"@Override\r\n\tpublic void hablar() {\n\t\t\r\n\t}",
"@Override\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates Arraylist for medicalJobTitle | public void medicalJobTitle() {
medicalTitlesList = new ArrayList<String>(5);
medicalTitlesList.add("General Vet");
medicalTitlesList.add("Head Vetrinary Surgeon");
medicalTitlesList.add("Vetrinary Surgeon");
medicalTitlesList.add("Nurse");
medicalTitlesList.add("anaesthesiologist");
} | [
"public List<JobTitleMapping> getJobTitles() {\n logger.info(\"Finding job titles\");\n return jobTitleRepository.findAllJobTitles();\n }",
"@Override\r\n\tpublic List<JobTitle> getJobTitles(int employee_type) {\n\t\treturn jobTitles;\r\n\t}",
"private void buildArrayListOfNames() {\n fo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Vrne starost osebe v podanem letu. | public int starost(int leto) {
return (leto - this.letoRojstva);
} | [
"@Override\n\tpublic void zavrsenaKupovina() {\n\t\t\n\t}",
"public Levyt(){\n\t\t\t//oletus muodostaja\n\t\t}",
"@Override\r\n\tpublic void wydaj() {\n\t\t\r\n\t}",
"private void escribirEnPantalla() {\n }",
"@Override\n\tpublic void GanharVida() {\n\t\t\n\t}",
"public void ordena() {\n\t\t\n\t}",
"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column ecoregion.ecoregion_number | public void setEcoregionNumber(Integer ecoregionNumber) {
this.ecoregionNumber = ecoregionNumber;
} | [
"public void setRegionNumber(int regionNbr)\r\n {\r\n regNum = regionNbr;\r\n }",
"public void setRegion_id(int region_id){\r\n this.region_id = this.region_id;\r\n }",
"public void setRegionId(int val) {\n regionId = val;\n }",
"public void setREGION(BigDecimal REGION) {\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Make sure the path to the file exists | public static void downloadURLNow(URL url, File to, SHA1Sum sha1,
boolean force) throws Exception {
{
String sep = System.getProperty("file.separator");
String folders = to.getPath();
String path = "";
for (int i = 0; i < folders.length(); i++) {
path += folders.charAt(i);
if (path.endsWith(sep... | [
"public boolean checkExistsThrow(String path);",
"public static void checkFile(String path) {\n File file = new File(path);\n if (!file.exists()) {\n file.mkdirs();\n }\n }",
"public void createFileIfNotExist();",
"private void isFileExist() {\r\n\t\tif (file.exists()) {\r\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Utility method that consults ParserService | public static IParser getParser(IElementType type, EObject object, String parserHint) {
return ParserService.getInstance().getParser(new HintAdapter(type, object, parserHint));
} | [
"public abstract CParser getParser();",
"public interface ParserService {\n\n void parseBAM(File BAMFile);\n\n void parseVCF(File VCFFile);\n\n void parseSATA(File SATAFile);\n\n}",
"yandex.cloud.api.datatransfer.v1.endpoint.Parsers.Parser getParser();",
"protected Parser() {}",
"ParserInfo info()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Derived classes can override this method in order to do whatever is necessary to enter started state. | protected void doStart() throws ServiceException {
// intentionally left empty
} | [
"public abstract void started();",
"@Override\n\tpublic void starts()\n\t{\n\t\t\n\t}",
"@Override\n\t\t\t\t\t\t\t\tpublic void start() {\n\n\t\t\t\t\t\t\t\t}",
"public void start()\r\n\t{\r\n\t\tdoOver();\r\n\t\t\tstartDate = new Date();\r\n\t\t\tstartDateString = startDate.toString();\r\n\t\tstatus = \"In P... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(cameraIntent, CAMERA_PIC_REQUEST);
} | [
"@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"
]
]
}
} |
Writes an Object line into "print.log" File, as well as through System Out Print Line | public static void fileWriterPrinter(Object printLine)
throws NumberFormatException, IOException {
// Create File:
File f = new File(Locators.testOutputFileDir + "print.log");
// Write or add a String line into File:
FileWriter fw = new FileWriter(f, true);
PrintWriter pw = new PrintWriter(fw);
pw.printl... | [
"public void writeLine(Object object) {\n\t\tpublish(object.toString() + \"\\n\");\n\t}",
"public void println(Object obj) {\n outputStream.println(obj);\n }",
"public void writeLineOnFileAndPrint(String line) {\n\t\tSystem.out.println(line);\n\t\t// Write all printed text in file\n\t\ttry {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Initializes states of the controls. | private void initializeValues() {
// Set remembered values
IDialogSettings settings = getDialogSettings();
if (settings != null) {
if ((style & HOST) != 0) {
String[] hostNames = settings.getArray(STORE_HOSTNAME_ID);
if (hostNames != null) {
for (int i = 0; i < hostNames.length; i++) {
... | [
"private void initControls() {\n \n }",
"public void initializeControls ();",
"protected void initializeStates() {\n\t\t// Set our LoadingState to exit to our MainMenuState when loading is complete.\n\t\tloadingState().setExitState(mainMenuState());\n\t\t//loadingState().setExitState(new SurvivalLevel... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and `cloud_sql_ipv4_cidr_block`. This field is supported for Cloud Composer environments in versions composer1..airflow... string web_server_ipv4_cidr_block = 3 [(.goog... | public Builder setWebServerIpv4CidrBlock(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webServerIpv4CidrBlock_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
} | [
"public java.lang.String getServiceIpv4CidrBlock() {\n java.lang.Object ref = serviceIpv4CidrBlock_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
see also / amplification of ch.qos.logback.core.joran.util.PropertySetterTestbridgeMethodsShouldBeIgnored | @org.junit.Test(timeout = 10000)
public void bridgeMethodsShouldBeIgnored_cf37_cf512_cf10993() {
ch.qos.logback.core.joran.util.Orange orange = new ch.qos.logback.core.joran.util.Orange();
ch.qos.logback.core.joran.util.PropertySetter orangeSetter = new ch.qos.logback.core.joran.util.PropertySetter(... | [
"@Test\n public void out_msg_setter() throws Exception {\n\n }",
"public void testSetVerboseLoggingAccuracy() throws Exception {\n bean.setVerboseLogging(false);\n assertFalse(\"should be false\", bean.isVerboseLogging());\n }",
"void testSettingEventProperties() {\n\t\t\n\t}",
"@Test\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds the RTP stream listener | public void addRtpStreamListener(RtpStreamListener rtpStreamListener) {
this.rtpStreamListener = rtpStreamListener;
} | [
"public void setZrtpListener(ZrtpListener zrtpListener);",
"@Override\n public void onAddStream(MediaStream mediaStream) {\n Log.d(TAG, \"onAddStream \" + mediaStream.label());\n // remote streams are displayed from 1 to MAX_PEER (0 is localStream)\n mListener.onAddRemoteSt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get token desde el authorization header | public static Authentication getAuthentication(HttpServletRequest request){
String token = request.getHeader("Authorization");
if(token!=null){
String user = Jwts.parser()
.setSigningKey(SIGNINGKEY)
.parseClaimsJws(token.replace(PREFIX, "")).getBody().getSubject();
if(user!=null)
return new User... | [
"TokenResponse getToken(String token);",
"private String getToken( HttpServletRequest request ) {\n\tString authHeader = request.getHeader( TokenProvider.HEADER_STRING );\n\tif ( authHeader != null ) {// && authHeader.startsWith( TokenProvider.TOKEN_PREFIX ) ) {\n\t return authHeader;//.replace( TokenProvider.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Query DB table makeploy_partner for records. The sql statement for this operation is select from makeploy_partner | public List<PartnerDO> checkOutYesOrNot() throws DataAccessException; | [
"Response showPartnerList(Partner partner);",
"public boolean partnerIdExist(int parnerId) throws SQLException\r\n {\r\n PreparedStatement prep=this.connection.prepareStatement(\"SELECT * FROM `partner` WHERE `partnerId`=?\");\r\n prep.setInt(1, parnerId);\r\n return prep.executeQuery().fi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use this factory method to create a new instance of this fragment using the provided parameters. | public static ExportFragment newInstance(String param1, String param2) {
ExportFragment fragment = new ExportFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
} | [
"public static PostFragment newInstance() {\n PostFragment fragment = new PostFragment();\n// Bundle args = new Bundle();\n// args.putString(ARG_PARAM1, param1);\n// args.putString(ARG_PARAM2, param2);\n// fragment.setArguments(args);\n return fragment;\n }",
"public H... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
si es NIE, eliminar la x,y,z inicial para tratarlo como nif | private boolean validarDni() {
String nif = DniV.getText().toString();
if (nif.toUpperCase().startsWith("X") || nif.toUpperCase().startsWith("Y") || nif.toUpperCase().startsWith("Z"))
nif = nif.substring(1);
Pattern nifPattern = Pattern.compile("(\\d{1,8})([TRWAGMYFPDXBNJZSQVHLCKEtr... | [
"public void removeNoInicioDaFilaCanvas(){\r\n \r\n //remove o primeiro elemento;\r\n remover(0);\r\n \r\n //move todos os elementos;\r\n for(int i = 0; i < p.size(); i++){\r\n p.get(i).coordX = p.get(i).coordX - 70;\r\n }\r\n }",
"public void cancell... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO Autogenerated method stub | protected void selectedTableRow(MouseEvent me) {
DefaultTableModel dft = (DefaultTableModel) ModuleListTable.getModel();
regnoTextField.setText(dft.getValueAt(ModuleListTable.getSelectedRow(), 0).toString());
modnametextField.setText(dft.getValueAt(ModuleListTable.getSelectedRow(), 1).toString());
text... | [
"@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"
]
]
}
} |
Restituisce la data di inizio del lavoro sotto forma di stringa. | public String getStrDataInizio() {
SimpleDateFormat df = new SimpleDateFormat();
df.applyPattern("yyyy-MM-dd");
return df.format(dataInizio.getTime());
} | [
"java.lang.String getOriginalDataStr();",
"public abstract String dataString();",
"public String getDataToString() {\r\n\r\n\t\treturn String.format(\"%02d/%02d/%04d\", getDia(), getMes(), getAno());\r\n\t}",
"String convData(int dia, int mes, int ano) {\r\n\t\treturn new String(\"'\" + ano + \"-\" + (mes + 1... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a listing of all dogs of a specified breed. | @GetMapping("/breeds/{breed}")
public Resources<Resource<Dog>> findByBreed(@PathVariable String breed) {
List<Resource<Dog>> dogs = DOG_REPO.findByBreed(breed).stream()
.map(ASSEMBLER::toResource)
.collect(Collectors.toList());
return new Resources<>(dogs,
linkTo(methodOn(... | [
"List<Drug> getAllDrugs();",
"List<Listing> allDogs();",
"public List<Dog> getSwipeableDogsWithGenderAndBreed(User user) {\n\t\t\t\n\t\t\treturn dogDao.findSwipeableDogsWithGenderAndBreed(user.getId(), user.getGenderPreference(), user.getBreedPreference());\n\t\t}",
"public void getBreed()\r\n {\r\n\t Sys... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional .NodeId node = 1; | public Builder setNode(
com.torrent.gen.Torr.NodeId.Builder builderForValue) {
if (nodeBuilder_ == null) {
node_ = builderForValue.build();
onChanged();
} else {
nodeBuilder_.setMessage(builderForValue.build());
}
return this;
} | [
"Protobuf.NodeIdOrBuilder getNodeOrBuilder();",
"public NodeImpl(int id) {\n this.id = id;\n }",
"public Node( String id )\r\n {\r\n super( id );\r\n }",
"private VariableNode() {}",
"public Node(){\n data = 0;\n link = null;\n }",
"public NodeID\n getNodeID() \n {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Removes all time of impact listeners from this world. | public void removeAllTimeOfImpactListeners(); | [
"public void removeAllGameStateListeners();",
"public void clearListeners () {\r\n listeners.clear();\r\n }",
"void removeListeners();",
"public void removeAllListeners() {\n clientgui.getClient().getGame().removeGameListener(this);\n clientgui.getBoardView().removeBoardViewListener(th... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Parse content range from header for byterange only. | public static ByteRange parseContentRange(String contentRange) {
Matcher matcher = CONTENT_RANGE_HEADER_PATTERN.matcher(contentRange);
if (!matcher.matches()) {
throw new RangeFormatException("Invalid content-range format: " + contentRange);
}
String start = requireNonNull(matcher.group(1));
S... | [
"private ContentRange parseContentRange( String contentRangeLine )\r\n throws WrongHTTPHeaderException\r\n {\r\n try\r\n {\r\n ContentRange range = new ContentRange();\r\n String line = contentRangeLine.toLowerCase( Locale.US );\r\n // skip over bytes plus ex... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the request URI | public void setUri(@Nonnull String uri) {
this.uri = uri;
} | [
"void setUri(String theUrl);",
"@Override\n public HttpRequestImpl addUri(String uri) {\n this.uri = uri;\n return this;\n }",
"public String getRequestUri();",
"@Override /* HttpUriRequest */\r\n\tpublic URI getURI() {\r\n\t\treturn request.getURI();\r\n\t}",
"public String getRequestUR... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |