query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
Fired when the server stops and disables all plugins Prevent memory leaks. Make sure this is executed as last thing on disable! | @Override
public void onDisable()
{
plugin = null;
} | [
"@Override\n public void onDisable() {\n try {\n System.out.println(\"Cleaning Dynamic Server System Processes.\");\n for (MinigameServer minigameServer : dynamicServerSystemManager.getServers())\n minigameServer.deleteServer();\n\n // Clean the output direc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks if all players are ready to launch. | public boolean isAllPlayersReadyToLaunch() {
Iterator<Player> playerIterator = getPlayerIterator();
while (playerIterator.hasNext()) {
Player player = playerIterator.next();
if (!player.isReady()) {
return false;
}
}
retur... | [
"public boolean allPlayersReady() {\r\n for (Player player : players) {\r\n if (!player.isReady()) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }",
"public boolean checkIfAllPlayersReady() {\n\t\t\t// when max number of users has not been reache... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
this determines the squares attacked pieces 0 15 = black; pieces 16 31 = white 0 square not attacked 1 square attacked by white 2 square attacked by black 3 square attacked by both | public void squaresAttacked(){
int[][] squares = new int[SQUARE_LENGTH][SQUARE_LENGTH];
for (int i = 0; i < BOARD_LENGTH; i++)
for (int j = 0; j < BOARD_LENGTH; j++)
squares[i][j] = 0;
for(AbstractPiece p : pieces)
p.squaresAttacked(squares);
for (int i = 0; i < BOARD_LENGTH; i++) // this displays... | [
"boolean attack(int sq, int s) {\n\tlong attackSq = (1L << sq);\n\tif (s == LIGHT) {\n\tlong moves = ((pawnBits[LIGHT] & 0x00fefefefefefefeL) >> 9)\n\t& attackSq;\n\tif (moves != 0)\n\treturn true;\n\tmoves = ((pawnBits[LIGHT] & 0x007f7f7f7f7f7f7fL) >> 7) & attackSq;\n\tif (moves != 0)\n\treturn true;\n\t} else {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
get annotation field type in acroForm. this can be invoked after ObjsStart or Render or RenderToBmp. this method valid in premium version | public int GetAnnotFieldType( int annot )
{
return getAnnotFieldType( hand, annot );
} | [
"com.google.cloud.datalabeling.v1beta1.AnnotationType getAnnotationType();",
"com.sagas.meta.model.MetaFormFieldType getFieldType();",
"@ApiModelProperty(example = \"null\", required = true, value = \"The type of data this custom field holds: text, date or dropdown\")\n public String getFIELDTYPE() {\n retu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Alarm result processed. After alarm result processed. | protected void postAlarmResultProcessed(List<AlarmResult> results) {
Map<Integer, TemplateContactWrapper> contactMap = new HashMap<>();
for (AlarmResult result : results) {
// Check
AlarmConfig config = result.getAlarmConfig();
if (config == null) {
continue;
}
AlarmTemplate tpl = config.... | [
"private void entryAction_main_region_digitalwatch_Alarm_AlarmOn() {\n\t\tsCILogicUnit.operationCallback.setAlarm();\n\t\t\n\t\tsCIDisplay.operationCallback.refreshAlarmDisplay();\n\t}",
"protected void process() {\n MonitoringEngine.getInstance().compositeMonitorCompleted(this);\n super.process();\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Configures and populates the minimum temperature series. | private void setMinTempSeries(List<TemperatureHours> minTempValues) {
minTempSeries = new XYChart.Series();
for(TemperatureHours item : minTempValues) {
minTempSeries.getData().add(new XYChart.Data(item.getHour(), item.getTemperature()));
}
} | [
"private void readMinTemperatureValues(XmlPullParser xpp)\n throws XmlPullParserException, IOException\n {\n this.forecast.setMinTemperatures(readTemperatureValues(xpp));\n }",
"private void setLowSeries() {\n lowSeries = new XYChart.Series();\n lowSeries.setName(\"The Stock ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds a Thread to a Category and returns the ID. | int addThread(String name, int catID, int authID); | [
"void threadAdded(String threadId);",
"public int addCategory(long userId, String categoryName);",
"public void addThread(final ForumTopic topic) {\n \t\tfinal Label label = new Label(\"<div class='category'>\"\n \t\t\t\t+ topic.getName() + \"</div>\");\n \t\ttopics.add(topic);\n \t\tlabel.addClickHandler(new C... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the comparator which compares two given references, which represent heads (leaves) of the log graph, by their expected position in the log graph. The comparison result is used in graph layout to choose which branch should be laid at the left, and which at the right. This layout order should be kept between log ... | @NotNull
Comparator<VcsRef> getBranchLayoutComparator(); | [
"public static Comparator<MultiplePathsFromGCRootsRecord> getComparatorByReferencedHeapSize() {\n return new Comparator<MultiplePathsFromGCRootsRecord>() {\n\n public int compare(MultiplePathsFromGCRootsRecord o1, MultiplePathsFromGCRootsRecord o2) {\n try {\n if (o1.getReferencedHeapSize() ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Extract len2 digits from n2 at off2 and copy into n1 at off1 | public static void extract (int []n1, int off1, int n2[], int off2, int len2) {
for (int i = 0; i < len2; i++) {
n1[off1+i] = n2[off2+i];
}
} | [
"public String multiply_2(String num1, String num2) {\n\t int m = num1.length(), n = num2.length();\n\t int[] pos = new int[m + n];\n\t \n\t for(int i = m - 1; i >= 0; i--) {\n\t for(int j = n - 1; j >= 0; j--) {\n\t int mul = (num1.charAt(i) - '0') * (num2.charAt(j) - '0'); \n\t ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
optional .alluxio.grpc.file.GetUfsInfoPOptions options = 2; | public alluxio.grpc.GetUfsInfoPOptions getOptions() {
return options_ == null ? alluxio.grpc.GetUfsInfoPOptions.getDefaultInstance() : options_;
} | [
"public alluxio.grpc.GetUfsInfoPOptionsOrBuilder getOptionsOrBuilder() {\n return options_ == null ? alluxio.grpc.GetUfsInfoPOptions.getDefaultInstance() : options_;\n }",
"public alluxio.grpc.GetUfsInfoPOptionsOrBuilder getOptionsOrBuilder() {\n if (optionsBuilder_ != null) {\n return optionsBuil... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the fighters being drawn to the current fighters and redraws the screen | public void draw(Fighter[] fs)
{
this.dFs = fs; //sets the fighters that are used for drawing to the current fighters
repaint(); //calls calls the paint function
} | [
"public void startSimulation(ArrayList<Fighter> fighters) {\r\n\r\n\t\t// Calculate values\r\n\t\tfor (int i = 0; i < fighters.size(); i++)\r\n\t\t\tfighters.get(i).calibrateAttributes();\r\n\t\t\r\n\t\tSystem.out.println(fighters);\r\n\r\n\t\t//Set location for player1 and 2\r\n\t\tfighters.get(0).setLocation(0);\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
emit invoke method, inherited JP.go.ipa.oz.system.OzObject, definition | private void emitInvoke () {
Emitter.emit ("protected Object invoke (" + School.CELL + " o) ");
Emitter.emit ("throws Exception {");
Emitter.indentPush ();
Emitter.emitln ();
Emitter.emitln ("if (part != " + part_no + ") return super.invoke (o);");
Emitter.emitln ();
String global_c... | [
"abstract protected Object invoke0 (Object obj, Object[] args);",
"@Override\n\tpublic void outAMethodCallExpr(AMethodCallExpr node){\n\t\tString methodName = node.getId().getText();\n\t\tType targetType = nodeTypes.get(node.getTarget());\n\t\tboxIt(targetType); \n\t\tClassAttributes targetClass = topLevelSymbolT... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Function to return an observable list of Airlines which have been loaded from the database | public ObservableList<Airline> loadAirlines(Connection conn, HashMap<String, Airline> airlineIATAHashMap) {
ObservableList<Airline> airlines = FXCollections.observableArrayList();
try {
//Create a statement and execute the query to get all airlines from the database
Statement st... | [
"Iterable<Airline> getAirlines();",
"List<Airline> findAll();",
"@Override\r\n\tpublic Iterable<Airline> viewAllAirport() {\r\n\t\treturn airportDao.findAll();\r\n\t}",
"public List<String> getAirlines(){\n List<String> airlines = new LinkedList<String>();\n for (Flight flight : flights) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Check if the given user api key is the admin user. | public boolean isAdminUser ( String apiKey )
{
return fAdminUserKey != null && fAdminUserKey.equals ( apiKey );
} | [
"public boolean isCurrentUserAdmin(){\n if (getAdminUserFromId(currentUserId)!=null){\n return true;\n }\n else{\n return false;\n }\n }",
"public boolean hasAdminUser ()\n\t{\n\t\treturn fAdminUserKey != null;\n\t}",
"public boolean checkAdmin()\r\n\t{\r\n\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Override the CellAdapter default sendMessage() so we simply display an error message if we get an exception. | @Override
public void sendMessage( CellMessage msg) {
try {
super.sendMessage(msg);
} catch( NoRouteToCellException e) {
_log.info( "Cannot route message to cell, refraining from delivering msg.", e);
}
} | [
"@Override\n public void onSendError(String msgId, String error) {\n }",
"private void send(final MessageRow messageRow) {\n // add sanity check\n if (null == messageRow) {\n return;\n }\n\n final Event event = messageRow.getEvent();\n\n if (!event.isUndeliverab... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method to retrieve unit Ammunition | public String getUnitAmmunition(){
return mUnitAmmunition;
} | [
"String getUnit();",
"Unit getUnit();",
"String getUnitMult();",
"public Unit getUnit();",
"public int getUnit()\n {\n\treturn opfacData.getUnit();\n }",
"public Unit getUnit(){\r\n return currentUnit;\r\n }",
"public Unit getUnit() {\n \t\treturn this.unit;\n \t}",
"public AIUnit getA... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Switching btns Play and Pause in UI and sending command to Service via localBroadcastManager | private void switchPlayPause(){
Intent mSwitchPlayStatus = new Intent(BROADCAST_switchPlayStatus);
if (mIsPlaying==1) {
mSwitchPlayStatus.putExtra("switchPlayStatus", 1);
sBtn_PlayResume.setImageResource(R.drawable.select_btn_play);
} else if (mIsPlaying==2){
... | [
"public void onMediaPlayPauseClick(View v) {\n// Intent i = new Intent(Intent.ACTION_MEDIA_BUTTON);\n// i.putExtra(Intent.EXTRA_KEY_EVENT,new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE));\n// getActivity().sendOrderedBroadcast(i, null);\n//\n// i = new Intent(Intent... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Inserts multiple alarms into the database | @Insert
long[] insertAll(Alarm[] alarms); | [
"@Insert\n void insertAll(Measurement... measurements);",
"public void addRepeats(Connection connection, StoreData data){\n\t\t//This code is used to prepare a statement to be sent to the database\n\t\t//getting the rest of the data from the current event\n\t\tPreparedStatement preStmt=null;\n\t\tStoreData the... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the alternateFormOf value for this Array. | public void setAlternateFormOf(java.lang.String alternateFormOf) {
this.alternateFormOf = alternateFormOf;
} | [
"public void setAlternateNameArray(gov.ucore.ucore._2_0.ExtendedStringType[] alternateNameArray)\n {\n synchronized (monitor())\n {\n check_orphaned();\n arraySetterHelper(alternateNameArray, ALTERNATENAME$0);\n }\n }",
"public void setAlternateNameArray(int i, gov... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Persist a previously saved PtJJdwcy entity and return it or a copy of it to the sender. A copy of the PtJJdwcy entity parameter is returned when the JPA persistence mechanism has not previously been tracking the updated entity. | public PtJJdwcy update(PtJJdwcy entity); | [
"public void save(PtJJdwcy entity);",
"public void save(HrJWorkcontract entity) throws DataChangeException;",
"@Command\n @NotifyChange({\"wowCharacters\", \"currentWowCharacter\"})\n public void save() {\n EntityManager em = DesktopEntityManagerManager.getDesktopEntityManager();\n Transacti... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
.com.yicheng.protos.BaseRequest baseRequest = 1; | com.yicheng.protos.JttProtocol.BaseRequestOrBuilder getBaseRequestOrBuilder(); | [
"com.yicheng.protos.JttProtocol.BaseRequest getBaseRequest();",
"net.iGap.proto.ProtoRequest.Request getRequest();",
"top.itcat.pb_gen.common.Base.BaseResponse getBase();",
"net.iGap.proto.ProtoRequest.RequestOrBuilder getRequestOrBuilder();",
"netty.framework.messages.TestMessage.TestRequest getRequest();"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Place a demon to the area with the given ID. Also, the City Area card corresponding to that area is disabled (it will only be enabled again if the demon is removed). | public boolean placeDemon(int areaID) {
// Check if the building owner can protect his building
BoardArea boardArea = gameBoard.get(areaID);
if (boardArea.hasBuilding()) {
Player buildingOwner = players.get(boardArea.getBuildingOwner());
if (buildingOwner.canProtectPieces() && willProtectPiece(building... | [
"public boolean removeDemon(int areaID) {\r\n\t\tBoardArea affectedArea = gameBoard.get(areaID);\r\n\t\tif (affectedArea.getDemonCount() == 1) {\r\n\t\t\tsetCityAreaCardState(areaID, (player, area) -> player.enableCityAreaCard(area));\r\n\t\t}\r\n\t\treturn affectedArea.removeDemon();\r\n\t}",
"public void placeD... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ Test CreatePii with correct parameters Given the creation of the Pii encounters problems The PiiController should call PiiService to store the Pii The PiiController should have no interaction with PiiUniqueDao The PiiController should return a Response with status 500 and no content | @Test
public void testCreateCorrectParamCreationPb() {
StickyPolicy sPolicy = PolicyGenerator.buildStickyPolicy();
final String owner = ""+1;
FormDataContentDisposition fileDetail = FormDataContentDisposition.name("file").fileName("test.jpg").build();
InputStream uploadedInputStream = null;
try {
uploa... | [
"@Test\n public void testPrepareCreate() {\n \n CuestionarioController instance = new CuestionarioController();\n Cuestionario expResult = null;\n Cuestionario result = instance.prepareCreate();\n assertEquals(expResult, result);\n\n }",
"@Test\n\tpublic void testCreateCorrectP... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
since we work directly on the log event list from the log event store, there is no need to set the logEvents here... fire model changed | public void logEventStoreChanged(LogEventStoreEvent event) {
fireModelChangedEvent(LogEventTableModelReasonForChange.logEventsChanged);
// set status messageColumnTitle request
sendSetStatusMessageRequest();
} | [
"public void doSomeChanges() {\n\n eventBus.publish(\"our.event.coming.from.model\", \"some data passed\");\n }",
"public void fireModelChanged() {\n if (enabled)\n for (IInifileChangeListener listener : getListeners())\n listener.modelChanged();\n }",
"public void ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets kafka message sender pool. | public void setKafkaMessageSenderPool(MessageSenderPool<byte[], byte[]> kafkaMessageSenderPool) {
this.kafkaMessageSenderPool = kafkaMessageSenderPool;
} | [
"public MessageSenderPool<byte[], byte[]> getKafkaMessageSenderPool() {\n return kafkaMessageSenderPool;\n }",
"public final void setSender(ActorRef<T> sender) {\n this.sender = sender;\n }",
"public void setSender(Sender sender) {\n this.sender = sender;\n }",
"private void star... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Java 8 implementation of Given/When/Then steps for complete form feature. Opens a new browser at the beginning of each scenario, completes the steps and closes the browser at the end. | public FormSteps() {
Before(body -> {
driver.createBrowserDriver();
navigation = new Navigation(driver);
});
Given("^the form page is visited", () -> {
navigation.loadPage("http://localhost:8080/kotlin-mvc/manosMaker");
});
Given("^the user com... | [
"@Given(\"^Open browser and enter url$\")\n\tpublic void open_browser_and_enter_url() throws Throwable \n\t{\n\t\t\n\t\ttry {\n\t\t\ttest = extent.createTest(Feature.class, \"Revolut Testing Suite\");\t\t\t\t\t\t\t\n\t\t\ttest=test.createNode(Scenario.class, \"Search String and Verify the Search Result\");\t\t\t\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the '_2320MOA09NonpayableProfessionalComponentAmount' field | public java.lang.CharSequence get2320MOA09NonpayableProfessionalComponentAmount$1() {
return _2320MOA09NonpayableProfessionalComponentAmount;
} | [
"public java.lang.CharSequence get2320MOA09NonpayableProfessionalComponentAmount$1() {\n return _2320MOA09NonpayableProfessionalComponentAmount;\n }",
"public boolean has2320MOA09NonpayableProfessionalComponentAmount$1() {\n return fieldSetFlags()[8];\n }",
"public void set2320MOA09NonpayableProfess... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the profileName value for this WSUserAccess. | public void setProfileName(java.lang.String profileName) {
this.profileName = profileName;
} | [
"public void setProfile_Name(java.lang.String profile_Name) {\n this.profile_Name = profile_Name;\n }",
"public void setProfileName(String profileName) {\n this.profileName = profileName == null ? null : profileName.trim();\n }",
"public void setPROFILE_NAME(String PROFILE_NAME) {\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the rmic attributes, which are stored in the Rmic task. | void setRmic(Rmic attributes); | [
"void setAttributes(Attributes attributes);",
"public void setRmicoptions(String options) {\n this.rmicOptions = options;\n }",
"private void setAttributesForGroupResourceAttributesTest() throws Exception {\n\t\t//get impl object\n\t\tattributesManagerBl = getTargetObject(perun.getAttributesManagerB... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
delete custom rule real | GeneralResponse<?> deleteCustomRuleReal(Rule rule) throws UnExpectedRequestException; | [
"public void deRegisterRule(Rule rule) {\n\t}",
"void deleteRule(Integer ruleId);",
"void deleteGlobalRule(RuleType rule) throws RuleNotFoundException, RegistryStorageException;",
"void deleteTAlgmntBussRule(Integer ruleId);",
"@Override\n\tpublic void removeRule(Rule rule) {\n\t\tmyRuleManager.removeRule(r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the holiday master. | @Override
public HolidayMaster getHolidayMaster() {
return _toolContext.getHolidayMaster();
} | [
"public String getHoliday() {\n return holiday;\n }",
"public long getHolidayId() {\n\t\treturn holidayId;\n\t}",
"public Holiday<GregorianCalendar> getHoliday() {\n return _holiday;\n }",
"@Override\n public HolidaySource getHolidaySource() {\n return _toolContext.getHolidaySource();\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the expenseAccountNumber attribute. | public String getExpenseAccountNumber() {
return expenseAccountNumber;
} | [
"public String getIncomeAccountNumber() {\n return incomeAccountNumber;\n }",
"public Account getExpenseAccount() {\n return expenseAccount;\n }",
"public static int getAccountNumber() {\n return numberAccount;\n }",
"public Integer getAccountNo() {\n return accountNo;\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
funcion para desactivar todos los botones :v | public void DesactivarVictoria(){
this.Btn00.setEnabled(false);
this.Btn01.setEnabled(false);
this.Btn02.setEnabled(false);
this.Btn03.setEnabled(false);
this.Btn04.setEnabled(false);
this.Btn10.setEnabled(false);
this.Btn11.setEnabled(false);
this.Btn12.s... | [
"public void desactivarBotones() {\n\t\tfor (JButton f[] : lBotones) {\n\t\t\tfor (JButton c : f) {\n\t\t\t\tc.removeActionListener(listBoton);\n\t\t\t\t}\n\t\t}\n\t}",
"public void bloquearBotones() {\n \n for (Component c: tlb_modulos.getComponents())\n c.setEnabled(false);\n \n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the OPeNDAP ready data access URL for a particular variable via the XPath of the variable (strips off the var) | public String getDataObjectURL(String xpathValue) throws LASException, JDOMException {
String url = getFullDataObjectURL(xpathValue);
if ( url.contains("#")) {
url = url.substring(0,url.indexOf("#"));
}
return url;
} | [
"public String getFullDataObjectURL(String xpathValue) throws LASException, JDOMException {\n /*\n * We know this is a variable XPath. If it's \"old style\" fix it.\n */\n if (!xpathValue.contains(\"@ID\")) {\n String[] parts = xpathValue.split(\"/\");\n // Throw... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Increments the worker count for given blockId. | @Nonnull
public Long increment(@Nonnull final String blockId) {
return current.get(blockId).count().incrementAndGet();
} | [
"@Nonnull\n public Long incrUnblocked(@Nonnull final String blockId) {\n return current.get(blockId).unblocked().incrementAndGet();\n }",
"public void count() {\n\t\tcurrentWork++;\n\t}",
"public static void incNumWorkers() {\n \tincNumWorkers(1);\n }",
"private byte[] increment... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This provides a way to store the tenant Loan Product Information on the lending gateway | @RequestMapping(value = "/loanproducts",
method = RequestMethod.GET,
produces = MediaType.APPLICATION_JSON_VALUE)
@Timed
public ResponseEntity<?> createLoanProducts(@RequestParam(value = "tenantName") String tenantName) {
log.debug("Rest request to save loan products : {}" );
HttpHeaders textHttpHe... | [
"public BusinessPartner<T> addTenant(String orgNo, String countryCode, String name, Properties props);",
"Product storeProduct(Product product);",
"public void setProduct(entity.APDProduct value);",
"protected void allocateTenant() {\n if (!MULTITENANT_FEATURE_ENABLED.contains(dbType)) {\n r... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
time Zimbra version was last checked successfully | @ZAttr(id=1057)
public String getVersionCheckLastSuccessAsString() {
return getAttr(Provisioning.A_zimbraVersionCheckLastSuccess, null);
} | [
"@ZAttr(id=1057)\n public Date getVersionCheckLastSuccess() {\n return getGeneralizedTimeAttr(Provisioning.A_zimbraVersionCheckLastSuccess, null);\n }",
"@ZAttr(id=1056)\n public Date getVersionCheckLastAttempt() {\n return getGeneralizedTimeAttr(Provisioning.A_zimbraVersionCheckLastAttempt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method dedups the patterns which are exactly same but may be having different subsets to be answered like ABC is answering AB and C, ABC is answering A and BC, but we can have only single patterns ABC with all 4 subsets answering. | private List<OptimalDSetCandidateDimensionPattern> deDupBasedOnSameDimensionPatterns (
List<OptimalDSetCandidateDimensionPattern> currentLevelPatterns) {
List<OptimalDSetCandidateDimensionPattern> deDupedCandidatePatterns = new ArrayList<OptimalDSetCandidateDimensionPattern>(
currentLev... | [
"private List<OptimalDSetCandidateDimensionPattern> deDupBasedOnAllSubSetsAnswered (\n List<OptimalDSetCandidateDimensionPattern> restructuredPatterns) {\n List<OptimalDSetCandidateDimensionPattern> deDupedCandidatePatterns = new ArrayList<OptimalDSetCandidateDimensionPattern>(\n restr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the number of words stored in SingleWordCounter | public int getNumWords() {
// TODO: count the number of distinct words,
// ie. the number of non-null counter objects.
int count = 0;
for (int i = 0; i < counters.length; i++){
if (counters[i] != null) {
count++;
}
}
return count;
... | [
"int getWordCount();",
"int getNumberOfWords();",
"public int getNumOfWords(){\n\t\treturn words.size();\n\t}",
"public int getWordCount() {\n int count = lexicon.size();\n return count;\n }",
"public int getWordCount()\r\n {\r\n return words.size();\r\n }",
"public int getWordCou... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
View for the current level Main game loop. Returns when there are no more levels or the player gives up. | private void run() {
int num = 0; // Current level number
while (loadLevel(++num))
if (!playLevel() || !view.question("Next")) {
exit("Bye.");
return;
}
exit("No more Levels");
} | [
"public int getCurrentLevel();",
"private void run() {\n int num = 0; // Current level number\n while (loadLevel(++num))\n if (!playLevel() || !win.question(\"Next level\")) {\n exit(\"Bye.\");\n return;\n }\n exit(\"No more Levels\");\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true if the effective window of this overlaps with the effective window of other. | public boolean isOverlap(entity.SimpleEffDated other) {
return ((com.guidewire.pc.domain.product.SimpleEffDatedPublicMethods)__getDelegateManager().getImplementation("com.guidewire.pc.domain.product.SimpleEffDatedPublicMethods")).isOverlap(other);
} | [
"public boolean overlaps(Interval other) {\n return distance(other) < 0f;\n }",
"boolean overlap(Interval otherInterval);",
"public boolean isOverlap(entity.SimpleEffDated other) {\n return ((com.guidewire.pc.domain.product.SimpleEffDatedPublicMethods)__getDelegateManager().getImplementation(\"com.... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tries to obtain a connection from the database depending upon the connection parameters entered in the tabbed pane. Displays messagebox if connection to the database fails. | Connection getConnection(boolean bShowSuccessMsg)
{
Connection conn = null;
boolean successMsgIcon = true;
/**
* loadServerProperties method displays error message to the user if
* it any of the three required properties for establishing a
* database connection - DB Server nam... | [
"private void tryDatabaseConnection(){\n try {\n this.game.connectDB(this.DBName, this.DBUser, this.DBPass);\n } catch (SQLException e) {\n this.databaseExeptionScreen.start(this.PrimaryStage, this.DBName, this.DBUser, this.DBPass);\n }\n }",
"private void makeConnect... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the value of the 'Deprecated' attribute. | String getDeprecated(); | [
"public String getDeprecated() {\r\n return comment.getTagValue(\"deprecated\");\r\n }",
"public Boolean getDeprecated()\n {\n return deprecated;\n }",
"boolean getDeprecated();",
"public Boolean getDeprecatedStatus() {\n\t\treturn isDeprecated;\n\t}",
"public boolean getDeprecation()... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Dismiss all notifications from the current user. | public void dismissAllAppNotifications(Context context){
try{
int masterNotificationType = this.getActiveNotification().getNotificationType();
String masterPackageName = this.getActiveNotification().getPackageName();
int totalNotifications = this.getChildCount();
for(int i=totalNotifications-1; i>=0;... | [
"public void dismissAllUserNotifications(Context context){\r\n\t\ttry{\r\n\t\t\tString masterSentFromAddress = this.getActiveNotification().getSentFromAddress();\r\n\t\t\tlong masterContactID = this.getActiveNotification().getContactID();\r\n\t\t\tint totalNotifications = this.getChildCount();\r\n\t\t\tfor(int i=to... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of getRoundById method, of class RoundDaoImpl. | @Test
public void testGetRoundById() {
Game testGame = new Game();
testGame.setCorrectSolution("1234");
testGame.setGameOver(false);
gameDao.addGame(testGame);
Round testRound1 = new Round();
testRound1.setGameId(testGame.getGameId());
testRo... | [
"@Test\r\n public void testGetRoundById() {\r\n }",
"Round findCurrentRound(int gameId);",
"@Test\n public void testAddGetAllRoundsByGameId() {\n Game testGame = new Game();\n \n testGame.setCorrectSolution(\"1234\");\n testGame.setGameOver(false);\n gameDao.addGame(t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the parametrosBuscarListaProdutoSemCodigoAssociado value for this BuscarListaProdutoSemCodigoAssociadoRequest. | public void setParametrosBuscarListaProdutoSemCodigoAssociado(br.com.vivo.catalogoPRS.ws.catalogoProduto.sn.ParametrosBuscarListaProdutoSemCodigoAssociado parametrosBuscarListaProdutoSemCodigoAssociado) {
this.parametrosBuscarListaProdutoSemCodigoAssociado = parametrosBuscarListaProdutoSemCodigoAssociado;
} | [
"public br.com.vivo.catalogoPRS.ws.catalogoProduto.sn.ParametrosBuscarListaProdutoSemCodigoAssociado getParametrosBuscarListaProdutoSemCodigoAssociado() {\n return parametrosBuscarListaProdutoSemCodigoAssociado;\n }",
"public void setCooperativaCartao(Integer cooperativaCartao) {\n this.cooperati... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Reads all text of a file. | public static String readAllText(File file)
{
if (file == null || !file.exists())
{
throw new IllegalArgumentException("Invalid file given: " + file);
}
BufferedReader reader = null;
try
{
reader = new BufferedReader(new FileReader(file));
... | [
"private String readText(File file){\n StringBuilder text = new StringBuilder();\r\n\r\n try {\r\n BufferedReader br = new BufferedReader(new FileReader(file));\r\n String line;\r\n\r\n while ((line = br.readLine()) != null) {\r\n text.append(line);\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Perform a basic weave that adds an import, and show the loaded class works if the hook adds the import | public void testBasicWeavingDynamicImport() throws Exception {
// Install the bundles necessary for this test
ServiceRegistration<WeavingHook> reg = null;
ConfigurableWeavingHook hook = new ConfigurableWeavingHook();
hook.addImport("org.osgi.framework");
hook.setChangeTo("org.osgi.framework.Bundle");
try {
... | [
"public void weave(WovenClass cls) {\r\n\r\n String clsName = cls.getClassName();\r\n GeminiUtil.debugWeaving(\"Gemini WeavingHookTransformer.weave() called on class \", clsName);\r\n\r\n Bundle b = cls.getBundleWiring().getBundle();\r\n ClassLoader loader = cls.getBundleWiring().getClas... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the result of interpreting the object as an instance of 'Date Constant'. This implementation returns null; returning a nonnull result will terminate the switch. | public T caseDateConstant(DateConstant object)
{
return null;
} | [
"public T caseDateLit(DateLit object)\n {\n return null;\n }",
"public T caseDateLiteral(DateLiteral object)\n {\n return null;\n }",
"public T caseDate(Date object)\n {\n return null;\n }",
"DateConstant createDateConstant();",
"public T caseDate(Date object) {\n\t\treturn null;\n\t}",
"pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the duplicate branch. | public void setDuplicateBranch(List<String> duplicateBranch) {
this.duplicateBranch = duplicateBranch;
} | [
"public void setDuplicateBranchCode(List<String> duplicateBranchCode) {\n\t\tthis.duplicateBranchCode = duplicateBranchCode;\n\t}",
"private void setBranch(Branch value) {\n value.getClass();\n branch_ = value;\n \n }",
"void setInitialBranch(Branch branch);",
"public List<String> getDuplicate... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This adds a property descriptor for the Internet Facing java lang Boolean feature. | protected void addInternetFacing_java_lang_Boolean_PropertyDescriptor(Object object) {
itemPropertyDescriptors.add(createItemPropertyDescriptor(
((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(),
getString(
"_UI_ApplicationLoadBalancerBuilder_elasticloadbalancing... | [
"Boolean getAdditionalProperties_java_lang_Boolean_();",
"void setBooleanProperty(String name, boolean value);",
"void writeBoolean(String name, boolean value);",
"BooleanProperty getOn();",
"public void setBoolean(String name, boolean value);",
"EObject getBOOL();",
"PdfToken makeBoolean(boolean value)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Maze3dGenerator interface Define a interface of way to generating the 3D maze | public interface Maze3dGenerator {
/**
* generate the maze
* @param deepness int
* @param rows int
* @param columns int
* @return maze3d
*/
Maze3d generate(int deepness , int rows , int columns);
/**
* Measure generate algorithm time
* @param deepness int
* @param rows int
* @param columns ... | [
"Maze3d generate(int x, int y, int z) throws Exception;",
"public interface Maze3dGenerator\r\n{\r\n\r\n public Maze3d generate(MazeArgumentsForInit mazeArgumentsForInit);\r\n\r\n public String measureAlgorithmTime(MazeArgumentsForInit mazeArgumentsForInit);\r\n}",
"@Override\n\tpublic Maze3d generate(int... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create a shallow, locked copy of another XMLSource. | protected SimpleXMLSource(SimpleXMLSource copyAsLockedFrom) {
this.xpath_value = copyAsLockedFrom.xpath_value;
this.xpath_fullXPath = copyAsLockedFrom.xpath_fullXPath;
this.xpath_comments = copyAsLockedFrom.xpath_comments;
this.setLocaleID(copyAsLockedFrom.getLocaleID());
locked ... | [
"Copy createCopy();",
"public Tree assign(Tree source) {\r\n\t\treturn setObjectInternal(source.clone().value);\r\n\t}",
"public Context copy() {\n return new Context(this);\n }",
"public static Configuration create(Configuration source) {\n TransientConfiguration copy = new TransientConfigu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
// TODO: qi4j.org will soon go down. If called on a runtime with no access to qi4j.org on port 80, the test will halt and be ignored. | public static void assumeConnectivity()
{
assumeConnectivity( "qi4j.org", 80 );
} | [
"@Test(enabled=false)\n public void testAppRunningOn8081port(){\n URL url1 = null;\n try {\n url1 = new URL(\"http://\"+getPropValues(\"appIP\")+\":8081/\"+getPropValues(\"appPath\"));\n System.out.println(\"Testing URL: \"+url1);\n connection = (HttpURLConnection)u... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
sets red button text, tooltip and text position | private void setBtnRed(){
btnRed.setText("Red");
btnRed.setToolTipText("Change to red");
btnRed.setVerticalTextPosition(AbstractButton.CENTER);
btnRed.setHorizontalTextPosition(AbstractButton.RIGHT);
} | [
"private void setTooltips() {\r\n \r\n btnDeleteItem.setTooltip(new Tooltip(\"Delete the selected item\"));\r\n btnBack.setTooltip(new Tooltip(\"Go back\"));\r\n }",
"private void setBtnGreen(){\n btnGreen.setText(\"Green\");\n btnGreen.setToolTipText(\"Change to green\");\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Return the value associated with the column: POS_TRANS_NO | public java.lang.Long getPosTransNo () {
return posTransNo;
} | [
"public String getEinoTransNo() {\r\n return einoTransNo;\r\n }",
"public void setPosTransNo (java.lang.Long posTransNo) {\r\n\t\tthis.posTransNo = posTransNo;\r\n\t}",
"public String getTransactionNo() {\r\n return transactionNo;\r\n }",
"public java.lang.Long getTransNum() {\n return ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the value of the BranchValue field. Link to root of effdated tree | @gw.internal.gosu.parser.ExtendedProperty
public entity.PolicyPeriod getBranchValue() {
return (entity.PolicyPeriod)__getInternalInterface().getFieldValue(BRANCHVALUE_PROP.get());
} | [
"@gw.internal.gosu.parser.ExtendedProperty\n public entity.PolicyPeriod getBranchValue() {\n return (entity.PolicyPeriod)__getInternalInterface().getFieldValue(BRANCHVALUE_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public entity.PolicyPeriod getBranchValue();",
"public Integer getBran... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Unsets the "webPr" element | public void unsetWebPr()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(WEBPR$2, 0);
}
} | [
"public void unsetHtmlPubPr()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(HTMLPUBPR$0, 0);\n }\n }",
"public void unsetPrnPr()\n {\n synchronized (monitor())\n {\n check_orphaned();\n ge... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
get the index of the left indicator for the confusable word | public static int getLeftIndicatorPosition(String[] tokens) {
for (int i=0; i<tokens.length; i++) {
if (tokens[i].equals(">>")) return i;
}
return -1;
} | [
"public abstract int getWordIx(CharSequence word);",
"public String getIndLeft(String index)\n\t{\n\t\tString ret = \"0\";\n\n\t\tif (shape.hasIndentLeft(index))\n\t\t{\n\t\t\tret = shape.getIndentLeft(index);\n\t\t}\n\t\telse if (masterShape != null && masterShape.hasIndentLeft(index))\n\t\t{\n\t\t\tret = master... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
convert the fixed userinput arraylist data into a map | private HashMap<String, HashMap<String, ArrayList<String>>> stringToMap() {
HashMap<String, HashMap<String, ArrayList<String>>> dataMap = new HashMap<String, HashMap<String, ArrayList<String>>>();
for (String s : userInputs) {
String[] sList = s.split(":");
String sType = sList[0];
String sN... | [
"public static Map<String, Integer> processData(ArrayList<String> array) {\n\n\t\tint eid = 0;\n\t\tint esal = 0;\n\t\tint tid = 0;\n\t\tint tsal = 0;\n\n\t\tMap<String, Integer> retVal = new HashMap<String, Integer>();\n\n\t\tIterator<String> itr = array.iterator();\n\t\twhile (itr.hasNext()) {\n\t\t\tString strin... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Decode base64 binary string to bytes. | public static byte[] decodeBase64BinaryStringToBytes(String encodedString) throws IOException {
return Base64.decode(encodedString.getBytes());
} | [
"public static byte[] decodeBase64(String base64Str) {\n return DatatypeConverter.parseBase64Binary(base64Str);\n }",
"public static byte[] decode(String base64String)\n\t{\n\t\treturn Base64.decode(base64String);\n\t}",
"public static byte[] base64ToByte(String data) throws IOException {\n BASE6... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checking features for the account is not supported | @Override
public Bundle hasFeatures(
AccountAuthenticatorResponse r,
Account account, String[] strings) throws NetworkErrorException {
throw new UnsupportedOperationException();
} | [
"private Boolean validFeatures(List<Feature> features) {\n return (features.size() > 0) && (features.get(0) == Feature.BASIC);\n }",
"private static boolean isFeatureConfigurationWrong(boolean isEnabledInDb, boolean isEnabledAccordingToAwcom) {\n\treturn (isEnabledInDb && !isEnabledAccordingToAwcom);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
devuelve el numero de campos de la lista de campos de registro | public int numCamposRegistro () {
return this.listadecampos.size();
} | [
"public void setNumoffield(int x)\n {\n this.numOfField = x;\n }",
"private void agregarFieldsValidaciones()\r\n\t{\r\n\t\t\r\n this.serieDocRef.addValidator(\r\n new StringLengthValidator(\r\n \" 4 caracteres máximo\", 0, 4, false));\r\n \r\n this.refe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the next ID in the ID sequence encapsulated by this instance in the form of a BigInteger, rather than a long. | public BigInteger getNextBigID() throws IDGenerationException; | [
"public BigInteger getNextBigID() {\n return new BigInteger(Long.toString(++id));\n }",
"public BigInteger getNextBigID() {\r\n return BigInteger.valueOf(count++);\r\n }",
"long nextId();",
"public static long getNextId()\n {\n return (AbstractTransaction.ID + 1);\n }",
"pri... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "entryRuleOperation" $ANTLR start "ruleOperation" InternalMyDsl.g:162:1: ruleOperation : ( ( rule__Operation__Group__0 ) ) ; | public final void ruleOperation() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalMyDsl.g:166:2: ( ( ( rule__Operation__Group__0 ) ) )
// InternalMyDsl.g:167:2: ( ( rule__Operation__Group__0 ) )
{
// InternalMyD... | [
"public final void ruleOperation() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalXModel.g:166:2: ( ( ( rule__Operation__Group__0 ) ) )\n // InternalXModel.g:167:2: ( ( rule__Operation__Group__0 ) )\n {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks whether the 'skill' field has been set. | public boolean hasSkill() {
return fieldSetFlags()[0];
} | [
"public boolean hasSkill() {\n return skill != UNDEFINED;\n }",
"public boolean hasSkill() {\n \n return skill != UNDEFINED;\n }",
"public boolean hasSkill() {\n return fieldSetFlags()[1];\n }",
"public boolean hasSkill(Skill skill)\n {\n return skills.contains(skill);\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Convert a snake cased identifier to camel case. The first character is going to be upper cased and all others that are preceded in the source with an underline character. The underline characters are not copied to the result String. | public static String camel(String s) {
if (s == null) {
return null;
}
final var result = new char[s.length()];
int dst = 0;
var capIt = true;
for (int src = 0; src < s.length(); src++) {
if (s.charAt(src) == '_') {
capIt = true;
... | [
"private String camelToSnakeCase(String camelCaseId) {\n\t\t// https://stackoverflow.com/q/2206378/split-and-keep-delimiters\n\t\tfinal String[] parts = camelCaseId.split(\"(?=[A-Z])\"); // e.g. [\"num\", \"Of\", \"Pages\"]\n\t\treturn Arrays.stream(parts).collect(Collectors.joining(\"_\")).toLowerCase();\n\t}",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Clears the value of the 'rssi' field. Received signal strength indicator associated of the received beacon | public eu.rawfie.uxv.ProxyConnectData.Builder clearRssi() {
fieldSetFlags()[4] = false;
return this;
} | [
"public void setRssi(java.lang.Integer value) {\n this.rssi = value;\n }",
"public void setRSSI(int rssi) {\r\n this.rssi = rssi;\r\n }",
"public synchronized void setCurrentRssi(int rssi) {\n currentSignalStrength = rssi;\n }",
"public void putRssi(int strength) {\n this.rssi = stren... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Deal the program cards | public void dealProgramCards() {
// todo if multiplayer: if host: deal. else:receveive. else deal
programDeck.createDeck();
if (multiplayer) {
cards = new ArrayList<>(programDeck.draw(MAX_NUMBER_OF_CARDS - localPlayer.getDamage())); // Create a small deck of cards for each player
localPlayer.receiveProgramC... | [
"public void dealCards() {\n \n \t\tif (deck == null) {\n \t\t\t// Skat game has no cards, yet\n \t\t\tdeck = new CardDeck();\n \t\t\tlog.debug(\"shuffling...\"); //$NON-NLS-1$\n \n \t\t\tdeck.shuffle();\n \t\t\tlog.debug(deck.toString());\n \t\t}\n \n \t\tdoSleep(maxSleep);\n \n \t\tlog.debug(\"dealing...\"); //$N... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets a value of property OriginalArtist from an instance of Contact First, all existing values are removed, then this value is added. Cardinality constraints are not checked, but this method exists only for properties with no minCardinality or minCardinality == 1. | public static void setOriginalArtist(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, Contact value) {
Base.set(model, instanceResource, ORIGINALARTIST, value);
} | [
"public void setOriginalArtist(Contact value) {\r\n\t\tBase.set(this.model, this.getResource(), ORIGINALARTIST, value);\r\n\t}",
"public void addOriginalArtist(Contact value) {\r\n\t\tBase.add(this.model, this.getResource(), ORIGINALARTIST, value);\r\n\t}",
"public void setLeadArtist(Contact value) {\r\n\t\tBas... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
show all: GET '/locations' | @GetMapping(value="/locations")
public ResponseEntity<List<Location>> getAllLocations(){
return new ResponseEntity<>(locationRepository.findAll(), HttpStatus.OK);
} | [
"@GET\r\n @Produces({\"application/xml\", \"application/json\"})\r\n public List<Location> getLocations() {\r\n return locationFacade.findAll();\r\n }",
"@RequestMapping(\"/viewAllLocs\")\n\tpublic String getAllLocs(ModelMap map){\n\t\tList<Location> locList=service.getAllLocations();\n\t\tmap.add... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a slug of org and name. | public String slug() {
return this.organization + "/" + this.name;
} | [
"public static String uniqueOrg(){\n return \"org\" + newUUIDString();\n }",
"private String createUriPart(String title) {\n\t\tString noAccents = removeAccents(title);\n\t\treturn noAccents.replaceAll(\"[^A-Za-z0-9_\\\\.-]\", \"-\").replaceAll(\"-{2,}\", \"-\");\n\t}",
"@ChangeSet(order = \"008\", id... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ dispatchMessages Send out all messages currently in the message table. NOTE: This method should generally NOT be called from the AWT Event thread, since some messages may take a long time to process. If messages that take a long time to process aren't run in a separate thread (by setting the use_new_thead option on t... | public synchronized boolean dispatchMessages()
{
synchronized(lists_lock)
{
if ( message_table.size() <= 0 ) // nothing to send
{
if ( always_notify )
send( MESSAGES_PROCESSED );
return false;
}
... | [
"public void flushReceivedMessages() {\r\n\t\tMessage[] flushed = receiveQueue.flush();\r\n\t\tfor (Message i : flushed) {\r\n\t\t\tfor (MessageListener j : messageListeners) {\r\n\t\t\t\tj.messageReceived(i);\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"private int sendAll( \n Hashtable<Object,Vector<Message>> my_mes... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the "matched_ohd" element | void setMatchedOhd(java.lang.String matchedOhd); | [
"void xsetMatchedOhd(org.apache.xmlbeans.XmlString matchedOhd);",
"void setNilMatchedOhd();",
"boolean isSetMatchedOhd();",
"java.lang.String getMatchedOhd();",
"void unsetMatchedOhd();",
"public void setMatched(String matched) {\r\n\t\tthis.matched = matched;\r\n\t}",
"public void setMatchedObjectDescr... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Finds the closest player within 16 blocks to attack, or null if this Entity isn't interested in attacking (Animals, Spiders at day, peaceful PigZombies). | protected Entity findPlayerToAttack()
{
EntityPlayer entityplayer = this.worldObj.getClosestVulnerablePlayerToEntity(this, 16.0D);
return entityplayer != null && this.canEntityBeSeen(entityplayer) ? entityplayer : null;
} | [
"protected Entity findPlayerToAttack()\n {\n return this.isAngry() ? this.worldObj.getClosestVulnerablePlayerToEntity(this, 16.0D) : null;\n }",
"protected Entity findPlayerToAttack()\n {\n EntityPlayer var1 = this.worldObj.getClosestVulnerablePlayerToEntity(this, 16.0D);\n return va... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column IMAL141_DEV_O18.S_CONTROL_PARAM.ADD_STRING5_SMART_DEFAULT | public void setADD_STRING5_SMART_DEFAULT(String ADD_STRING5_SMART_DEFAULT) {
this.ADD_STRING5_SMART_DEFAULT = ADD_STRING5_SMART_DEFAULT == null ? null : ADD_STRING5_SMART_DEFAULT.trim();
} | [
"public void setADD_STRING1_SMART_DEFAULT(String ADD_STRING1_SMART_DEFAULT) {\r\n this.ADD_STRING1_SMART_DEFAULT = ADD_STRING1_SMART_DEFAULT == null ? null : ADD_STRING1_SMART_DEFAULT.trim();\r\n }",
"public String getADD_STRING5_SMART_DEFAULT() {\r\n return ADD_STRING5_SMART_DEFAULT;\r\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the strikethrough property for this modifier | public ChatModifier setStrikethrough(boolean strikethrough) {
this.strikethrough = strikethrough;
this.flags.strikethrough = true;
return this;
} | [
"public ChatComponent setStrikethrough(boolean strikethrough) {\n this.strikethrough = strikethrough;\n return this;\n }",
"public ComponentBuilder strikethrough(boolean strikethrough) {\n current.setStrikethrough(strikethrough);\n return this;\n }",
"public void setStrikeout(b... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This class is used by segment processing engines, where bufferComparator will not be called. | @Override
public Grouper.BufferComparator bufferComparator()
{
throw new UnsupportedOperationException();
} | [
"@Override\n public void onBuffering(boolean b) {\n }",
"@Override\r\n public void onBuffering(boolean b) {\n }",
"FilterBufferImplementation createFilterBufferImplementation();",
"private DirectByteBuffer getBufferHelper(byte _allocator, int _length) {\n DirectByteBuffer re... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The <paperstyles> component provides simple ways to use Material Design CSS stylesin your application. The following imports are available: background and accent colors that match the default Material Design theme used in the PolymerElements demo pages We recommend importing each of these individual files, and us... | @JsType(isNative=true)
public interface PaperStylesElement extends HTMLElement {
@JsOverlay public static final String TAG = "paper-styles";
@JsOverlay public static final String SRC = "paper-styles/paper-styles.html";
} | [
"private void loadStyles() {\n ShowcaseResources.INSTANCE.showcaseCss().ensureInjected();\n RoundedCornersResource.INSTANCE.roundCornersCss().ensureInjected();\n }",
"public interface Styles {\r\n\r\n /** The application main style sheet. */\r\n StyleSheetItem MAIN = create(new StyleSheet(... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
print all rows in a given matrix | public static void printAllRows(int[][] matrix){
for(int i = 0; i < ROWS; i++){ //iterate through rows
System.out.println("\nRow " + i);
System.out.println("Highest in Row: " + findMaxOfRow(matrix,i)); //print max value of row
System.out.println("Lowest in Row: " + findMinOfR... | [
"public void printMatrix(int[][] matrix){\n for(int i = 0; i < matrix.length; i++){\n for(int j = 0; j < matrix[0].length; j++){\n System.out.print(matrix[i][j] + \" \");\n }\n System.out.println();\n }\n }",
"void printMatrix() {\n\t\tfor (int i = ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Pops name of parameter form stack. removes parameter form persistent parameters of context. | @Override
public void execute() {
final String name = this.stack.pop().toString();
this.context.removeTemporaryParameter(name);
} | [
"public void removeParam(String name) {\n if (!mSubmitted) {\n if (name != null) {\n FormParam namePare = mFormParamMap.get(name);\n if (namePare != null) {\n mFormParams.remove(namePare);\n mFormParamMap.remove(name);\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Take whatever action is required when deleting a repeat group. | public abstract void deleteRepeatGroup(FormInstance mainInstance,
EvaluationContext evalContext, TreeReference ref,
TreeElement parentElement, TreeElement deletedElement); | [
"@Override\n public void delete() {\n String errorContext = \"Group.delete() error\";\n\n postErrorIfFailure(errorContext,\n AllJoynManager.groupManager.deleteLampGroup(groupModel.id));\n }",
"public void deleteGroup(Group group);",
"public abstract void deleteGroup(WorldGroup... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checking whether the code point is emoji character. | private static boolean isEmojiCharacter(int codePoint) {
return (codePoint == 0x0) || (codePoint == 0x9)
|| (codePoint == 0xa9) || (codePoint == 0xae) || (codePoint == 0x303d)
|| (codePoint == 0x3030) || (codePoint == 0x2b55) || (codePoint == 0x2b1c)
|| (codeP... | [
"private static boolean containsEmoji(String source) {\r\n int len = source.length();\r\n for (int i = 0; i < len; i++) {\r\n int codePoint = source.codePointAt(i);\r\n if (isEmojiCharacter(codePoint)) {\r\n return true;\r\n }\r\n }\r\n ret... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Prints out products that have stock less than 10 | public void checkLowStock()
{
for(Product product: stock)
{
if(product.getQuantity() < 10)
{
System.out.println(product.getID() + ": " +
product.name + " is low on stock, only " +
product.getQuantity() + " in stock");
... | [
"public void CheckStock(Product product) {\n int old_Stock;\n for(Product item: products) {\n old_Stock = item.getStock();\n if (old_Stock <= 5) {\n System.out.println(\"\\\"Attention! shop has less than 5 items in Stock\");\n\n }\n }\n\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column TB_LS_LOC_ELEC_ADDED.ELEC_BEGIN_DATE | public void setELEC_BEGIN_DATE(Date ELEC_BEGIN_DATE) {
this.ELEC_BEGIN_DATE = ELEC_BEGIN_DATE;
} | [
"public Date getELEC_BEGIN_DATE() {\n\t\treturn ELEC_BEGIN_DATE;\n\t}",
"public void setBEGIN_DATE(Date BEGIN_DATE) {\n this.BEGIN_DATE = BEGIN_DATE;\n }",
"public abstract void setFec_actu(java.sql.Date newFec_actu);",
"public void setELEC_END_DATE(Date ELEC_END_DATE) {\n\t\tthis.ELEC_END_DATE = EL... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
onRobotDeath: What to do when other robot dead | public void onRobotDeath(RobotDeathEvent e) {
if (e.getName() == target.name) {
target.distance = 10000;
}
if (interRewards) reward += 20;
} | [
"void onRobotDeath(RobotDeathEvent event);",
"public void robotDeath(RobotDeathEvent e) {\r\n\r\n\t\tif (gotTarget && e.getName().equals(radarTarget.getName())) {\r\n\t\t\tradarTarget = newRadarTarget();\r\n\t\t\tmrRobot.sendMessage(6, \"2\");\r\n\r\n\t\t}\r\n\t\tif (getIndexForName(e.getName()) != -1) {\r\n\t\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Formats the given ShortLink into its final URL representation | URL format(ShortLink shortLink); | [
"public interface ShortLinkFormattingService {\n\n /**\n * Formats the given ShortLink into its final URL representation\n * @param shortLink <p>the ShortLink to convert</p>\n * @return <p>the URL representing the given ShortLink</p>\n */\n URL format(ShortLink shortLink);\n\n}",
"public Str... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Forces liblinphone to use the supplied list of dns servers, instead of system's ones. | public void setDnsServers(String[] servers); | [
"public void setDnsServers(String servers[]);",
"public void setDnsServersApp(String[] servers);",
"public void enableDnsSrv(boolean yesno);",
"public boolean dnsSrvEnabled();",
"DNSService dns();",
"public FakeDns addresses(List<InetAddress> addresses) {\n this.addresses = new ArrayList<>(addresses);\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "entryRuleTermExpr" $ANTLR start "ruleTermExpr" InternalAgreeParser.g:7196:1: ruleTermExpr returns [EObject current=null] : ( ( ( ( () ( ( ruleDCID ) ) ) )=> ( () ( ( ruleDCID ) ) ) ) | ( () otherlv_3= Time ) | ( () otherlv_5= Indices otherlv_6= LeftParenthesis ( (lv_array_7_0= ruleExpr ) ) otherlv_8= RightP... | public final EObject ruleTermExpr() throws RecognitionException {
EObject current = null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token otherlv_8=null;
Token otherlv_11=null;
Token otherlv_13=null;
Token otherlv_15=null;
... | [
"public final EObject entryRuleTermExpr() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleTermExpr = null;\n\n\n try {\n // InternalAgreeParser.g:7188:2: (iv_ruleTermExpr= ruleTermExpr EOF )\n // InternalAgreeParser.g:7189:2: iv_ruleTermExpr= rul... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds images to the DB from a raw input | void addImageList(String rawData)
{
String[] lines = rawData.split(";");
for(int i=0; i<lines.length; i++)
{
addImage(lines[i]);
}
} | [
"private void addImage(String rawData)\n\t{\n\t\tString[] items = rawData.split(\",\");\n\t\tif(items.length < 7)\n\t\t\treturn;\n\t\t\n\t\tContentValues values = new ContentValues();\n\t\tvalues.put(COLUMN_NAME_ID, Integer.parseInt(items[0]));\n\t\tvalues.put(COLUMN_NAME_FILE, items[1]);\n\t\tvalues.put(COLUMN_NAM... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the friendlyName property: Friendly name of ApplicationGroup. | public ApplicationGroupPatch withFriendlyName(String friendlyName) {
if (this.innerProperties() == null) {
this.innerProperties = new ApplicationGroupPatchProperties();
}
this.innerProperties().withFriendlyName(friendlyName);
return this;
} | [
"public void setFriendlyName(String friendlyName)\r\n\t{\r\n\t\t_sFriendlyName = friendlyName;\r\n\t}",
"public void setFriendlyName(java.lang.String friendlyName)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = nul... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
When sync down fetches records from older to newer, the maxTimeStamp for the sync can be updated throughout the sync, and as a result running a paused (or killed) sync does not refetch all records. | public boolean isSyncDownSortedByLatestModification() {
return false;
} | [
"public abstract JSONArray startFetch(SyncManager syncManager, long maxTimeStamp) throws IOException, JSONException;",
"public abstract List<T> getAllBySynced(boolean synced, long limit);",
"public Date getLastsync() {\n return lastsync;\n }",
"public final native void setUpdatedMax(DateTime updated... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Setter method for heardPercentSports | public void setHeardPercentSports(double heardPercentSports) {
this.heardPercentSports = heardPercentSports;
} | [
"public double getHeardPercentSports() {\n return heardPercentSports;\n }",
"public double getLikePercentSports() {\n return likePercentSports;\n }",
"public void setLikePercentSports(double likePercentSports) {\n this.likePercentSports = likePercentSports;\n }",
"public void set... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The key to use with this handler's message resource bundle that will retrieve the error message template for this exception. | @Override
protected String handleGetExceptionKey()
{
final String type = this.getExceptionType();
final int dotIndex = type.lastIndexOf(".");
// the dot may not be the last character
return StringUtilsHelper.toResourceMessageKey((dotIndex < (type.length() - 1)) ? type.substring... | [
"public String getErrorTemplate() {\n return this.errorTemplate;\n }",
"public final String getMessageKey() {\n return bean.getMessageKey();\n }",
"public String getErrorKey() {\n return errorKey;\n }",
"public String getError(String key) {\n\t\treturn errors.get(key);\n\t}",
"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of setDefaultValue method, of class SOAPinputField. | @Test
public void testSetDefaultValue()
{
System.out.println("setDefaultValue");
String defaultValue = "";
SOAPinputField instance = new SOAPinputField("prueba");
instance.setDefaultValue(defaultValue);
} | [
"@Test\n public void testGetDefaultValue()\n {\n System.out.println(\"getDefaultValue\");\n SOAPinputField instance = new SOAPinputField(\"prueba\",\"prueba\",true); \n String expResult = \"\";\n String result = instance.getDefaultValue(); \n }",
"public void tes... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Define el valor de la propiedad nalInternal. | public void setNalInternal(int value) {
this.nalInternal = value;
} | [
"public int getNalInternal() {\n return nalInternal;\n }",
"public void setNPI(String n)\n {\n this.NPI = n;\n \n\n }",
"public void setInternal(boolean internal)\n {\n synchronized (monitor())\n {\n check_orphaned();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column TFSTRX_EXTENDED.SETTLEMENT_ACC_CIF | public void setSETTLEMENT_ACC_CIF(BigDecimal SETTLEMENT_ACC_CIF) {
this.SETTLEMENT_ACC_CIF = SETTLEMENT_ACC_CIF;
} | [
"public BigDecimal getSETTLEMENT_ACC_CIF() {\r\n return SETTLEMENT_ACC_CIF;\r\n }",
"public void setSETTLEMENT_ACC_CY(BigDecimal SETTLEMENT_ACC_CY) {\r\n this.SETTLEMENT_ACC_CY = SETTLEMENT_ACC_CY;\r\n }",
"public void setSETTLEMENT_ACC_SL(BigDecimal SETTLEMENT_ACC_SL) {\r\n this.SETT... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
The AdGroupCriterion affected by this change. .google.protobuf.StringValue ad_group_criterion = 10; | public com.google.protobuf.StringValueOrBuilder getAdGroupCriterionOrBuilder() {
return getAdGroupCriterion();
} | [
"public com.google.protobuf.StringValue getAdGroupCriterion() {\n return adGroupCriterion_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : adGroupCriterion_;\n }",
"public Builder setAdGroupCriterion(com.google.protobuf.StringValue value) {\n if (adGroupCriterionBuilder_ == null) {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
When the game ends, move all of the marbles on the respective player's side to their mancala. | private void moveRemainingMarbles() {
int player1Marbles = this.player1MarbleCount();
int player2Marbles = this.player2MarbleCount();
board[PLAYER_ONE_MANCALA].setMarbles(board[PLAYER_ONE_MANCALA].getMarbles() + player1Marbles);
board[PLAYER_TWO_MANCALA].setMarbles(board[PLAYER_TWO_MANC... | [
"public void move() throws IllegalArgumentException {\n if (this.player.turnValue == TurnValue.MOVEMENT && turnDone == false) {\n\n this.clicker = true;\n this.cheatButton.setActive(true);\n this.uncoverRender.getStage().clear();\n this.uncoverButton.setActive(true... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__Pokemon__ShinyAssignment_7_2" $ANTLR start "rule__Pokemon__HappinessAssignment_8_2" InternalShowdownGrammar.g:1593:1: rule__Pokemon__HappinessAssignment_8_2 : ( RULE_INT ) ; | public final void rule__Pokemon__HappinessAssignment_8_2() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalShowdownGrammar.g:1597:1: ( ( RULE_INT ) )
// InternalShowdownGrammar.g:1598:2: ( RULE_INT )
{
// Intern... | [
"public final void rule__Pokemon__Group_8__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalShowdownGrammar.g:1029:1: ( ( ( rule__Pokemon__HappinessAssignment_8_2 ) ) )\n // InternalShowdownGrammar.g:1030:1: ( ( rul... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |