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
Returns an enum version of this SECSItem's Format Code.
public SECSItemFormatCode getFormatCode() { return formatCode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SECSItemFormatCode getSECSItemFormatCode()\n {\n return getFormatCode();\n }", "@Field(0) \r\n\tpublic ValuedEnum<DXGI_FORMAT> format() {\r\n\t\treturn this.io.getEnumField(this, 0);\r\n\t}", "public RMFormat getFormat()\n {\n return getStyle().getFormat();\n }", "public Stri...
[ "0.76593715", "0.6963998", "0.67946345", "0.66874653", "0.65620726", "0.64572036", "0.63969684", "0.6378356", "0.6322086", "0.62661684", "0.62573564", "0.6228741", "0.6215039", "0.61928254", "0.618032", "0.61600465", "0.6150961", "0.6150961", "0.6150961", "0.6131352", "0.6118...
0.81610435
0
/ This will need to be implemented by the Classes that extend this one.
@Override public abstract boolean equals(Object abc);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n protected void prot() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n protected void init() {\n }", "@Override\n\tpublic void entrenar() {\n\t...
[ "0.683119", "0.68098587", "0.67506456", "0.6669073", "0.6596707", "0.65681523", "0.65508384", "0.65508384", "0.65508384", "0.65508384", "0.65508384", "0.65508384", "0.6534616", "0.64919597", "0.64651895", "0.6464447", "0.64604664", "0.645098", "0.6449377", "0.6449377", "0.643...
0.0
-1
/ This will need to be implemented by the Classes that extend this one.
@Override public abstract int hashCode();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n protected void prot() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n protected void init() {\n }", "@Override\n\tpublic void entrenar() {\n\t...
[ "0.683119", "0.68098587", "0.67506456", "0.6669073", "0.6596707", "0.65681523", "0.65508384", "0.65508384", "0.65508384", "0.65508384", "0.65508384", "0.65508384", "0.6534616", "0.64919597", "0.64651895", "0.6464447", "0.64604664", "0.645098", "0.6449377", "0.6449377", "0.643...
0.0
-1
Creates and returns a byte[] that represents this SECSItem in its &quot;wire/transmission format&quot;. Each object that extends this class will need to correctly implement this method.
public abstract byte[] toRawSECSItem();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "com.google.protobuf.ByteString getSerializedItem();", "public byte[] getBytes() {\n return baos.toByteArray();\n }", "public byte[] toBytes() {\n ByteArrayOutputStream os = new ByteArrayOutputStream();\n try {\n writeTo(os);\n } catch (IOException e) {e.printStackTrace();}\n return o...
[ "0.61315143", "0.6121707", "0.6070636", "0.60435003", "0.6032337", "0.60318875", "0.6006272", "0.6003444", "0.60020775", "0.59876204", "0.5982984", "0.5971773", "0.5946758", "0.59165907", "0.5904945", "0.58532083", "0.58178025", "0.5809238", "0.5799027", "0.5774391", "0.57739...
0.689381
0
if Symbol is already == 'X' or 'O' > do not change anymore
public void Update() { if(Symbol != ' ') return; //is hovering on the current Cell if(BoundingBox.contains(GameHandler.GetInstance().get_m_MouseManager().getMouse_x(), GameHandler.GetInstance().get_m_MouseManager().getMouse_y())) { //we click X on the cell if(GameHandler.GetInstance().get_m_MouseManager().get_isLeftMouse_Pressed()) { Symbol = 'X'; basicSystem.Xturn = false; //after we done with X Player.JustTickCell = this; } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String replaceOpSymbol(char symbol) {\n\n if (opSymbolHashTable.containsKey(String.valueOf(symbol))) {\n\n return opSymbolHashTable.get(String.valueOf(symbol));\n } else {\n return String.valueOf(symbol);\n }\n\n\n }", "private String replaceOpSymbol(String s...
[ "0.69776285", "0.6524524", "0.62811184", "0.62688076", "0.6230469", "0.622343", "0.6213191", "0.6155685", "0.614602", "0.6128965", "0.60912013", "0.5937699", "0.5896736", "0.5896669", "0.5896669", "0.58677495", "0.58222777", "0.5794444", "0.5780422", "0.5720039", "0.57069683"...
0.0
-1
Initializes the servlet and assigns all possible paths (that the app will process) to commands
public void init(ServletConfig servletConfig) throws ServletException { super.init(servletConfig); servletConfig.getServletContext() .setAttribute(LOGGED_USERS.label, new HashSet<String>()); commands.put(CLIENT_FOOD.label, new FoodCommands(new FoodService())); commands.put(CLIENT_FOODS.label, new FoodCommands(new FoodService())); commands.put(CLIENT_ADD_FOOD.label, new FoodCommands(new FoodService())); commands.put(CLIENT_DELETE_FOOD.label, new FoodCommands(new FoodService())); commands.put(CLIENT_EDIT_FOOD.label, new FoodCommands(new FoodService())); commands.put(USER_LOGIN_JSP.label, new LoginUserCommand(new UserService())); commands.put(USER_REGISTER.label, new UserCommands(new UserService())); commands.put(EXCEPTION.label, new ExceptionCommand()); commands.put(CLIENT_BASE.label, new ClientCommand()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void startServlets(){\n\t\ttry{\n\t\t\tserver = new Server();\n\t\t\tServerConnector c = new ServerConnector(server);\n\t\t\tc.setIdleTimeout(15000);\n\t\t\tc.setAcceptQueueSize(256);\n\t\t\tc.setPort(port);\n\t\t\tif(!bind.equals(\"*\")){\n\t\t\t\tc.setHost(bind);\n\t\t\t}\n\n\t\t\tServletContextHandler h...
[ "0.69594544", "0.6569323", "0.6563206", "0.63244766", "0.6306084", "0.61651564", "0.6153433", "0.60979027", "0.60835874", "0.60776395", "0.603107", "0.6025024", "0.6016461", "0.6013615", "0.6013615", "0.6013615", "0.6013615", "0.6013615", "0.6013615", "0.6013615", "0.6013615"...
0.6502592
3
Checks received requests for correct path and routes them to appropriate commands
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType(TYPE_TEXT_HTML.label); response.setCharacterEncoding(UTF8.label); request.setCharacterEncoding(UTF8.label); String path = request.getRequestURI(); logger.debug(RECEIVED_REQUEST + path); Command command = null; try { command = commands.get(path); command.execute(request, response); } catch (NullPointerException e) { logger.error(REQUEST_PATH_NOT_FOUND); request.setAttribute(JAVAX_SERVLET_ERROR_STATUS_CODE, 404); command = commands.get(EXCEPTION.label); command.execute(request, response); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void handle(Request req, Response res) throws Exception {\n\t\t\t\tfinal String op = req.params(\":op\");\n\t\t\t\tfinal String username = req.queryParams(\"user\");\n\t\t\t\tfinal String path = req.queryParams(\"path\");\n\t\t\t\t\n\t\t\t\t//--- framework access ---//\n\t\t\t\tif (!Results...
[ "0.62628204", "0.612912", "0.6041029", "0.5968572", "0.5941676", "0.5824483", "0.5729229", "0.57260764", "0.56688774", "0.56315225", "0.5578881", "0.5577982", "0.5568227", "0.55629903", "0.55576974", "0.551018", "0.53916174", "0.53569233", "0.5326476", "0.5291296", "0.5285659...
0.520499
26
que es reflection? no entiendo el concepto
public <T extends Vehicle> T getVehicle(Class<T> tClass){ try { return tClass.getConstructor().newInstance(); } catch (Exception e){ throw new RuntimeException("Cannot create a vehicle of type: " + tClass, e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException, NoSuchFieldException {\n Class clazz = Test.class;\n Class clazz3 = Class.forName(\"Reflection.Test\");\n\n Test test = (Test)...
[ "0.6393212", "0.63405454", "0.62463224", "0.61574745", "0.6100095", "0.6079614", "0.60552514", "0.59400344", "0.59400344", "0.58531976", "0.5784382", "0.577261", "0.5757619", "0.5741429", "0.5696891", "0.5671249", "0.56331044", "0.5535513", "0.55266213", "0.55251855", "0.5514...
0.0
-1
Notify on system volume status changed
public static void notifySysVolChanged(int flag) { for (BaseFragActivity act : mActs.values()) { if (act != null) { act.onSysVolChanged(flag); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void volumeChanged(MPDStatus mpdStatus, int oldVolume) {\n\t\t\n\t}", "@Override\n \tpublic void onUpdateVolume(double arg0) {\n \t}", "public void addVolumeChangeListener(VolumeChangeListener listener);", "public void requestUpdateVolume(int delta) {\n }", "@Override\n \tpublic...
[ "0.74353534", "0.6952368", "0.66955835", "0.66448855", "0.6617504", "0.6512346", "0.64183867", "0.6410907", "0.6388569", "0.637615", "0.6348168", "0.62815255", "0.6197369", "0.61963975", "0.6146406", "0.61278147", "0.6092645", "0.60917526", "0.6081782", "0.5993766", "0.599280...
0.59865546
21
Notify on system volume status changed
public static void notifySendCallerIdON(boolean isON) { for (BaseFragActivity act : mActs.values()) { if (act != null) { act.onSendCallerIdON(isON); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void volumeChanged(MPDStatus mpdStatus, int oldVolume) {\n\t\t\n\t}", "@Override\n \tpublic void onUpdateVolume(double arg0) {\n \t}", "public void addVolumeChangeListener(VolumeChangeListener listener);", "public void requestUpdateVolume(int delta) {\n }", "@Override\n \tpublic...
[ "0.74350226", "0.6951674", "0.6694578", "0.66442615", "0.66174704", "0.6513117", "0.6418824", "0.641152", "0.6387642", "0.63774", "0.63479394", "0.6281812", "0.619589", "0.61956626", "0.61457807", "0.61278105", "0.6093906", "0.6091535", "0.60815376", "0.5993002", "0.59921634"...
0.0
-1
Notify on [MenuPhonePrefixON/OFF] changed
public static void notifyPhonePrefixON(boolean isON) { for (BaseFragActivity act : mActs.values()) { if (act != null) { act.onPhonePrefixON(isON); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void notifyPhonePrefixChanged(String prefix) {\n for (BaseFragActivity act : mActs.values()) {\n if (act != null) {\n act.onPhonePrefixChanged(prefix);\n }\n }\n }", "private void handlePhoneStateChanged(String str) {\n Assert.isMainThrea...
[ "0.61682117", "0.5962769", "0.5947179", "0.5691445", "0.54676646", "0.545674", "0.54002124", "0.5369459", "0.5356337", "0.533095", "0.53230435", "0.53080106", "0.5296719", "0.5281409", "0.52399355", "0.5213929", "0.5208659", "0.52017003", "0.51946473", "0.5182336", "0.5154441...
0.6707756
0
Notify on [MenuPhonePrefixON/OFF] changed
public static void notifyPhonePrefixChanged(String prefix) { for (BaseFragActivity act : mActs.values()) { if (act != null) { act.onPhonePrefixChanged(prefix); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void notifyPhonePrefixON(boolean isON) {\n for (BaseFragActivity act : mActs.values()) {\n if (act != null) {\n act.onPhonePrefixON(isON);\n }\n }\n }", "private void handlePhoneStateChanged(String str) {\n Assert.isMainThread();\n ...
[ "0.6707756", "0.5962769", "0.5947179", "0.5691445", "0.54676646", "0.545674", "0.54002124", "0.5369459", "0.5356337", "0.533095", "0.53230435", "0.53080106", "0.5296719", "0.5281409", "0.52399355", "0.5213929", "0.5208659", "0.52017003", "0.51946473", "0.5182336", "0.51544416...
0.61682117
1
disable CSRF for websockets for now...
@Override protected boolean sameOriginDisabled() { return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tprotected void configure(HttpSecurity http) throws Exception {\n\t\thttp.csrf().disable();\r\n\t}", "String getCSRFToken();", "void verifyCSRFToken(HttpServletRequest request) throws IntrusionException;", "public Boolean disableWwwAuthenticate() {\n return this.disableWwwAuthenticate;\n...
[ "0.59713864", "0.55841136", "0.54641604", "0.5415252", "0.54096764", "0.54096764", "0.5388439", "0.53520095", "0.5350556", "0.53466445", "0.53382474", "0.5326267", "0.52799016", "0.5251708", "0.52486575", "0.5247662", "0.52434707", "0.52342695", "0.5208365", "0.5092605", "0.5...
0.5550324
2
The getCustomerById is used to get the customer information using customerId.
@Override public Customer getCustomerById(Long id) { log.debug("Inside getCustomerById method"); return customerRepository.findById(id).orElseThrow( () -> new ResourceNotFoundException("No customer present with the id : " + id)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Customer getCustomerById(final Long id);", "@Override\n\tpublic Customer getCustomer(Integer id) {\n\t\treturn customerDao.findById(id);\n\t}", "@Override\r\n\tpublic Customer getCustomerById(int id) {\n\t\treturn customerdao.getCustomerById(id);\r\n\t}", "@Override\n\tpublic Customer getCustomer(int id) {\n...
[ "0.84901667", "0.8399856", "0.8356471", "0.82289505", "0.8184275", "0.80942047", "0.8012201", "0.7996116", "0.795358", "0.79462874", "0.79269505", "0.7906403", "0.7904736", "0.7875894", "0.7866372", "0.78432965", "0.78117186", "0.77935815", "0.77671516", "0.7757019", "0.77546...
0.80110955
7
The addCustomer is used to add a customer information.
@Override public void addCustomer(Customer customer) { log.info("Inside addCustomer method"); customerRepository.save(customer); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addCustomer() {\r\n\t\tdo {\r\n\t\t\tString name = getToken(\"Enter the customer's name: \");\r\n\t\t\tString phoneNumber = getToken(\"Enter the phone number: \");\r\n\t\t\tCustomer customer = store.addCustomer(name, phoneNumber);\r\n\t\t\tif (customer == null) {\r\n\t\t\t\tSystem.out.println(\"Could n...
[ "0.7964744", "0.7735888", "0.7611893", "0.7529824", "0.7424417", "0.7394401", "0.7337469", "0.7330148", "0.7322079", "0.7299315", "0.72944367", "0.72778404", "0.726061", "0.7246463", "0.7049395", "0.703786", "0.70028937", "0.6858481", "0.6837499", "0.6794159", "0.6772398", ...
0.73179996
9
the file is there, parse it and set its settings
public void processFile(final java.io.File file) throws OptionsException { final Properties prop = new Properties(); try { final java.io.FileInputStream in = new java.io.FileInputStream(file); try { prop.load(in); } finally { in.close(); } String key; OptionContainer option = null; for (java.util.Enumeration<?> e = prop.propertyNames(); e.hasMoreElements(); ) { key = (String) e.nextElement(); option = opts.get(key); if (option != null) { option.resetArguments(); option.addArgument(prop.getProperty(key)); } else // ignore unknown options (it used to throw an OptionsException) System.out.println("Info: Ignoring unknown/unsupported option (in " + file.getAbsolutePath() + "): " + key); } } catch (java.io.IOException e) { throw new OptionsException("File IO Exception: " + e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void parse(){\n\t\tFile file = new File(fileLocation);\n\n\t\tlong seed = ConfigurationData.DEFAULT_SEED;\n\t\tString outputDest = ConfigurationData.DEFAULT_OUTPUT_DESTINATION;\n\t\tLong tickLength = ConfigurationData.DEFAULT_TICK_LENGTH;\n\t\tint port = ConfigurationData.DEFAULT_PORT;\n\n\t\ttry {\n\n\t\t\...
[ "0.6633794", "0.65325373", "0.63898176", "0.6355014", "0.6225852", "0.6224826", "0.60635376", "0.6044163", "0.60427964", "0.59971845", "0.593635", "0.5922224", "0.59086096", "0.58779013", "0.58390677", "0.5834887", "0.58117247", "0.5807112", "0.57996345", "0.57989347", "0.579...
0.0
-1
parse and set the command line arguments
public void processArgs(final String args[]) throws OptionsException { OptionContainer option = null; int quant = -1; int qcount = 0; boolean moreData = false; for (int i = 0; i < args.length; i++) { if (option == null) { if (args[i].charAt(0) != '-') throw new OptionsException("Unexpected value: " + args[i]); // see what kind of argument we have if (args[i].length() == 1) throw new OptionsException("Illegal argument: '-'"); if (args[i].charAt(1) == '-') { // we have a long argument // since we don't accept inline values we can take // everything left in the string as argument, unless // there is a = in there... final String tmp = args[i].substring(2); final int pos = tmp.indexOf('='); if (pos == -1) { option = opts.get(tmp); moreData = false; } else { option = opts.get(tmp.substring(0, pos)); // modify the option a bit so the code below // handles the moreData correctly args[i] = "-?" + tmp.substring(pos + 1); moreData = true; } } else if (args[i].charAt(1) == 'X') { // extra argument, same as long argument final String tmp = args[i].substring(1); final int pos = tmp.indexOf('='); if (pos == -1) { option = opts.get(tmp); moreData = false; } else { option = opts.get(tmp.substring(0, pos)); // modify the option a bit so the code below // handles the moreData correctly args[i] = "-?" + tmp.substring(pos + 1); moreData = true; } } else { // single char argument option = opts.get("" + args[i].charAt(1)); // is there more data left in the argument? moreData = args[i].length() > 2 ? true : false; } if (option != null) { // make sure we overwrite previously set arguments option.resetArguments(); final int card = option.getCardinality(); if (card == CAR_ONE) { if (moreData) { option.addArgument(args[i].substring(2)); option = null; } else { quant = 1; } } else if (card == CAR_ZERO_ONE) { option.setPresent(); qcount = 1; quant = 2; if (moreData) { option.addArgument(args[i].substring(2)); option = null; } } else if (card == CAR_ZERO_MANY) { option.setPresent(); qcount = 1; quant = -1; if (moreData) { option.addArgument(args[i].substring(2)); qcount++; } } else if (card == CAR_ZERO) { option.setPresent(); option = null; } } else { throw new OptionsException("Unknown argument: " + args[i]); } } else { // store the `value' option.addArgument(args[i]); if (++qcount == quant) { quant = 0; qcount = 0; option = null; } } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void parseCommandLine(String[] args) {\r\n\t\tif (args.length != 3)\r\n\t\t\terror(\"usage: Tester server port url-file\");\r\n\t\t\t\r\n\t\tserverName = args[0];\r\n\t\tserverPort = Integer.parseInt(args[1]);\r\n\t\turlFileName = args[2];\r\n\t}", "protected void parseArgs(String[] args) {\n ...
[ "0.72692907", "0.71974504", "0.7131009", "0.6961569", "0.6930765", "0.6860856", "0.6829785", "0.6817539", "0.6799937", "0.6797939", "0.67875344", "0.6764374", "0.67407364", "0.67238355", "0.67115456", "0.6707533", "0.6704049", "0.6632399", "0.65707165", "0.6568871", "0.656701...
0.5804565
91
Returns a help message for all options loaded.
public String produceHelpMessage() { // first calculate how much space is necessary for the options int maxlen = 0; for (OptionContainer oc : options) { final String shorta = oc.getShort(); final String longa = oc.getLong(); int len = 0; if (shorta != null) len += shorta.length() + 1 + 1; if (longa != null) len += longa.length() + 1 + (longa.charAt(0) == 'X' ? 0 : 1) + 1; // yes, we don't care about branch mispredictions here ;) if (maxlen < len) maxlen = len; } // get the individual strings final StringBuilder ret = new StringBuilder(); for (OptionContainer oc : options) { ret.append(produceHelpMessage(oc, maxlen)); } return ret.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setHelp() {\n\t\tHelpOpt.add(\"-h\");\n\t\tHelpOpt.add(\"/h\");\n\t\tHelpOpt.add(\"help\");\n\t}", "protected final void printOptionHelp(Map<String, String> optionDescriptions) {\n int maxOptionLength = optionDescriptions.entrySet().stream().mapToInt(e -> e.getValue() != null ? e.getKey().len...
[ "0.70574784", "0.70373935", "0.7007087", "0.69451237", "0.69276565", "0.6897073", "0.68236333", "0.67804277", "0.677778", "0.6758952", "0.67240024", "0.672237", "0.67196137", "0.67146933", "0.6712255", "0.6689698", "0.66883004", "0.66783625", "0.6677032", "0.6660928", "0.6649...
0.7467949
0
Returns the help message for the given OptionContainer. The command line flags will be padded to optwidth spaces to allow for aligning. The description of the flags will be wrapped at 80 characters.
public String produceHelpMessage(final OptionContainer oc, int indentwidth) { final String desc = oc.getDescription(); if (desc == null) return ""; final String shorta = oc.getShort(); final String longa = oc.getLong(); int optwidth = 0; if (shorta != null) optwidth += shorta.length() + 1 + 1; if (longa != null) optwidth += longa.length() + 1 + (longa.charAt(0) == 'X' ? 0 : 1) + 1; final int descwidth = 80 - indentwidth; // default to with of command line flags if no width given if (indentwidth <= 0) indentwidth = optwidth; final StringBuilder ret = new StringBuilder(); // add the command line flags if (shorta != null) ret.append('-').append(shorta).append(' '); if (longa != null) { ret.append('-'); if (longa.charAt(0) != 'X') ret.append('-'); ret.append(longa).append(' '); } for (int i = optwidth; i < indentwidth; i++) ret.append(' '); // add the description, wrap around words int pos = 0, lastpos = 0; while (pos < desc.length()) { pos += descwidth; if (lastpos != 0) { for (int i = 0; i < indentwidth; i++) ret.append(' '); } if (pos >= desc.length()) { ret.append(desc.substring(lastpos)).append('\n'); break; } int space; for (space = pos; desc.charAt(space) != ' '; space--) { if (space == 0) { space = pos; break; } } pos = space; ret.append(desc.substring(lastpos, pos)).append('\n'); while (desc.charAt(pos) == ' ') pos++; lastpos = pos; } return ret.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String produceHelpMessage() {\n\t\t// first calculate how much space is necessary for the options\n\t\tint maxlen = 0;\n\t\tfor (OptionContainer oc : options) {\n\t\t\tfinal String shorta = oc.getShort();\n\t\t\tfinal String longa = oc.getLong();\n\t\t\tint len = 0;\n\t\t\tif (shorta != null)\n\t\t\t\tlen +...
[ "0.78381985", "0.6613192", "0.65144", "0.64384234", "0.63297534", "0.62991613", "0.62907416", "0.6161138", "0.61097836", "0.60704553", "0.59466016", "0.59319544", "0.59065425", "0.58907384", "0.5782935", "0.5762235", "0.5730736", "0.57205266", "0.5702735", "0.56479084", "0.56...
0.7881661
0
Data model for Table component.
public interface TableModel<T> extends Pageable { /** * @return number of rows. */ int getRowCount(); /** * @return number of columns. */ int getColumnCount(); TableColumn getTableColumn(int column); T getRowValue(int row); ValueModel<Criterion> getFilterModel(); ValueModel<Order> getOrderModel(); void addListener(TableModelListener listener); void removeListener(TableModelListener listener); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Table\n extends Tabular\n{\n /** @return the names of the columns in this table or an empty list if no columns have been defined, never null */\n List<String> getColumns();\n\n /**\n * Define the name of a column\n *\n * @param index the position in the header starting with 0\n * @para...
[ "0.70135975", "0.6975137", "0.6910961", "0.6870716", "0.68675643", "0.6842575", "0.68361664", "0.6835164", "0.6724623", "0.6712966", "0.66740876", "0.6673001", "0.6665578", "0.6629015", "0.6603574", "0.6559175", "0.655354", "0.654075", "0.64891475", "0.6453392", "0.6435037", ...
0.71402144
0
A business interface defining a Bike which a customer is aiming to ensure.
public interface Bike { /** * An enumeration defining the possible Colour classifications for * the Bike. */ public enum Colour {RED, ORANGE, YELLOW, GREEN, BLUE, INDIGO, VIOLET, WHITE, BLACK}; /** * Returns the Colour of this Bike * * @return the Colour of this Bike */ public Colour getColour(); /** * Sets the Colour of this Bike * * @param colour the Colour of this Bike * @throws UnsupportedOperationException if the implementation of * the interface is read-only with respect to this property */ public void setColour(Colour colour); /** * Returns the number of gears this Bike has * * @return the number of gears */ public int getGears(); /** * Sets the number of gears this Bike has * * @param gears the number of gears * @throws UnsupportedOperationException if the implementation of * the interface is read-only with respect to this property */ public void setGears(int gears); /** * Returns the price of this Bike in pounds Sterling. * * @return the price of this Bike */ public int getValue(); /** * Sets the price of this Bike in pounds Sterling * * @param price the price of this Bike * @throws UnsupportedOperationException if the implementation of * the interface is read-only with respect to this property */ public void setValue(int value); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface ICheckInBusinessWithReservation extends ICheckInBusiness {\r\n\r\n\r\n boolean setReservationOrder(long reservationOrderID);\r\n\r\n}", "public interface IPizzaBaker {\n\n String getName();\n IntermediatePizza bakePiza(IntermediatePizza intermediatePizza);\n\n IntermediatePizza addTo...
[ "0.6431031", "0.63215816", "0.63138086", "0.62546074", "0.6165619", "0.61601526", "0.615774", "0.6144124", "0.614255", "0.61099017", "0.60530597", "0.604581", "0.6041834", "0.6023606", "0.6017053", "0.6011706", "0.59930336", "0.5987132", "0.59579945", "0.5956392", "0.5956036"...
0.7437533
0
Returns the Colour of this Bike
public Colour getColour();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getColour() {\n return colour;\n }", "public String getColour() {\n return colour;\n }", "public String getColour()\n\t{\n\t\treturn colour;\n\t}", "public String getColour() {\r\n return colour;\r\n }", "public int getColour()\r\n\t{\r\n\t\treturn colour;\r\n\t}", "...
[ "0.79314554", "0.79314554", "0.7911894", "0.7898875", "0.77341354", "0.7689591", "0.7670382", "0.761427", "0.75733966", "0.75016433", "0.74968576", "0.74968576", "0.7430599", "0.7430599", "0.7430599", "0.7430599", "0.7430599", "0.7430599", "0.7430599", "0.7430599", "0.7418645...
0.76337373
7
Sets the Colour of this Bike
public void setColour(Colour colour);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setColor(Color c) { color.set(c); }", "public void setColor(Color c);", "public void setColor(Color color);", "public void setColour(String colour) {\n this.colour = colour;\n }", "public void setColor(int value);", "void setColor(){\n this.objectColour = new Color(rValue,gVa...
[ "0.7343634", "0.73038733", "0.7170488", "0.7084409", "0.7070405", "0.7056756", "0.70504224", "0.70504224", "0.7050339", "0.6965712", "0.69629085", "0.695627", "0.6948738", "0.69413155", "0.69141716", "0.6890787", "0.6871059", "0.68628764", "0.68488705", "0.68212986", "0.67807...
0.75777453
0
Returns the number of gears this Bike has
public int getGears();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNumOfTravellingBikes(){\n int numberOfBikes = 0;\n try(Connection con = DatabaseConnector.getConnection();\n PreparedStatement ps = con.prepareStatement(ALL_TRAVEL_DATA);\n ResultSet rs = ps.executeQuery()){\n \n while(rs.next()){\n ...
[ "0.6889448", "0.6884236", "0.6882765", "0.6848071", "0.6734558", "0.6734558", "0.66504616", "0.66415155", "0.66350675", "0.6595025", "0.6581894", "0.6551591", "0.6542411", "0.6533365", "0.65237933", "0.65090555", "0.65085584", "0.648881", "0.6475982", "0.6472806", "0.6462328"...
0.746467
0
Sets the number of gears this Bike has
public void setGears(int gears);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBikeNum(int NewValue){\n bike = NewValue;\n }", "@Override\n\tpublic void setGear(int newValue) {\n\t\tgear = newValue+2;\n\t}", "void setNumberOfArtillery(int artillery);", "void setNoOfBuckets(int noOfBuckets);", "public void setNumberOfCheese(int cheese) {\n this.cheese =...
[ "0.7121011", "0.68960655", "0.67861354", "0.67054707", "0.66631234", "0.6516268", "0.6486116", "0.6427672", "0.642398", "0.6361216", "0.6360701", "0.62151444", "0.615239", "0.60934323", "0.6069168", "0.60497606", "0.6036299", "0.6002203", "0.5987312", "0.59217453", "0.592011"...
0.7862389
0
Returns the price of this Bike in pounds Sterling.
public int getValue();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getPrice() {\n double price = BASE_PRICE;\n for (Topping topping : toppings) {\n if (topping.isPremium()) {\n price += 1.25;\n } else {\n price += 0.75;\n }\n }\n return price;\n }", "public BigDecimal getSellingPrice() {\n return sellingPrice;\n ...
[ "0.6957962", "0.69411176", "0.6917332", "0.6834451", "0.67405504", "0.67361605", "0.6731801", "0.67170984", "0.67162204", "0.6697013", "0.6697013", "0.6697013", "0.6670723", "0.6667615", "0.6661767", "0.6657909", "0.6655178", "0.6643484", "0.66286266", "0.66166973", "0.661669...
0.0
-1
Sets the price of this Bike in pounds Sterling
public void setValue(int value);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void setPrice(double p) {\n\t\tprice = p;\r\n\t}", "public void setPrice(double p)\r\n\t{\r\n\t\tprice = p;\r\n\t}", "public void setPrice(double p) {\n\t\tprice = p;\n\t}", "public void setPotatoesPrice(double p);", "public void setPrice(double p){\n\t\t// store into the instance var...
[ "0.72867006", "0.7273254", "0.7161196", "0.7140661", "0.7092219", "0.6963976", "0.6963976", "0.6963976", "0.696271", "0.6955739", "0.6948528", "0.6942566", "0.6942566", "0.69328374", "0.69328374", "0.69328374", "0.69328374", "0.69328374", "0.69328374", "0.69328374", "0.690578...
0.0
-1
TODO Autogenerated method stub
@Override public void onFailure(int statusCode, String responseString, Throwable throwable) { }
{ "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
public getter eBay user ID for the user who left the feedback.
public String getCommentingUser() { return this.commentingUser; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getUserId() {\r\n\t\treturn this.userid.getText();\r\n\t}", "java.lang.String getUserId();", "java.lang.String getUserId();", "java.lang.String getUserId();", "public int getIduser() {\n return iduser;\n }", "public Integer getUserid() {\n\t\treturn this.userid;\n\t}", "public i...
[ "0.73185635", "0.7275356", "0.7275356", "0.7275356", "0.7255318", "0.7237241", "0.7231099", "0.7231099", "0.7199891", "0.7182577", "0.7166313", "0.7166313", "0.7166313", "0.7166313", "0.7158967", "0.71363413", "0.71363413", "0.71363413", "0.71363413", "0.71363413", "0.7136341...
0.0
-1
public setter eBay user ID for the user who left the feedback.
public void setCommentingUser(String commentingUser) { this.commentingUser = commentingUser; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setUserid(java.lang.String value) {\n this.userid = value;\n }", "public void setIdUser(int value) {\n this.idUser = value;\n }", "public void setIduser(int aIduser) {\n iduser = aIduser;\n }", "public void setUserId(int value) {\n this.userId = value;\n }", "p...
[ "0.7159406", "0.7132654", "0.7026791", "0.7020906", "0.7009474", "0.70079696", "0.70079696", "0.70079696", "0.70079696", "0.69996464", "0.6981563", "0.69777626", "0.6944294", "0.6933683", "0.6930623", "0.6921218", "0.6915967", "0.68646693", "0.6821251", "0.6821251", "0.671792...
0.0
-1
public getter Feedback score of the user in CommentingUser.
public Integer getCommentingUserScore() { return this.commentingUserScore; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public float getUserRatingScore() {\n float scorePercent = Float.valueOf(userRating) * 10;\n\n return ((5 * scorePercent) / 100);\n }", "public double getRating(){\n\t\treturn this.user_rating;\n\t}", "Float getScore();", "float getScore();", "float getScore();", "public Float getScore()...
[ "0.67009425", "0.6566223", "0.65311545", "0.64876413", "0.64876413", "0.6414995", "0.63369256", "0.6278992", "0.6276928", "0.62651294", "0.62551147", "0.62551147", "0.6246517", "0.6226578", "0.62195075", "0.62178004", "0.6197736", "0.6197736", "0.6197736", "0.61907023", "0.61...
0.793652
0
public setter Feedback score of the user in CommentingUser.
public void setCommentingUserScore(Integer commentingUserScore) { this.commentingUserScore = commentingUserScore; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getCommentingUserScore() {\n\t return this.commentingUserScore;\n\t}", "public void setScore(int score) {this.score = score;}", "public void setScore (int newScore)\n {\n this.score = newScore;\n }", "public void setScore(int score) { this.score = score; }", "void setScoreValue(int scor...
[ "0.7076461", "0.66985595", "0.66698694", "0.6599601", "0.6520213", "0.63800234", "0.6343304", "0.63309026", "0.630724", "0.6300736", "0.62523496", "0.62343097", "0.62343097", "0.6224595", "0.62098813", "0.61899364", "0.6161727", "0.6161727", "0.6161727", "0.6161727", "0.61484...
0.71500236
0
public getter Text message left by the user in CommentingUser. Used to provide a more indepth description of the user's opinion of the transaction. Returned as text in the language that the comment was originally left in.
public String getCommentText() { return this.commentText; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected String getLeftMessage() {\n\t\treturn player2.getName() + \": \" + player2.getScore();\n\t}", "public String textReason() {\r\n return getParm(2).trim();\r\n }", "public String getMessageText();", "public String getMessageText() {\n return message_text;\n }", "public String ge...
[ "0.65706486", "0.6455834", "0.6309749", "0.60745835", "0.6047103", "0.6046391", "0.60146224", "0.6011258", "0.6008224", "0.600407", "0.6003825", "0.59870416", "0.5970388", "0.59445333", "0.58678675", "0.5852376", "0.5842941", "0.5835985", "0.5830143", "0.582654", "0.58204657"...
0.58745927
14
public setter Text message left by the user in CommentingUser. Used to provide a more indepth description of the user's opinion of the transaction. Returned as text in the language that the comment was originally left in.
public void setCommentText(String commentText) { this.commentText = commentText; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String textReason() {\r\n return getParm(2).trim();\r\n }", "public String getCommentText() {\n\t return this.commentText;\n\t}", "public String getCommentText() {\r\n\r\n\t\treturn commentText;\r\n\t}", "public java.lang.String getReasonText() {\n return reasonText;\n }", "pr...
[ "0.6242953", "0.59583575", "0.58121365", "0.5809324", "0.57678175", "0.57576144", "0.57459074", "0.5727898", "0.56660676", "0.56540686", "0.56446284", "0.5641504", "0.5641504", "0.5641504", "0.5641504", "0.5641504", "0.5641504", "0.5622747", "0.56160647", "0.56083226", "0.559...
0.0
-1
public getter Date and time (in GMT) that the feedback was submitted to eBay.
public Date getCommentTime() { return this.commentTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "DateTime getSubmissionTime();", "public Date getAposttime() {\n return aposttime;\n }", "Date getRequestedAt();", "public Date getTimePost() {\n return timePost;\n }", "public Date getSubmittime() {\n return submittime;\n }", "public Date getRequestDate();", "public Date g...
[ "0.71837056", "0.69318986", "0.68655753", "0.685407", "0.6852181", "0.67772144", "0.67667586", "0.6736588", "0.6732581", "0.6732581", "0.6731344", "0.67242545", "0.66882366", "0.6660319", "0.6621002", "0.66162676", "0.66057277", "0.66015756", "0.6595654", "0.6589503", "0.6588...
0.0
-1
public setter Date and time (in GMT) that the feedback was submitted to eBay.
public void setCommentTime(Date commentTime) { this.commentTime = commentTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRequestDate(Date requestDate);", "public void setUpdateDatetime(Date updateDatetime);", "public void setRequestDate(Date requestDate) { this.requestDate = requestDate; }", "public void setMyDatePosted(String myDatePosted) {\n this.myDatePosted = myDatePosted;\n }", "public void set...
[ "0.6478818", "0.6316048", "0.62820333", "0.61339664", "0.6117496", "0.610795", "0.60396427", "0.6003811", "0.59993094", "0.59714854", "0.59604603", "0.5923155", "0.59091204", "0.58924955", "0.5890407", "0.58798194", "0.5875749", "0.58638674", "0.58546716", "0.58538085", "0.58...
0.0
-1
public getter Type of feedback. Can be Positive, Neutral, Negative, or Withdrawn (see the CommentTypeCodeType code list). Positive feedbacks add to the user's total feedback score, negative feedbacks lower the score, and neutral feedbacks do not affect the score (but do affect the overall picture of the user's online reputation).
public CommentTypeCodeType getCommentType() { return this.commentType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Feedback getFeedback();", "int getFeedback();", "public String getFeedback() {\n\t\treturn feedback;\n\t}", "public String getFeedback() {\n\t\treturn feedback;\n\t}", "lanyotech.cn.park.protoc.CommonProtoc.FEEDBACK4PARKING getFeedback();", "int getChatTypeValue();", "protected String getFeedback() {\n...
[ "0.64326507", "0.6342865", "0.6281592", "0.6281592", "0.59672976", "0.58031636", "0.5735418", "0.5729777", "0.5721139", "0.5630924", "0.557031", "0.5520844", "0.5469957", "0.54192865", "0.5394113", "0.53922725", "0.5361564", "0.53394926", "0.531932", "0.53164303", "0.5280383"...
0.5428922
13
public setter Type of feedback. Can be Positive, Neutral, Negative, or Withdrawn (see the CommentTypeCodeType code list). Positive feedbacks add to the user's total feedback score, negative feedbacks lower the score, and neutral feedbacks do not affect the score (but do affect the overall picture of the user's online reputation).
public void setCommentType(CommentTypeCodeType commentType) { this.commentType = commentType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setFeedbackLevel(int feedbackLevel) {\r\n\r\n\t\t// Value in the range 0..100\r\n\t\tthis.feedbackLevel = feedbackLevel;\r\n\t}", "public void setFeedback(String feedback) {\n\t\tthis.feedback = feedback;\n\t}", "void setQuestionType(QuestionType type);", "@ApiModelProperty(value = \"Campaign, Fl...
[ "0.6094166", "0.5935233", "0.5623747", "0.5608003", "0.5553675", "0.5515734", "0.5515734", "0.5461916", "0.5452185", "0.5425413", "0.5378648", "0.53388655", "0.52939355", "0.52474415", "0.52463984", "0.52428854", "0.51918", "0.5183242", "0.5167292", "0.5134139", "0.5128961", ...
0.4830058
47
public getter Textual comment that the user targeted by feedback may leave in response or rebuttal to the feedback.
public String getFeedbackResponse() { return this.feedbackResponse; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getComment();", "public String getComment();", "public String getComment();", "public String getComment();", "public String getComment();", "public String getComment();", "String getComment();", "String getComment();", "@Override\n\tpublic String getComment() {\n\t\treturn model.getCo...
[ "0.6856933", "0.6856933", "0.6856933", "0.6856933", "0.6856933", "0.6856933", "0.67510533", "0.67510533", "0.6716079", "0.66988075", "0.66988075", "0.66958", "0.6636582", "0.6602945", "0.6528608", "0.65258193", "0.650792", "0.65000296", "0.64452475", "0.64388925", "0.6434581"...
0.6150573
46
public setter Textual comment that the user targeted by feedback may leave in response or rebuttal to the feedback.
public void setFeedbackResponse(String feedbackResponse) { this.feedbackResponse = feedbackResponse; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setComments(String newValue);", "public void setComment(String comment);", "public void setComment(String comment);", "public void setComments(java.lang.String value);", "public void setComment(String new_comment){\n this.comment=new_comment;\n }", "public void setFeedback(String fe...
[ "0.6372187", "0.621239", "0.621239", "0.61389494", "0.61388737", "0.60804784", "0.5822461", "0.5773133", "0.5750303", "0.5750303", "0.5742827", "0.57150525", "0.57150525", "0.57150525", "0.57150525", "0.57150525", "0.57150525", "0.5711864", "0.5677151", "0.567115", "0.5666632...
0.5508758
40
public getter Explanation a user can give to a response.
public String getFollowUp() { return this.followUp; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getAnswerResponse();", "pb4server.GiveRansomAskReq getGiveRansomAskReq();", "String getResponsible();", "public boolean getMustUnderstand();", "public boolean isResponse(){\n return true;\n }", "protected abstract void askResponse();", "private SpeechletResponse getHelpResponse() {\n\t\tSt...
[ "0.65766394", "0.6313839", "0.6143001", "0.6140963", "0.60788107", "0.6065889", "0.6061296", "0.6010567", "0.59737414", "0.59244484", "0.5905502", "0.5885383", "0.5884199", "0.58737046", "0.58716345", "0.5858818", "0.5847142", "0.5834493", "0.58140504", "0.5794283", "0.578776...
0.0
-1
public setter Explanation a user can give to a response.
public void setFollowUp(String followUp) { this.followUp = followUp; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSecurity_answer(String security_answer);", "public void setResponse(int response) {\r\n this.response = response;\r\n }", "public void setResponse(T response) {\n this.response = response;\n }", "public void setAnswer(double correctResponse)\n { \n answer = correc...
[ "0.6612997", "0.6301271", "0.62945557", "0.6261747", "0.6222487", "0.6127714", "0.60707563", "0.60707563", "0.60656065", "0.6055772", "0.6046113", "0.59704894", "0.59234804", "0.5911116", "0.5911116", "0.5909329", "0.59058", "0.59058", "0.58904517", "0.5872829", "0.5854772", ...
0.0
-1
public getter The ID that uniquely identifies the item listing.
public String getItemID() { return this.itemID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getItemID();", "long getID(Object item);", "public final ItemId getId() {\r\n return null;\r\n }", "public Long getItemId() {\r\n return itemId;\r\n }", "public int getItemID()\n {\n return itemID;\n }", "public Integer getId() {\n\t\treturn wishlistItemId;\n\t}", "public i...
[ "0.7546206", "0.7378798", "0.7348594", "0.7326004", "0.7318206", "0.72851354", "0.726088", "0.72154325", "0.719911", "0.71920973", "0.71920973", "0.7178335", "0.7178296", "0.7144032", "0.7096677", "0.70405173", "0.7036293", "0.6978556", "0.692812", "0.69153726", "0.6902057", ...
0.73013234
5
public setter The ID that uniquely identifies the item listing.
public void setItemID(String itemID) { this.itemID = itemID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getItemId()\r\n {\r\n return _itemId;\r\n }", "public int getItemID()\n {\n return itemID;\n }", "public void setID(String idIn) {this.id = idIn;}", "int getItemID();", "public Long getItemId() {\r\n return itemId;\r\n }", "@java.lang.Override\n public long getItem...
[ "0.67909706", "0.67860454", "0.6782682", "0.67345035", "0.67219806", "0.6710926", "0.6635152", "0.6622256", "0.6607931", "0.66028565", "0.658488", "0.65842175", "0.65699834", "0.65551776", "0.65528035", "0.6550674", "0.65444493", "0.65377444", "0.6533094", "0.65127295", "0.65...
0.0
-1
public getter Indicates whether the user who was the feedback recipient was a Buyer or the Seller for that transaction.
public TradingRoleCodeType getRole() { return this.role; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSeller(){\n\t\tif(sellerFlag == 1) return true;\n\t\telse return false;\n\t}", "public char getIsSeller() {\n\treturn isSeller;\n}", "public String getSeller() {\n return seller;\n }", "public String getSeller() {\n return seller;\n }", "public String getBuyer() {\n ...
[ "0.7302724", "0.68709123", "0.65086466", "0.65086466", "0.6425799", "0.6356493", "0.6189192", "0.61383826", "0.6110831", "0.60736626", "0.6068712", "0.60512275", "0.6045407", "0.602874", "0.60156566", "0.6011256", "0.60085464", "0.59890884", "0.5951601", "0.59251523", "0.5892...
0.0
-1
public setter Indicates whether the user who was the feedback recipient was a Buyer or the Seller for that transaction.
public void setRole(TradingRoleCodeType role) { this.role = role; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIsSeller(char isSeller) {\n\tthis.isSeller = isSeller;\n}", "public boolean isSeller(){\n\t\tif(sellerFlag == 1) return true;\n\t\telse return false;\n\t}", "public void setBuyer(String buyer) {\n this.buyer = buyer;\n }", "public char getIsSeller() {\n\treturn isSeller;\n}", "publ...
[ "0.68548", "0.6774946", "0.6600331", "0.63917166", "0.631111", "0.631111", "0.621184", "0.61526865", "0.61526865", "0.6033199", "0.58784217", "0.5875626", "0.58391464", "0.58040553", "0.578731", "0.57717687", "0.571438", "0.5692321", "0.5671277", "0.5670686", "0.5662321", "...
0.0
-1
public getter Name of the listing for which feedback was provided. Returned as CDATA. Not returned if a listing ended more than 90 days ago.
public String getItemTitle() { return this.itemTitle; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected String getFeedback() {\n\t\t\n\t\tString feedback = new String();\n\t\t\n\t\treturn feedback;\n\t}", "public String getFeedback() {\n\t\treturn feedback;\n\t}", "public String getFeedback() {\n\t\treturn feedback;\n\t}", "org.hl7.fhir.String getComments();", "public String getDescription() {\n ...
[ "0.6107521", "0.60105824", "0.60105824", "0.5814168", "0.567527", "0.56283283", "0.56272084", "0.5579437", "0.55494815", "0.5530418", "0.55255383", "0.5503965", "0.54962534", "0.54784167", "0.5465622", "0.5465622", "0.5465622", "0.5465622", "0.5465622", "0.5465622", "0.546562...
0.0
-1
public setter Name of the listing for which feedback was provided. Returned as CDATA. Not returned if a listing ended more than 90 days ago.
public void setItemTitle(String itemTitle) { this.itemTitle = itemTitle; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getFeedback() {\n\t\treturn feedback;\n\t}", "public String getFeedback() {\n\t\treturn feedback;\n\t}", "protected String getFeedback() {\n\t\t\n\t\tString feedback = new String();\n\t\t\n\t\treturn feedback;\n\t}", "@Override\n public String getName() {\n return this.desc;\n }", ...
[ "0.5804786", "0.5804786", "0.5679778", "0.52976525", "0.5280045", "0.5258701", "0.5248206", "0.5235828", "0.5209545", "0.5208389", "0.5203595", "0.51753485", "0.517521", "0.51717424", "0.5171111", "0.5156341", "0.51373947", "0.51229435", "0.5122058", "0.5084596", "0.50817674"...
0.0
-1
public getter The final price for the item, associated with the currency identified by the currencyId attribute of the AmountType. Not returned if a listing ended more than 90 days ago.
public AmountType getItemPrice() { return this.itemPrice; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArmCurrency getPrice() {\n return (getPrice(true));\n }", "protected Double getItemPrice() {\n return itemPrice;\n }", "public BigDecimal getPrice() {\n return (BigDecimal)getAttributeInternal(PRICE);\n }", "public BigDecimal getPrice() {\r\n return price;\r\n }",...
[ "0.67003435", "0.6485846", "0.64565384", "0.6447193", "0.6447193", "0.6441044", "0.64183587", "0.6405933", "0.6405933", "0.6405933", "0.6405933", "0.6405933", "0.63989824", "0.6372162", "0.6365135", "0.63435894", "0.6339551", "0.6328788", "0.6314094", "0.6312291", "0.6299673"...
0.71112734
0
public setter The final price for the item, associated with the currency identified by the currencyId attribute of the AmountType. Not returned if a listing ended more than 90 days ago.
public void setItemPrice(AmountType itemPrice) { this.itemPrice = itemPrice; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AmountType getItemPrice() {\n\t return this.itemPrice;\n\t}", "public BigDecimal getPrice() {\r\n return price;\r\n }", "public BigDecimal getPrice() {\r\n return price;\r\n }", "public BigDecimal getPrice() {\n return price;\n }", "public BigDecimal getPrice() {\n ...
[ "0.69557804", "0.6625528", "0.6625528", "0.65662247", "0.65662247", "0.65662247", "0.65662247", "0.65662247", "0.65331787", "0.65331197", "0.64872426", "0.6463322", "0.64480203", "0.6444678", "0.64254105", "0.63896674", "0.6381851", "0.63813794", "0.6371345", "0.63554776", "0...
0.6666568
1
public getter Unique identifier for the feedback entry.
public String getFeedbackID() { return this.feedbackID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getFeedbackId() {\n return feedbackId;\n }", "public String getUniqueID ( ) { return _uniqueID; }", "public String getUniqueID() {\n return this.uniqueID;\n }", "public String getUniqueID()\r\n {\r\n return (m_uniqueID);\r\n }", "protected int getUniqueID() {\n\t\...
[ "0.7219374", "0.70931405", "0.70724344", "0.6969407", "0.6858211", "0.68524796", "0.6850725", "0.682486", "0.6791763", "0.67585254", "0.6721871", "0.66888255", "0.668678", "0.66216207", "0.6611144", "0.6596065", "0.6570549", "0.65484536", "0.64698756", "0.64697653", "0.644635...
0.7201405
1
public setter Unique identifier for the feedback entry.
public void setFeedbackID(String feedbackID) { this.feedbackID = feedbackID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getFeedbackId() {\n return feedbackId;\n }", "public String getFeedbackID() {\n\t return this.feedbackID;\n\t}", "public String getUniqueID ( ) { return _uniqueID; }", "public String getUniqueID() {\n return this.uniqueID;\n }", "protected int getUniqueID() {\n\t\tretur...
[ "0.67448294", "0.65685755", "0.6561238", "0.63172364", "0.6220945", "0.6198268", "0.6107186", "0.60598296", "0.6010641", "0.59659517", "0.58958393", "0.58864826", "0.58839095", "0.5862441", "0.58362657", "0.5825339", "0.5774065", "0.5760446", "0.57166535", "0.57127154", "0.56...
0.6037317
8
public getter Unique identifier for the transaction about which this feedback entry was left. This field is not returned in the case of TransactionIDs from Chinese auction listings, because a value of zero is used for TransactionIDs in such cases.
public String getTransactionID() { return this.transactionID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getTransactionID() {\r\n return transactionID;\r\n }", "public int getId() {\n return txId;\n }", "public long getTransactionid() {\n return transactionid;\n }", "long getTxid();", "public long getTransactionId() {\n return _sTransaction.getTransactionId();\...
[ "0.6804594", "0.6754523", "0.6652108", "0.66469854", "0.6636514", "0.6616873", "0.66035926", "0.6597041", "0.6572727", "0.6557366", "0.6521649", "0.6519528", "0.6507706", "0.6494147", "0.6490282", "0.6467656", "0.64625543", "0.6456716", "0.6456716", "0.64525676", "0.64410704"...
0.6512733
12
public setter Unique identifier for the transaction about which this feedback entry was left. This field is not returned in the case of TransactionIDs from Chinese auction listings, because a value of zero is used for TransactionIDs in such cases.
public void setTransactionID(String transactionID) { this.transactionID = transactionID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getId() {\n return txId;\n }", "public long getTransactionID() {\r\n return transactionID;\r\n }", "@Override\r\n\tpublic long txNumber() {\r\n\t\treturn -1; // dummy value\r\n\t}", "public long getTransactionid() {\n return transactionid;\n }", "public int getTrans...
[ "0.64191175", "0.6394277", "0.63566655", "0.62428015", "0.6196162", "0.61416006", "0.6126441", "0.6073317", "0.6065423", "0.6062421", "0.60458803", "0.6027012", "0.6008446", "0.60068965", "0.6001946", "0.60015416", "0.5982864", "0.5982864", "0.5973976", "0.59676975", "0.59317...
0.0
-1
public getter Indicates whether eBay replaced the comment with a message that the comment was removed.
public Boolean getCommentReplaced() { return this.commentReplaced; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRemoved() {\n return REMOVED.equals(message);\n }", "public void setCommentReplaced(Boolean commentReplaced) {\n\t this.commentReplaced = commentReplaced;\n\t}", "public boolean isReplaced() {\n return REPLACED.equals(message);\n }", "public String getAcCommentsMessage...
[ "0.6861879", "0.6322261", "0.62254727", "0.6142266", "0.5999524", "0.59601796", "0.59445345", "0.5818741", "0.57995695", "0.579249", "0.5790099", "0.5768558", "0.57584345", "0.574799", "0.5744926", "0.57422423", "0.5733457", "0.5733457", "0.5733457", "0.5733457", "0.5733457",...
0.7413173
0
public setter Indicates whether eBay replaced the comment with a message that the comment was removed.
public void setCommentReplaced(Boolean commentReplaced) { this.commentReplaced = commentReplaced; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setComment(String new_comment){\n this.comment=new_comment;\n }", "public Boolean getCommentReplaced() {\n\t return this.commentReplaced;\n\t}", "public void setComments(String newValue);", "public void setComment(final String newComment) {\n this.comment = newComment;\n }"...
[ "0.69708276", "0.6941374", "0.6727063", "0.6577683", "0.6570477", "0.6570477", "0.63810223", "0.6253711", "0.6249949", "0.6238475", "0.61931306", "0.6158647", "0.6145095", "0.61248934", "0.6059878", "0.6058405", "0.6042201", "0.5994319", "0.5987656", "0.59857553", "0.5985573"...
0.7029201
0
public getter Indicates whether eBay replaced the response with a message that the response was removed.
public Boolean getResponseReplaced() { return this.responseReplaced; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isOKToRemove(){\n return ( this == Acked || this == Expired || this == DLCMessage);\n }", "public boolean hasResponseMessage() {\n return ((bitField0_ & 0x00002000) == 0x00002000);\n }", "public boolean isRemoved() {\n return REMOVED.equals(message);\n }...
[ "0.6589313", "0.6491007", "0.6464144", "0.6455053", "0.6441081", "0.6336334", "0.630978", "0.6181975", "0.60932", "0.5952684", "0.59123105", "0.5902891", "0.5891837", "0.58778524", "0.5782481", "0.5775186", "0.57677704", "0.57279617", "0.56789064", "0.5675919", "0.5673077", ...
0.72920364
0
public setter Indicates whether eBay replaced the response with a message that the response was removed.
public void setResponseReplaced(Boolean responseReplaced) { this.responseReplaced = responseReplaced; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Boolean getResponseReplaced() {\n\t return this.responseReplaced;\n\t}", "public boolean isOKToRemove(){\n return ( this == Acked || this == Expired || this == DLCMessage);\n }", "public void setResponseMessage(String responseMessage) { this.responseMessage = responseMessage; }", ...
[ "0.66664493", "0.60637015", "0.60580844", "0.6025033", "0.59195566", "0.58864564", "0.5809603", "0.5728845", "0.5648963", "0.56433433", "0.5583264", "0.55629903", "0.5545482", "0.5543733", "0.55398566", "0.5509427", "0.54914725", "0.54814565", "0.5473538", "0.5458364", "0.541...
0.67702967
0
public getter Indicates whether eBay replaced the followup with a message that the followup was removed.
public Boolean getFollowUpReplaced() { return this.followUpReplaced; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean hasFollowUp() \n {\n return followUp.equals(Constants.CLOSE);\n }", "public void setFollowUpReplaced(Boolean followUpReplaced) {\n\t this.followUpReplaced = followUpReplaced;\n\t}", "public boolean isRemoved() {\n return REMOVED.equals(message);\n }", "public String g...
[ "0.72204596", "0.67869526", "0.6414709", "0.63181174", "0.6286277", "0.6265254", "0.6168292", "0.6108114", "0.6022298", "0.6008244", "0.5771504", "0.57640934", "0.57614815", "0.5724853", "0.56956756", "0.5684551", "0.56842554", "0.5672121", "0.56663954", "0.56527674", "0.5626...
0.7785373
0
public setter Indicates whether eBay replaced the followup with a message that the followup was removed.
public void setFollowUpReplaced(Boolean followUpReplaced) { this.followUpReplaced = followUpReplaced; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Boolean getFollowUpReplaced() {\n\t return this.followUpReplaced;\n\t}", "public void setFollowing(Boolean newValue) { following = newValue; }", "public boolean hasFollowUp() \n {\n return followUp.equals(Constants.CLOSE);\n }", "public void setFollowUp(String followUp) {\n\t this.f...
[ "0.7485202", "0.6979337", "0.66798264", "0.6495645", "0.6338458", "0.62000906", "0.61782444", "0.61282545", "0.6113143", "0.6037991", "0.6029061", "0.59625834", "0.5930355", "0.5871057", "0.5776124", "0.57614356", "0.56583905", "0.5588091", "0.55861795", "0.5541857", "0.54990...
0.7547247
0
public getter Specifies if a user's feedback score is or is not countable. This field is returned only when a user's feedback score is not countable (value is false).
public Boolean getCountable() { return this.countable; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasFeedback();", "public boolean hasFeedback() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasFeedback() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "int getFeedback();", "Feedback getFeedback();", "public Integer getIsUseful() {...
[ "0.658275", "0.6227928", "0.6197562", "0.6171129", "0.5883178", "0.5863802", "0.575813", "0.5707023", "0.5707023", "0.56752855", "0.5610992", "0.558428", "0.5523645", "0.5492105", "0.5436089", "0.5425518", "0.5423418", "0.5410511", "0.5393046", "0.53495485", "0.5328151", "0...
0.53043604
23
public setter Specifies if a user's feedback score is or is not countable. This field is returned only when a user's feedback score is not countable (value is false).
public void setCountable(Boolean countable) { this.countable = countable; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasFeedback();", "public static void setProvideFeedback(boolean b){\n\t\tprovideFeedback = b;\t \n\t}", "public boolean hasFeedback() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "public boolean hasFeedback() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }...
[ "0.60679996", "0.5841083", "0.58311844", "0.58048916", "0.5645216", "0.5625687", "0.5624525", "0.5583085", "0.55673575", "0.5530545", "0.54517716", "0.5437946", "0.539034", "0.5387128", "0.53656185", "0.53609025", "0.5351874", "0.5336468", "0.5288603", "0.52346855", "0.518134...
0.5366843
14
methods for the Entity implementation
public Integer getId() { return aao.getId(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract V getEntity();", "@Override\n public Entity getEntity() {\n return super.getEntity();\n }", "@Override\n\tpublic void initEntity() {\n\n\t}", "protected abstract Serializable getEntity();", "protected abstract ENTITY createEntity();", "protected void entityInit() {}", "publ...
[ "0.71623355", "0.7129426", "0.69273174", "0.6916755", "0.6902586", "0.68542385", "0.68385595", "0.67435384", "0.66558504", "0.6646599", "0.662857", "0.65866685", "0.6542674", "0.6533178", "0.65287346", "0.6508105", "0.6501012", "0.6497889", "0.6497537", "0.64949954", "0.64481...
0.0
-1
getter and setter methods for 'object' attributes
public String getName() { return aao.getName(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public\tvoid setobject(object obj) {\r\n\t\t oop.value=obj.value;\r\n\t\t oop.size=obj.size;\r\n\t\t \r\n\t}", "public void setObject(Object object) {\n\t\tif(object==null)\n\t\t\treturn;\n\t\ttry {\n\t\t\t//BeanUtils.copyProperties(this,object);\n\t\t\tMap map=PropertyUtils.describe(object);\n\t\t\tSet set=map....
[ "0.7239358", "0.6795547", "0.6641899", "0.65702677", "0.65572876", "0.6516617", "0.6434045", "0.6433284", "0.64312136", "0.6402127", "0.63066804", "0.6285833", "0.6278108", "0.6220946", "0.62126803", "0.6202091", "0.61832684", "0.61369115", "0.61221516", "0.60975957", "0.6070...
0.0
-1
getter and setter methods for 'documented' attributes
public String getEnteredBy() { return aao.getEnteredBy(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\npublic void setAttributes() {\n\t\n}", "Attributes getAttributes();", "public interface DocAttr extends Comparable<DocAttr> {\n\n\t// document ID\n\n\tString getId();\n\n\t// document owner\n\n\tString getOwner();\n\n\t// timestamp for the document\n\n\tDate getTimeStamp();\n\n\t// number of days si...
[ "0.65072304", "0.6437036", "0.64095575", "0.63549536", "0.63535434", "0.6192337", "0.6103786", "0.609131", "0.5984656", "0.59715295", "0.5946824", "0.59393775", "0.5935701", "0.59221387", "0.5853583", "0.5838471", "0.5820484", "0.5754459", "0.57503223", "0.57393664", "0.57372...
0.0
-1
getter and setter methods for 'atomic' attributes
public String getAccessionNumber() { return aao.getAccessionNumber(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AtomicDataAttributes createAtomicDataAttributes();", "AtomicData createAtomicData();", "@Override\n\tpublic boolean isAtomic() {\n\t\treturn true;\n\t}", "public AtomicInteger getAtomicId() { return this.atomicId; }", "public AtomicValue asAtomic() throws ValidationException {\n throw makeException(...
[ "0.67435133", "0.59770525", "0.5888792", "0.5796721", "0.5747162", "0.5711011", "0.5708384", "0.5684502", "0.5649026", "0.55431306", "0.54456764", "0.5378696", "0.53242606", "0.53078943", "0.53078943", "0.5306041", "0.5297561", "0.5284285", "0.5275131", "0.5228785", "0.522859...
0.0
-1
TODO Autogenerated method stub
public int compareTo(Entity arg0) { return 0; }
{ "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 Integer getDocumentCount() { return null; }
{ "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 Set<Frequency> getFrequencies() { return null; }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
public Double getInverseDocumentFrequency() { return null; }
{ "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 Set<Vote> getVotes() { return null; }
{ "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 void setDocumentCount(Integer arg0) { }
{ "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 void setFrequencies(Set<Frequency> arg0) { }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
TODO Autogenerated method stub
public void setInverseDocumentFrequency(Double arg0) { }
{ "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 void setVotes(Set<Vote> arg0) { }
{ "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 String toXML() { return null; }
{ "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 Element toXMLElement() { return null; }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
Created by oleht on 22.07.2018
public interface PasswordResetTokenRepository extends JpaRepository<PasswordResetToken, Long> { PasswordResetToken findByToken(String token); PasswordResetToken findByUser(UserEntity user); Stream<PasswordResetToken> findAllByExpiryDateLessThan(Date now); void deleteByExpiryDateLessThan(Date now); @Modifying @Query("delete from PasswordResetToken t where t.expiryDate <= ?1") void deleteAllExpiredSince(Date now); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n public void func_104112_b() {\n \n }", "private void poetries() {\n\n\t}", "private stendhal() {\n\t}", "private static void cajas() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void g...
[ "0.5523521", "0.5448874", "0.5446326", "0.54022163", "0.5392598", "0.5282301", "0.528165", "0.5272292", "0.5255977", "0.5255977", "0.5204059", "0.5184493", "0.5179778", "0.51732254", "0.5123705", "0.51237035", "0.51236635", "0.51189244", "0.51133054", "0.51065624", "0.5086022...
0.0
-1
printConstraint(): Method used for app.testing.
public abstract void printConstraint();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printConstraint() {\n\t\tSystem.out.println(this.object + \" \" + this.closeObject + \" \" + this.farObject);\r\n\t}", "public void printAllConstraints() {\n\t\tSystem.out.println(\"Printing all constraints\");\n\t\tfor (int row = 0; row < Sudoku.ROWS; row++ ) {\n\t\t\tfor (int col = 0; col < Sudoku....
[ "0.8204897", "0.69957405", "0.6193562", "0.5950445", "0.59093714", "0.577197", "0.5734376", "0.5718897", "0.5706683", "0.56567585", "0.5637729", "0.5632072", "0.5595261", "0.5575107", "0.55667657", "0.556599", "0.5559352", "0.54957116", "0.5472018", "0.5456749", "0.5413886", ...
0.8812403
0
getDefinition(): Method to be implemented by all TableEntity classes. Used to provide create definition during query generation.
public abstract String getDefinition();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface TableDefinition extends BaseColumns {\n\n String tableName();\n\n String createStatement();\n\n String dropStatement();\n \n}", "@Override\n public List<TableDefinition> getTableDefinitions()\n {\n return tableDefinitions;\n }", "String getDefinition();", "private...
[ "0.6615112", "0.64759964", "0.62054545", "0.5995261", "0.59885174", "0.59494674", "0.5943001", "0.59193665", "0.5912595", "0.5897081", "0.5867896", "0.5774693", "0.5772883", "0.56681305", "0.56133765", "0.5601464", "0.5571701", "0.5566628", "0.5552856", "0.5550375", "0.553735...
0.6459698
2
Creates a new instance of DeviceDataRequestCommand
public DeviceDataRequestCommand() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final com.francetelecom.admindm.model.Parameter createCommand()\n\t\t\tthrows Fault {\n\t\tcom.francetelecom.admindm.model.Parameter param;\n\t\tparam = data.createOrRetrieveParameter(basePath + \"Command\");\n\t\tparam.setNotification(0);\n\t\tparam.setStorageMode(StorageMode.DM_ONLY);\n\t\tparam.setType(P...
[ "0.62072927", "0.6051921", "0.5800997", "0.57831687", "0.5750529", "0.5592599", "0.5556742", "0.5534492", "0.5508867", "0.5464168", "0.5456832", "0.54491067", "0.54284644", "0.5422266", "0.5411196", "0.53871125", "0.5342625", "0.5333916", "0.5333612", "0.52923733", "0.5285063...
0.7981308
0
Creates a new TaggedInputSplit.
public TaggedInputSplit(InputSplit inputSplit, Configuration conf, Class<? extends InputFormat> inputFormatClass, Class<? extends AIngleMapper> mapperClass, Schema inputSchema) { this.inputSplitClass = inputSplit.getClass(); this.inputSplit = inputSplit; this.conf = conf; this.inputFormatClass = inputFormatClass; this.mapperClass = mapperClass; this.schema = inputSchema; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public InputSplit getInputSplit() {\n byte[] serializedSplit = state.getSerializedInputSplit();\n String splitClassName = state.getInputSplitClassName();\n return SerializationUtil.deserializeFromByteArray(\n getConfiguration(), InputSplit.class, splitClassName, serializedSplit, null);\n }", "pu...
[ "0.6347369", "0.6045722", "0.597738", "0.57186675", "0.56142545", "0.5527204", "0.53783673", "0.53633815", "0.53486127", "0.528937", "0.5206572", "0.5152922", "0.5143335", "0.51209205", "0.5114601", "0.505259", "0.502995", "0.50256187", "0.5022088", "0.50080043", "0.50080043"...
0.6911122
0
Retrieves the original InputSplit.
public InputSplit getInputSplit() { return inputSplit; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public InputSplit getInputSplit() {\n byte[] serializedSplit = state.getSerializedInputSplit();\n String splitClassName = state.getInputSplitClassName();\n return SerializationUtil.deserializeFromByteArray(\n getConfiguration(), InputSplit.class, splitClassName, serializedSplit, null);\n }", "pu...
[ "0.7765469", "0.62476176", "0.6206807", "0.58907247", "0.5797402", "0.5695939", "0.5626591", "0.55963844", "0.5558814", "0.55463624", "0.5533069", "0.54760486", "0.5454398", "0.53529793", "0.53494227", "0.5288305", "0.5241748", "0.5211901", "0.51680064", "0.5160353", "0.50894...
0.7842569
0
Retrieves the InputFormat class to use for this split.
public Class<? extends InputFormat> getInputFormatClass() { return inputFormatClass; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Format getInputFormat() {\n return inputFormat;\n }", "public Class getReadClass(int formatIndex);", "public String getInputFormat() {\n return this.inputFormat;\n }", "public Class<F> getFormatType() {\n\t\treturn formatType;\n\t}", "private Class getInputFormat(JobConf jobConf,...
[ "0.68431497", "0.67664903", "0.660486", "0.65616065", "0.64441526", "0.6253015", "0.6177609", "0.6122214", "0.59793216", "0.5972087", "0.5965065", "0.58923113", "0.58641523", "0.58624136", "0.58492994", "0.58318675", "0.5819222", "0.58149594", "0.58112866", "0.5805304", "0.58...
0.7818031
0
Retrieves the Mapper class to use for this split.
public Class<? extends AIngleMapper> getMapperClass() { return mapperClass; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected MapperIF getBeanMapper() {\r\n\t\treturn beanMapper;\r\n\t}", "@Override\r\n\tpublic Class getObjectType() {\n\t\treturn mapperInterface;\r\n\t}", "public static Class get_CLASS()\n {\n return WrapperMap.class;\n }", "public static ObjectMapper getMapper() {\n return MAP...
[ "0.62849885", "0.6187148", "0.6153143", "0.6006275", "0.569327", "0.5684075", "0.5652422", "0.563654", "0.5627444", "0.56118774", "0.5580159", "0.55770254", "0.5561453", "0.5536334", "0.54891264", "0.5480115", "0.5456839", "0.5394144", "0.5376726", "0.5367516", "0.5364868", ...
0.7513899
0
Retrieves the Schema to use for this split.
public Schema getSchema() { return schema; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Schema getSchema();", "public Schema getSchema() {\n\t\treturn _schema;\n\t}", "public Schema getSchema() {\n return mSchema;\n }", "public Schema getSchema() {\n return schema;\n }", "public String getSchema()\n {\n return schema;\n }", "public Schema getSchema()\n {...
[ "0.7716752", "0.76803476", "0.76346165", "0.7631329", "0.7539031", "0.75347817", "0.7520463", "0.7520463", "0.74568015", "0.7408546", "0.74054724", "0.72902966", "0.72902966", "0.72902966", "0.72902966", "0.7199309", "0.7078114", "0.70729065", "0.7009325", "0.69706476", "0.69...
0.75306475
6
A consistency checks related to the NULL object
private static boolean verifyNullObject(LogManager pLogger, UnmodifiableSMG pSmg) { SMGValue null_value = null; // Find a null value in values for (SMGValue value : pSmg.getValues()) { if (pSmg.getObjectPointedBy(value) == SMGNullObject.INSTANCE) { null_value = value; break; } } // Verify that one value pointing to NULL object is present in values if (null_value == null) { pLogger.log(Level.SEVERE, "SMG inconsistent: no value pointing to null object"); return false; } // Verify that NULL value returned by getNullValue() points to NULL object if (pSmg.getObjectPointedBy(SMGZeroValue.INSTANCE) != SMGNullObject.INSTANCE) { pLogger.log(Level.SEVERE, "SMG inconsistent: null value not pointing to null object"); return false; } // Verify that the value found in values is the one returned by getNullValue() if (SMGZeroValue.INSTANCE != null_value) { pLogger.log( Level.SEVERE, "SMG inconsistent: null value in values set not returned by getNullValue()"); return false; } // Verify that NULL object has no value SMGEdgeHasValueFilterByObject filter = SMGEdgeHasValueFilter.objectFilter(SMGNullObject.INSTANCE); if (!pSmg.getHVEdges(filter).isEmpty()) { pLogger.log(Level.SEVERE, "SMG inconsistent: null object has some value"); return false; } // Verify that the NULL object is invalid if (pSmg.isObjectValid(SMGNullObject.INSTANCE)) { pLogger.log(Level.SEVERE, "SMG inconsistent: null object is not invalid"); return false; } // Verify that the size of the NULL object is zero if (SMGNullObject.INSTANCE.getSize() != 0) { pLogger.log(Level.SEVERE, "SMG inconsistent: null object does not have zero size"); return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean canProcessNull() {\n return false;\n }", "boolean checkNull();", "@Override\n public boolean isNull(){\n return (this.nativeHandle == 0L); \n }", "@Test\n\tvoid testCheckNull3() {\n\t\tassertTrue(DataChecker.checkNull((Object)null));\n\t}", "@Test\n\tvoid testChec...
[ "0.7068443", "0.67871505", "0.6769217", "0.67060107", "0.66589385", "0.6633659", "0.6621071", "0.66199464", "0.65772444", "0.6576889", "0.6543272", "0.6487982", "0.648415", "0.6484118", "0.6473081", "0.6419824", "0.6416796", "0.64138305", "0.6395301", "0.63644665", "0.6359842...
0.6840515
1
Verifies that invalid regions do not have any HasValue edges, as this is forbidden in consistent SMGs
private static boolean verifyInvalidRegionsHaveNoHVEdges( LogManager pLogger, UnmodifiableSMG pSmg) { for (SMGObject obj : pSmg.getObjects()) { if (pSmg.isObjectValid(obj) || pSmg.isObjectExternallyAllocated(obj)) { continue; } // Verify that the HasValue edge set for this invalid object is empty SMGEdgeHasValueFilterByObject filter = SMGEdgeHasValueFilter.objectFilter(obj); if (!pSmg.getHVEdges(filter).isEmpty()) { pLogger.log(Level.SEVERE, "SMG inconsistent: invalid object has a HVEdge"); return false; } } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private final void verifyGhostRegionValues(ComputationalComposedBlock block) throws MPIException {\n\t\tBoundaryIterator boundaryIterator = block.getBoundaryIterator();\n\t\tBoundaryIterator expectedValuesIterator = block.getBoundaryIterator();\n\t\tBoundaryId boundary = new BoundaryId();\n\t\tfor (int d=0; d<2*DI...
[ "0.6873598", "0.59251535", "0.5857786", "0.56740385", "0.5633904", "0.5620071", "0.55745935", "0.5554516", "0.5554125", "0.55486166", "0.55019164", "0.54988915", "0.5487026", "0.5486927", "0.5480645", "0.5478417", "0.5461501", "0.54474914", "0.54474914", "0.54445845", "0.5432...
0.75797606
0
Verifies that any fields (as designated by HasValue edges) do not exceed the boundary of the object.
private static boolean checkSingleFieldConsistency( LogManager pLogger, SMGObject pObject, UnmodifiableSMG pSmg) { // For all fields in the object, verify that sizeof(type)+field_offset < object_size SMGEdgeHasValueFilterByObject filter = SMGEdgeHasValueFilter.objectFilter(pObject); for (SMGEdgeHasValue hvEdge : pSmg.getHVEdges(filter)) { if ((hvEdge.getOffset() + hvEdge.getSizeInBits()) > pObject.getSize()) { pLogger.log(Level.SEVERE, "SMG inconistent: field exceedes boundary of the object"); pLogger.log(Level.SEVERE, "Object: ", pObject); pLogger.log(Level.SEVERE, "Field: ", hvEdge); return false; } } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean hasValidBounds() {\n\n\n\n return false;\n }", "void checkAndUpdateBoundary(Integer requiredChange);", "void checkBounds()\n {\n assertEquals(\"Bounds doesn't match\", boundsPair.getKey(),boundsPair.getValue());\n }", "public boolean validateFullBounds() {\n...
[ "0.62100166", "0.60695744", "0.6064354", "0.5905622", "0.5905622", "0.58710486", "0.5808774", "0.5779954", "0.5757844", "0.57513124", "0.5751235", "0.5702036", "0.57000786", "0.55765676", "0.5575698", "0.55580294", "0.55443585", "0.5526568", "0.55256796", "0.5511754", "0.5486...
0.6420535
0
Verify all objects satisfy the Field Consistency criteria
private static boolean verifyFieldConsistency(LogManager pLogger, UnmodifiableSMG pSmg) { for (SMGObject obj : pSmg.getObjects()) { if (!checkSingleFieldConsistency(pLogger, obj, pSmg)) { return false; } } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void checkConsistency(List inconsistencies);", "@Override\n\tvoid checkConsistency()\n\t{\n\t\t\n\t}", "private void checkStructure() {\n for (DatabaseUpdateType updateType : DatabaseUpdateType.values()) {\n checkDatabaseStructure(updateType);\n }\n }", "private static bool...
[ "0.64891523", "0.64877903", "0.5938688", "0.59312665", "0.5817785", "0.5748933", "0.5734888", "0.56758887", "0.56758887", "0.56758887", "0.56515473", "0.5620804", "0.5603752", "0.5581688", "0.5493179", "0.5486452", "0.5461217", "0.544372", "0.5428327", "0.54280835", "0.541474...
0.6554638
0
Verify that the edges are consistent in the SMG
private static boolean verifyEdgeConsistency( LogManager pLogger, UnmodifiableSMG pSmg, Iterable<? extends SMGEdge> pEdges) { Deque<SMGEdge> to_verify = Queues.newArrayDeque(pEdges); while (!to_verify.isEmpty()) { SMGEdge edge = to_verify.pop(); // Verify that the object assigned to the edge exists in the SMG if (!pSmg.getObjects().contains(edge.getObject())) { pLogger.log(Level.SEVERE, "SMG inconsistent: Edge from a nonexistent object:", edge); return false; } // Verify that the value assigned to the edge exists in the SMG if (!pSmg.getValues().contains(edge.getValue())) { pLogger.log(Level.SEVERE, "SMG inconsistent: Edge to a nonexistent value:", edge); return false; } // Verify that the edge is consistent to all remaining edges // - edges of different type are inconsistent // - two Has-Value edges are inconsistent iff: // - leading from the same object AND // - have same type AND // - have same offset AND // - leading to DIFFERENT values // - two Points-To edges are inconsistent iff: // - different values point to same place (object, offset) // - same values do not point to the same place for (SMGEdge other_edge : to_verify) { if (!edge.isConsistentWith(other_edge)) { pLogger.log(Level.SEVERE, "SMG inconsistent: inconsistent edges"); pLogger.log(Level.SEVERE, "First edge: ", edge); pLogger.log(Level.SEVERE, "Second edge: ", other_edge); return false; } } } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testContainsEdge() {\n System.out.println(\"containsEdge\");\n\n Graph<Integer, Edge<Integer>> graph = generateGraph();\n\n for (int i = 0; i < 25; i++) {\n for (int j = 0; j < 25; j++) {\n if ((i + j) % 2 != 0) {\n Assert.assertFalse(gr...
[ "0.6871801", "0.6823528", "0.6618701", "0.6521192", "0.65194875", "0.64992803", "0.64486766", "0.641943", "0.6406732", "0.6377945", "0.63508266", "0.6320623", "0.6310052", "0.63074505", "0.62920666", "0.62888765", "0.6275248", "0.6253185", "0.6219328", "0.6175963", "0.6161323...
0.77997273
0
TODO: NEQ CONSISTENCY Verify a single SMG if it meets all consistency criteria.
public static boolean verifySMG(LogManager pLogger, UnmodifiableSMG pSmg) { boolean toReturn = true; pLogger.log(Level.FINEST, "Starting constistency check of a SMG"); toReturn = toReturn && verifySMGProperty( verifyNullObject(pLogger, pSmg), pLogger, "null object invariants hold"); toReturn = toReturn && verifySMGProperty( verifyInvalidRegionsHaveNoHVEdges(pLogger, pSmg), pLogger, "invalid regions have no outgoing edges"); toReturn = toReturn && verifySMGProperty( verifyFieldConsistency(pLogger, pSmg), pLogger, "field consistency"); toReturn = toReturn && verifySMGProperty( verifyEdgeConsistency(pLogger, pSmg, pSmg.getHVEdges()), pLogger, "Has Value edge consistency"); toReturn = toReturn && verifySMGProperty( verifyEdgeConsistency(pLogger, pSmg, pSmg.getPTEdges()), pLogger, "Points To edge consistency"); toReturn = toReturn && verifySMGProperty( verifyObjectConsistency(pLogger, pSmg), pLogger, "Validity consistency"); pLogger.log(Level.FINEST, "Ending consistency check of a SMG"); return toReturn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ConsistencyLevel consistency();", "private static boolean verifyFieldConsistency(LogManager pLogger, UnmodifiableSMG pSmg) {\n for (SMGObject obj : pSmg.getObjects()) {\n if (!checkSingleFieldConsistency(pLogger, obj, pSmg)) {\n return false;\n }\n }\n\n return true;\n }", "private s...
[ "0.6155059", "0.59396344", "0.58437085", "0.5380521", "0.53785866", "0.5353861", "0.53132236", "0.5292292", "0.51337254", "0.51315176", "0.5128298", "0.5108956", "0.51052207", "0.5044271", "0.5034166", "0.5016586", "0.49710518", "0.49521083", "0.49314782", "0.49225545", "0.49...
0.6581794
0
make a copy to keep the original safe
public synchronized Pair getPair() { return new Pair(pair.getX(), pair.getY()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Prototype makeCopy();", "static void setCopying(){isCopying=true;}", "public void copy() {\n\n\t}", "static void setNotCopying(){isCopying=false;}", "T copy();", "static void setNotAutoCopy(){isAutoCopying=false;}", "Model copy();", "Object clone();", "Object clone();", "protected Shingle copy() ...
[ "0.8245952", "0.7680696", "0.7543851", "0.73439854", "0.71098554", "0.68476695", "0.68217516", "0.6802575", "0.6802575", "0.67290586", "0.6671039", "0.666202", "0.6559896", "0.6530152", "0.652497", "0.65206957", "0.651144", "0.6507221", "0.6504097", "0.6476906", "0.6470773", ...
0.0
-1
make a copy to keep the original safe
@Override public Pair getPair() { lock.lock(); try { return new Pair(pair.getX(), pair.getY()); } finally { lock.unlock(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Prototype makeCopy();", "static void setCopying(){isCopying=true;}", "public void copy() {\n\n\t}", "static void setNotCopying(){isCopying=false;}", "T copy();", "static void setNotAutoCopy(){isAutoCopying=false;}", "Model copy();", "Object clone();", "Object clone();", "protected Shingle copy() ...
[ "0.82458824", "0.76811635", "0.75444335", "0.734463", "0.7109942", "0.6848285", "0.68223155", "0.68026567", "0.68026567", "0.67294526", "0.66709733", "0.6662423", "0.65602815", "0.6530671", "0.6525577", "0.6521109", "0.65115917", "0.6508043", "0.65042496", "0.647662", "0.6471...
0.0
-1
Makes the grid, buttons and actions for iPanel
void gridMaker() { this.setLayout(new GridBagLayout()); GridBagConstraints instrumentC = new GridBagConstraints(); String fs = File.separator; instrumentIcons[0] = ".." + fs + "icons" + fs + "guitar.png"; instrumentIcons[1] = ".." + fs + "icons" + fs + "saxophone.png"; instrumentIcons[2] = ".." + fs + "icons" + fs + "drums.png"; instrumentIcons[3] = ".." + fs + "icons" + fs + "bass.png"; instrumentIcons[4] = ".." + fs + "icons" + fs + "piano.png"; instrumentIcons[5] = ".." + fs + "icons" + fs + "misc.png"; instrumentIcons[6] = ".." + fs + "icons" + fs + "misc2.png"; instrumentIcons[7] = ".." + fs + "icons" + fs + "misc3.png"; iconsFocused[0] = ".." + fs + "icons" + fs + "guitar_focus.png"; iconsFocused[1] = ".." + fs + "icons" + fs + "saxophone_focus.png"; iconsFocused[2] = ".." + fs + "icons" + fs + "drums_focus.png"; iconsFocused[3] = ".." + fs + "icons" + fs + "bass_focus.png"; iconsFocused[4] = ".." + fs + "icons" + fs + "piano_focus.png"; iconsFocused[5] = ".." + fs + "icons" + fs + "misc_focus.png"; iconsFocused[6] = ".." + fs + "icons" + fs + "misc2_focus.png"; iconsFocused[7] = ".." + fs + "icons" + fs + "misc3_focus.png"; instrumentID[0] = "Guitar"; instrumentID[1] = "Saxophone"; instrumentID[2] = "Drums"; instrumentID[3] = "Bass"; instrumentID[4] = "Piano"; instrumentID[5] = "Misc"; instrumentID[6] = "Misc 2"; instrumentID[7] = "Misc 3"; /** * The for loop goes through the list with the instruments and adds the matching icon to that button * and. */ int columnIndex = 0; int rowIndex = 0; for (int i = 0; i < buttonList.length; i++) { buttonList[i] = new JButton(); try { Image img = ImageIO.read(getClass().getResource(instrumentIcons[i])); buttonList[i].setIcon(new ImageIcon(img)); } catch (IOException ignored) { System.out.println("Icon error"); } buttonList[i].setBackground(BUTTON_BACKGROUND); instrumentC.fill = GridBagConstraints.BOTH; instrumentC.ipady = BUTTON_PADDING_Y; instrumentC.ipadx = BUTTON_PADDING_X; instrumentC.gridx = columnIndex; instrumentC.gridy = rowIndex; this.add(buttonList[i], instrumentC); columnIndex = (columnIndex < 1 ? columnIndex + 1 : 0); if (columnIndex == 0) { rowIndex += 1; } } setInstrumentPanelListeners(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setupGUI(){\r\n\t\t\r\n\t\tfinal GUIFactory guifactory = GUIFactory.instance();\r\n\t\tfinal MTApplication app = (MTApplication)item.getView().getRenderer();\r\n\t\tfinal float leftiness = app.getWidth()*5/6;\r\n\t\tfinal float xPos = leftiness + 5;\r\n\t\t\r\n\t\t\r\n\t\toverlay = new MTOverlayContai...
[ "0.7196643", "0.70762616", "0.70548654", "0.7054531", "0.6979849", "0.6957118", "0.6937785", "0.6888458", "0.6854458", "0.68445486", "0.68406904", "0.68199116", "0.68019736", "0.6750167", "0.67483807", "0.67378116", "0.6726796", "0.67242414", "0.6709278", "0.67063665", "0.670...
0.0
-1
Goes through the list of instruments and sets the string which will be passed to the InstrumentPopupFactory when the button is pressed. That string is what the InstrumentPopupFactory reads and returns the matching type of popupwindow for that instrument.
private void setInstrumentPanelListeners() { for (int i = 0; i < INSTRUMENT_LIST_SIZE; i++) { /** * The ActionListener is here set to clear the selected element in the DirectoryPanels saveList. * For some reason this produces a 'ArrayIndexOutOfBoundsException: -1', but the .clearListSelection * method in the DirectoryPanel class does find the right index and deletes it as it should. * We have google:d the issue and found that many have the same issue but there has been no solution * that has worked for us to remove the exception. */ final int index = i; buttonList[i].addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { if (instrumentID[index].equals("Drums")) { DrumPopup drumPopup = new DrumPopup(soundGrabber, rectangleGrabber, DRUMS_COLOR); System.out.println(drumPopup.getTitle() + "Popup created."); try { mainFrame.clearDirectoryList(); } catch (IndexOutOfBoundsException ex) { System.out.println("clearListSelection(); gives " + ex.toString()); System.out.println("Everything works though.."); } } else { InstrumentPopup instrumentPopup = popupFactory.makeInstrumentPopup(instrumentID[index], soundGrabber, rectangleGrabber); System.out.println(instrumentPopup.getTitle() + "Popup created."); try { mainFrame.clearDirectoryList(); } catch (IndexOutOfBoundsException ex) { System.out.println("clearListSelection(); gives " + ex.toString()); System.out.println("Everything works though.."); } } } }); buttonList[i].addMouseListener(new MouseListener() { @Override public void mouseClicked(MouseEvent e) { } @Override public void mousePressed(MouseEvent e) { } @Override public void mouseReleased(MouseEvent e) { } @Override public void mouseEntered(MouseEvent e) { try { Image img = ImageIO.read(getClass().getResource(iconsFocused[index])); buttonList[index].setIcon(new ImageIcon(img)); } catch (IOException ignored) { System.out.println("Icon error"); } } @Override public void mouseExited(MouseEvent e) { try { Image img = ImageIO.read(getClass().getResource(instrumentIcons[index])); buttonList[index].setIcon(new ImageIcon(img)); } catch (IOException ignored) { System.out.println("Icon error"); } } }); /** * The mouse listener clears the selected element in the DirectoryPanels saveList. For some reason * this produces a 'ArrayIndexOutOfBoundsException: -1', but the .clearListSelection method in the * DirectoryPanel class does find the right index and deletes it as it should. We have google:d the issue and found * that many have the same issue but there has been no solution that has worked for us to remove the exception. */ this.addMouseListener(new MouseListener() { @Override public void mouseClicked(MouseEvent e) { try { mainFrame.clearDirectoryList(); } catch (IndexOutOfBoundsException ex) { System.out.println("clearListSelection(); gives " + ex.toString()); System.out.println("Everything works though.."); } } @Override public void mousePressed(MouseEvent e) { } @Override public void mouseReleased(MouseEvent e) { } @Override public void mouseEntered(MouseEvent e) { } @Override public void mouseExited(MouseEvent e) { } }); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n\tpublic void onAddInstrumentClick(MouseEvent e) {\n\t\t// Get the current instrument count\n\t\tint instrumentCount = synth.getInstrumentCount();\n\n\t\t// If there are 4 instruments or more, move on\n\t\tif(instrumentCount < 4) {\n\t\t\t//Increment the count\n\t\t\tinstrumentCount++;\n\n\t\t\t// Create a ...
[ "0.5562756", "0.54831564", "0.54380196", "0.5241335", "0.5081956", "0.50798124", "0.5077688", "0.50587857", "0.49134672", "0.4800927", "0.47965845", "0.47838393", "0.47808108", "0.4780189", "0.47682738", "0.4759319", "0.47382912", "0.46970996", "0.46970996", "0.4690628", "0.4...
0.5060612
7
TODO Autogenerated method stub requestWindowFeature(Window.FEATURE_NO_TITLE);
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.tab_news_layout_holder); initFragment(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void noTitle() {\n\t\trequestWindowFeature(Window.FEATURE_NO_TITLE);\n\t\tgetWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, \n\t\t\t\tWindowManager.LayoutParams.FLAG_FULLSCREEN);\n\t}", "@Override\n protected void onCreate(Bundle arg0) {\n super.onCreate(arg0);\n // 去掉标题栏\n...
[ "0.84637934", "0.8209263", "0.8169145", "0.7708419", "0.76476645", "0.74311817", "0.7408527", "0.6909541", "0.68226814", "0.6749424", "0.66786546", "0.6651435", "0.65262187", "0.6523875", "0.6506468", "0.64350003", "0.640804", "0.63574946", "0.63191134", "0.6260563", "0.62600...
0.0
-1
TODO Autogenerated method stub
@Override protected void onPause() { super.onPause(); onPause = true; }
{ "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 protected void onRestoreInstanceState(Bundle savedInstanceState) { super.onRestoreInstanceState(savedInstanceState); if (savedInstanceState != null) { if (savedInstanceState.containsKey(NewsBean.KEY_NEWS)) { news = savedInstanceState .getParcelableArrayList(NewsBean.KEY_NEWS); } } }
{ "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 protected void onResume() { super.onResume(); if (onPause) { stack.setCurrentPhase(TracePhase.NEWS); Bundle args = new Bundle(); args.putParcelableArrayList(NewsBean.KEY_NEWS, news); Command.forwardTab((BaseFragment) getFragmentManager() .findFragmentById(R.id.TabNewsLayoutHolderId), getNews(), args); } }
{ "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