query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Get the time period spanned by tweets.
public static Timespan getTimespan(List<Tweet> tweets) { //throw new RuntimeException("not implemented"); Instant start=tweets.get(0).getTimestamp(); Instant end = tweets.get(0).getTimestamp(); for(int i = 1;i<tweets.size();i++){ if(start.isAfter(tweets.get(i).getTimestamp()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getHowManyInPeriod();", "public List<Status> getTweets() {\r\n\t\tincrementShutdownTimer();\r\n\t\treturn tweets;\r\n\t}", "int getTimeInstants();", "public long period() throws TimeWindowException {\n return div();\n }", "private static List<Status> getStatuses(Twitter twitter){\n\t\t...
[ "0.5720824", "0.5626089", "0.551636", "0.53490824", "0.5296264", "0.5244163", "0.52294266", "0.5207692", "0.5171155", "0.5161459", "0.51485664", "0.5103243", "0.510194", "0.50779164", "0.50467265", "0.50320053", "0.5004936", "0.49800655", "0.49708083", "0.4905895", "0.4876116...
0.70737696
0
Get usernames mentioned in a list of tweets.
public static Set<String> getMentionedUsers(List<Tweet> tweets) { // throw new RuntimeException("not implemented"); Set<String> anSet = new HashSet<>(); Pattern pattern=Pattern.compile("@[a-zA-Z]{1,}"); Matcher matcher=pattern.matcher(tweets.get(0).getText()); return anSet; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LinkedList<User> getUsers() throws TwitterException {\n System.out.println(\"##########Getting The Tweets##########\");\n LinkedList<User> users = new LinkedList<>();\n for (String keyword : this.wordsLookingFor) {\n //Search for tweets\n for (Status A : this.searc...
[ "0.6979263", "0.6836003", "0.6711036", "0.6625485", "0.65898865", "0.65248764", "0.6328257", "0.63201076", "0.6191285", "0.60750645", "0.6061886", "0.5918593", "0.58520854", "0.5824515", "0.5785886", "0.57693344", "0.5737463", "0.5733172", "0.57228094", "0.57194996", "0.57014...
0.78946996
0
method only in Level one
public void levelOneMethod() { System.out.println("level one method"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean levelUp();", "@Override\n\tpublic void levelUp() {\n\n\t}", "private void level6() {\n }", "private void level4() {\n }", "private void level5() {\n }", "private void level7() {\n }", "boolean hasLevel();", "boolean hasLevel();", "boolean hasLevel();", "boolean...
[ "0.6970464", "0.6669012", "0.6632119", "0.66246015", "0.6585017", "0.6504967", "0.6412831", "0.6412831", "0.6412831", "0.6412831", "0.6307429", "0.62223136", "0.61899036", "0.61899036", "0.61899036", "0.61899036", "0.61899036", "0.6012317", "0.6000615", "0.6000297", "0.593111...
0.7267709
0
Get the notBeforeTimeout property: Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M).
public String notBeforeTimeout() { return this.notBeforeTimeout; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getTimeout() {\r\n return configuration.getTimeout();\r\n }", "public int getTimeoutInSeconds() {\n return timeoutInSeconds;\n }", "@DefaultValue(\"300\")\n int getDeleteGracePeriodSeconds();", "public String getTimeOut() {\n return prop.getProperty(TIMEOUT_KEY);\n ...
[ "0.591879", "0.58964646", "0.58815575", "0.5855715", "0.5826231", "0.5806798", "0.5787374", "0.57844454", "0.5742335", "0.5722171", "0.5710894", "0.57091475", "0.5697486", "0.56939584", "0.5651686", "0.56470037", "0.562659", "0.56261843", "0.56122476", "0.56122476", "0.561224...
0.6939132
0
Set the notBeforeTimeout property: Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M).
public TerminateNotificationProfile withNotBeforeTimeout(String notBeforeTimeout) { this.notBeforeTimeout = notBeforeTimeout; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String notBeforeTimeout() {\n return this.notBeforeTimeout;\n }", "@Test\n public void orgApacheFelixEventadminIgnoreTimeoutTest() {\n // TODO: test orgApacheFelixEventadminIgnoreTimeout\n }", "@DefaultValue(\"300\")\n int getDeleteGracePeriodSeconds();", "public void setNort...
[ "0.56257904", "0.55177045", "0.5441897", "0.5312074", "0.5104636", "0.50577354", "0.50424385", "0.5031988", "0.5024167", "0.49815497", "0.49553925", "0.4909456", "0.4862347", "0.48569107", "0.4831211", "0.48273155", "0.48207253", "0.4818282", "0.48103082", "0.4806845", "0.480...
0.61188036
0
Get the enable property: Specifies whether the Terminate Scheduled event is enabled or disabled.
public Boolean enable() { return this.enable; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getEnable() {\r\n return enable;\r\n }", "public Boolean getEnable() {\n\t\treturn enable;\n\t}", "public Boolean getEnable() {\n return this.enable;\n }", "public Boolean getEnable() {\n return enable;\n }", "public Boolean getEnable() {\n return enable;\n }...
[ "0.68419445", "0.67730653", "0.67100865", "0.6658134", "0.6652316", "0.65372014", "0.64845234", "0.6466056", "0.6456562", "0.63687503", "0.6250875", "0.6244779", "0.61897796", "0.61838555", "0.6182744", "0.61236966", "0.6112292", "0.61022687", "0.60791534", "0.6077062", "0.60...
0.6426686
9
Set the enable property: Specifies whether the Terminate Scheduled event is enabled or disabled.
public TerminateNotificationProfile withEnable(Boolean enable) { this.enable = enable; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEnable(Boolean enable) {\n this.enable = enable;\n }", "@Override\n public void setEventAcquisitionEnabled(boolean enable) throws HardwareInterfaceException {\n if ( input != null ){\n input.setPaused(enable);\n }\n if ( isOpen() ){\n String s = en...
[ "0.6605262", "0.6599328", "0.65945965", "0.6582519", "0.65767324", "0.65538394", "0.65169495", "0.6448294", "0.6402952", "0.6365498", "0.6121449", "0.6114756", "0.60795623", "0.60582423", "0.6022549", "0.6018577", "0.59696877", "0.59397566", "0.5909473", "0.5886859", "0.58790...
0.6165734
10
Attempts to locate an Item based on the given SKU (Stockkeeping unit)
@Transactional(propagation = Propagation.REQUIRED) public Optional<Item> getBySKU(String sku) { return itemDao.getBySKU(sku); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Item getItem(long idItem) throws ItemNotFound;", "ShoppingItem getShoppingItemByGuid(String itemGuid);", "public Inventory searchForItem (TheGroceryStore g, Inventory i, String key);", "public InventoryItem lookupItem(int serialNum){\n //loop through all Inventory\n for(int i=0; i<this.items.siz...
[ "0.657605", "0.64590174", "0.64167345", "0.63829976", "0.6304009", "0.62827337", "0.6262297", "0.62424487", "0.61890906", "0.6127795", "0.61178577", "0.6044161", "0.60376024", "0.59430975", "0.5921874", "0.5902745", "0.58933496", "0.58494383", "0.58285034", "0.58130753", "0.5...
0.7354878
0
Attempts to locate an Item based on the given GTIN (Global Trade Identification Number)
@Transactional(propagation = Propagation.REQUIRED) public Optional<Item> getByGTIN(String gtin) { return itemDao.getByGTIN(gtin); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Item getNewItem(String gtin) throws IOException {\n\n\t\tlog.info(\"Getting Item with Barcode: \" + gtin);\n\t\tGson gson = new Gson();\n\t\tURL url = new URL(\"https://api.outpan.com/v2/products/\" + gtin + \"?apikey=e13a9fb0bda8684d72bc3dba1b16ae1e\");\n\n\t\tStringBuilder temp = new StringBuilder();\n\t...
[ "0.63356155", "0.61630267", "0.61046624", "0.6060626", "0.5815975", "0.5784366", "0.56728834", "0.5553336", "0.54729635", "0.54694486", "0.54536974", "0.53755075", "0.5269473", "0.521638", "0.5215341", "0.5209761", "0.51697946", "0.5150809", "0.51503175", "0.5131359", "0.5112...
0.69324946
0
Attempts return a list of Items
@Transactional(propagation = Propagation.REQUIRED) public List<Item> getPagedItems(ItemPagedQueryResponse itemPagedQueryResponse) { return itemDao.getPagedItems(itemPagedQueryResponse); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Item> getItemList();", "java.util.List<com.rpg.framework.database.Protocol.Item> \n getItemsList();", "public List<Item> getAllItemsAvailable();", "public static List<Item> getItems() {\n\n HttpRequest request = HttpRequest.newBuilder().GET().uri(URI.create(\"http://localhost:8080/i...
[ "0.7664324", "0.7605261", "0.7558759", "0.75064784", "0.74834317", "0.73975366", "0.7350433", "0.716838", "0.70379823", "0.7015426", "0.70012105", "0.69656223", "0.69267315", "0.6903811", "0.6903811", "0.68995446", "0.6887286", "0.68650293", "0.6850468", "0.68404096", "0.6800...
0.0
-1
Package local to allow testing
ItemDao getItemDao() { return itemDao; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setupLocal() {}", "private ProtomakEngineTestHelper() {\r\n\t}", "@Ignore\n @Test\n public void useDefaultPackageName() throws Exception {\n }", "private JacobUtils() {}", "private stendhal() {\n\t}", "private SolutionsPackage() {}", "private Utils() {}", "private Utils() {}",...
[ "0.68074304", "0.6276909", "0.61541194", "0.6033543", "0.5965971", "0.59272027", "0.5899449", "0.5899449", "0.5899449", "0.5899449", "0.5880979", "0.5824005", "0.580522", "0.5796129", "0.5770084", "0.57471454", "0.57471454", "0.5746999", "0.573837", "0.5723588", "0.57233524",...
0.0
-1
Set up a bilingual TM for each test, start a fresh hibernate session, etc
@Before public void beforeTest() throws Exception { Transaction tx = null; try { tx = HibernateUtil.getTransaction(); System.out.println("Creating TM id " + currentTestId); TM3Tm<TestData> tm = manager.createMultilingualSharedTm(FACTORY, inlineAttrs(),...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@BeforeClass\r\n public static void initTextFixture(){\r\n entityManagerFactory = Persistence.createEntityManagerFactory(\"itmd4515PU\");\r\n }", "@BeforeClass\n public static void initTestClass() throws Exception {\n Map props = MapUtil.mapIt(\"hibernate.connection.url\", \"jdbc:mysql://localh...
[ "0.65440476", "0.62665206", "0.60940224", "0.6051735", "0.60283595", "0.6001836", "0.59913385", "0.5956229", "0.5893915", "0.5869422", "0.5823468", "0.58174485", "0.58129793", "0.5795162", "0.57788056", "0.576552", "0.5760893", "0.57604414", "0.57602674", "0.57518303", "0.574...
0.6594077
0
Constructor that configures the subscriber client using a JSON file
public SubscriberClientJson (String subscriberConfigFilename) { this(new SubscriberData.Builder().jsonInputFilename( subscriberConfigFilename).build()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SubscriberClientJson (SubscriberData subscriberData) {\n\t\tsuper(subscriberData.getSubscriberEndpoint(),\n\t\t\t\tsubscriberData.getMessageMap(),\n\t\t\t\tsubscriberData.getMessageIds()\n\t\t\t\t);\n\t}", "public JsonReader(String file) {\n this.file = file;\n }", "public static void initiali...
[ "0.67674947", "0.59945154", "0.599114", "0.57408094", "0.55419976", "0.5532364", "0.5502344", "0.5471661", "0.5445567", "0.54290223", "0.5427212", "0.54129255", "0.54127014", "0.5407467", "0.5399908", "0.5384398", "0.5374689", "0.53672403", "0.5352049", "0.5351253", "0.534191...
0.82656777
0
Constructor that configures the subscriber client using the SubscriberData object's builder
public SubscriberClientJson (SubscriberData subscriberData) { super(subscriberData.getSubscriberEndpoint(), subscriberData.getMessageMap(), subscriberData.getMessageIds() ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SubscriberClientJson (String subscriberConfigFilename) {\n\t\tthis(new SubscriberData.Builder().jsonInputFilename(\n\t\t\t\tsubscriberConfigFilename).build());\n\t}", "public PublishingClientImpl() {\n this.httpClientSupplier = () -> HttpClients.createDefault();\n this.requestBuilder = new P...
[ "0.6715135", "0.64717144", "0.6046274", "0.6031201", "0.5978356", "0.5923083", "0.589934", "0.5875918", "0.58257717", "0.5811016", "0.57994246", "0.5798238", "0.57938224", "0.57813406", "0.5749286", "0.571097", "0.568888", "0.56613904", "0.56610537", "0.5656269", "0.5636643",...
0.74447775
0
Crea la lista de preguntas y las agrega al arraylist
public void armarPreguntas(){ preguntas = file.listaPreguntas("Preguntas.txt"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void crearPoblacion() {\n\t\tif(this.terminales == null || this.funciones == null) {\n\t\t\tSystem.out.println(\"Error. Los terminales y las funciones tienen que estar inicializados\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tpoblacion = new ArrayList<>();\n\t\tfor(int i = 0; i < this.numIndividuos; i...
[ "0.64249384", "0.6357921", "0.6338983", "0.6254135", "0.6234008", "0.6226327", "0.62118053", "0.62063175", "0.62007165", "0.61871094", "0.6169258", "0.6085661", "0.60790783", "0.6027312", "0.60196644", "0.5968744", "0.5966236", "0.5883467", "0.5869125", "0.58657044", "0.58550...
0.5664421
52
Validate an InvInventoryRequest obj
public static void validateInventoryRequest(final InvInventoryRequest request) { // try { validateBaseRequest(request); // } // catch (IllegalArgumentException e) { // throw e; // } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateInventorySummaryRequest(final InvInventoryRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n//\t\t} \r\n//\t\tcatch (IllegalArgumentException e) {\r\n//\t\t\tthrow e;\r\n//\t\t}\r\n\t}", "private static void validateBaseRequest(final InvBaseRequest request) {\...
[ "0.80776715", "0.66366494", "0.6367626", "0.6028426", "0.59946203", "0.5989662", "0.594612", "0.5909404", "0.5841272", "0.5825029", "0.57039493", "0.5661639", "0.5544095", "0.5538688", "0.5534562", "0.5525916", "0.5516012", "0.5481869", "0.5376422", "0.53373855", "0.5279889",...
0.849287
0
Validate an InvLocationRequest request
public static void validateLocationRequest(final InvLocationRequest request) { // try { validateBaseRequest(request); // } // catch (IllegalArgumentException e) { // throw e; // } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateIsValidLocationRequest(final InvLocationRequest request) {\r\n//\t\ttry {\r\n\t\t\r\n\t\tvalidateBaseRequest(request);\r\n\t\tif(request.getLocs() == null){\r\n\t\t\tLOGGER.severe(MessageLoggerHelper.buildErrorMessage(\r\n\t\t\t\t\trequest.getShipToCustomer(), request.getUserId(), reques...
[ "0.8009605", "0.80059147", "0.7988061", "0.79090494", "0.76056975", "0.75391066", "0.7489954", "0.71875215", "0.68411756", "0.672193", "0.66762424", "0.6446857", "0.64321035", "0.575874", "0.5699114", "0.5504816", "0.5498523", "0.542799", "0.5384992", "0.5358692", "0.53293276...
0.8469188
0
Validate an InvLocationRequest request containing correct updateLocationRequest req
public static void validateUpdateLocationRequest(final InvLocationRequest request) { // try { validateBaseRequest(request); if(request.getLocs() == null || request.getLocs().isEmpty()){ LOGGER.severe(MessageLoggerHelper.buildErrorMessage( request.getShipToCustomer(), request.getUserId(), requ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateLocationRequest(final InvLocationRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n//\t\t} \r\n//\t\tcatch (IllegalArgumentException e) {\r\n//\t\t\tthrow e;\r\n//\t\t}\r\n\t}", "public static void validateIsValidLocationRequest(final InvLocationRequest reques...
[ "0.8034827", "0.7760649", "0.76197374", "0.7591183", "0.74519783", "0.7358107", "0.72319055", "0.67035925", "0.6681514", "0.5954484", "0.5850868", "0.5597062", "0.5576236", "0.5573974", "0.5559942", "0.5558708", "0.54998577", "0.54989594", "0.5466153", "0.5437313", "0.54317",...
0.82395184
0
Validate an InvLocationDetailRequest request containing correct locationDetail req
public static void validateLocationDetailRequest(final InvLocationDetailRequest request) { // try { validateBaseRequest(request); // } // catch (IllegalArgumentException e) { // throw e; // } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateGetLocationDetailsRequest(final InvLocationDetailRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n//\t\t} \r\n//\t\tcatch (IllegalArgumentException e) {\r\n//\t\t\tthrow e;\r\n//\t\t}\r\n\t\t\r\n\t}", "public static void validateLocationSummaryRequest(final I...
[ "0.831602", "0.76404047", "0.75791454", "0.7503149", "0.7479203", "0.70377976", "0.6889446", "0.6714159", "0.6284112", "0.5917682", "0.55218816", "0.5515916", "0.53885686", "0.5379259", "0.5372576", "0.53403395", "0.5295044", "0.52840203", "0.5233156", "0.5223772", "0.5218277...
0.855367
0
Validate the InvLocationRequest for a correct setLocationCost request
public static void validateSetLocationCostRequest(final InvLocationRequest request) { // try { validateBaseRequest(request); if(request.getInventory()==null || request.getInventory().getInventoryId()==0){ LOGGER.severe(MessageLoggerHelper.buildErrorMessage( request.getShipToCustomer(), request.get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateLocationRequest(final InvLocationRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n//\t\t} \r\n//\t\tcatch (IllegalArgumentException e) {\r\n//\t\t\tthrow e;\r\n//\t\t}\r\n\t}", "public static void validateIsValidLocationRequest(final InvLocationRequest reques...
[ "0.7775269", "0.7771248", "0.7662073", "0.75154734", "0.73468745", "0.71969926", "0.7021454", "0.6697576", "0.6603446", "0.5773073", "0.57195944", "0.5693868", "0.56745905", "0.5612308", "0.5581137", "0.5560749", "0.5523668", "0.5472645", "0.5469552", "0.54541177", "0.5411538...
0.87159586
0
Validate an InvLocationRequest req for correct isValidLocation req info
public static void validateIsValidLocationRequest(final InvLocationRequest request) { // try { validateBaseRequest(request); if(request.getLocs() == null){ LOGGER.severe(MessageLoggerHelper.buildErrorMessage( request.getShipToCustomer(), request.getUserId(), request.getTransactionId(), Error...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateLocationRequest(final InvLocationRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n//\t\t} \r\n//\t\tcatch (IllegalArgumentException e) {\r\n//\t\t\tthrow e;\r\n//\t\t}\r\n\t}", "public static void validateLocationDetailRequest(final InvLocationDetailRequest r...
[ "0.8402686", "0.80587864", "0.80008996", "0.79783016", "0.7969526", "0.78471124", "0.7360691", "0.7071037", "0.6933289", "0.59633106", "0.5923051", "0.5895035", "0.5855737", "0.5720602", "0.5656313", "0.56539416", "0.5649074", "0.5645926", "0.5645395", "0.5621571", "0.5489605...
0.82118523
1
Validate the InvBaseRequest obj
private static void validateBaseRequest(final InvBaseRequest request) { if (request == null) { LOGGER.severe(MessageLoggerHelper.buildErrorMessage( request.getShipToCustomer(), request.getUserId(), request.getTransactionId(), ErrorHandlingHelper.getErrorCodeByErrorKey( InventoryConstants.Erro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void validateRequest(BaseRequest request) {\n\t\t\n\t}", "public static void validateInventoryRequest(final InvInventoryRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n//\t\t} \r\n//\t\tcatch (IllegalArgumentException e) {\r\n//\t\t\tthrow e;\r\n//\t\t}\r\n\t}", ...
[ "0.7074037", "0.70706356", "0.6686691", "0.6342267", "0.63124794", "0.62402797", "0.6169674", "0.60921204", "0.60921204", "0.60921204", "0.60921204", "0.5980184", "0.596392", "0.57679003", "0.5700472", "0.5694638", "0.56770444", "0.56278324", "0.5593862", "0.5574793", "0.5529...
0.78469247
0
Validate an InvInventoryRequest req containing correct inventorySummary req info
public static void validateInventorySummaryRequest(final InvInventoryRequest request) { // try { validateBaseRequest(request); // } // catch (IllegalArgumentException e) { // throw e; // } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateInventoryRequest(final InvInventoryRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n//\t\t} \r\n//\t\tcatch (IllegalArgumentException e) {\r\n//\t\t\tthrow e;\r\n//\t\t}\r\n\t}", "public static void validateLocationSummaryRequest(final InvLocationRequest requ...
[ "0.75615543", "0.62716115", "0.6110561", "0.5817868", "0.559767", "0.5485628", "0.54608357", "0.5398342", "0.53773403", "0.5369958", "0.5328067", "0.53089064", "0.5276404", "0.5275412", "0.5241936", "0.52127093", "0.51833206", "0.5140491", "0.5070143", "0.50240993", "0.497441...
0.8434824
0
Validate an InvLocationDetailRequest req containing correct getLocationDetails req info
public static void validateGetLocationDetailsRequest(final InvLocationDetailRequest request) { // try { validateBaseRequest(request); // } // catch (IllegalArgumentException e) { // throw e; // } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateLocationDetailRequest(final InvLocationDetailRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n//\t\t} \r\n//\t\tcatch (IllegalArgumentException e) {\r\n//\t\t\tthrow e;\r\n//\t\t}\r\n\t}", "public static void validateLocationSummaryRequest(final InvLocationRe...
[ "0.8150866", "0.7302361", "0.7259172", "0.7138827", "0.7052539", "0.6839544", "0.6407536", "0.61426437", "0.6127469", "0.5951408", "0.57061195", "0.55295664", "0.5478959", "0.5461589", "0.54563487", "0.54373413", "0.5390403", "0.53815", "0.53298086", "0.53186", "0.5294683", ...
0.82939506
0
Validate an InvLocationRequest req containing correct locationSummary req info
public static void validateLocationSummaryRequest(final InvLocationRequest request) { // try { validateBaseRequest(request); // } // catch (IllegalArgumentException e) { // throw e; // } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateLocationDetailRequest(final InvLocationDetailRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n//\t\t} \r\n//\t\tcatch (IllegalArgumentException e) {\r\n//\t\t\tthrow e;\r\n//\t\t}\r\n\t}", "public static void validateGetLocationDetailsRequest(final InvLocatio...
[ "0.7756285", "0.7664843", "0.7538202", "0.751756", "0.7494211", "0.73316133", "0.6674472", "0.65225387", "0.65215683", "0.6514842", "0.5719245", "0.57025045", "0.5540436", "0.55287707", "0.54170614", "0.5380561", "0.5199913", "0.5174203", "0.51452094", "0.51431406", "0.512451...
0.83459663
0
Validate an InvLocationRequest req containing correct closeLocations req info
public static void validateCloseLocationsRequest(final InvLocationRequest request) { // try { validateBaseRequest(request); // } // catch (IllegalArgumentException e) { // throw e; // } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateUpdateLocationRequest(final InvLocationRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n\t\t\t\r\n\t\t\tif(request.getLocs() == null || request.getLocs().isEmpty()){\r\n\t\t\t\tLOGGER.severe(MessageLoggerHelper.buildErrorMessage(\r\n\t\t\t\t\t\trequest.getShipT...
[ "0.7563233", "0.75280243", "0.75258124", "0.73924243", "0.7382545", "0.73505986", "0.7288601", "0.655098", "0.6208198", "0.5632489", "0.55235225", "0.55152285", "0.53963506", "0.5302587", "0.5282517", "0.514004", "0.5113507", "0.49353388", "0.4932149", "0.4919777", "0.4903546...
0.8218882
0
Validate an InvLocProductRequest req containing correct product req info
public static void validateProductRequest(final InvLocProductRequest request) { // TODO Auto-generated method stub }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateInventoryRequest(final InvInventoryRequest request) {\r\n//\t\ttry {\r\n\t\t\tvalidateBaseRequest(request);\r\n//\t\t} \r\n//\t\tcatch (IllegalArgumentException e) {\r\n//\t\t\tthrow e;\r\n//\t\t}\r\n\t}", "public static void validateLocationDetailRequest(final InvLocationDetailRequest...
[ "0.6428694", "0.6338618", "0.6292659", "0.6243598", "0.61835337", "0.6167196", "0.60896057", "0.6014376", "0.60028416", "0.5911501", "0.57508117", "0.56234676", "0.5536885", "0.5454201", "0.5393324", "0.5391582", "0.5375158", "0.53242624", "0.5255928", "0.52549344", "0.519358...
0.82818484
0
TODO Autogenerated method stub
private void designGUI() { mnb= new JMenuBar(); FileMenu=new JMenu("file"); EditMenu=new JMenu("edit"); img1=new ImageIcon("s.gif"); New=new JMenuItem("new",img1); open=new JMenuItem("open"); save=new JMenuItem("save"); quit=new JMenuItem("quit"); cut=new JMenuItem("cut"); copy=new JMenuIte...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
private void mymethods() { New.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { // TODO Auto-generated method stub ta1.setText(" "); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void actionPerformed(ActionEvent arg0) { ta1.setText(" "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { new notepad(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub now s is a string it will store the word which is there on the option we have chosed
@Override public void actionPerformed(ActionEvent e) { String s=e.getActionCommand(); if(s.equalsIgnoreCase("open")) { try { str="";msg=""; FileDialog fd=new FileDialog(this,"openfile",FileDialog.LOAD); //to be added fd.setVisible(true); dir=fd.getDirectory(); //path is go...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void many(Set<String> s) {\n\t\twhile (!done() && s.contains(program.charAt(pos)+\"\"))\n\t\t\tpos++;\n }", "private List<String> help(String s, Set<String> wordDict) {\n\t\tList<String> ret = new ArrayList<>();\n\n\t\tif (wordDict.contains(s))\n\t\t\tret.add(s);\n\t\telse\n\t\t\tfor (int i = 0; i < s...
[ "0.61809224", "0.61105686", "0.6041677", "0.5911992", "0.58861613", "0.58363146", "0.5805161", "0.5774601", "0.5763298", "0.5758857", "0.5757408", "0.5731243", "0.5724322", "0.5721923", "0.56809366", "0.56806797", "0.56798124", "0.56431144", "0.5595916", "0.5558173", "0.55557...
0.0
-1
Builds the user interface
private void buildGUI() throws IOException { jPanel = new JPanel() { @Override protected void paintComponent(Graphics g) { super.paintComponent(g); g.drawImage(img2, 0, 0, null); } }; jPanel.setVi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void buildUI() {\n initComponents();\n\n FormLayout layout = new FormLayout(\"3dlu, pref:grow, 3dlu\",\n \"3dlu, pref, 3dlu, pref, 3dlu, fill:0:grow\");\n\n PanelBuilder builder = new PanelBuilder(layout);\n CellConstraints cc = new CellConstraints();\n\n // To...
[ "0.77143806", "0.76916254", "0.7606652", "0.7472979", "0.7390007", "0.7352711", "0.71724737", "0.71476054", "0.71177536", "0.6978935", "0.69493616", "0.69421065", "0.6905643", "0.6894181", "0.6890786", "0.6886513", "0.68607783", "0.68275726", "0.6827248", "0.6823621", "0.6789...
0.63418764
72
pop up by kinn :)))
public void run() { String line = finalArg.toString(); String separate = line, text=""; boolean isEmoji = false; String[] words = separate.split(" "); for (int i = 0; i < words.length; i++) { if ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void popUp() {\n\tpop = new RoomPopUp(this);\n\tnoPopUp = false;\n }", "Popis getPopis();", "private void pop(){\n AlertDialog.Builder start = new AlertDialog.Builder(this);\n start.setTitle(\"THE ADVANCED HANGMAN - INSTRUCTIONS\");\n start.setMessage(\"The advanced hangman is a...
[ "0.69784975", "0.6142151", "0.5923554", "0.5898904", "0.5818452", "0.581292", "0.573364", "0.57238996", "0.56333613", "0.56068546", "0.5550763", "0.55435854", "0.5525308", "0.55223936", "0.54871583", "0.5463643", "0.5463222", "0.54538894", "0.54521775", "0.5435066", "0.541800...
0.0
-1
Interface for encoding and decoding objects for the event bus. This is required for session attributes and the user profile.
public interface JsonConverter { /** * Encode the given object in a compatible form for the event bus. * * @param value the value to encode * @return the encoded object */ Object encodeObject(Object value); /** * Decode the given object encoded with the encodeObject method. * * @param va...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "interface JSONEventSerializationHelper {\n\t/**\n\t * Serialize particular Event to JSONObject.\n\t * \n\t * Method that wants to implement this must know what the exact type of the\n\t * Event parameter. Therefore, the method must first casts the Event to its\n\t * concrete type.\n\t * \n\t * @param event\n\t * ...
[ "0.6281531", "0.6244072", "0.5788661", "0.57487905", "0.56834495", "0.56762743", "0.5675731", "0.56630534", "0.56175154", "0.560755", "0.5606719", "0.5605469", "0.55855703", "0.55840486", "0.5576592", "0.5570481", "0.55688125", "0.55376697", "0.5517195", "0.547944", "0.544275...
0.70532525
0
Encode the given object in a compatible form for the event bus.
Object encodeObject(Object value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String encode(Object obj);", "protected abstract byte[] encode(Object o) throws EncoderException;", "@Override\n\tpublic String encode(Message object) throws EncodeException {\n\t\treturn new Gson().toJson(object);\n\t}", "ByteString encode(T object) throws Exception;", "public Object encode(Object obj) th...
[ "0.7422345", "0.7407349", "0.7404117", "0.7091053", "0.7008702", "0.6900163", "0.66219956", "0.6504381", "0.6369087", "0.6286212", "0.6262522", "0.62108725", "0.617289", "0.61557573", "0.61435455", "0.6092312", "0.60570204", "0.60315084", "0.59465736", "0.5911602", "0.5905104...
0.7314749
3
Decode the given object encoded with the encodeObject method.
Object decodeObject(Object value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void decodeObject();", "public Object decode(Object obj) throws DecoderException {\n/* 341 */ if (obj == null)\n/* 342 */ return null; \n/* 343 */ if (obj instanceof byte[])\n/* 344 */ return decode((byte[])obj); \n/* 345 */ if (obj instanceof String) {\n/* 346 */ return decode((Str...
[ "0.8221559", "0.7504668", "0.7454254", "0.708465", "0.6978477", "0.6896019", "0.68424714", "0.6759995", "0.6753349", "0.6717724", "0.6677354", "0.6481785", "0.6161669", "0.61063683", "0.6033271", "0.5894533", "0.5853089", "0.58398914", "0.5829397", "0.58036894", "0.57560414",...
0.78423494
1
protected methods (they don't trim the input/output strings):
protected String _convertEnumObjectToString(Enum<?> object) { return object.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String processing();", "public StringStream(String output) {\r\n\t\tthis.output = output.trim().replaceAll(\"[^a-zA-Z]\", \"\").toLowerCase();\r\n\t}", "protected String compString() {\n\t\treturn null;\n\t}", "@Override\n\tpublic String clean(String input) {\n\t\tinput = input.replaceAll(removeCommonWords.t...
[ "0.6431378", "0.5785475", "0.57803243", "0.57373184", "0.5591551", "0.55876803", "0.55322427", "0.55205613", "0.5515498", "0.5491313", "0.5480948", "0.5464276", "0.5459708", "0.54501635", "0.5435639", "0.5401512", "0.53947246", "0.53544486", "0.5330526", "0.532687", "0.530489...
0.0
-1
end of unit tests ============================================ ============================================ implemented abstract methods
protected void testInit() { this.auths = CitiesDataType.getTestAuths(); this.documentKey = CityField.EVENT_ID.name(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Override\n public void runTest() {\n }", "@Override\n public void test() {\n \n }", "abstract void setUp() throws Exception;", "public void testSetBasedata() {\n }", "public void testGetBasedata() {\n }", "abstract void tearD...
[ "0.7033694", "0.64925885", "0.64725107", "0.64248294", "0.6421932", "0.6387584", "0.6287839", "0.62655747", "0.6254989", "0.61965984", "0.6187602", "0.6144889", "0.6140904", "0.61142653", "0.6107728", "0.6106455", "0.6093346", "0.6090796", "0.608929", "0.6088618", "0.60563546...
0.0
-1
filter the users with patterns Pattern Extracting
public static void main(String[] args) throws IOException, ClassNotFoundException{ String INPUT_USER_FOLDER = "/home/ubuntu/workspace/SJTU/Location/"; UserManager um = PatternExtract.patternExtract(INPUT_USER_FOLDER); // Serialize the user manager and apname helper ObjPersistence.toBinary(um, "/home/ubuntu/work...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void filter(String text) {\n List<UserModel> filterdNames = new ArrayList<>();\n\n //looping through existing elements\n for (UserModel item : userModels) {\n //if the existing elements contains the search input\n if (item.getFirstName().toLowerCase().contains(tex...
[ "0.58752346", "0.569626", "0.5676102", "0.56081367", "0.55922794", "0.5580677", "0.5535701", "0.55072284", "0.5399385", "0.5382514", "0.5363319", "0.5269486", "0.52048737", "0.5188646", "0.5156879", "0.51210994", "0.5099096", "0.5095113", "0.50762326", "0.50726295", "0.507169...
0.4988403
28
O(N) time and space
public TreeNode bstToGst(TreeNode root) { helper(root, new int[] {0}); return root; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int f2(int N) { \n int x = 0; //O(1)\n for(int i = 0; i < N; i++) // O(n)\n // O(n)`\n for(int j = 0; j < i; j++) \n x++;\n return x;\n }", "public static int f1(int N) {\n int x = 0; //O(1)\n for(int i = 0; i < N; i++...
[ "0.6926788", "0.66918266", "0.6067164", "0.60396355", "0.6038539", "0.57472354", "0.56940055", "0.5658736", "0.56347924", "0.563401", "0.5586084", "0.550985", "0.54544735", "0.54350823", "0.54166746", "0.54006565", "0.5397017", "0.53423005", "0.5339762", "0.5323906", "0.53107...
0.0
-1
This test was ignored because group by case function is not supported
@Ignore @Test public void aggregationQuery() throws IOException { String result = explain(String.format("{\"query\":\"" + "SELECT address, CASE WHEN gender='0' THEN 'aaa' ELSE 'bbb' END AS a2345, count(age) " + "FROM %s " + "GROUP BY terms('field'='address...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void groupByStoreSucceed()\n {\n // arrange\n final String groupByClause = \"validGroupBy\";\n // act\n QuerySpecificationBuilder querySpecificationBuilder = new QuerySpecificationBuilder(\"*\", QuerySpecificationBuilder.FromType.ENROLLMENTS).groupBy(groupByClause);...
[ "0.6891258", "0.6807968", "0.68046385", "0.6749582", "0.67042655", "0.6682704", "0.64440775", "0.62900436", "0.6210352", "0.61830485", "0.61709875", "0.60701025", "0.5963523", "0.5944004", "0.59158766", "0.57546747", "0.57034564", "0.5693826", "0.5640086", "0.56329286", "0.56...
0.5590409
25
cria HashMap para armazenar chaves de Strings e valores Integer
public static void main(String[] args) { Map<String, Integer> myMap = new HashMap<>(); createMap(myMap); // cria mapa com base na entrada do usuário displayMap(myMap); // exibe o conteúdo do mapa }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void mapValues() {\n\t\tmap.put(1, \"I\");\r\n\t\tmap.put(5, \"V\");\r\n\t\tmap.put(10, \"X\");\r\n\t\tmap.put(50, \"L\");\r\n\t\tmap.put(100, \"C\");\r\n\t\tmap.put(500, \"D\");\r\n\t\tmap.put(1000, \"M\");\r\n\t}", "public HashEntityMap()\n\t\t{\n\t\t\tmapNameToValue = new HashMap<String, Integer>();\...
[ "0.6337135", "0.6281828", "0.6143444", "0.6052165", "0.6028079", "0.6005544", "0.5985612", "0.5983928", "0.59069866", "0.5899245", "0.5892384", "0.58861506", "0.58726805", "0.5865621", "0.585369", "0.58445424", "0.581089", "0.58107555", "0.57279766", "0.57260674", "0.57001346...
0.0
-1
do nothing, JVM handles shut down
@Override public void stop() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void abnormalShutDown() {\n\t}", "public void shutdown() {\n // For now, do nothing\n }", "public void shutDown();", "public void shutdown() {\n // no-op\n }", "void shutDown();", "public void shutdown()\n {\n // nothing to do here\n }", "public static void shutdown() {\n\t\t...
[ "0.83389056", "0.80862796", "0.802259", "0.79440916", "0.7929644", "0.79079866", "0.78877044", "0.77958", "0.77735335", "0.7746509", "0.77361596", "0.77307403", "0.77267104", "0.7717496", "0.7664323", "0.7621577", "0.7615193", "0.7612133", "0.76090527", "0.7600474", "0.757148...
0.0
-1
Calls init() of superclass, initializing DAOfield with implementation from DAO map.
@Override public void init() throws ServletException { super.init(); try { var bookDAO = getDaoImpl(BookImplDB.class); bookService = new BookService(bookDAO); } catch (IllegalArgumentException ex) { throw new ServletException(ex); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void initDao(final GenericDao<?> dao) {\n }", "public DAOBaseImpl() {\n\t\tsuper();\n\t}", "public AddressDaoImpl()\n {\n \t//Initialise the related Object stores\n \n }", "public VRpDyHlrforbeDAOImpl() {\r\n super();\r\n }", "public LPMapdataDaoImpl() {\r\n\t\t\r\n\t...
[ "0.6553957", "0.6547994", "0.6389451", "0.63467354", "0.6240307", "0.62008", "0.6175955", "0.6143775", "0.6124309", "0.6108767", "0.6081286", "0.6035728", "0.6031305", "0.6005836", "0.59979475", "0.59836394", "0.5963704", "0.5960329", "0.594112", "0.59403926", "0.59400636", ...
0.5576355
70
Overrides the toString() method from java.lang.Object
public String toString() { StringBuffer gline = new StringBuffer(); gline.append(Const.SPACE); gline.append("line"); gline.append(Const.SPACE); gline.append(co1.x); gline.append(Const.SPACE); gline.append(co1.y); gline.append(Const.SPACE); gline.append(co2.x); gline.append(Const.SPACE); gline.appe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override public String toString();", "@Override String toString();", "@Override\r\n String toString();", "@Override\r\n public String toString();", "@Override\n String toString();", "@Override\n String toString();", "@Override\r\n\tpublic String toString();", "@Override\n\tString toStrin...
[ "0.87659997", "0.8722178", "0.8715992", "0.8631928", "0.8625414", "0.8625414", "0.8598281", "0.8564946", "0.848415", "0.84773266", "0.84773266", "0.8376452", "0.83549297", "0.833489", "0.833489", "0.833489", "0.833489", "0.833489", "0.833489", "0.833489", "0.83268327", "0.8...
0.0
-1
Get a random poll
@Override protected void execute(CommandEvent event) { Poll poll = manager.getRandomPoll(); // Now we need to build the embed EmbedBuilder embed = new EmbedBuilder() {{ setTitle("<:EverybodyVotesChannel:317090360449040388> " + poll.getQuestion()); setDesc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String poll();", "@GET\n @Path(\"/randomquestion\")\n public String getRandomQuestion() {\n return \"test\";\n //return map.keySet().toArray()[ThreadLocalRandom.current().nextInt(1, map.size())].toString();\n }", "public abstract T poll();", "public E pollFirst();", "public in...
[ "0.6449116", "0.6237861", "0.61702824", "0.6110312", "0.6098045", "0.59222865", "0.58702934", "0.57806385", "0.5747489", "0.5745241", "0.5729301", "0.5698764", "0.5689385", "0.568071", "0.5624291", "0.56202215", "0.561523", "0.561205", "0.56085455", "0.5602402", "0.55913854",...
0.0
-1
Create a regular expression from the eclipse like patterns.
protected static Pattern newPattern( String pattern ){ return pattern == null ? null : Pattern.compile( "^" + pattern.replaceAll("\\*\\*", ".\t").replaceAll("\\*", "[^/]*").replace('\t', '*') + "$" ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Pattern buildPattern ()\n {\n int flags = 0;\n if ( this.canonicalEquivalence ) flags += Pattern.CANON_EQ;\n if ( this.caseInsensitive ) flags += Pattern.CASE_INSENSITIVE;\n if ( this.comments ) flags += Pattern.COMMENTS;\n if ( this.dotall ) flags += Pattern.DOTALL;\n if ( this.multiline...
[ "0.65701896", "0.61088526", "0.6099728", "0.60786873", "0.60612524", "0.5969994", "0.5915344", "0.59043336", "0.5863486", "0.58562213", "0.58562213", "0.5834064", "0.5821633", "0.5814642", "0.5659258", "0.5654398", "0.56424505", "0.561679", "0.5568213", "0.5528458", "0.550545...
0.54297936
22
MINOR check closeable state with AOP
@Override public void close() { this.timer.cancel(); this.motionStream.removeListener(this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean checkClosed();", "void checkClosed();", "public abstract boolean isClosed();", "public boolean checkAutoClose();", "public boolean isOpened() {\n/* 262 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "private final boolean isOpen()\n {\n return !closed;\n }",...
[ "0.6560895", "0.6530649", "0.61767966", "0.5965315", "0.5947662", "0.59212995", "0.5851768", "0.58458376", "0.58354646", "0.58354646", "0.58354646", "0.58354646", "0.5819973", "0.57786036", "0.57786036", "0.577016", "0.57432055", "0.5743141", "0.5731061", "0.5704228", "0.5682...
0.0
-1
this.recentJoint = movedJoint; this.recentCoordinate = updatedCoordinate; this.recentSkeleton = skeleton;
@Override public synchronized void onMoved(Joint movedJoint, Coordinate updatedCoordinate, Skeleton skeleton) { for(MotionStreamListener listener : this.removeRequests) { LOG.debug("really removing listener: " + listener); this.removeListener(listener); } this.removeRequests.clear(); for(MotionStreamLi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Joint (SkeletonJoint skeletonJoint) {\n\t\tthis.skeletonJoint = skeletonJoint;\n\t\tposition2d = new Vector2f();\n\t\tposition3d = new Vector3f();\n\t\tconfidence = 0;\n\t}", "void updateJointTransform(RigidBodyTransform jointTransformToUpdate);", "@Override\n public final void updateOrigin() {\n ...
[ "0.64814687", "0.6092036", "0.6016702", "0.59101534", "0.5801566", "0.57493764", "0.573108", "0.57178974", "0.5628889", "0.56287855", "0.55830544", "0.557561", "0.55740243", "0.5572101", "0.5562402", "0.5552854", "0.5536356", "0.55336505", "0.55336505", "0.55336505", "0.55210...
0.0
-1
String s="aklfsjkasdjklf%^^&&( jsadfjkjklsdfs %$&(&(()788778789";
public static void main(String[] args) { Scanner cin=new Scanner(System.in); // s=cin.next();//只能读取一个不含有空格的单词 String s=cin.nextLine();//读取一整行 包括空格 char [] chars=s.toCharArray();//String->char[] int digit=0,upper=0,lower=0,space=0,other=0; for(int i=0;i<chars.length;i++){ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String RemoveSpecialCharacter (String s1) {\n String tempResult=\"\";\n for (int i=0;i<s1.length();i++) {\n if (s1.charAt(i)>64 && s1.charAt(i)<=122){\n tempResult=tempResult+s1.charAt(i);\n }\n }\n return tempResult;\n }", "pub...
[ "0.560213", "0.5428548", "0.5360646", "0.5322455", "0.52936727", "0.52546793", "0.5236553", "0.51765823", "0.5172894", "0.51713395", "0.51476413", "0.5146307", "0.5146228", "0.5124549", "0.5105108", "0.5078519", "0.5060254", "0.50426114", "0.5020942", "0.50202197", "0.5016210...
0.0
-1
Initialize your data structure here.
public ImplementTrieI() { root = new TrieNode(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initData() {\n }", "private void initData() {\n\t}", "private void initData() {\n\n }", "public void initData() {\n }", "public void initData() {\n }", "@Override\n\tpublic void initData() {\n\n\n\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\...
[ "0.79946685", "0.7973242", "0.7808862", "0.77763873", "0.77763873", "0.7643394", "0.76371324", "0.76371324", "0.76371324", "0.76371324", "0.76371324", "0.76371324", "0.75553316", "0.7543321", "0.7543321", "0.75426376", "0.75426376", "0.75426376", "0.7532583", "0.75228804", "0...
0.0
-1
Inserts a word into the trie.
public void insert(String word) { TrieNode curr = root; for (char c : word.toCharArray()) { int idx = c - 'a'; if (curr.children[idx] == null) { curr.children[idx] = new TrieNode(); } curr = curr.children[idx]; } curr.isWord...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void insert(String word) {\n\t\t\tTrieNode curr = root;\n\t\t\tfor (char c : word.toCharArray()) {\n\t\t\t\tif (!curr.children.containsKey(c))\n\t\t\t\t\tcurr.children.put(c, new TrieNode());\n\t\t\t\tcurr = curr.children.get(c);\n\t\t\t}\n\t\t\tcurr.isWord = true;\n\t\t}", "public void insert(String word...
[ "0.8807224", "0.8793351", "0.87825143", "0.87603605", "0.87531847", "0.87244797", "0.8703555", "0.86812365", "0.8663727", "0.8647378", "0.86406666", "0.8638965", "0.8625531", "0.8625304", "0.8621602", "0.8619184", "0.86011845", "0.8596424", "0.8592704", "0.85797423", "0.85470...
0.8656706
9
Returns if the word is in the trie.
public boolean search(String word) { TrieNode curr = root; for (char c : word.toCharArray()) { int idx = c - 'a'; if (curr.children[idx] == null) { return false; } curr = curr.children[idx]; } return curr.isWord; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean search(String word) {\n TrieNode now = root;\n for(int i = 0; i < word.length(); i++) {\n Character c = word.charAt(i);\n if (!now.children.containsKey(c)) {\n return false;\n }\n now = now.children.get(c);\n }\n return now.hasWord;\n}", "public b...
[ "0.8014751", "0.7984532", "0.79244334", "0.7905517", "0.7885265", "0.78772014", "0.7840615", "0.78359133", "0.78040844", "0.7789488", "0.77892065", "0.77878743", "0.77688414", "0.77643424", "0.77543366", "0.7753908", "0.7709519", "0.770567", "0.768657", "0.7677176", "0.766180...
0.79059774
3
Returns if there is any word in the trie that starts with the given prefix.
public boolean startsWith(String prefix) { TrieNode curr = root; for (char c : prefix.toCharArray()) { int idx = c - 'a'; if (curr.children[idx] == null) { return false; } curr = curr.children[idx]; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean startsWith(String prefix) {\n char [] words=prefix.toCharArray();\n CharTree t=root;\n for (char c : words) {\n t=t.next[c-97];\n if(t==null)return false;\n }\n return true;\n }", "public boolean startsWith(String prefix) {\n retur...
[ "0.8365428", "0.83519936", "0.8288803", "0.82660174", "0.8218161", "0.81788325", "0.8167803", "0.81659037", "0.81452596", "0.81323093", "0.8111583", "0.8111421", "0.8092838", "0.8071483", "0.8060675", "0.80367666", "0.80115694", "0.8006543", "0.7998339", "0.7997187", "0.79784...
0.80671173
14
TODO: Not implemented, as these seem ambiguous: Ok if third singular in following sets he, his; or him, himself . I don't think we can do anything with she, her, hers,herself (since no equivalent of his so her = him/his) which could be different in the sentence Third plural: e.g. they, their, theirs; or them, themselve...
public InSentencePronounSieve(JCas jCas, List<Cluster> clusters, List<Mention> mentions) { super(jCas, clusters, mentions); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "HornSentence(Literal head, HashSet premises){\n this.head = head;\n this.premises = new HashSet(premises);\n }", "public String singularize(String noun) {\n\t\tString singular = noun;\n\t\tif (singulars.get(noun) != null) {\n\t\t\tsingular = singulars.get(noun);\n\t\t} else if (noun.matches(\".*...
[ "0.55080277", "0.55046225", "0.5433129", "0.54261094", "0.52413476", "0.5224036", "0.5179722", "0.5090638", "0.5052821", "0.5049327", "0.5025476", "0.5024409", "0.50231314", "0.50061923", "0.495825", "0.4954587", "0.4934798", "0.49253976", "0.49208182", "0.4903122", "0.488824...
0.6247085
0
Ok if both from FIRST single, e.g. i, me, mine, my, myself Ok if both from FIRST plural, e.g. we, us, our, ours, ourselves
private boolean firstPerson(Mention a, Mention b) { if (a.getPerson() == Person.FIRST && b.getPerson() == Person.FIRST) { addToCluster(a, b); return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isSimpleQuestion(String userMessage) {\n List<String> yesNoQuestion = additionalDB.get(\"yesNoQuestion\");\n String firstWord = firstWord(userMessage).toLowerCase();\n for (String str : yesNoQuestion)\n if (firstWord.equals(str))\n return true;\n ...
[ "0.5998514", "0.5866068", "0.5776597", "0.5763507", "0.55805475", "0.554766", "0.5520949", "0.55097175", "0.54547447", "0.5405021", "0.5390508", "0.53773135", "0.5315773", "0.5297909", "0.5291487", "0.5282767", "0.52714926", "0.52506834", "0.5250543", "0.5244584", "0.52419364...
0.0
-1
Ok if from third, if you match on everything
private boolean thirdPerson(Mention a, Mention b) { if (a.getPerson() == Person.THIRD && b.getPerson() == Person.THIRD && a.getMultiplicity() == b.getMultiplicity() && a.getGender() == b.getGender()) { addToCluster(a, b); return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 3;\r\n\t\t\t}", "@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 3;\r\n\t\t\t}", "Match getPartialMatch();", "private static boolean isThreeCombine...
[ "0.5850841", "0.5850841", "0.5747043", "0.5713896", "0.56968534", "0.56364614", "0.5566047", "0.5562044", "0.55444324", "0.54980314", "0.5489595", "0.54895276", "0.5438618", "0.540327", "0.52463883", "0.5238774", "0.523793", "0.52223814", "0.52215564", "0.52210665", "0.521260...
0.0
-1
In case of Huawei devices, we need to capture the file's real name and type from its uri
public void onShowActivityResult(int resultCode, Intent data, Promise promise) { if (resultCode == Activity.RESULT_CANCELED) { promise.reject(E_DOCUMENT_PICKER_CANCELED, "User canceled document picker"); } else if (resultCode == Activity.RESULT_OK) { Uri uri = null; ClipData clipData = null; if (data !...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getFileEx(Uri uri){\n ContentResolver cr=getContentResolver();\n MimeTypeMap mime=MimeTypeMap.getSingleton();\n return mime.getExtensionFromMimeType(cr.getType(uri));\n }", "private java.io.File getCapturedFile(com.reactnativecommunity.webview.RNCWebViewModule.MimeType r7) ...
[ "0.7310501", "0.6833244", "0.6803146", "0.67513406", "0.6680624", "0.6630045", "0.65417784", "0.64721644", "0.6306744", "0.6306744", "0.6306744", "0.63027686", "0.6287858", "0.62840796", "0.6279326", "0.62575144", "0.6239889", "0.62334037", "0.62334037", "0.62281984", "0.6218...
0.0
-1
Constructor for the BoletoBancarioLancamentoEnvio object
public FiltroBoletoBancarioLancamentoEnvio() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FiltroBoletoBancarioLancamentoEnvio(String campoOrderBy) {\n\n\t\tthis.campoOrderBy = campoOrderBy;\n\t}", "public ContaBancaria() {\n }", "public AfiliadoVista() {\r\n }", "public envio() {\r\n }", "public Alojamiento() {\r\n\t}", "public AvaliacaoRisco() {\n }", "public Boleta(){\r...
[ "0.6953915", "0.69028497", "0.6754529", "0.675137", "0.65879524", "0.6457199", "0.6433394", "0.6432391", "0.64083254", "0.6379023", "0.6335219", "0.63181", "0.6307744", "0.6270561", "0.6263524", "0.62556976", "0.62484235", "0.62425715", "0.62401694", "0.62214243", "0.6220925"...
0.83999985
0
Constructor for the BoletoBancarioLancamentoEnvio object
public FiltroBoletoBancarioLancamentoEnvio(String campoOrderBy) { this.campoOrderBy = campoOrderBy; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FiltroBoletoBancarioLancamentoEnvio() {\n\n\t}", "public ContaBancaria() {\n }", "public AfiliadoVista() {\r\n }", "public envio() {\r\n }", "public Alojamiento() {\r\n\t}", "public AvaliacaoRisco() {\n }", "public Boleta(){\r\n\t\tsuper();\r\n\t}", "public Vehiculo() {\r\n }", ...
[ "0.83999985", "0.69028497", "0.6754529", "0.675137", "0.65879524", "0.6457199", "0.6433394", "0.6432391", "0.64083254", "0.6379023", "0.6335219", "0.63181", "0.6307744", "0.6270561", "0.6263524", "0.62556976", "0.62484235", "0.62425715", "0.62401694", "0.62214243", "0.6220925...
0.6953915
1
This method was generated by MyBatis Generator. This method corresponds to the database table OP.T_CM_SET_CHANGE_SITE_STATE
@SelectProvider(type=TCmSetChangeSiteStateSqlProvider.class, method="countBySpec") int countBySpec(TCmSetChangeSiteStateSpec Spec);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SelectProvider(type=TCmSetChangeSiteStateSqlProvider.class, method=\"selectBySpec\")\r\n @Results({\r\n @Result(column=\"ORG_CD\", property=\"orgCd\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"WORK_SEQ\", property=\"workSeq\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"CHANGE_...
[ "0.6740138", "0.61595887", "0.5767186", "0.55605006", "0.52646434", "0.51116055", "0.49413413", "0.49399883", "0.4914693", "0.49015695", "0.48852858", "0.48541895", "0.48420995", "0.4824527", "0.48206928", "0.4813996", "0.48112804", "0.4808428", "0.48020145", "0.47876698", "0...
0.5528644
4
This method was generated by MyBatis Generator. This method corresponds to the database table OP.T_CM_SET_CHANGE_SITE_STATE
@DeleteProvider(type=TCmSetChangeSiteStateSqlProvider.class, method="deleteBySpec") int deleteBySpec(TCmSetChangeSiteStateSpec Spec);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SelectProvider(type=TCmSetChangeSiteStateSqlProvider.class, method=\"selectBySpec\")\r\n @Results({\r\n @Result(column=\"ORG_CD\", property=\"orgCd\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"WORK_SEQ\", property=\"workSeq\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"CHANGE_...
[ "0.67400646", "0.61580116", "0.576795", "0.5560264", "0.5528299", "0.52629733", "0.5110408", "0.4941197", "0.4937962", "0.49146187", "0.4901774", "0.48854834", "0.4853997", "0.48416176", "0.48249665", "0.4821198", "0.48131663", "0.4810349", "0.48079553", "0.48026815", "0.4786...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table OP.T_CM_SET_CHANGE_SITE_STATE
@Insert({ "insert into OP.T_CM_SET_CHANGE_SITE_STATE (ORG_CD, WORK_SEQ, ", "CHANGE_NO, BRANCH_CD, ", "SITE_CD, SITE_NM, ", "DATA_TYPE, CLOSE_DATE, ", "REOPEN_TYPE, REOPEN_DATE, ", "SET_TYPE, OPER_START_TIME, ", "OPER_END_TIME, CHECK_YN, ", "APPLY_D...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SelectProvider(type=TCmSetChangeSiteStateSqlProvider.class, method=\"selectBySpec\")\r\n @Results({\r\n @Result(column=\"ORG_CD\", property=\"orgCd\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"WORK_SEQ\", property=\"workSeq\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"CHANGE_...
[ "0.67401874", "0.57679266", "0.5562311", "0.5529496", "0.5265237", "0.5111349", "0.4943065", "0.4940248", "0.49164593", "0.49026412", "0.4886235", "0.48535392", "0.48418325", "0.4825473", "0.48234123", "0.48151425", "0.48107588", "0.48091194", "0.4803162", "0.47874743", "0.47...
0.6159334
1
This method was generated by MyBatis Generator. This method corresponds to the database table OP.T_CM_SET_CHANGE_SITE_STATE
@InsertProvider(type=TCmSetChangeSiteStateSqlProvider.class, method="insertSelective") int insertSelective(TCmSetChangeSiteState record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SelectProvider(type=TCmSetChangeSiteStateSqlProvider.class, method=\"selectBySpec\")\r\n @Results({\r\n @Result(column=\"ORG_CD\", property=\"orgCd\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"WORK_SEQ\", property=\"workSeq\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"CHANGE_...
[ "0.67398083", "0.6158264", "0.55629325", "0.5528661", "0.5263773", "0.5110106", "0.49438187", "0.49411693", "0.491721", "0.49022377", "0.48851153", "0.485427", "0.48412913", "0.4825661", "0.48229486", "0.4814337", "0.48097062", "0.48086318", "0.48032585", "0.47868523", "0.477...
0.5767431
2
This method was generated by MyBatis Generator. This method corresponds to the database table OP.T_CM_SET_CHANGE_SITE_STATE
@SelectProvider(type=TCmSetChangeSiteStateSqlProvider.class, method="selectBySpec") @Results({ @Result(column="ORG_CD", property="orgCd", jdbcType=JdbcType.VARCHAR), @Result(column="WORK_SEQ", property="workSeq", jdbcType=JdbcType.VARCHAR), @Result(column="CHANGE_NO", property="changeNo"...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Insert({\r\n \"insert into OP.T_CM_SET_CHANGE_SITE_STATE (ORG_CD, WORK_SEQ, \",\r\n \"CHANGE_NO, BRANCH_CD, \",\r\n \"SITE_CD, SITE_NM, \",\r\n \"DATA_TYPE, CLOSE_DATE, \",\r\n \"REOPEN_TYPE, REOPEN_DATE, \",\r\n \"SET_TYPE, OPER_START_TIME, \",\r\n \"OPER_END_TIME...
[ "0.61595887", "0.5767186", "0.55605006", "0.5528644", "0.52646434", "0.51116055", "0.49413413", "0.49399883", "0.4914693", "0.49015695", "0.48852858", "0.48541895", "0.48420995", "0.4824527", "0.48206928", "0.4813996", "0.48112804", "0.4808428", "0.48020145", "0.47876698", "0...
0.6740138
0
This method was generated by MyBatis Generator. This method corresponds to the database table OP.T_CM_SET_CHANGE_SITE_STATE
@UpdateProvider(type=TCmSetChangeSiteStateSqlProvider.class, method="updateBySpecSelective") int updateBySpecSelective(@Param("record") TCmSetChangeSiteState record, @Param("Spec") TCmSetChangeSiteStateSpec Spec);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SelectProvider(type=TCmSetChangeSiteStateSqlProvider.class, method=\"selectBySpec\")\r\n @Results({\r\n @Result(column=\"ORG_CD\", property=\"orgCd\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"WORK_SEQ\", property=\"workSeq\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"CHANGE_...
[ "0.67400646", "0.61580116", "0.576795", "0.5560264", "0.5528299", "0.52629733", "0.5110408", "0.4941197", "0.4937962", "0.49146187", "0.4901774", "0.48854834", "0.4853997", "0.48416176", "0.48249665", "0.4821198", "0.48131663", "0.4810349", "0.48079553", "0.47868177", "0.4770...
0.48026815
19
This method was generated by MyBatis Generator. This method corresponds to the database table OP.T_CM_SET_CHANGE_SITE_STATE
@UpdateProvider(type=TCmSetChangeSiteStateSqlProvider.class, method="updateBySpec") int updateBySpec(@Param("record") TCmSetChangeSiteState record, @Param("Spec") TCmSetChangeSiteStateSpec Spec);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SelectProvider(type=TCmSetChangeSiteStateSqlProvider.class, method=\"selectBySpec\")\r\n @Results({\r\n @Result(column=\"ORG_CD\", property=\"orgCd\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"WORK_SEQ\", property=\"workSeq\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"CHANGE_...
[ "0.67401874", "0.6159334", "0.57679266", "0.5562311", "0.5529496", "0.5265237", "0.5111349", "0.4943065", "0.4940248", "0.49164593", "0.49026412", "0.4886235", "0.48535392", "0.48418325", "0.48234123", "0.48151425", "0.48107588", "0.48091194", "0.4803162", "0.47874743", "0.47...
0.4825473
14
Metodos Recorreos nuestro arraylist con un foreach
public void mostrarEquipos(String nombreEquipo) { for (Equipo equipo : listaEquipos) { if (equipo.getNombreEquipo() == nombreEquipo) { System.out.println(equipo); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static ArrayList IngresarInfoLista(int posarray){\n\n // Definir objeto de la clase constanste para mensajes\n Constantes constantes = new Constantes();\n\n // Definir Array del objeto de la clase BeneficiosCovid\n ArrayList <BeneficiosCovid19> arrayBeneficios = new ArrayList <...
[ "0.65044296", "0.63463044", "0.6206965", "0.61809254", "0.6111055", "0.60976446", "0.6092317", "0.60537064", "0.604197", "0.6039565", "0.60337955", "0.6016458", "0.5984549", "0.597851", "0.59234333", "0.5920076", "0.5918666", "0.59085965", "0.5891934", "0.58912534", "0.587148...
0.0
-1
Ordenamos los equipos por las ciudades de la AZ Utilizamos para ello el comparator estatico
public void ordenarEquipoPorCiudad(){ Collections.sort(listaEquipos, Equipo.CompararPorCiudad); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sortCompetitors(){\n\t\t}", "public void inicialAleatorio() {\n //aqui adiciona naquele vetor que de auxilio\n alocacao.add(Estados.ELETRICISTAS);\n alocacao.add(Estados.ELETRICISTAS2);\n alocacao.add(Estados.QUALIDADE);\n alocacao.add(Estados.QUALIDADE2);\n ...
[ "0.57128954", "0.56615466", "0.56561667", "0.56198657", "0.555481", "0.5502343", "0.5498582", "0.5448575", "0.5440272", "0.53896993", "0.5387185", "0.5282084", "0.52295035", "0.5225526", "0.5213042", "0.52015734", "0.5177667", "0.517351", "0.5170938", "0.5168622", "0.5146394"...
0.5931233
0
Menerima sebuah definisi dependencies yang berupa sebuah instansiasi kelas Catatan: Injector bisa menampung lebih dari 1 dependency, jadi injector bisa menginject banyak sekaligus. Jika ada 2 objek dengan kelas yang sama, inject dengan object terakhir yang di add ke daftar dependency
void addDependencies(Object object) { objects.add(object); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void initializeDiContainer() {\n addDependency(new CamelCaseConverter());\n addDependency(new JavadocGenerator());\n addDependency(new TemplateResolver());\n addDependency(new PreferenceStoreProvider());\n addDependency(new CurrentShellProvider());\n addDepen...
[ "0.65163165", "0.6222562", "0.6196764", "0.61403763", "0.6016013", "0.5814402", "0.5785891", "0.5751544", "0.5706027", "0.5683703", "0.56756467", "0.56445926", "0.5636447", "0.561564", "0.5596314", "0.5575652", "0.55341494", "0.5526346", "0.55198485", "0.55198485", "0.5467205...
0.51670444
46
/ Menginjeksi dependencies yang telah dibuat ke dalam objek Injeksi dilakukan dengan mengacu pada dependencies yang ditambah pada method addDependencies. Setiap field di object yang diinject, bila kelasnya sudah ditambahkan sebagai dependency, maka akan diset sebagai object yang sudah di add didependency.
void inject(Object object) throws Exception { Field[] fields = object.getClass().getDeclaredFields(); for (Object o : objects) { for (Field f : fields) { if (f.getType() == o.getClass()) { f.setAccessible(true); f.set(object, o); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addDependencies(Object object) {\n objects.add(object);\n }", "protected void setDependencies() {\n\t\t\n\t}", "void addDependsOnMe(DependencyItem dependency);", "@Override\n protected void injectDependencies(Context context) {\n }", "public final void addDependents(Drop[] dependents) ...
[ "0.7341477", "0.6836245", "0.62509847", "0.6166521", "0.6022186", "0.60098004", "0.59964323", "0.5990652", "0.5936988", "0.59190243", "0.59004337", "0.5797242", "0.5795296", "0.5792693", "0.57614106", "0.5729948", "0.57197464", "0.5707773", "0.57002354", "0.56662107", "0.5647...
0.5304546
47
/select from view = TicketSitesView
public List<TicketSite> getTicketSitesOfATeam(String teamId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic trackerDTO view(String tracker_idx) throws Exception {\n\t\treturn sqlSession.selectOne(\"tracker.view_190916\",tracker_idx);\n\t}", "@Override\n\tpublic ProductBean view(String pname) {\n\t\treturn session.selectOne(namespace+\".view\", pname);\n\t}", "List<BlogDetails> selectAll();", "p...
[ "0.59345126", "0.5652036", "0.5579062", "0.5520163", "0.53869677", "0.5339845", "0.530816", "0.52506053", "0.5222693", "0.5197816", "0.51800007", "0.5178577", "0.5147519", "0.51329565", "0.51193124", "0.509767", "0.5092563", "0.5081933", "0.50523055", "0.5048298", "0.5026188"...
0.5669316
1
/ n:m relationship insert into TicketSitesTeams
public int addTicketSiteOfTeam(String cover, String teamId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void insertTeam(Team t) {\n\t\tEntityManager em = emfactory.createEntityManager();\n\t\tem.getTransaction().begin();\n\t\tem.persist(t);\n\t\tem.getTransaction().commit();\n\t\tem.close();\n\t}", "@Test\r\n\tpublic void saveTeamGamesForVisitorTeamFk() {\r\n\t\t// TODO: JUnit - Populate test inputs for ope...
[ "0.63135195", "0.62181187", "0.60909367", "0.5944211", "0.5833058", "0.5831728", "0.5799755", "0.57806426", "0.5774267", "0.57014984", "0.56748194", "0.5660744", "0.5538128", "0.5528108", "0.5511", "0.5459276", "0.5452523", "0.5441075", "0.53723806", "0.537094", "0.53604954",...
0.57818514
7
/ renamed from: com.salesforce.marketingcloud.proximity.g$a
public interface C4125a { /* renamed from: a */ void mo56812a(@NonNull C4122e eVar); /* renamed from: b */ void mo56813b(@NonNull C4122e eVar); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Proximity proximity() {\n _initialize();\n return proximity;\n }", "public String execFuzzySearchGWASFunc(){\n\n Map map = new HashMap();\n\n if(this.searchParam != null && this.searchParam.length()> 0 ){\n System.out.println(this.searchParam );\n map.p...
[ "0.5487736", "0.51627624", "0.51467866", "0.512066", "0.5118247", "0.50109947", "0.49989942", "0.49859998", "0.49859998", "0.49708515", "0.496297", "0.49533054", "0.49504936", "0.49482834", "0.4943375", "0.49402604", "0.49337828", "0.49038482", "0.49012405", "0.49012157", "0....
0.0
-1
/ renamed from: a
void mo56812a(@NonNull C4122e eVar);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
void mo56813b(@NonNull C4122e eVar);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: a
private static JSONObject m3351a(JSONObject jSONObject, boolean z) { jSONObject.put("proximityEnabled", z); return jSONObject; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
protected static JSONObject m3352a(boolean z, Boolean bool, Boolean bool2, Boolean bool3, String str) { JSONObject jSONObject = new JSONObject(); try { jSONObject = m3351a(jSONObject, z); jSONObject.put("correctAndroidVersion", bool2); jSONObject.put("hardwareAvailabl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: e
protected static boolean m3354e() { return Build.VERSION.SDK_INT >= 18; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void e() {\n\n\t}", "public void e() {\n }", "@Override\n\tpublic void processEvent(Event e) {\n\n\t}", "@Override\n public void e(String TAG, String msg) {\n }", "public String toString()\r\n {\r\n return e.toString();\r\n }", "@Override\n\t\t\t\...
[ "0.72328156", "0.66032064", "0.6412127", "0.6362734", "0.633999", "0.62543726", "0.6232265", "0.6159535", "0.61226326", "0.61226326", "0.60798717", "0.6049423", "0.60396963", "0.60011584", "0.5998842", "0.59709895", "0.59551716", "0.5937381", "0.58854383", "0.5870234", "0.586...
0.0
-1
/ renamed from: f
protected static JSONObject m3355f() { JSONObject jSONObject = new JSONObject(); m3351a(jSONObject, true); return jSONObject; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void func_70305_f() {}", "public static Forca get_f(){\n\t\treturn f;\n\t}", "void mo84656a(float f);", "public final void mo8765a(float f) {\n }", "@Override\n public int f() {\n return 0;\n }", "public void f() {\n }", "void mo9704b(float f, float f2, int i);", "void mo56155...
[ "0.7323683", "0.65213245", "0.649907", "0.64541733", "0.6415534", "0.63602704", "0.6325114", "0.63194084", "0.630473", "0.62578535", "0.62211406", "0.6209556", "0.6173324", "0.61725706", "0.61682224", "0.6135272", "0.6130462", "0.6092916", "0.6089471", "0.6073019", "0.6069227...
0.0
-1
/ renamed from: a
public abstract void mo56919a(@NonNull C4125a aVar);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public abstract void mo56920a(List<C4122e> list);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
public abstract void mo56922b(@NonNull C4125a aVar);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: b
public abstract void mo56923b(List<C4122e> list);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: c
public boolean mo56924c() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", ...
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723",...
0.0
-1
/ renamed from: d
public abstract void mo56925d();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventor...
[ "0.63810617", "0.616207", "0.6071929", "0.59959275", "0.5877492", "0.58719957", "0.5825175", "0.57585526", "0.5701679", "0.5661244", "0.5651699", "0.56362265", "0.562437", "0.5615328", "0.56114155", "0.56114155", "0.5605659", "0.56001145", "0.5589302", "0.5571578", "0.5559222...
0.5449007
31
Checks if inputed user exists
public abstract User getUserById(int id) throws UserNotFoundException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Boolean checkUserExists(String userName) throws AppException;", "public boolean existsUser(String username);", "public boolean findUserIsExist(String name) {\n\t\treturn false;\r\n\t}", "boolean hasUser();", "boolean hasUser();", "boolean hasUser();", "boolean hasUser();", "boolean hasUser();", "bo...
[ "0.75136197", "0.746871", "0.7418636", "0.73903257", "0.73903257", "0.73903257", "0.73903257", "0.73903257", "0.73903257", "0.73903257", "0.73676336", "0.735529", "0.7348539", "0.7348539", "0.7348539", "0.7348539", "0.7348539", "0.7348539", "0.73325694", "0.73108023", "0.7305...
0.0
-1
Create an existing or new file on the NXT. No actual creating or opening is performed until any of the functions are called.
public FileInfo(NXTComm nxt, String fileName){ this.comm = nxt; this.fileName = fileName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void createFile(String fileType) throws Exception {\n DateTimeFormatter dtf = DateTimeFormatter.ofPattern(\"yyyy-MM-dd-HH-mm-ss\");\n LocalDateTime now = LocalDateTime.now();\n File xmlFile = new File(System.getProperty(\"user.dir\")+\"/data/saved/\"+dtf.format(now) + fileType +...
[ "0.66689473", "0.66302145", "0.66139877", "0.6418501", "0.6404394", "0.62563586", "0.623572", "0.6186179", "0.61694145", "0.61142206", "0.61055493", "0.60858196", "0.6049212", "0.60483396", "0.6036071", "0.6035843", "0.5970854", "0.5968484", "0.5933146", "0.5918179", "0.59021...
0.0
-1
Adds new active campaign based on the user selected campaign template and returns generated campaign Id
public int addCampaign(int campaignId) { GeneratedKeyHolder keyHolder = new GeneratedKeyHolder(); int rowsAffected = jdbcTemplate.update(new PreparedStatementCreator() { @Override public PreparedStatement createPreparedStatement(Connection con) throws SQLException { PreparedStatement stmt = con.prepareSta...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ObjectId createCampaign(String campaignName, int budget) {\n\n //Create the document contains all the informations\n Document doc = new Document();\n doc.append(\"campaignName\", campaignName);\n doc.append(\"budget\", budget);\n\n // insert to the db\n campaignColl...
[ "0.6086574", "0.6030577", "0.5505252", "0.54084283", "0.5321642", "0.5321642", "0.5311974", "0.5230137", "0.5230137", "0.51924896", "0.519064", "0.519064", "0.5185489", "0.5183024", "0.51803553", "0.5128942", "0.5128942", "0.50703317", "0.50703317", "0.50544435", "0.5048842",...
0.6965781
0
TODO Autogenera tedmethod stub
@Override public void keyPressed(KeyEvent e) { switch(e.getKeyCode()) { case KeyEvent.VK_UP: control.up = true; //juego.moverBombermanUP(); break; case KeyEvent.VK_DOWN: control.down = true; // juego.moverBombermanDOWN(); break; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void entrenar() {\n\t\...
[ "0.65267277", "0.6445456", "0.644257", "0.64176387", "0.6389127", "0.6297137", "0.62729985", "0.6259269", "0.6230144", "0.62233454", "0.6212369", "0.61951923", "0.61951923", "0.61534053", "0.61531323", "0.6126628", "0.6097234", "0.60803974", "0.60778064", "0.60654795", "0.605...
0.0
-1
TODO Autogenera tedmethod stub
public void keyReleased(KeyEvent e) { switch(e.getKeyCode()) { case KeyEvent.VK_UP: control.up = false; //juego.moverBombermanUP(); break; case KeyEvent.VK_DOWN: control.down = false; // juego.moverBombermanDOWN(); break; case KeyEv...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void entrenar() {\n\t\...
[ "0.65267277", "0.6445456", "0.644257", "0.64176387", "0.6389127", "0.6297137", "0.62729985", "0.6259269", "0.6230144", "0.62233454", "0.6212369", "0.61951923", "0.61951923", "0.61534053", "0.61531323", "0.6126628", "0.6097234", "0.60803974", "0.60778064", "0.60654795", "0.605...
0.0
-1
}; } Retorna el JLabel correspondiente a la posicion i, j de la matriz de JLabel
public JLabel getLabelEnMatriz(int i, int j) { return matrizLabel[i][j]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void Matriz()\n {\n int dim;\n dim = Principal.dimension;\n \n matrix = new JLabel [dim][dim];\n\n for(int i=0; i< dim; i++){\n\n\t\t\t\tfor(int j=0; j< dim; j++){\n\n\t\t\t\t\t\n\n matrix[i][j] = new JLabel();\n\n ...
[ "0.80329883", "0.67549926", "0.67470664", "0.6550805", "0.6531836", "0.64867926", "0.6466104", "0.6368576", "0.6364888", "0.63321024", "0.6330151", "0.6312875", "0.63003397", "0.62292325", "0.62118924", "0.61533433", "0.6148971", "0.6077071", "0.6076475", "0.6056879", "0.6054...
0.7482461
1
Look for the last '.' in the link, and return the following characters. This gives the extension for most reasonably named links.
public static String getSuffix(final String link) { String strippedLink = link; try { // Try to strip the query string, if any, to get the correct suffix: URL url = new URL(link); if ((url.getQuery() != null) && (url.getQuery().length() < (link.length() - 1))) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getExtension() {\n\t\t\n\t\tString result = null;\n\t\t\n\t\tif(this.get(this.lenght - 1).contains(\".\"))\n\t\t{\n\t\t\tString temp = this.get(this.lenght - 1);\n\t\t\t\n\t\t\tString[] parts = temp.split(\"\\\\.\");\n\t\t\t\n\t\t\tresult = parts[parts.length - 1];\n\t\t}\n\t\telse\n\t\t\tresult = \...
[ "0.7342008", "0.67183554", "0.6648011", "0.6643709", "0.66130996", "0.6572343", "0.6523358", "0.65194684", "0.6511045", "0.63213265", "0.6299449", "0.6279584", "0.62795347", "0.6266269", "0.62553334", "0.6251988", "0.62085015", "0.6147074", "0.6145943", "0.61055356", "0.60972...
0.68812764
1
TODO: what if this takes long time? TODO: stop editor dialog if this results in an error?
public void download(URL url, final DownloadCallback callback) throws IOException { String mimeType = new URLDownload(url).getMimeType(); download(url, mimeType, callback); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void runEditorExisting()\r\n\t{\r\n\t\tmainFrame.runEditorExisting();\r\n\t}", "public void runEditorNew()\r\n\t{\r\n\t\tmainFrame.runEditorNew();\r\n\t}", "public static void designTextEditor() {\n\t\t\n\t}", "Editor mo117962b();", "private void editTextEditorButton(){\n TextEditorTextfield....
[ "0.743707", "0.71002465", "0.6818241", "0.660471", "0.6413829", "0.6336862", "0.6331618", "0.6310287", "0.6290259", "0.62692076", "0.62596744", "0.62211794", "0.6182225", "0.6158447", "0.6133314", "0.61198634", "0.61109424", "0.6091344", "0.60776937", "0.6039327", "0.5990575"...
0.0
-1
Construct a File object pointing to the file linked, whether the link is absolute or relative to the main directory.
private File expandFilename(String directory, String link) { File toFile = new File(link); // If this is a relative link, we should perhaps append the directory: String dirPrefix = directory + OS.FILE_SEPARATOR; if (!toFile.isAbsolute()) { toFile = new File(dirPrefix + link);...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private File createRefFile( File f )\n {\n \tfinal String refExtension = \".ref\";\n \n \tString origFileName = f.getName();\n \tint dotPos = origFileName.lastIndexOf( \".\" );\n \tString strippedFileName = origFileName.substring( 0, dotPos ); // filename without extension, and without the dot!\n \n \treturn F...
[ "0.66028976", "0.6307471", "0.6288025", "0.6084786", "0.6028955", "0.5963083", "0.57151484", "0.5697747", "0.56810296", "0.56714654", "0.56465465", "0.5560698", "0.5538174", "0.55276865", "0.54824364", "0.5469531", "0.5463167", "0.54505634", "0.5431609", "0.54230523", "0.5422...
0.6080171
4
This is called by the download thread when download is completed.
private void downloadFinished() { downloadFinished = true; editor.getProgressBar().setVisible(false); editor.getProgressBarLabel().setVisible(false); editor.setOkEnabled(true); editor.getProgressBar().setValue(editor.getProgressBar().getMaximum()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\t\t\tpublic void finish() {\n\t\t\t\t\t\t\tSystem.out.println(\"下载成功\");\n\t\t\t\t\t\t}", "public void download() {\r\n\t\t\ttThread = new Thread(this);\r\n\t\t\ttThread.start();\r\n\t\t}", "protected void download() {\r\n\t\tsetState(DOWNLOADING);\r\n\t\t\r\n\t\tThread t = new Thread(this);\...
[ "0.78296673", "0.7438947", "0.7422178", "0.7383422", "0.7353353", "0.7222378", "0.71752095", "0.70324045", "0.69685817", "0.6949657", "0.6926422", "0.68878007", "0.6887754", "0.6806823", "0.6726336", "0.6697478", "0.66886365", "0.66635454", "0.6644533", "0.65777904", "0.65032...
0.77051353
1
Callback interface that users of this class must implement in order to receive notification when download is complete.
@FunctionalInterface public interface DownloadCallback { void downloadComplete(LinkedFile file); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void onDownloadComplete(EzDownloadRequest downloadRequest);", "public void onFileDownloadComplete(String filePath);", "public void onFileDownloadComplete(String filePath, Object object);", "public void downloadCompleted(File f);", "public void onDownloadSuccess(String fileInfo);", "public void downloadSt...
[ "0.8231533", "0.817386", "0.8082946", "0.79584014", "0.7723659", "0.7697599", "0.75901747", "0.7550204", "0.7476821", "0.7380168", "0.7377541", "0.73707813", "0.7326004", "0.7227083", "0.721678", "0.72113514", "0.720419", "0.71922314", "0.71462536", "0.71453047", "0.7125835",...
0.7419822
9
delete by primary key
int deleteByPrimaryKey(Long id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void eliminar(PK id);", "int deleteByPrimaryKey(String maht);", "@Override\n\tpublic void delete(Long primaryKey) {\n\t\t\n\t}", "public abstract boolean delete(PK id);", "int deleteByPrimaryKey(String samId);", "@Override\n public void delete(Integer key) throws SQLException {\n //Ei toteutett...
[ "0.81571853", "0.7977798", "0.78645265", "0.78451866", "0.7830031", "0.78292656", "0.7781394", "0.77692425", "0.77108175", "0.7709836", "0.7709836", "0.7676489", "0.7676489", "0.767023", "0.76575613", "0.7637024", "0.7620631", "0.7595015", "0.7595015", "0.7595015", "0.7595015...
0.0
-1
insert record to table
int insert(SchedulingPlay record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int insert(Assist_table record);", "void insert(OrderPreferential record) throws SQLException;", "void insert(BnesBrowsingHis record) throws SQLException;", "void insert(PaymentTrade record);", "int insert(Table2 record);", "int insert(TCpySpouse record);", "void insert(GfanCodeBanner record) throws SQ...
[ "0.79826057", "0.773246", "0.7685624", "0.7521615", "0.74971235", "0.747681", "0.7470896", "0.7465115", "0.7458741", "0.74217546", "0.741314", "0.7404278", "0.7402236", "0.7379049", "0.73727536", "0.73609", "0.73511636", "0.7351104", "0.7350344", "0.73484045", "0.7337693", ...
0.0
-1