query stringlengths 8 1.54M | document stringlengths 9 312k | negatives listlengths 19 20 | metadata dict |
|---|---|---|---|
TEST: LIST CIS'S (OWNED + SUBSCRIBED) | private void continueTests(String cis_id, String cis_name) {
Log.d(LOG_TAG, "TEST: LIST CIS'S (OWNED + SUBSCRIBED)");
String targetMethod = ICisManager.methodsArray[2]; // "getCisList(String client, String query)",
Message outMessage = Message.obtain(null, ServiceMethodTranslator.getMethodIndex(ICisManager.meth... | [
"Object getCclist();",
"@Test\n public void getClients_retrievesALlClientsFromDatabase_clientsList() {\n Stylist myStylist = new Stylist(\"Ann\");\n myStylist.save();\n Client firstClient = new Client(\"Rose\", myStylist.getId());\n firstClient.save();\n Client secondClient = new Client(\"Mary\", ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the value of the shoppingCentersNumbers property. | public void setShoppingCentersNumbers(final int value) {
this.shoppingCentersNumbers = value;
} | [
"public int getShoppingCentersNumbers() {\n return shoppingCentersNumbers;\n }",
"void setnCustomersInsideShop(int nCustomersInsideShop);",
"public void setCheckoutDocuments(int value) {\n\t\tcheckoutDocuments.setHTML(\" \" + value + \" \");\n\t}",
"public void setCentificatenumber(String ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Place a queen in a given position. | public void placeQueen(int x, int y)
{
grid.get(x).setQueenAtIndex(y, true);
} | [
"public Queen(String type, Position position) {\n\t\tthis.moved = true;\n\t\tthis.name = \"queen\";\n\t\tthis.type = type;\n\t\tthis.number = 1;\n\t\tthis.position = position;\n\t}",
"public void moveQueen(View position) {\n float diffX = position.getX() - movingStone.getX();\n float diffY = positio... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Makes a log of a request containing a function the server did not expect. | public static void badFunction(SpRTRequest req, Logger l) throws SpRTException{
String error = "Unexpected Function: " + req.getFunction();
l.log(Level.WARNING, error + System.getProperty("line.separator"));
} | [
"abstract protected void logRequest();",
"private static void logNoHandlerMethod(HttpServletRequest request,Object handler){\n if (LOGGER.isWarnEnabled()){\n String message = \"request info:[{}],not [HandlerMethod],handler is [{}],What ghost~~,\";\n LOGGER.warn(message, getRequestFull... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO initialize address panel | private void initAddressPanel() {
addressPanel= new AddressPanel(this);
RootPanel.get(ClientConstants.ADDRESS_PANEL_CONTAINER).add(addressPanel);
} | [
"protected void addOscServerAddressPanel() {\n\n\t\t// variable addressPanel holds an instance of JPanel.\n\t\t// instance of JPanel received from makeNewJPanel method\n\t\tfinal JPanel addressPanel = makeNewJPanel1();\n\t\taddressPanel.setBackground(new Color(123, 150, 123));\n\t\t// variable addressWidget holds a... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a k sized training set indices set for each n and t pair | public Map<String,List<Integer>> createN_TSpecificTrainingSet(int k){
Map<String,List<Integer>> n_tSpecificTrainingIndices=new HashMap<>();
for(int n=0;n<this.N;n++) {
for(int t=0;t<this.T;t++) {
String key=Integer.toString(n)+"_"+Integer.toString(t);
n_tSpecificTrainingIndices.put(key, FarthestPoin... | [
"public Map<String,List<Integer>> createN_TSpecificTrainingSetWithYAsWeight(int k){\r\n\t\tMap<String,List<Integer>> n_tSpecificTrainingIndices=new HashMap<>();\r\n\t\tfor(int n=0;n<this.N;n++) {\r\n\t\t\tfor(int t=0;t<this.T;t++) {\r\n\t\t\t\tString key=Integer.toString(n)+\"_\"+Integer.toString(t);\r\n\t\t\t\tn_t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets an exclusive list of loaders, bypassing all default loaders and ignoring any loaders added via insertBefore or insertAfter loaders. | public N setLoaders(Loader... loaders) {
if (_loaders == null) _loaders = new ArrayList();
_loaders.addAll(Arrays.asList(loaders));
return (N) this;
} | [
"void loadAllDependencies(DependencyLoader...loaders){\n\t\tList<DependencySupplier> toInitialise = new ArrayList<>();\n\t\tfor (DependencyLoader dependencyLoader : loaders) {\n\t\t\ttoInitialise.addAll(dependencyLoader.getDependencies());\n\t\t}\n\t\tinitialiseDependencies(toInitialise);\n\t}",
"public static Cl... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Function to read service in the system and display them in dropdowns | public void services() {
BufferedReader br;
try {
br = new BufferedReader(new FileReader("services.txt"));//Open the file in read mode and give access to the BufferedReader
ArrayList<String> services = new ArrayList<String>();//List to contain all the services
String line = "";
while ((line = br.r... | [
"public ObservableList<String> getServiceOptions() {\n ResultSet resultSet = Utils.getInstance().executeQuery(\"SELECT name FROM service\");\n ObservableList<String> row = FXCollections.observableArrayList();\n try {\n while (resultSet.next()) {\n row.add(resultSet.get... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns all rows from the cliente table that match the criteria 'NOMBRE_CLIENTE = :nombreCliente'. | public Cliente[] findWhereNombreClienteEquals(String nombreCliente) throws ClienteDaoException; | [
"public Cliente[] findWhereNombreComercialEquals(String nombreComercial) throws ClienteDaoException;",
"public Cliente[] findWhereIdClienteEquals(int idCliente) throws ClienteDaoException;",
"public Cliente[] findWhereFolioClienteMovilEquals(String folioClienteMovil) throws ClienteDaoException;",
"public Clie... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns a list of additional links mapped to given user id | public List<AdditionalLink> getAdditionalLinks(String userId) throws UserIdDoesNotExistException {
userPreference = userPreferencesService.getUserPreferences(userId);
if (null == userPreference) {
throw new UserIdDoesNotExistException(userId);
}
return userPreference.getAdditionalLinks();
} | [
"@ReLogoBuilderGeneratedFor(\"migration.relogo.UserLink\")\n\tpublic AgentSet<migration.relogo.UserLink> userLinks(){\n\t\tAgentSet<migration.relogo.UserLink> a = new AgentSet<migration.relogo.UserLink>();\n\t\tfor (Object e : this.getMyObserver().getContext().getObjects(migration.relogo.UserLink.class)) {\n\t\t\ti... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the qlvt xu ly gp lien van phuong tien tram dung nghis before and after the current qlvt xu ly gp lien van phuong tien tram dung nghi in the ordered set where capGplxPhuongTienId = &63;. | public static vn.dtt.duongbo.dao.lienvan.model.QlvtXuLyGpLienVanPhuongTienTramDungNghi[] findByCapGplxPhuongTienId_PrevAndNext(
long id, long capGplxPhuongTienId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
vn.dtt.duongbo.d... | [
"public static java.util.List<vn.dtt.duongbo.dao.lienvan.model.QlvtXuLyGpLienVanPhuongTienTramDungNghi> findByCapGplxPhuongTienId(\r\n\t\tlong capGplxPhuongTienId)\r\n\t\tthrows com.liferay.portal.kernel.exception.SystemException {\r\n\t\treturn getPersistence().findByCapGplxPhuongTienId(capGplxPhuongTienId);\r\n\t... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a timer that fires continually at a delay set in milliseconds. Each firing of the timer causes the next the frame in the array to be displayed thus animating the array of CyFrames. | public void makeTimer(){
frameIndex = 0;
//Create a new interpolator
Interpolator lint = new Interpolator();
//interpolate between all of the key frames in the list to fill the array
frames = lint.makeFrames(keyFrameList);
//timer delay is set in milliseconds, so 1000/fps gives delay per frame
int... | [
"public AnimationTimer() {\n // Go for default at 200 msec / frame\n timer = new Timer(200, new TimerListener());\n timer.setRepeats(true);\n\n eyePoints[0] = new Point();\n eyePoints[1] = new Point();\n }",
"public AnimatedImageBox(FramesManager framesManager, int delay) {\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get this window's debug manager. | public DebugManager getDebugManager() {
return dm;
} | [
"protected IBreakpointManager getBreakpointManager() {\r\n return DebugPlugin.getDefault().getBreakpointManager();\r\n }",
"protected org.eclipse.debug.core.IBreakpointManager getBreakpointManager() {\n\t\treturn org.eclipse.debug.core.DebugPlugin.getDefault().getBreakpointManager();\n\t}",
"public De... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column pfase.codPProyecto | public Integer getCodpproyecto() {
return codpproyecto;
} | [
"String getCodProdotto();",
"public Long getCodpropiedad() {\r\n return codpropiedad;\r\n }",
"public void setCodpproyecto(Integer codpproyecto) {\n\t\tthis.codpproyecto = codpproyecto;\n\t}",
"public java.lang.String getCodigo_pcom();",
"public Long getCodpropiedadarchivo() {\r\n return co... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
create a JAR file for the agent; since our class is already in class path our jar consisting of a MANIFEST declaring our class as agent only | private static File createJar() throws IOException {
File f = File.createTempFile("agent", ".jar");
f.deleteOnExit();
Charset cs = StandardCharsets.ISO_8859_1;
try (FileOutputStream fos = new FileOutputStream(f);
ZipOutputStream os = new ZipOutputStream(fos)) {
... | [
"private void createJarFile(Class<?> token, Path jarFile, Path pathToClassFile) throws IOException {\n Manifest manifest = new Manifest();\n manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION, \"1.0\");\n try (JarOutputStream out = new JarOutputStream(Files.newOutputStream(jarFil... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Something like NEUTRAL is not male. | boolean isMale(); | [
"boolean couldBeMale();",
"boolean couldBeFemale();",
"private boolean validSex(String sex)\n {\n return (sex.equalsIgnoreCase(\"F\") || sex.equalsIgnoreCase(\"M\"));\n }",
"boolean isNonEnglishAllowed();",
"public String analyseMood() {\n\t\tif (this.message.equals(\"This is a sad message... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets an array of ResourceLocations used for the model of this block, all block states for this block will use this as key in the model registry | @SideOnly(Side.CLIENT)
ModelResourceLocation getBlockModelResourceLocation(); | [
"public static ModelResourceLocation getModelResourceLocation(IBlockState state) {\n\t\treturn new ModelResourceLocation(Block.REGISTRY.getNameForObject(state.getBlock()), (new DefaultStateMapper()).getPropertyString(state.getProperties()));\n\t}",
"public List<BaseLocation> getBaseLocations() {\n\t\treturn getBa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
GRECLIPSE1751 Test 'with' operator. No annotations. | public void testWithAndClosure1() throws Exception {
createUnit("p", "D",
"package p\n" +
"class D {\n" +
" String foo\n" +
" D bar\n" +
"}");
String contents =
"package p\n" +
"class E ... | [
"private ParseTree parseWithStatement() {\n SourcePosition start = getTreeStartLocation();\n eat(TokenType.WITH);\n eat(TokenType.OPEN_PAREN);\n ParseTree expression = parseExpression();\n eat(TokenType.CLOSE_PAREN);\n ParseTree body = parseStatement();\n return new WithStatementTree(getTreeLoc... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "ruleInterfaceMember" $ANTLR start "entryRuleInterfaceFeature" ../org.waml.w3c.webidl.ui/srcgen/org/waml/w3c/webidl/ui/contentassist/antlr/internal/InternalWebIDL.g:936:1: entryRuleInterfaceFeature : ruleInterfaceFeature EOF ; | public final void entryRuleInterfaceFeature() throws RecognitionException {
try {
// ../org.waml.w3c.webidl.ui/src-gen/org/waml/w3c/webidl/ui/contentassist/antlr/internal/InternalWebIDL.g:937:1: ( ruleInterfaceFeature EOF )
// ../org.waml.w3c.webidl.ui/src-gen/org/waml/w3c/webidl/ui/c... | [
"public final void entryRuleInterfaceMember() throws RecognitionException {\r\n try {\r\n // ../org.waml.w3c.webidl.ui/src-gen/org/waml/w3c/webidl/ui/contentassist/antlr/internal/InternalWebIDL.g:909:1: ( ruleInterfaceMember EOF )\r\n // ../org.waml.w3c.webidl.ui/src-gen/org/waml/w3c/we... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
TODO: Create a class sendlongtoasts | private void sendLongToast(String message) {
Toast toast=Toast.makeText(mContext,message,Toast.LENGTH_LONG);
TextView v = (TextView) toast.getView().findViewById(android.R.id.message);
if( v != null) v.setGravity(Gravity.CENTER);
toast.show();
} | [
"private void showLongToast(final String msg) {\n this.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Toast.makeText(getApplicationContext(), msg, Toast.LENGTH_LONG).show();\n }\n });\n }",
"void shortToast(int resId);",
"priva... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Build call for muteChatsBulk | public com.squareup.okhttp.Call muteChatsBulkCall(MuteChatsBulkInputObject muteChatsBulkInputObject, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = muteChatsBulkInputObject;
... | [
"public com.squareup.okhttp.Call muteChatsBulkAsync(MuteChatsBulkInputObject muteChatsBulkInputObject, final ApiCallback<Void> callback) throws ApiException {\n\n ProgressResponseBody.ProgressListener progressListener = null;\n ProgressRequestBody.ProgressRequestListener progressRequestListener = null... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
deletes the stockTrade record from the database. | public void deleteStockTradeRecord(int stockTradeId)
throws StockTradeDaoException, DaoOperationNotSupportedException; | [
"public void deleteTradeById(int id);",
"Trade removeTrade(String tradeId) throws OrderBookTradeException;",
"public void deleteStock(Stock stock){\n this.open();\n long id = stock.getId();\n\n database.delete(SQLiteHelper.TABLE_STOCK, SQLiteHelper.COL_ID + \" =?\", new String[]{String.valu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Convert the pattern to a typed pattern, in which an element name is treated as schemaelement(N) | public Pattern convertToTypedPattern(String val) throws XPathException {
return null;
} | [
"public Type(String pattern) {\n\t\tthis.pattern = pattern;\n\t\tthis.examples = new ArrayList<String>();\n\t}",
"public static ColumnMetaData.ColumnType patternToColumnType(String pattern) {\n\t\t// first remove escaped single quotes ''\n\t\tpattern = pattern.replaceAll(REPLACE_SINGLE_QUOTES, \"\");\n\t\t// remo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end synpred30_InternalCheckCfg $ANTLR start synpred31_InternalCheckCfg | public final void synpred31_InternalCheckCfg_fragment() throws RecognitionException {
// ../com.avaloq.tools.dslsdk.checkcfg.core/src-gen/com/avaloq/tools/dslsdk/checkcfg/parser/antlr/internal/InternalCheckCfg.g:4484:2: ( ( () '[' ']' ) )
// ../com.avaloq.tools.dslsdk.checkcfg.core/src-gen/com/aval... | [
"public final void synpred21_InternalCheckCfg_fragment() throws RecognitionException { \r\n // ../com.avaloq.tools.dslsdk.checkcfg.core/src-gen/com/avaloq/tools/dslsdk/checkcfg/parser/antlr/internal/InternalCheckCfg.g:3497:4: ( ( '(' ) )\r\n // ../com.avaloq.tools.dslsdk.checkcfg.core/src-gen/com/av... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by Apache iBATIS ibator. This method returns the value of the database column W_WORKING_TYPES.CREATED_BY_TCP_IP | public String getCreatedByTcpIp() {
return createdByTcpIp;
} | [
"@AutoEscape\n\tpublic String getWorkingTimeType();",
"public String getWorkingType() {\r\n return workingType;\r\n }",
"public String getCreateip() {\n return createip;\n }",
"public Integer getWlantypeid() {\n return wlantypeid;\n }",
"public String getCreateUserip() {\r\n\t\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Check if all players decks are empty and return true/false | @Override
public boolean checkAllDecksEmpty(int plDeckPosition) {
// Are all the decks empty
boolean flag = true;
// Loop through all decks at deck position for each player
for (Player player : this.players) {
if (!player.isDeckEmpty(plDeckPosition)) {
... | [
"boolean isDeckEmpty();",
"@Override\r\n public boolean checkOnePlayerDecksEmpty(int plDeckPosition){\r\n // Is there one player with two empty decks\r\n boolean flag = false;\r\n \r\n //Loop through all decks at deck position for each player\r\n for(Player player : this.play... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Called by the base class to add slots to the meta data. | protected void addSlotsFromEbXML(C metaData, E ebXML) {} | [
"protected void addSlots(C metaData, E ebXML, EbXMLObjectLibrary objectLibrary) {}",
"public void addSlotSpecific() {\n if(getDefinition().getExtendedType() == null || !getDefinition().getExtendedType().equals(SmartContractType.SLOT1.name()))\n getDefinition().setExtendedType(SmartContractType.S... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method should remove jobs one by one (in the right order) and process them individually. | public void processAllJobs() {
while(jobs.size() > 0) {
processJob(jobs.remove());
}
} | [
"private void cleanseEndedJobs() {\n\t\tList<String> executions = new ArrayList<>(myJobExecutions);\n\t\tList<String> idsToDelete = new ArrayList<>();\n\t\tfor (String id : executions) {\n\t\t\t// TODO - might want to consider a \"fetch all instances\"\n\t\t\tJobInstance instance = myJobCoordinator.getInstance(id);... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Indicates that we are done with the partitioning. Calls out to the appropriate callback function | protected void done( Callback c ){
//done with the partitioning
c.cbDone();
} | [
"public void afterPartitionedStepCompletion(String status) throws Exception;",
"public void run()\n\t{\n\t\tthis.partition();\n\t}",
"public void endCallback(){\n inProgress = false;\n desInit();\n }",
"public void processingComplete();",
"public void beforePartitionedStepCompletion() throw... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Iterator used for the entries | private Iterator getEntries(){
Set entries = items.entrySet();
return entries.iterator();
} | [
"public Iterator<Entry<K,V>> iterator( ) { return new EntryIterator( ); }",
"@Override\n public Iterator<E> iterator() {\n return Collections.unmodifiableCollection(entries.values()).iterator();\n }",
"public Iterator<Entry<TKey, TValue>> iterator() {\n return new EntryIterator();\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Buscarsubmit: with specific test context and state. .id : idTmpB:compBotonBuscarVarPresu:idCmbIrBuscar .type : submit .value : .title : .class : Html.BUTTON .name : .classIndex : 0 | protected GuiTestObject button_buscarsubmit2(TestObject anchor, long flags)
{
return new GuiTestObject(
getMappedTestObject("button_buscarsubmit2"), anchor, flags);
} | [
"protected GuiTestObject button_buscarsubmit() \r\n\t{\r\n\t\treturn new GuiTestObject(\r\n getMappedTestObject(\"button_buscarsubmit\"));\r\n\t}",
"protected GuiTestObject button_buscarsubmit2() \r\n\t{\r\n\t\treturn new GuiTestObject(\r\n getMappedTestObject(\"butto... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
only select activity instances for the given process instance id | HistoryActivityInstanceQuery processInstanceId(String processInstanceId); | [
"@Override\n public Collection<ExecutionEntity> findInactiveExecutionsByActivityIdAndProcessInstanceId(String activityId, String processInstanceId) {\n log.debug(\"findInactiveExecutionsByActivityIdAndProcessInstanceId[processInstanceId={}, activityId={}]\", processInstanceId, activityId);\n HashMa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
public setter If too many search results match the query, the TooManyMatchesFound tag is returned with a value of true, and a warning is returned. If this occurs, it may be a good idea to ask the user to specify more details to narrow the search (e.g., specify "My Favorite Movie" instead of "My"). Always returns false ... | public void setTooManyMatchesFound(boolean tooManyMatchesFound) {
this.tooManyMatchesFound = tooManyMatchesFound;
} | [
"public boolean getTooManyMatchesFound() {\n\t return this.tooManyMatchesFound;\n\t}",
"@Transactional\n\t@Test\n\tpublic void test_advancedSearch_resultReturnsNumMeaningfulUse() throws InvalidArgumentsException {\n\t\tSearchRequest sr = new SearchRequest();\n\t\tsr.setPageNumber(0);\n\t\tsr.setPageSize(50);\n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Handle channel resubscribe failed | private void handleResubscribeFailed(final Map<Integer, BitfinexStreamSymbol> oldChannelIdSymbolMap)
throws APIException, InterruptedException {
final int requiredSymbols = oldChannelIdSymbolMap.size();
final int subscribedSymbols = channelIdSymbolMap.size();
// Unsubscribe old channels before the symbol... | [
"private void resubscribeChannels() throws InterruptedException, APIException {\n\t\tfinal Map<Integer, BitfinexStreamSymbol> oldChannelIdSymbolMap = new HashMap<>();\n\n\t\tsynchronized (channelIdSymbolMap) {\n\t\t\toldChannelIdSymbolMap.putAll(channelIdSymbolMap);\n\t\t\tchannelIdSymbolMap.clear();\n\t\t\tchannel... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get a comparator that calls compareCharSequences(). | public static Comparator<CharSequence> charSequenceComparator() {
return CharSequenceComparator.INSENSITIVE;
} | [
"public <T extends CharSequence> Comparator<T> caseInsensitiveStringComparator() {\n return new CaseInsensitiveStringComparator<T>();\n }",
"java.lang.String getCompare();",
"public String getComparator() {\n\t\treturn comparator;\n\t}",
"protected Comparator getNameComparator()\n {\n if(n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Gets the BinaryCollaboration object at the specified index. | public BinaryCollaboration getBinaryCollaboration(int index)
{
return (BinaryCollaboration)_objBinaryCollaboration.get(index);
} | [
"public BinaryCollaboration removeBinaryCollaboration(int index)\n {\n return (BinaryCollaboration)_objBinaryCollaboration.remove(index);\n }",
"public MultiPartyCollaboration getMultiPartyCollaboration(int index)\n {\n return (MultiPartyCollaboration)_objMultiPartyCollaboration.get(index);\n }",
"pub... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
To get the square ASCII values of the characters of the words | private int calculateSquare(String myWord){
int tempSquare=0;
char[] ch = new char [myWord.length()];
for (int i = 0; i < myWord.length(); i++) {
ch[i] = myWord.charAt(i);
}
for (char c : ch) {
int num = Character.getNumericValue(... | [
"private String[] getConvertedChars()\r\n {\r\n int ascii;\r\n String binary;\r\n int numberOfChars = text.length();\r\n String[] str = new String[numberOfChars];\r\n\r\n for(int i = 0; i < numberOfChars; i++) {\r\n str[i] = \"\";\r\n // Convert char to ascii\r\n a... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
public void setContents(ChildElement[] newContents) | public void testSetContents() {
String[] otherChildren = {"bellatrix", "betelgeuse", "alnitak", "saiph", "rigel", "mintaka"};
ChildElement[] otherContents = new ChildElement[otherChildren.length];
for (int i = 0; i < otherChildren.length; i++) {
contents[i] = new ChildElement(ne... | [
"protected void setContents(Object contents) {\n\t}",
"public void ySetContent(Node old_content, Node... new_content) {\r\n if(old_content != null)\r\n yRemoveContent(old_content);\r\n else\r\n yClear();\r\n \r\n yAddContent(new_content);\r\n }",
"public void... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the Actor ID from TMDB result | @Nullable
private String getActorID(JSONObject response) {
try {
JSONArray jsonResults = response.getJSONArray("results");
JSONObject obj = (JSONObject) jsonResults.get(0);
return obj.get("id").toString();
} catch (JSONException e) {
e.printStackTrace(... | [
"String getActorId();",
"ActorId getActorId();",
"int getActorId() {\n return this.actorID;\n }",
"AvActorCodeModel selectByPrimaryKey(Long id);",
"@Test\n @Ignore\n public final void listActorIdForActorTable() throws SQLException {\n PriKeyLister lister = new PriKeyLi... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the path and name of the resulting XML file | private String getOutputXmlFilename() throws XmlDocumentNotGeneratedException {
// Check if the XML document has been generated
if (this.xmlFilename.length() == 0) {
throw new XmlDocumentNotGeneratedException();
}
return this.outputFolder + System.getProperty("file.separato... | [
"public String getXmlFile() {\n\t\tString filename = \"\";\n\t\tif (xmlFile != null) {\n\t\t\tif (xmlFile.contains(\"/\")) {\n\t\t\t\tfilename = xmlFile.substring(xmlFile.lastIndexOf(\"/\") + 1);\n\t\t\t} else if (xmlFile.contains(\"\\\\\")) {\n\t\t\t\tfilename = xmlFile.substring(xmlFile.lastIndexOf(\"\\\\\") + 1)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Delete an Application level policy specified by uuid | @Override
public Response throttlingPoliciesApplicationPolicyIdDelete(String policyId, MessageContext messageContext) {
try {
APIProvider apiProvider = RestApiCommonUtil.getLoggedInUserProvider();
String username = RestApiCommonUtil.getLoggedInUsername();
//This will giv... | [
"boolean removePolicy(Policy policy);",
"void unregister(String policyId);",
"java.util.concurrent.Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest deleteResourcePolicyRequest);",
"@DeleteMapping(\"/policies/{id}\")\n @Timed\n public ResponseEntity<Void> deletePol... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Expose the LiveData Movies query so the UI can observe it. | public LiveData<List<MovieEntity>> getMovies() {
return mObservableMovies;
} | [
"public List<MovieModel> getMoviesByQuery(){\n return movieLists;\n }",
"public Cursor getMovies() {\r\n database = movies.getReadableDatabase();\r\n Cursor cursor = database.query(TABLE_NAME, FROM, null, null, null, null, ORDER_BY);\r\n while (cursor.moveToNext()) {\r\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Setter method : setEmpNumber | public void setEmpNumber(String empNumber)
{
this.empNumber = empNumber;
} | [
"private void setEmpNumber() {\n int tmp = checkToInteger(empNumberTextField.getText());\n if(tmp != -1) {\n this.empNumber = tmp;\n }\n }",
"public void setEmpno(Number value) {\r\n setAttributeInternal(EMPNO, value);\r\n }",
"public void setEmpnum(Integer empnum) {... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column dt_expense_adjstmnt.TEMPORARY_MONEY | public Integer getTemporaryMoney() {
return temporaryMoney;
} | [
"@gw.internal.gosu.parser.ExtendedProperty\n public java.math.BigDecimal getTmpDebitBalanceReserving();",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.math.BigDecimal getTmpDebitBalance();",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.math.BigDecimal getTmpDebitBalanceReporting();",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test of getKeyStorePath method, of class KeyringBackend. | @Test
public void testGetKeyStorePath() {
//
KeyringBackend instance = new KeyringBackendImpl();
//
assertNull(instance.getKeyStorePath());
//
instance.setKeyStorePath("/path/to/keystore");
assertEquals("/path/to/keystore", instance.getKeyStorePath());
} | [
"@Test\n public void testSetKeyStorePath() {\n //\n KeyringBackend instance = new KeyringBackendImpl();\n\n //\n instance.setKeyStorePath(\"/path/to/keystore\");\n assertEquals(\"/path/to/keystore\", instance.getKeyStorePath());\n }",
"protected static String getKeyStorePa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the id_pais_localidade_totvs value for this Funcionario. | public void setId_pais_localidade_totvs(int id_pais_localidade_totvs) {
this.id_pais_localidade_totvs = id_pais_localidade_totvs;
} | [
"public void setId_cidade_localidade_totvs(int id_cidade_localidade_totvs) {\n this.id_cidade_localidade_totvs = id_cidade_localidade_totvs;\n }",
"public void setId_uf_localidade_totvs(int id_uf_localidade_totvs) {\n this.id_uf_localidade_totvs = id_uf_localidade_totvs;\n }",
"public void s... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Spring Data SQL reactive repository for the Job entity. | @SuppressWarnings("unused")
@Repository
public interface JobRepository extends R2dbcRepository<Job, Long>, JobRepositoryInternal {
Flux<Job> findAllBy(Pageable pageable);
@Query("SELECT * FROM job entity WHERE entity.employee_id = :id")
Flux<Job> findByEmployee(Long id);
@Query("SELECT * FROM job enti... | [
"@SuppressWarnings(\"unused\")\n@Repository\npublic interface JobHistoryRepository extends R2dbcRepository<JobHistory, Long>, JobHistoryRepositoryInternal {\n Flux<JobHistory> findAllBy(Pageable pageable);\n\n @Query(\"SELECT * FROM job_history entity WHERE entity.job_id = :id\")\n Flux<JobHistory> findByJ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Show all possible options to user. 0 Exit (False situation occures) Gracefully ending operations called. Room infos will update. User infos will update. 1 Book a Room : Calls book room function. 2 Check in: Check in for a booked room in hotel. 3 Check out: Check out for check inned rooms. 4 Cancel Room : If user booked... | public boolean show_options() throws FileNotFoundException
{
System.out.println("The options that you can do:\n");
boolean return_val = true;
System.out.println("0 - Exit.\n1 - Book a room.\n" + "2 - Check in.\n3 - Check out\n" + (booked_room == null ? "" : "4 - Cancel a room"));
swi... | [
"private void showPlayerTurnOptions() {\n Scanner scanner = new Scanner(System.in);\n System.out.println(\"Choose what to do: \"\n + \"\\n\"\n + \"1.End turn.\"\n + \"\\n\"\n + \"2.Act on a territory.\");\n int choice = scanner.nextInt... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Create random posision enemy | void generateEnemy(){
Enemy e = new Enemy((int)(Math.random()*
(cp.getWidthScreen() - (ss.getWidth()/2)))
,ss.getHeight(), cp.getHieghtScreen()); //Enemy (int x, int y, int heightScreen)
cp.shapes.add(e);
enemies.add(e);
} | [
"private void generateEnemies(){\n\t\tint coordX = ThreadLocalRandom.current().nextInt(0, 16);\n\t\tint coordY = ThreadLocalRandom.current().nextInt(0, 16);\n\t\tEnemy enemy = new Enemy(coordX,coordY);\n\t\tenemies.put(0, enemy);\n\t\tcoordX = ThreadLocalRandom.current().nextInt(0, 16);\n\t\tcoordY = ThreadLocalRan... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Tests that if screen layout size changed but did not cross a threshold, the filtered diff does not include screen layout. | @Test
public void testScreenLayoutFilteredIfSizeDidNotCrossThreshold() {
// Set only small and large sizes
final Configuration[] sizeConfigs = new Configuration[2];
sizeConfigs[0] = new Configuration();
sizeConfigs[0].screenLayout |= SCREENLAYOUT_SIZE_SMALL;
sizeConfigs[1] = ... | [
"@Test\n public void testScreenLayoutNotFilteredIfSizeCrossedThreshold() {\n // Set only small and normal sizes\n final Configuration[] sizeConfigs = new Configuration[2];\n sizeConfigs[0] = new Configuration();\n sizeConfigs[0].screenLayout |= SCREENLAYOUT_SIZE_SMALL;\n sizeCo... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the sound to play only once | public boolean setSoundSingle()
{
return soundMaster.setLooping(soundCode, false);
} | [
"public void setOnlyPlayFirstSound(boolean val) { onlyPlayFirstSound = val; }",
"public void toggleSound()\n\t{\n\t\tif (sound)\n\t\t\tsound = false;\n\t\telse\n\t\t\tsound = true;\n\t\tnotifyObservers();\n\t}",
"public void toggleSound() {\n if (mutedSound) {\n mutedSound = false;\n } ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Filtra los pedidos segun el valor buscado segun el rol de usuario logueado, si no hay valor de busqueda, consulta todos los pedidos | public void buscarPedido() {
PedidoDao pedidoDao = new PedidoDao();
pedidos = new ArrayList<>();
if (buscar.isEmpty()) {
if (Sesion.obtenerSesion().getRol().getIdRol() == 1) {
pedidos = pedidoDao.consultarPedidos();
} else if (Sesion.obtenerSesion().g... | [
"List<Movimiento> buscarMovimientosPorUsuario(Long idUsuario);",
"public void cargarEmpresasUsuario() {\n List<Integer> lista = new ArrayList<>();\n\n noCliente = activeUser.getCliente();\n String tipoUser = activeUser.getPerfil().getTipoUser();\n if (tipoUser.equalsIgnoreCase(\"CLIENT... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This METHOD reads Log Files, extracts XML CLASS PATH(s), converts and outputs them as an ASC sorted String Array | public String[] readLogOutputXmlLinesArray(String path, String fileName) throws IOException{
String[] string = readTextFileOutputLinesArray(path, fileName);
Pattern p = Pattern.compile("<class name=\"");
// FAILURES COUNTER
int i = 0;
for (S... | [
"public String[] readLogOutputXmlLinesArray(String fileName) throws IOException{\n \t\tString[] string = readTextFileOutputLinesArray(fileName);\n Pattern p = Pattern.compile(\"<class name=\\\"\");\n \n // FAILURES COUNTER\n \t\tint i = 0;\n \t\tfor ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Method setHalFlag to set flag to 'Y' or 'N'. | public void setHalFlag(String halFlag) {
this.halFlag = halFlag;
} | [
"public String getHalFlag() {\n return halFlag;\n }",
"void setFlag();",
"public void setFlag(Boolean flag) {\n this.flag = flag;\n }",
"public void setNormalizationState(boolean flag);",
"public void setStolenFlag(String stolenFlag)\n\t{\n\t\tthis.stolenFlag = stolenFlag;\n\t}",
"publ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "entryRuleImport" $ANTLR start "ruleImport" ../de.hs_rm.cs.vs.dsm.flow/srcgen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g:295:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_STRING ) ) ) ; | public final EObject ruleImport() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_importURI_1_0=null;
enterRule();
try {
// ../de.hs_rm.cs.vs.dsm.flow/src-gen/de/hs_rm/cs/vs/dsm/parser/antlr/internal/InternalFlow.g... | [
"public final EObject ruleImport() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_0=null;\n Token lv_importURI_1_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalMyDsl.g:140:2: ( (otherlv_0= 'import' ( (lv_importURI_1_0= RULE_IMPORT_URI ) )... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test that an XML representation of a scripted policy is valid according to the ExecutionPolicy schema. | @Test(timeout=TEST_TIMEOUT)
public void testValidXML() throws Exception {
final String validTrueXML = FileUtils.readTextFile(RESOURCES_DIR + "/ValidTrueGridPolicy.xml");
final String validFalseXML = FileUtils.readTextFile(RESOURCES_DIR + "/ValidFalseGridPolicy.xml");
PolicyParser.validatePolicy(validTrueX... | [
"@Test(timeout=TEST_TIMEOUT)\n public void testTrueXmlPolicy() throws Exception {\n final int nbTasks = 5;\n final String xml = FileUtils.readTextFile(RESOURCES_DIR + \"/ValidTrueGridPolicy.xml\");\n final String name = ReflectionUtils.getCurrentClassAndMethod();\n final ExecutionPolicy p = PolicyParse... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
.dstore.values.IntegerValue person_charac_category_id = 1; | io.dstore.values.IntegerValue getPersonCharacCategoryId(); | [
"io.dstore.values.IntegerValue getPageCategoryId();",
"io.dstore.values.IntegerValue getPersonId();",
"io.dstore.values.IntegerValue getItemConditionId();",
"io.dstore.values.IntegerValue getValueId();",
"io.dstore.values.IntegerValue getPersonTypeId();",
"io.dstore.values.IntegerValue getPersonCharacteri... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Load and unmarshal a RegistryFragment from the file | public void loadFragment(String file) {
try {
RegistryFragment fragment = createFragment(file);
// mark this fragment as changed
fragment.setChanged(true);
// if we get here, we successfully loaded the new fragment
updateFragment(file, fragment);
} catch (Throwable t) {
... | [
"Object unmarshal(File file) throws CoreException;",
"Object unmarshal(URL fileUrl) throws CoreException;",
"RegistryCenterConfig load(String name);",
"public Structure load( String name ) throws IOException;",
"private void load()\n\t{\n\t\ttry {\t\t\t\n\t\t\tparseFile(\"ServerConfig.xml\");\t\t\t\n\t\t} c... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Factory for make fighters | public interface FighterFactory {
/**
* Create a PlayerFighter from a game player
*
* @param player The player
*
* @return The PlayerFighter
*/
public PlayerFighter create(GamePlayer player);
} | [
"public PlayerFighter create(GamePlayer player);",
"@Test\n\tpublic void canCreateFighterTest() {\n\t\tFighter fighter = new Fighter(10, 5, 5, testWeapon, \"Hercules\");\n\t\t\n\t\tassertTrue(fighter instanceof Fighter);\n\t}",
"public abstract AbstractEnemyFactory getEnemyFactory();",
"public void attack(Fig... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
test case for partial row runtime statistics. / This test checks correctness of simple runtime statistics. It first exercises queries when there's no index present, then with an index present; expecting to see a difference between Table Scan and Index Scan. Also of interest is that the qualifiers look right; whether it... | public void testPartialRowRTStats() throws Exception
{
Statement st = createStatement();
st.executeUpdate("set ISOLATION to RR");
setAutoCommit(false);
st.executeUpdate(
"create table foo (a int, b int, c int, d int, e int)");
st.executeUpdate("in... | [
"private void assertStatsOK(Statement st, String expectedScan, \n String expTableInIndexScan, String expIndexInIndexScan, \n String expBits, String expNumCols, String expDelRowsV, \n String expPages, String expRowsQ, String expRowsV, \n String expScanType, String exp... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks whether two attribute sets are equal. | public boolean isEqual(AttributeSet attr) {
return ((getAttributeCount() == attr.getAttributeCount()) &&
containsAttributes(attr));
} | [
"public static <T> boolean arraysAreIdenticalSets(NSArray<? super T> a1, NSArray<? super T> a2) {\n if (a1 == null || a2 == null) {\n return a1 == a2;\n }\n boolean result=true;\n for (Enumeration<? super T> e = a1.objectEnumerator(); e.hasMoreElements();) {\n Object i = e.nextElement();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column TRSDEAL_PROMISSORY_FX.PROMISSORY_FX_NO | public BigDecimal getPROMISSORY_FX_NO()
{
return PROMISSORY_FX_NO;
} | [
"public void setPROMISSORY_FX_NO(BigDecimal PROMISSORY_FX_NO)\r\n {\r\n\tthis.PROMISSORY_FX_NO = PROMISSORY_FX_NO;\r\n }",
"public String getprop_no() {\n return (String)getNamedWhereClauseParam(\"prop_no\");\n }",
"public String getpropNo() {\n return (String)getNamedWhereClauseParam(\"p... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
A leaf trie node representing KEY. | SingletonTrieNode(String key) {
_key = key;
} | [
"abstract K getFirstLeafKey();",
"public NodeKey createNodeKey();",
"K getFirstLeafKey() {\r\n return keys.get(0);\r\n }",
"K getFirstLeafKey() {\r\n return children.get(0).keys.get(0);\r\n }",
"static void insert(String key) {\n int lvl, idx;\n int ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "entryRuleVariableDecl" $ANTLR start "ruleVariableDecl" ../br.ufpe.cin.Tupi/srcgen/br/ufpe/cin/parser/antlr/internal/InternalTupi.g:1555:1: ruleVariableDecl returns [EObject current=null] : ( ( (lv_type_0_0= ruleType ) ) ( (lv_name_1_0= RULE_ID ) ) ) ; | public final EObject ruleVariableDecl() throws RecognitionException {
EObject current = null;
Token lv_name_1_0=null;
EObject lv_type_0_0 = null;
enterRule();
try {
// ../br.ufpe.cin.Tupi/src-gen/br/ufpe/cin/parser/antlr/internal/InternalTupi.g:1558:... | [
"public final EObject entryRuleVariableDecl() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleVariableDecl = null;\n\n\n try {\n // ../br.ufpe.cin.Tupi/src-gen/br/ufpe/cin/parser/antlr/internal/InternalTupi.g:1547:2: (iv_ruleVariableDecl= ruleVariableDecl E... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks whether the 'var5' field has been set. | public boolean hasVar5() {
return fieldSetFlags()[6];
} | [
"public boolean hasField5() {\n return fieldSetFlags()[5];\n }",
"public boolean hasVar55() {\n return fieldSetFlags()[56];\n }",
"public boolean hasVar4() {\n return fieldSetFlags()[5];\n }",
"public boolean isSetMD5() {\r\n return this.MD5 != null;\r\n }",
"public boolean hasVa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Checks whether the 'var17' field has been set. | public boolean hasVar17() {
return fieldSetFlags()[18];
} | [
"public boolean hasVar23() {\n return fieldSetFlags()[24];\n }",
"public boolean hasVar18() {\n return fieldSetFlags()[19];\n }",
"public boolean hasVar21() {\n return fieldSetFlags()[22];\n }",
"public boolean hasVar123() {\n return fieldSetFlags()[124];\n }",
"public boolea... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets end of segment | void setEndSegment(int endSegment); | [
"public void setEnd(int end)\n {\n _end = end;\n this.end = end;\n this.endSpecified = true;\n }",
"private void setEnd( Point p )\n {\n this.end = new Point(p); // Update Start Point\n }",
"public void setEnd(int end)\n {\n this.end = end;\n this.endSpecified = true;\n }",
... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column t_paper_standard.test_time | public void setTestTime(Integer testTime) {
this.testTime = testTime;
} | [
"void setTime(int parameterIndex, java.sql.Time x) throws SQLException;",
"@Test\n private void defineTime() {\n\t\ttime.setCapitao(id);\n\t\ttime.setId(id);\n\t\ttime.setNome(test);\n\t}",
"public void setTime(Time time) {\n this.time = time; // assigns the time argument value to the time att... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the value of the 'otherStatsTeamAbbreviation' field | public gov.nasa.jpl.xdata.nba.impoexpo.structs.OtherStats.Builder setOtherStatsTeamAbbreviation(java.lang.CharSequence value) {
validate(fields()[4], value);
this.otherStatsTeamAbbreviation = value;
fieldSetFlags()[4] = true;
return this;
} | [
"public void setOtherStatsTeamAbbreviation(java.lang.CharSequence value) {\n this.otherStatsTeamAbbreviation = value;\n setDirty(4);\n }",
"public void setOtherStatsTeamAbbreviation(java.lang.CharSequence value) {\n\t throw new java.lang.UnsupportedOperationException(\"Set is not supported on tombstones... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Adds an operation server. | public Builder addOperationServer(String operationID, String operationServer) {
addToEntry(operationServers, operationID, operationServer);
return this;
} | [
"public void addFileServer(FileServer server) {\n List<FileServer> l = mFileServers.get(server.getSupportedOperation());\n l.add(server);\n }",
"public void addServer(Identity identity, ServerInvokerMetadata invokers[]);",
"public void addServer(String nameServer) { \n Server server = n... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
public void setupLevel() Starts all of the GameObjects, sets the difficulty and so on. Used to simplify each of the level methods | public void setupLevel() {
pl.start();//start the player
//move the player to the default position
pl.setXPosition(DEFAULT_PLAYER_X_POS);
pl.setYPosition(DEFAULT_PLAYER_Y_POS);
pl.setHp(100);//reset the hp
//stop the player, force the plyer to stop firing
... | [
"private void startLevel() {\r\n\t\tinitAliens(currentLevel, 0);\r\n\t\tinitMeteors(currentLevel, 0);\r\n\t\tinitTiles(currentLevel, 0);\r\n\t\tinitRockets(currentLevel, 0);\r\n\t\tinitTripods(currentLevel, 0);\r\n\t\tinitFuel(currentLevel, 0);\r\n\t\tinitExplosions();\t\t\r\n\t\t\t\t\r\n\t\t// Reset craft location... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This test is to verify valid error code CFGUSG12006:C_STD_USAGE_DEF.cyc_bool must be Y or N. | @Test
public void test_CFGUSG_12006() {
System.out.println( "=======Starting: " + testName.getMethodName()
+ " Validation========================" );
// C_STD_USAGE_DEF table
Map<String, String> lUsages = new LinkedHashMap<>();
lUsages.put( "ASSMBL_CD", "\'" + iAssmblCD_ENG + "\... | [
"@Test\n public void test4() throws Throwable {\n CST_COFINS cST_COFINS0 = CST_COFINS.COFINS_02;\n boolean boolean0 = cST_COFINS0.isRequiredTag(\"COFINS_02\");\n assertEquals(false, boolean0);\n }",
"@Test\n public void test_CFGUSG_12010() {\n System.out.println( \"=======Starting: \" + ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Use multiStocks_rep.newBuilder() to construct. | private multiStocks_rep(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
} | [
"private multi_selectedStocks_rep(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }",
"private multi_selectedStocks_req(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }",
"private selectedStocks_rep(com.google.protobuf.GeneratedMessa... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Test the stripped TIFF file vs the same data as interleaved | @Test
public void testStrippedVsInterleave() throws IOException {
File strippedFile = TiffTestUtils
.getTestFile(TiffTestConstants.FILE_STRIPPED);
TIFFImage strippedTiff = TiffReader.readTiff(strippedFile);
File interleaveFile = TiffTestUtils
.getTestFile(TiffTestConstants.FILE_INTERLEAVE);
TIFFImage... | [
"@Test\n\tpublic void testStrippedVsTiled() throws IOException {\n\n\t\tFile strippedFile = TiffTestUtils\n\t\t\t\t.getTestFile(TiffTestConstants.FILE_STRIPPED);\n\t\tTIFFImage strippedTiff = TiffReader.readTiff(strippedFile);\n\n\t\tFile tiledFile = TiffTestUtils\n\t\t\t\t.getTestFile(TiffTestConstants.FILE_TILED)... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method will be executed when someone wants to leave their group | private static void leaveGroup(ClientHandler handler) {
if (Main.leaveGroup(handler)) {
Main.sendMessage(handler.getSocket(), "BCST Succesfully left your group");
} else {
Main.sendMessage(handler.getSocket(), "ERR You are not in a group!");
}
} | [
"public void leaveGroup() {\n groupManager.leaderDeleteGroup();\n }",
"public void leaveGroup() {\n\n\n\n for (Entry<String, MemberInfo> entry : membershipList.entrySet()) {\n MemberInfo member = entry.getValue();\n if (member.getIsActive() && !member.getIp().equals(machineI... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Edit an existing status. | void editStatus(Status status, String name, String description, String iconUrl); | [
"void editStatus(Status status, String name, String description, String iconUrl, StatusCategory statusCategory);",
"void changeStatus(Long id, Boolean active) throws ValidationException, NotFoundException;",
"public void setStatus(Status newStatus){\n status = newStatus;\n }",
"public void setStatus(Strin... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets (as xml) the "hasOutput" element | public void xsetHasOutput(org.apache.xmlbeans.XmlBoolean hasOutput)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(HASOUTPUT$18, 0);
if... | [
"public void setHasOutput(boolean hasOutput)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(HASOUTPUT$18, 0);\n if (target =... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
/ %L Vaadin Charts %% Copyright (C) 2014 Vaadin Ltd %% This program is available under Commercial Vaadin AddOn License 3.0 (CVALv3). See the file licensing.txt distributed with this software for more information about licensing. You should have received a copy of the CVALv3 along with this program. If not, see < L% Lis... | public interface ImageListener {
/**
* A method that will be invoked once the image data has been properly
* loaded by the browser. Implement it to be notified when the image has
* been loaded successfully and is ready to use.
*
* @param image
* a handle to this image obje... | [
"public void onLoadImage();",
"void onImagesLoaded();",
"public void onImageRendered (RenderedImage renderedImage);",
"void onImageLoadStart(int pos);",
"@GFlotExamplesSource\n @UiHandler( \"createImage\" )\n void onClickCreateImage( ClickEvent e )\n {\n if ( plot.isExportAsImageEnabled() )\... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method returns the value of the database column storage_device.install_time | public Date getInstallTime() {
return installTime;
} | [
"com.google.protobuf.TimestampOrBuilder getInstallTimeOrBuilder();",
"public OffsetDateTime installedDateTime() {\n return this.innerProperties() == null ? null : this.innerProperties().installedDateTime();\n }",
"public long getStartupTime() {\n\t\treturn FcpUtils.safeParseLong(getField(\"StartupTime... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the resource loader to be used. Be aware that it sets a static variable so it will be used by other tests too. | public static void setResourceLoader(ResourceLoader resourceLoader) {
CommonSmockClient.setResourceLoader(resourceLoader);
} | [
"@Override\n\tpublic void setResourceLoader(@Nullable ResourceLoader resourceLoader) {\n\t\tthis.resourceLoader = (resourceLoader != null ? resourceLoader : new DefaultResourceLoader());\n\t}",
"public void setLoader(URLClassLoader loader);",
"public void setLoader(Loader loader) {\r\n this.loader = load... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Add basics Func objects to L2PcInstance and L2Summon. Concept : A calculator is created to manage and dynamically calculate the effect of a character property (ex : MAX_HP, REGENERATE_HP_RATE...). In fact, each calculator is a table of Func object in which each Func represents a mathematic function : FuncAtkAccuracy > ... | public static void addFuncsToNewCharacter(L2Character cha)
{
if (cha instanceof L2PcInstance)
{
cha.addStatFunc(FuncMaxHpMul.getInstance());
cha.addStatFunc(FuncMaxCpMul.getInstance());
cha.addStatFunc(FuncMaxMpMul.getInstance());
//cha.addStatFunc(FuncMultRegenResting.getInstance(Stats.REGENERATE_HP_R... | [
"private void addFunctionListeners()\n\t{\n\t\tadd.addActionListener (new functionListener());\n\t\tsubtract.addActionListener (new functionListener());\n\t\tmultiply.addActionListener (new functionListener());\n\t\tdivide.addActionListener (new functionListener());\n\t\tequals.addActionListener (new functionListen... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the hookName property: hook unique name. | public String getHookName() {
return this.hookName;
} | [
"String getWebhookName();",
"public String getName() {\n return lutName;\n }",
"public UUID getHookId() {\n return this.hookId;\n }",
"public String uniqueName(String proposedHookName) {\n\t\treturn exists(proposedHookName) ? proposedHookName + ++gen\n\t\t\t\t: proposedHookName;\n\t}",
"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns the result of interpreting the object as an instance of 'Annotation Container'. This implementation returns null; returning a nonnull result will terminate the switch. | public T caseAnnotationContainer(AnnotationContainer object)
{
return null;
} | [
"public T caseLabelContainer(LabelContainer object) {\n\t\treturn null;\n\t}",
"public T caseAnnotation(Annotation object) {\n\t\treturn null;\n\t}",
"public T caseAnnotationAnnotationValue(AnnotationAnnotationValue object)\n {\n return null;\n }",
"public T caseContainer(Container object) {\n\t\treturn ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set the ApplicationEventPublisher that this object runs in. Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom initmethod. Invoked before ApplicationContextAware's setApplicationContext. | void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher); | [
"public void setEventPublisher(ApplicationEventPublisher eventPublisher) {\n this.eventPublisher = eventPublisher;\n }",
"public DefaultStoreEventPublisher(ApplicationEventPublisher applicationEventPublisher) {\n\t\tthis.applicationEventPublisher = applicationEventPublisher;\n\t}",
"void setEventPublisher(E... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Set precompiled binding flag. | public void setPrecompiled(boolean precomp) {
m_precompiled = precomp;
} | [
"final void setCompiled() {\n\tthis.compiled = true;\n\tthis.liveOrCompiled = this.live || this.compiled;\n }",
"public boolean getUsePrecompiled();",
"public void setCompile( boolean compile )\n {\n this.compile = compile;\n if( !this.compile && !this.keep )\n {\n this.kee... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new FNatsPublisherTransport which is used for publishing. | protected FNatsPublisherTransport(Connection conn) {
this.conn = conn;
} | [
"public FPublisherTransport getTransport() {\n return new FNatsPublisherTransport(this.conn);\n }",
"abstract public Transports createTransports();",
"ITransport createTransport(T netconfAccessInfo) throws NetconfException;",
"public PubSubPublisher() {\n\t\tlog.info(\"Created PubSubPublishe... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
This method was generated by MyBatis Generator. This method sets the value of the database column tb_storage_record_modifylog.storage_record_id | public void setStorageRecordId(Long storageRecordId) {
this.storageRecordId = storageRecordId;
} | [
"public void setRecordId(Integer recordId) {\n this.recordId = recordId;\n }",
"public void setRecordID(int value) {\n this.recordID = value;\n }",
"public void setRecordId(String tmp) {\n this.recordId = Integer.parseInt(tmp);\n }",
"public Long getStorageRecordId() {\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Perform the extension changes. These changes don't need to be restricted to the selected edit part. The complete automaton will be updated automatically after this operation. | protected abstract void performExtensionsChange(IProgressMonitor monitor) throws ExecutionException; | [
"private void updateAutomatonExtensions(Automaton automaton, IProgressMonitor monitor) {\r\n\t\t\r\n\t\t// System.out.print(\"Updating extensions for \" + automaton + \"... \");\r\n\t\t\r\n\t\t// Check the extension ids of the automaton.\r\n\t\tAutomataCorrector.correctExtensionIds(automaton);\r\n\t\tAutomataCorrec... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
END get Set method for field pDepthStencilAttachment[vkstruct] Prototype: const VkAttachmentReference pDepthStencilAttachment | public VkSubpassDescription pDepthStencilAttachment(VkAttachmentReference pDepthStencilAttachment){
this.pDepthStencilAttachment = pDepthStencilAttachment;
ByteBuffer buff = (pDepthStencilAttachment==null) ? null : pDepthStencilAttachment.getPointer();
setPDepthStencilAttachment0(this.ptr, buff);
return thi... | [
"public VkAttachmentReference pDepthStencilAttachment(){\n\t\t long pointer = getPDepthStencilAttachment0(super.ptr);\n\t\t if(pointer == 0){\n\t\t this.pDepthStencilAttachment = null;\n\t\t return null;\n\t\t } \n\n\t\t if(this.pDepthStencilAttachment == null){\n\t\t this.pDepthStencilAttachment = new Vk... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "ruleOnCycleEvent" $ANTLR start "entryRuleAlwaysEvent" ../org.yakindu.sct.model.stext/srcgen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:2206:1: entryRuleAlwaysEvent returns [EObject current=null] : iv_ruleAlwaysEvent= ruleAlwaysEvent EOF ; | public final EObject entryRuleAlwaysEvent() throws RecognitionException {
EObject current = null;
EObject iv_ruleAlwaysEvent = null;
try {
// ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:2207:2: (iv_ruleAlwaysEvent... | [
"public final EObject entryRuleAlwaysEvent() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleAlwaysEvent = null;\r\n\r\n\r\n try {\r\n // ../org.yakindu.sct.statechart.expressions/src-gen/org/yakindu/sct/statechart/parser/antlr/internal/InternalExpres... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Converts assessor to a human readable string. | public static String display(AssessorDetails item) {
if (item.getId() == null){
return item.getValue();
}
return item.getId() + ": " + item.getValue();
} | [
"public String getAssessor() {\r\n return assessor;\r\n }",
"public String toString()\n\t{\n\t\tStringBuilder sb = new StringBuilder(\"Suspect: \");\n\t\t\n\t\tsb.append(\"disease = \").append(disease).append(\"; \");\n\t\tsb.append(\"visit = \").append(visit).append(\".\");\n\t\t\n\t\treturn sb.toStrin... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Creates a new UdpMagicServer that listens for connections on the specified port and uses the specified card source. | public UdpMagicServer(int port, CardSource source)
throws FileNotFoundException {
super(port, source);
} | [
"public UdpMagicServer(int port) throws FileNotFoundException {\r\n super(port);\r\n }",
"public UdpMagicServer(CardSource source) throws FileNotFoundException {\r\n super(source);\r\n }",
"Builder setUdpSrc(TpPort port);",
"UdpListener(int port) {\n this.port = port;\n }",
"pu... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Setter for property ismap. | public void setIsmap(String ismap) {
this.ismap = ismap;
} | [
"public void setIsmap(String ismap) {\r\n this.ismap = ismap;\r\n }",
"public void setMap(Map map) {\n this.map = map;\n }",
"void setMap(Map map);",
"public void setIsOnMap(final int isOnMap) {\n this.isOnMap = isOnMap;\n }",
"public void setUseMap( String value ) throws Jax... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Spring Data JPA repository for the Adresse entity. | @SuppressWarnings("unused")
public interface AdresseRepository extends JpaRepository<Adresse,Long> {
} | [
"public interface AddressesRepository extends JpaRepository<Addresses,Long> {\n\n}",
"@Autowired\n\tpublic AdresseService(AdresseRepository adresseRepository) {\n\t\tthis.adresseRepository = adresseRepository;\n\t}",
"@SuppressWarnings(\"unused\")\n@Repository\npublic interface WaPersonalAddressRepository exten... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
$ANTLR end "rule__BoolOperation__Group__19__Impl" $ANTLR start "rule__BoolOperation__Group__20" InternalBSQL2Java.g:1676:1: rule__BoolOperation__Group__20 : rule__BoolOperation__Group__20__Impl ; | public final void rule__BoolOperation__Group__20() throws RecognitionException {
int stackSize = keepStackSize();
try {
// InternalBSQL2Java.g:1680:1: ( rule__BoolOperation__Group__20__Impl )
// InternalBSQL2Java.g:1681:2: rule__BoolOperation__Group__20__Impl
... | [
"public final void rule__BoolOperation__Group__19() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBSQL2Java.g:1653:1: ( rule__BoolOperation__Group__19__Impl rule__BoolOperation__Group__20 )\n // InternalBSQL2Java.g:1654:2:... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Returns true is this value belongs to a property which definitely has DontEnum set. | public boolean isDontEnum() {
checkNotUnknown();
return (flags & ATTR_DONTENUM_ANY) == ATTR_DONTENUM;
} | [
"public boolean isMaybeDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_DONTENUM) != 0;\n }",
"public boolean isMaybeNotDontEnum() {\n checkNotUnknown();\n return (flags & ATTR_NOTDONTENUM) != 0;\n }",
"public boolean hasDontEnum() {\n checkNotUnknown();\n ... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
ProductionSiteManager is loaded on the first execution of ProductionSiteManager.getInstance() or the first access to ProductionSiteManager.ourInstance, not before. | public static ProductionSiteManagerBean getInstance() {
synchronized (ProductionSiteManager.class) {
if (ourInstance == null) {
ourInstance = new ProductionSiteManager();
}
}
return ourInstance;
} | [
"void injectorClassLoader() {\n\t\t//To get the package name\n\t\tString pkgName = context.getPackageName();\n\t\t//To get the context\n\t\tContext contextImpl = ((ContextWrapper) context).getBaseContext();\n\t\t//Access to the Activity of the main thread\n\t\tObject activityThread = null;\n\t\ttry {\n\t\t\tactivit... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Get the RS log information after the last log roll from backup system table. | public HashMap<String, Long> readRegionServerLastLogRollResult() throws IOException {
return systemTable.readRegionServerLastLogRollResult(backupInfo.getBackupRootDir());
} | [
"int getLastlogtime();",
"public LogEntry getLastLogEntry();",
"public ServiceOrderLog getLastLog(){\n\t\t\n\t\tList<ServiceOrderLog> list = new ArrayList<ServiceOrderLog>(this.getLog());\n\t\t\n\t\tCollections.sort(list, new Comparator<ServiceOrderLog>() {\n\t\t public int compare(ServiceOrderLog log1, Serv... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Setter method for property acsDomain. | public void setAcsDomain(String acsDomain) {
this.acsDomain = acsDomain;
} | [
"public String getAcsDomain() {\n return acsDomain;\n }",
"public void setDomain(Domain domain) {\n this.domain = domain;\n }",
"public void setDomain(String domain)\n {\n _domain = domain;\n }",
"public void setDomain(String domain) {\r\n this.domain = domain;\r\n }",
"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |
Sets the Day Foreground Normal attribute | public void setDayfgnormalcolor(String val) {
_dayFgNormal = val;
} | [
"public void setDayfgcurrentcolor(String val) {\r\n\t_dayFgCurrent = val;\r\n}",
"public void setDayfgdeemphasiscolor(String val) {\r\n\t_dayFgDeemphisis = val;\r\n}",
"public void setDaybgcolor(String val) {\r\n\t_dayBgColor = val;\r\n}",
"public String getDayfgnormal() {\r\n\treturn _dayFgNormal;\r\n}",
"... | {
"objective": {
"paired": [],
"self": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} |