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
Sets up the GUI for the server.
private void setup() { JTextArea jta = new JTextArea(); setLayout(new BorderLayout()); add(new JScrollPane(jta), BorderLayout.CENTER); setTitle(SERVER_NAME); jta.setEditable(false); setSize(500, 300); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setVisible(true); jta.append(new Date().toString()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ServerGUI() {\n\t\t\n\t\tinitialize();\n\n\t}", "private void setUpGUI()\n\t{\n\t\tgetContentPane().setLayout(new BorderLayout());\n\n\t\t//center panel (project and developer dropdown lists, and state of\n\t\t//server label)\n\t\tJPanel centerPanel = new JPanel();\n\t\tcenterPanel.setLayout(new GridLayou...
[ "0.8091233", "0.7925479", "0.7432267", "0.74313337", "0.7417585", "0.7417412", "0.71725494", "0.71635044", "0.7146251", "0.7098431", "0.70840836", "0.70778984", "0.702387", "0.6992252", "0.6988049", "0.6969153", "0.69667006", "0.69596964", "0.6956958", "0.69528586", "0.693512...
0.7134583
9
Entry point for the program
public static void main(String[] args) { server_gui s_gui = new server_gui(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main() {\n \n }", "public static void main()\n\t{\n\t}", "public static void main(){\n\t}", "public static void main(String[] args) {\r\n// Use for unit testing\r\n }", "public static void main() {\n }", "public static void main(String[] args) {\n \n \n \n\t}",...
[ "0.77242744", "0.766349", "0.7608318", "0.7458057", "0.7456863", "0.74400395", "0.74208385", "0.7400761", "0.7388358", "0.73609006", "0.7351564", "0.7328646", "0.7322579", "0.7320559", "0.73102325", "0.73097795", "0.730091", "0.72953826", "0.72953826", "0.72936857", "0.727111...
0.0
-1
/ Retourne l'id d'un quizz en prenant en compte son nom
public int getQuizzId(String quizzName) { this.db = getWritableDatabase(); String query = "SELECT id_quizz FROM quizz WHERE quizzName=?"; Cursor cursor = this.db.rawQuery(query, new String[] { quizzName }); if (cursor != null) cursor.moveToFirst(); return Integer.pars...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getIdQuiz() {\r\n\t\treturn idQuiz;\r\n\t}", "public void getCheque(Integer id) {\n\t\t\r\n\t}", "int getQuestId();", "int getQuestId();", "int getQuestId();", "int getQuestId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "Strin...
[ "0.604366", "0.5799006", "0.5683063", "0.5683063", "0.5683063", "0.5683063", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0.5525448", "0...
0.67669606
0
/ Permet de renvoyer une arraylist de hashmap comprenant l'id du quizz et son nom
public void chargerLesQuizz(ArrayList<HashMap<String, String>> mesQuizz) { Cursor cursor = getCursorForQuizz(); cursor.moveToFirst(); while (!cursor.isAfterLast()) { HashMap<String, String> map = new HashMap<>(); map.put("id_quizz", cursor.getString(0)); map.p...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo53966a(HashMap<String, ArrayList<C8514d>> hashMap);", "public static void mapHashMap(Map<Integer, String> mapHashMap) {\n System.out.println(\"----------------------------- HashMap ----------------------------\");\n System.out.println(\"\\\"HashMap\\\" is unordered!\");\n mapHashMap.p...
[ "0.6175184", "0.6142886", "0.613772", "0.5706399", "0.5676014", "0.56385744", "0.55888915", "0.5541733", "0.5535724", "0.54670894", "0.5405596", "0.5384199", "0.5382772", "0.5268042", "0.5265445", "0.52607954", "0.5251762", "0.5248441", "0.519394", "0.5174928", "0.517242", ...
0.6644151
0
/ Modifie le texte d'un question
public void updateQuestion(int id_question, String texteQuestion) { ContentValues data=new ContentValues(); data.put("texteQuestion", texteQuestion); db.update("question", data, "id_question=" + id_question, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void modifyQuestion(String text) {\n // TODO implement here\n }", "private void setQuestion() {\n Question.setText(gen.getQuestion() + \"\\t\\tProblem # \" + currentQuestion + \"/\" + numQuestions);\n }", "public void setQuestionText(String questionText) {\n this.questionText ...
[ "0.7551546", "0.7158964", "0.69421244", "0.68705666", "0.665011", "0.6624672", "0.6609819", "0.65950584", "0.6584261", "0.6575758", "0.6569224", "0.65502876", "0.65159464", "0.6501018", "0.6495719", "0.6449277", "0.64304227", "0.6426701", "0.6410714", "0.6407616", "0.63954926...
0.63488865
24
BAD CODE NEEDS A REWRITE
private static void console (String path) { boolean ERROR = false; while (true) { if (!ERROR) { System.out.println("Directory: " + path); System.out.println("===================================="); long startTime = System.currentTimeMillis(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void method_4270() {}", "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2247() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "private void method_7083() {\...
[ "0.59551007", "0.59221977", "0.58490455", "0.5829993", "0.57729733", "0.5735825", "0.5717233", "0.5712596", "0.5669242", "0.56276065", "0.5616126", "0.55640304", "0.5552396", "0.55516297", "0.55491334", "0.5544842", "0.554296", "0.5540864", "0.55046195", "0.5498494", "0.54974...
0.0
-1
Constructor of the status frame, taking the list of every clients.
public StatusFrame(LinkedList<Client> clients){ super(); panel = new JPanel(); Collections.sort(clients); this.clients = clients; createLabels(); for(Client c : clients){ c.addObserver(this); } panel.setPreferredSize(new Dimension(200,200)); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected ClientStatus() {\n }", "public ClientInformation(){\n clientList = new ArrayList<>();\n\n }", "public BrokersStatus()\r\n {\r\n brokers = new ArrayList<BrokerStatus>();\r\n }", "public ClientFrame()\n {\n super(\"Client\");\n\n setDefaultCloseOperation(JFr...
[ "0.67208713", "0.65741795", "0.61530423", "0.61073864", "0.59614074", "0.5932172", "0.59250015", "0.5892878", "0.5873097", "0.58031267", "0.57971185", "0.57799613", "0.5704447", "0.5699131", "0.56684583", "0.5655999", "0.5649713", "0.5620327", "0.5620327", "0.5598471", "0.558...
0.70755523
0
Private method used to create a JLabel for every client.
private void createLabels(){ int pos = 10; for(Client client : clients){ JLabel clientLabel = new JLabel(client.toString()); selectColor(clientLabel, client); clientLabel.setBounds(10, pos, 200,20); pos += 25; labels.put(client.getID(), clientL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void constructClientsPanel(int numClients) {\n cnames = new Vector();\n cstatus = new Vector();\n ctrans = new Vector();\n \n int numRows = numClients;\n if (numRows < 7)\n numRows = 7;\n \n JPanel listPanel = new JPanel();\n listPane...
[ "0.6827183", "0.67986196", "0.6733335", "0.662729", "0.65771794", "0.6508204", "0.6454246", "0.6371915", "0.6318401", "0.63122505", "0.6299271", "0.6284078", "0.6277824", "0.62695915", "0.6238899", "0.621728", "0.6217106", "0.62030315", "0.61971223", "0.61922216", "0.61413354...
0.83861977
0
Override of the observer method
@Override public void update(Observable observable) { Client c = (Client)observable; JLabel l = labels.get(c.getID()); selectColor(l, c); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void NotifyObserver() {\n\n\t}", "@Override\r\n\tpublic void notifyObservers() {\n\t\t\r\n\t}", "public void updateObserver();", "@Override\r\n\tpublic void registerObserver(Observer observer) {\n\t\t\r\n\t}", "@Override\n protected void onDataChanged() {\n }", "...
[ "0.81025815", "0.7478162", "0.70982355", "0.6898711", "0.67186815", "0.6677718", "0.666855", "0.66554844", "0.66554725", "0.66403455", "0.6623304", "0.6606568", "0.6598214", "0.659666", "0.65653694", "0.65653694", "0.6535232", "0.65161467", "0.6498099", "0.6488975", "0.648302...
0.0
-1
Private method used to select the correct display color.
private void selectColor(JLabel label, Client client){ label.setForeground(client.getStatus().getColor()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void chooseColor() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "Color userColorChoose();", "private ElementColor selectColor() {\n\n\t\treturn Theme.defaultColor(); \n\t}", "public void modeColor(Graphics2D g2d) { g2d.setColor(RTColorManager.getColor(\"label\", \"default\")); }", "p...
[ "0.69742614", "0.6898187", "0.67478347", "0.6474246", "0.6365716", "0.63309467", "0.62544", "0.6249772", "0.6231262", "0.61060596", "0.60882246", "0.60834646", "0.60175556", "0.5976721", "0.5972358", "0.59668505", "0.59616977", "0.5947657", "0.59356225", "0.592151", "0.591944...
0.0
-1
Runtime: 1 ms, faster than 85.13% of Java online submissions for Subsets. Memory Usage: 38.4 MB, less than 12.66% of Java online submissions for Subsets.
public List<List<Integer>> subsets(int[] nums) { int size = nums.length; if (size == 0) { return new LinkedList(); } List<List<Integer>> res = new LinkedList<>(); dfs(nums, 0, new LinkedList<Integer>(), res); return res; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void Union(subset [] subsets, int x , int y ){ \n\t\tint xroot = find(subsets, x); \n\t int yroot = find(subsets, y); \n\t \n\t\tif (subsets[xroot].rank < subsets[yroot].rank) \n\t\t\tsubsets[xroot].parent = yroot; \n\t\telse if (subsets[yroot].rank < subsets[xroot].rank) \n\t\t\tsubsets[yroot].parent = xroot;...
[ "0.65579987", "0.652896", "0.6165192", "0.6143363", "0.6102711", "0.6035569", "0.60313684", "0.60182357", "0.5967258", "0.5938524", "0.5912428", "0.5899778", "0.58885586", "0.5877098", "0.5876841", "0.5835642", "0.5806637", "0.5749846", "0.5723277", "0.57154346", "0.57139933"...
0.5952176
9
Return null if passed in null
@Override public Location getLocation(MapPoint point) { if (point == null) return null; World world = worlds.get(point.getWorld()); float yaw = point.getYaw(); float pitch = point.getPitch(); //Account for the fact that NaN yaw/pitch indicate that they shouldn't be changed...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "T getNullValue();", "@Override\n public String visit(NullLiteralExpr n, Object arg) {\n return null;\n }", "private static String null2unknown(String in) {\r\n\t\tif (in == null || in.length() == 0) {\r\n\t\t\treturn null;\r\n\t\t} else {\r\n\t\t\treturn in;\r\n\t\t}\r\n\t}", "@Override\n\tpubli...
[ "0.6314382", "0.624418", "0.6217094", "0.61991996", "0.61842185", "0.61576015", "0.6098957", "0.6076306", "0.60480446", "0.6039091", "0.59948975", "0.59866756", "0.59854954", "0.5975263", "0.5948906", "0.5948673", "0.5939314", "0.5932697", "0.5917108", "0.5896286", "0.5887404...
0.0
-1
TODO custom TeamIdentifier support for maps
@Override public void addTeamIdentifier(TeamIdentifier teamIdentifier) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTeamId() {\r\n\t\treturn teamName;\r\n\t}", "public int getTeamId() {\n return teamId;\n }", "public void setTeamId(int value) {\n this.teamId = value;\n }", "protected abstract void gatherTeam();", "int getTeam();", "public String getTeamId() {\n\t\treturn teamId;\n\...
[ "0.6328149", "0.62148255", "0.6194003", "0.6184544", "0.61598414", "0.61360836", "0.61360836", "0.6102447", "0.60941124", "0.60483396", "0.59983003", "0.5985689", "0.59729195", "0.5962883", "0.5921033", "0.59105974", "0.59087056", "0.59045124", "0.5892922", "0.58897746", "0.5...
0.6455058
0
TODO custom GameState support for maps
@Override public void addGameState(GameState gameState) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameState() {\n positionToPieceMap = new HashMap<Position, Piece>();\n }", "public interface GameState {\n\n\t/**\n * Method used by a player in order to perform transfer of stones \n * @param pitId the identifier of the pit by which the player will start (the associated pit must belong...
[ "0.6717465", "0.663973", "0.65368325", "0.64668196", "0.63416034", "0.6222639", "0.6222639", "0.61876094", "0.6155245", "0.61465317", "0.6142357", "0.6128684", "0.6084714", "0.60765904", "0.6076313", "0.6066626", "0.606512", "0.6058125", "0.60538584", "0.60259104", "0.6009629...
0.59256256
26
TODO custom Kit support for maps
@Override public void addKit(Kit kit) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "MAP createMAP();", "public abstract void createMap();", "XClass getMapKey();", "private void ini_MapPaks()\r\n\t{\r\n\r\n\t}", "public int askMap();", "public abstract mapnik.Map createMap(Object recycleTag);", "String getMapCode();", "protected WumpusMap() {\n\t\t\n\t}", "public void testMapGet() ...
[ "0.6247321", "0.6214177", "0.6206666", "0.6158027", "0.61564386", "0.58782536", "0.5861492", "0.5809011", "0.579517", "0.57822174", "0.5780919", "0.577623", "0.57720584", "0.57554156", "0.57495457", "0.5731651", "0.569673", "0.5680583", "0.5672688", "0.5656512", "0.5644674", ...
0.0
-1
TODO custom CommandConfig support for maps
@Override public void addCommand(CommandConfig command) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "HashMap <String, Command> getMap();", "private void initializeAvailableCommandMap() {\n availableCommandMap = new HashMap<String, Command>();\n availableCommandMap.put(\"cd\", new CdCommand());\n availableCommandMap.put(\"ls\", new LsCommand());\n availableCommandMap.put(\"mkdir\", ne...
[ "0.6806822", "0.61718285", "0.6121842", "0.61020756", "0.6096733", "0.60020435", "0.59793407", "0.5926623", "0.5919518", "0.5905334", "0.58758163", "0.5864309", "0.58221483", "0.58166057", "0.5799892", "0.57943743", "0.57943743", "0.57943743", "0.57943743", "0.57943743", "0.5...
0.6477381
1
TODO custom GameMapInfo support for maps
@Override public void addMapInfo(GameMapInfo mapInfo) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic IMapInfo getMapInfo() {\r\n\t\treturn replay.mapInfo;\r\n\t}", "public abstract void createMap(Game game) throws FreeColException;", "public abstract void createMap(Game game) throws FreeColException;", "public void printMap(GameMap map);", "private void viewMap() {\r\n \r\n...
[ "0.71264076", "0.6691268", "0.6691268", "0.66180706", "0.6433291", "0.640266", "0.6375225", "0.6335823", "0.6333193", "0.630979", "0.62952524", "0.62952524", "0.62952524", "0.62952524", "0.62952524", "0.62952524", "0.62952524", "0.62952524", "0.62952524", "0.62952524", "0.629...
0.72805417
0
Create an entity for this test. This is a static method, as tests for other entities might also need it, if they test an entity which requires the current entity.
public static Address createEntity(EntityManager em) { Address address = new Address() .addressLine1(DEFAULT_ADDRESS_LINE_1) .addressLine2(DEFAULT_ADDRESS_LINE_2) .postCode(DEFAULT_POST_CODE); return address; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Entity createEntity();", "T createEntity();", "protected abstract ENTITY createEntity();", "void create(E entity);", "void create(T entity);", "E create(E entity);", "E create(E entity);", "TestEntity buildEntity () {\n TestEntity testEntity = new TestEntity();\n testEntity.setName(\"Te...
[ "0.7722264", "0.75040513", "0.748753", "0.7361405", "0.73142624", "0.71556175", "0.71556175", "0.715107", "0.7150143", "0.70781684", "0.7016357", "0.6802997", "0.6752251", "0.67394024", "0.67394024", "0.67115676", "0.66812336", "0.666615", "0.66396314", "0.662428", "0.6624199...
0.0
-1
/ Initialise button and editTexts record text from editTexts when button is clicked and end the activity
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); username = getIntent().getStringExtra("Username"); Log.e("FridgeActivity", username); getSupportActionBar().setTitle("Insert Food Into Fridge"); getSupportActionBar().setDispl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void onCreate(Bundle savedInstanceState) {\r\n super.onCreate(savedInstanceState);\r\n setContentView(R.layout.sub);\r\n \r\n Bundle extras = getIntent().getExtras(); \r\n \r\n final EditText text = (EditText)findViewById(R.id.EditText01);\r\n \r...
[ "0.6854015", "0.67448145", "0.67184734", "0.6715988", "0.6606998", "0.65810436", "0.65354306", "0.6495022", "0.6452149", "0.64423263", "0.6431554", "0.6428987", "0.64128304", "0.63959885", "0.6395275", "0.6392754", "0.63872385", "0.6379933", "0.6378238", "0.63679636", "0.6361...
0.0
-1
/ Up navigation to finish the activity
@Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case android.R.id.home: finish(); return true; default: return super.onOptionsItemSelected(item); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public boolean onSupportNavigateUp() {\r\n finish();\r\n return true;\r\n }", "protected void goBack() {\r\n\t\tfinish();\r\n\t}", "public boolean onSupportNavigateUp(){\n onBackPressed();\n Intent intent_main = new Intent(CreatePersonalActivity.this, MainActivit...
[ "0.7737743", "0.77334523", "0.7726732", "0.76161873", "0.76161873", "0.76030713", "0.76030713", "0.76030713", "0.76030713", "0.7599757", "0.75619555", "0.75355256", "0.74892133", "0.74875146", "0.74837387", "0.7476555", "0.7476555", "0.7476555", "0.7476555", "0.74736774", "0....
0.0
-1
/ Add the expired date to the list based on the cooked input date Normally food can last up to 4 days before it goes bad
private void addItemToList(String name, String cookedDate) { // HashMap<String, String> item = new HashMap<>(); // item.put(RECIPE_NAME, name); SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy"); Date expired = new Date(); try { Date cooked = format.parse(cook...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean add(Food food, Date currentDate) {\n if (checkExpiryDate(food, currentDate)) {\n this.foodList.add(food);\n return true;\n }\n return false;\n }", "private long getExpiringItemWithinDays(int day, ObservableList<Item> itemList) {\n ...
[ "0.64694196", "0.6194523", "0.6183355", "0.61015147", "0.5980566", "0.59582746", "0.58854085", "0.57756525", "0.5774967", "0.57521677", "0.574764", "0.5696154", "0.56725913", "0.5672581", "0.5633666", "0.56319463", "0.5614888", "0.5602504", "0.55455035", "0.55195504", "0.5483...
0.58853924
7
Transforms data and updates spectrum
public void transform(double[] x) { int i,j; double sumWindow=nn*nn; System.arraycopy(x,0,data,1,n); if(winNum>0) { for(i=0,j=1;i<nn;i++) { data[j]=data[j]*winMult[i]; j++; data[j]=data[j]*winMult[i]; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void transform() {\r\n\r\n\t\tint x, y, i;\r\n\t\tComplex[] row = new Complex[width];\r\n\t\tfor (x = 0; x < width; ++x)\r\n\t\t\trow[x] = new Complex();\r\n\t\tComplex[] column = new Complex[height];\r\n\t\tfor (y = 0; y < height; ++y)\r\n\t\t\tcolumn[y] = new Complex();\r\n\r\n\t\tint direction;\r\n\t\tif...
[ "0.6548058", "0.60506904", "0.5961685", "0.5813736", "0.5754168", "0.57189995", "0.56657857", "0.56589293", "0.56574094", "0.56008846", "0.5555882", "0.5427089", "0.5299717", "0.529453", "0.525571", "0.5214049", "0.52087986", "0.5188319", "0.51865304", "0.51577854", "0.515721...
0.6179826
1
Number of spectra calculated
public int getNumberOfSpectra() { return nSpectrum; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNumberOfSpectraPerFraction() {\n return numberOfSpectraPerFraction;\n }", "public int getNumberSpectra() {\n return numberSpectra;\n }", "long getNumberOfSpectra(String experimentAccession);", "public int getNumberOfSpectra() {\n return iPeptideIdentifications.size();...
[ "0.75671756", "0.75203353", "0.7318194", "0.71367264", "0.6646643", "0.6521267", "0.6454669", "0.63097316", "0.62940186", "0.62385005", "0.6142307", "0.6133588", "0.6076295", "0.59979343", "0.59925365", "0.59757394", "0.588825", "0.5868929", "0.58490145", "0.582001", "0.57596...
0.8397019
0
Set floor for log functio
public void setFloor(double input) { floor=input; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static float log(float base, float arg) {\n return (nlog(arg)) / nlog(base);\n }", "public static double logarit(double value, double base) {\n\t\tif (base == Math.E)\n\t\t\treturn Math.log(value);\n\t\telse if (base == 10)\n\t\t\treturn Math.log10(value);\n\t\telse\n\t\t\treturn Double.NaN;\n\t...
[ "0.6675527", "0.64423823", "0.64374244", "0.63079774", "0.62658143", "0.6153716", "0.6150976", "0.60419136", "0.5999683", "0.5963341", "0.5936156", "0.58598644", "0.5855071", "0.5791761", "0.57741934", "0.574888", "0.57475054", "0.57234466", "0.5690349", "0.5595452", "0.55926...
0.6965656
0
FFT from Numerical recipes
private void four1(double data[], int nn, int isign) { int n,mmax,m,j,istep,i; double wtemp,wr,wpr,wpi,wi,theta; double tempr,tempi; double swap; n=2*nn; j=1; for (i=1;i<n;i+=2) { if (j > i) { swap=data[j]; d...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void doFuncFourier() {\n setTypeAndS();\n N = 256;\n M = 256;\n\n ft2D = new Fourier2D(M, N);\n\n Complex2[][] sine = new Complex2[M][N];\n for(int y = 0; y < N; y++) {\n for(int x = 0; x < M; x++) {\n sine[x][y] = new Complex2(functionF(x,...
[ "0.6799437", "0.6798768", "0.6740952", "0.65223396", "0.64954007", "0.6434896", "0.63126016", "0.6198656", "0.61630726", "0.61607933", "0.61531746", "0.6133474", "0.60574913", "0.6033043", "0.5972536", "0.59050786", "0.5875126", "0.5874467", "0.58687985", "0.58533514", "0.582...
0.44780463
94
/ JADX WARNING: Illegal instructions before constructor call / Code decompiled incorrectly, please refer to instructions dump.
C1477ma(java.lang.String r16, com.google.android.gms.internal.ads.awd r17) { /* r15 = this; r0 = r17 java.lang.String r3 = r0.f2954b long r4 = r0.f2955c long r6 = r0.f2956d long r8 = r0.f2957e long r10 = r0.f2958f ja...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void translateConstructor( ) {\n \n Set<MethodInfoFlags> flags = EnumSet.noneOf( MethodInfoFlags.class );\n \n AVM2Method method = new AVM2Method( null, flags );\n avm2Class.avm2Class.constructor = method;\n \n AVM2MethodBody body = method.methodBody;\n ...
[ "0.71027625", "0.7059306", "0.6989805", "0.6781654", "0.67255014", "0.67179495", "0.667156", "0.6659096", "0.66507", "0.6587682", "0.6583588", "0.6542303", "0.65142536", "0.65081567", "0.64886755", "0.64718777", "0.64674413", "0.64514107", "0.6440572", "0.64309573", "0.642961...
0.0
-1
/ renamed from: a
static C1477ma m7591a(C1502mz mzVar) { if (C1458li.m7405a((InputStream) mzVar) == 538247942) { return new C1477ma(C1458li.m7407a(mzVar), C1458li.m7407a(mzVar), C1458li.m7413b((InputStream) mzVar), C1458li.m7413b((InputStream) mzVar), C1458li.m7413b((InputStream) mzVar), C1458li.m7413b((InputStream) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ access modifiers changed from: packageprivate / renamed from: a
public final boolean mo12782a(OutputStream outputStream) { try { C1458li.m7408a(outputStream, 538247942); C1458li.m7410a(outputStream, this.f5709b); C1458li.m7410a(outputStream, this.f5710c == null ? "" : this.f5710c); C1458li.m7409a(outputStream, this.f5711d); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "@Override\n\tpublic void a() {\n\t\t\n\t}", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "@Override\n public void func_104112_b() {\n \n }", "public b...
[ "0.72647583", "0.7027308", "0.6932353", "0.67963594", "0.6744744", "0.66718376", "0.65831935", "0.6568693", "0.6556423", "0.65451646", "0.6518747", "0.650733", "0.64985996", "0.64938843", "0.64893854", "0.64701945", "0.6464074", "0.6460309", "0.6458465", "0.64509946", "0.6431...
0.0
-1
TODO Autogenerated method stub
@Override public void actionPerformed(ActionEvent e) { if(e.getSource()==send){ if (inputArea.getText() != null || inputArea.getText() != "") { message = new Message(); // message.setIp(adress.getText()); // message.setPort(port.getText()); message.setContain(inputArea.getText()); message.setF...
{ "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
we create a node and call its constructor, basically this is just holding the information for us
public void insert(String name){ ArtistNode node = new ArtistNode(name); //if head is null then we know our list is empty and we set the newly created node as our first node if(head==null){ head = node; } //if the list is not empty and our first node...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Node() {\n\n }", "public Node(){\n\n\t\t}", "public Node() {\r\n\t}", "public Node() {\r\n\t}", "public Node() {\n }", "public NodeInfo() {\n }", "public Node() {}", "public Node() {}", "public Node() {}", "public Node() {}", "public Node() {\n\t}", "public Node(){}...
[ "0.76325953", "0.7514495", "0.749731", "0.749731", "0.74776363", "0.7475214", "0.74501777", "0.74501777", "0.74501777", "0.74501777", "0.739393", "0.73275393", "0.730391", "0.72394764", "0.722919", "0.7002666", "0.6986308", "0.6986308", "0.6920932", "0.68562835", "0.68560207"...
0.0
-1
We create a node to traverse our linked list, starting with the first node
public void displayList(){ ArtistNode node = head; //while the next node isnt null, we print out the node while(node.next!=null){ System.out.println(node); //once we've printed out the current node, we set our node equal to the next node...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void addFirst (E item)\n {\n Node<E> temp = new Node<E>(item); // create a new node\n // and link to the first node\n head = temp;\n size++;\n }", "public Node<T> addFirst(T t) { \r\n Node<T> currFirst = sentinel.next;\r\n Node<T> newNode = new Node<T>(t, sentinel,...
[ "0.702138", "0.68924224", "0.680418", "0.6756058", "0.67014265", "0.66932523", "0.66666234", "0.66582274", "0.65737474", "0.6565721", "0.65652466", "0.6557887", "0.65282756", "0.65276235", "0.65198743", "0.65123373", "0.65017855", "0.6473928", "0.64559925", "0.6448088", "0.64...
0.0
-1
A ClientBundle that provides images for this widget.
public static interface Resources extends ClientBundle { /** * The image used to skip ahead multiple pages. */ @ImageOptions(flipRtl = true) ImageResource simplePagerFastForward(); /** * The disabled "fast forward" image. */ @ImageOptions(flipRtl = true) ImageResource simplePagerFa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Images extends ClientBundle {\n\n\t\t@Source(\"gr/grnet/pithos/resources/mimetypes/document.png\")\n\t\tImageResource fileContextMenu();\n\n\t\t@Source(\"gr/grnet/pithos/resources/doc_versions.png\")\n\t\tImageResource versions();\n\n\t\t@Source(\"gr/grnet/pithos/resources/groups22.png\")\n\t\tIma...
[ "0.74535084", "0.71673423", "0.71448165", "0.71128315", "0.63695604", "0.6311232", "0.6300884", "0.6098567", "0.58168447", "0.5778947", "0.57579374", "0.57445854", "0.5721753", "0.5606497", "0.55175287", "0.5501007", "0.5493344", "0.54799724", "0.5475984", "0.5475984", "0.547...
0.6596546
4
The image used to skip ahead multiple pages.
@ImageOptions(flipRtl = true) ImageResource simplePagerFastForward();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadPreviousPage() {\n// System.out.println(\"index :\"+i);\r\n// System.out.println(\"##########\");\r\n lisOfProduct = serv.read();\r\n CurrP--;\r\n if (CurrP < nbP) {\r\n i = 0;\r\n indexOfImage = CurrP * 6 + i;\r\n loadImage1...
[ "0.6345126", "0.6315303", "0.6219058", "0.6196115", "0.61579", "0.6066745", "0.5997674", "0.5990528", "0.5981193", "0.5957461", "0.5881906", "0.5861613", "0.58285856", "0.580214", "0.57656455", "0.5614315", "0.56111026", "0.55982715", "0.5589201", "0.5561415", "0.55600387", ...
0.5681036
15
The disabled "fast forward" image.
@ImageOptions(flipRtl = true) ImageResource simplePagerFastForwardDisabled();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void disableFlipMode();", "private void setFastForwardDisabled(boolean disabled) {\r\n\t\tif (fastForward == null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (disabled) {\r\n\t\t\tfastForward.setResource(resources.simplePagerFastForwardDisabled());\r\n\t\t\tfastForward.getElement().getParentElement()\r\n\t\t\t\t\t.ad...
[ "0.6324349", "0.6197257", "0.5927967", "0.59016997", "0.57676446", "0.56211156", "0.55792946", "0.55204237", "0.54673344", "0.54638195", "0.5459886", "0.5441113", "0.53745437", "0.5370032", "0.5350244", "0.53225076", "0.5295726", "0.5290055", "0.5269674", "0.5268773", "0.5256...
0.6175337
2
The image used to go to the first page.
@ImageOptions(flipRtl = true) ImageResource simplePagerFirstPage();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte[] getPageImage()\n {\n return Resources.getImage(Resources.PAGE_IMAGE);\n }", "public String logoRedirect() {\n miroLogo.click();\n return webDriver.getTitle();\n }", "public boolean isFirstPage();", "public String getDefaultImgSrc(){return \"/students/footballstuden...
[ "0.6555439", "0.6078935", "0.60412395", "0.6011919", "0.5991507", "0.5930695", "0.5872793", "0.5821773", "0.58215326", "0.58136296", "0.5801964", "0.5794415", "0.5793579", "0.5793579", "0.57722616", "0.57549345", "0.57473034", "0.57349646", "0.57319653", "0.5704493", "0.56776...
0.6930106
0
The disabled first page image.
@ImageOptions(flipRtl = true) ImageResource simplePagerFirstPageDisabled();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePagerLastPageDisabled();", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePagerNextPageDisabled();", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePagerPreviousPageDisabled();", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource...
[ "0.74268466", "0.73016024", "0.70699704", "0.6849566", "0.6775307", "0.6615679", "0.61256385", "0.61221087", "0.61136866", "0.60550606", "0.6034078", "0.5866721", "0.5860946", "0.58554685", "0.5816493", "0.5774031", "0.5749491", "0.56874406", "0.56072885", "0.55740863", "0.55...
0.7918251
0
The image used to go to the last page.
@ImageOptions(flipRtl = true) ImageResource simplePagerLastPage();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getLastPage() {\n\t\treturn lastPage;\n\t}", "private Image getCurrentPicture(){\r\n\t\tif (i >= images.size()) {\r\n\t\t\ti = 0;\r\n\t\t}else if(i<0){\r\n\t\t\ti = images.size() -1;\r\n\t\t}\r\n\t\treturn new Image(images.get(i).getUrl());\r\n\t}", "public Page getLastPageObject() {\n retur...
[ "0.6626506", "0.6576206", "0.6321227", "0.6305452", "0.6302009", "0.6217435", "0.6177131", "0.61490136", "0.6054698", "0.6037712", "0.60240686", "0.5962476", "0.5933758", "0.5887163", "0.5883292", "0.5864789", "0.5842086", "0.583039", "0.58188796", "0.5793459", "0.5784823", ...
0.7353653
0
The disabled last page image.
@ImageOptions(flipRtl = true) ImageResource simplePagerLastPageDisabled();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePagerLastPage();", "public Image getDisabledImage () {\r\n\tcheckWidget();\r\n\treturn disabledImage;\r\n}", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePagerPreviousPageDisabled();", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource si...
[ "0.7036446", "0.67920405", "0.6703082", "0.6670244", "0.6490905", "0.6487847", "0.61655825", "0.6163698", "0.61621237", "0.5926232", "0.592412", "0.5881366", "0.58534306", "0.579342", "0.5748202", "0.5691813", "0.5654633", "0.55831146", "0.55406326", "0.5517623", "0.5469339",...
0.77496934
0
The image used to go to the next page.
@ImageOptions(flipRtl = true) ImageResource simplePagerNextPage();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void renderNextImage() {\n }", "public byte[] getPageImage()\n {\n return Resources.getImage(Resources.PAGE_IMAGE);\n }", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePagerLastPage();", "public ImageObj nextImage() {\n if (position == model.getImageLi...
[ "0.6987164", "0.6567359", "0.6411242", "0.6322319", "0.6034116", "0.59871686", "0.5985766", "0.5939604", "0.5932901", "0.5915288", "0.58144337", "0.5793549", "0.578519", "0.57746595", "0.57732147", "0.56789905", "0.56594104", "0.56504434", "0.56189233", "0.5601181", "0.559145...
0.69049644
1
The disabled next page image.
@ImageOptions(flipRtl = true) ImageResource simplePagerNextPageDisabled();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePagerLastPageDisabled();", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePagerPreviousPageDisabled();", "boolean isNextButtonDisabled() {\r\n\t\treturn nextPage.isDisabled();\r\n\t}", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simp...
[ "0.7517452", "0.7312709", "0.7125856", "0.7100959", "0.7063934", "0.6888662", "0.6794342", "0.6505803", "0.630647", "0.62546605", "0.6249811", "0.62154704", "0.61786085", "0.61165994", "0.6096461", "0.6035018", "0.6012633", "0.5978112", "0.59568286", "0.5952765", "0.5896364",...
0.80877846
0
The image used to go to the previous page.
@ImageOptions(flipRtl = true) ImageResource simplePagerPreviousPage();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void displayPrevious() {\r\n\t\ti--;\r\n\t\tdisplayCurrentPicture();\r\n\t}", "public ImageObj prevImage() {\n if (position != 0) {\n position--;\n }\n else {\n position = model.getImageList().size() - 1;\n }\n\n return model.getImageList().get(pos...
[ "0.6825175", "0.68201923", "0.6794768", "0.6573107", "0.6555852", "0.65393734", "0.6534178", "0.65304273", "0.6508739", "0.65024734", "0.64345145", "0.64303863", "0.6322994", "0.6236597", "0.620873", "0.6207661", "0.61845297", "0.6161818", "0.6144132", "0.6139062", "0.613666"...
0.7020853
0
The disabled previous page image.
@ImageOptions(flipRtl = true) ImageResource simplePagerPreviousPageDisabled();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isPreviousButtonDisabled() {\r\n\t\treturn prevPage.isDisabled();\r\n\t}", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePagerPreviousPage();", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePagerLastPageDisabled();", "@ImageOptions(flipRtl = true)\r\n\t\tImageResource simplePa...
[ "0.7276841", "0.71718365", "0.71274483", "0.6838176", "0.6705672", "0.664974", "0.6602809", "0.6494813", "0.645071", "0.64355326", "0.6385895", "0.6307286", "0.6298791", "0.62030363", "0.61902785", "0.61283046", "0.61242664", "0.6093056", "0.6073118", "0.60241634", "0.5995815...
0.789305
0
The styles used in this widget.
@Source("SimplePager.css") Style simplePagerStyle();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getStyles() {\n return getState().styles;\n }", "public String getStyle() {\r\n return style;\r\n }", "public String getStyle() {\n return style;\n }", "public String getStyle() {\n return style;\n }", "public String getStyle() {\n return style;\...
[ "0.71273875", "0.70216215", "0.69805914", "0.69805914", "0.69805914", "0.69805914", "0.6953023", "0.6830275", "0.67976755", "0.67884946", "0.6773946", "0.67511237", "0.67186636", "0.66717154", "0.66355747", "0.658587", "0.6523459", "0.65123", "0.6489014", "0.6412365", "0.6407...
0.0
-1
Styles used by this widget.
public static interface Style extends CssResource { /** * Applied to buttons. */ String button(); /** * Applied to disabled buttons. */ String disabledButton(); /** * Applied to the details text. */ String pageDetails(); String pageDetails2(); String imogPager...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int widgetStyle() {\n return super.widgetStyle() | OS.BS_GROUPBOX | OS.WS_CLIPCHILDREN | OS.WS_CLIPSIBLINGS;\n }", "@Override\n public void initStyle() {\n\t// NOTE THAT EACH CLASS SHOULD CORRESPOND TO\n\t// A STYLE CLASS SPECIFIED IN THIS APPLICATION'S\n\t// CSS FILE\n \n // FOR CHANG...
[ "0.7264547", "0.68174267", "0.6607625", "0.645304", "0.6449334", "0.6332551", "0.61988986", "0.6189035", "0.60357636", "0.6033749", "0.60134757", "0.5985352", "0.5978324", "0.5964589", "0.59159416", "0.59152496", "0.59152496", "0.59152496", "0.59152496", "0.5902359", "0.58948...
0.6287121
6
Applied to disabled buttons.
String disabledButton();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void disableButtons()\r\n {\r\n }", "protected void disableButtons() {\n if (mFalseButton.isPressed() || mTrueButton.isPressed())\n mFalseButton.setEnabled(false);\n mTrueButton.setEnabled(false);\n }", "private void disableButtons() {\n for (Deplo...
[ "0.7952833", "0.74936193", "0.7372854", "0.7301487", "0.72348607", "0.72182745", "0.72167647", "0.71256953", "0.71210504", "0.70366496", "0.684526", "0.68234915", "0.6808443", "0.67920846", "0.67749274", "0.67705137", "0.6758816", "0.675594", "0.6751444", "0.67342114", "0.672...
0.77972317
1
Applied to the details text.
String pageDetails();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getInfoText();", "private void addDetail(String detail) {\n Label label = new Label();\n label.setText(\"\\u2022\" + detail);\n label.setWrapText(true);\n label.getStyleClass().add(\"cell_small_label\");\n details.getChildren().add(label);\n }", "public void ...
[ "0.6311532", "0.6221266", "0.61536086", "0.6131107", "0.6103792", "0.61021376", "0.6042641", "0.59829414", "0.5977002", "0.59762937", "0.5976115", "0.5969192", "0.5961888", "0.59606254", "0.5927032", "0.5921539", "0.5912591", "0.5907807", "0.5895953", "0.589077", "0.58609515"...
0.0
-1
Ignore events if disabled.
@Override public void onBrowserEvent(Event event) { if (disabled) { return; } super.onBrowserEvent(event); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean eventEnabled(AWTEvent e) {\n return false;\n }", "@Override\n public boolean usesEvents()\n {\n return false;\n }", "public boolean setEventsEnabled(boolean enabled);", "protected void onDisabled() {\n // Do nothing.\n }", "@Override\n pu...
[ "0.762387", "0.7223036", "0.71399885", "0.7131729", "0.6688703", "0.65490556", "0.64457816", "0.6387836", "0.6387836", "0.6380683", "0.63612765", "0.63612765", "0.63612765", "0.63612765", "0.63612765", "0.63612765", "0.63612765", "0.63612765", "0.63612765", "0.63612765", "0.6...
0.63537717
49
Enable or disable all buttons.
@Override public void setDisplay(HasRows display) { boolean disableButtons = (display == null); setFastForwardDisabled(disableButtons); setNextPageButtonsDisabled(disableButtons); setPrevPageButtonsDisabled(disableButtons); super.setDisplay(display); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void enableAllButtons(){\n\t\tbtnConfirmOrNext.setEnabled(true);\n\t\tbtnStop.setEnabled(true);\n\t\tbtnListenAgain.setEnabled(true);\t\t\n\t}", "public void enableButtons() {\n //a loop to go through all buttons\n for (int i = 0; i < currentBoard.getSizeX(); i++) {\n Inputbuttons...
[ "0.8691528", "0.797758", "0.7897216", "0.76658344", "0.7576462", "0.74950564", "0.7493684", "0.73986477", "0.7364216", "0.73542655", "0.7329678", "0.7282924", "0.7281984", "0.72474384", "0.724674", "0.72305965", "0.7229346", "0.7199302", "0.71893847", "0.7174991", "0.71586823...
0.0
-1
Let the page know that the table is loading. Call this method to clear all data from the table and hide the current range when new data is being loaded into the table.
public void startLoading() { getDisplay().setRowCount(0, true); label1.setHTML(""); label2.setHTML(""); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadingTable() {\n this.setRowCount(1, true);\r\n this.setVisibleRangeAndClearData(this.getVisibleRange(), true);\r\n }", "public void hideAvailTable() {\n availTable.setVisible(false);\n }", "public void clearTable(){\n\t\tloaderImage.loadingStart();\n\t\tfullBackup.clea...
[ "0.7924971", "0.6793605", "0.67740697", "0.66916007", "0.6437782", "0.63692856", "0.6358653", "0.633931", "0.6220448", "0.6188278", "0.61837184", "0.61733174", "0.617063", "0.6161537", "0.6155135", "0.61285055", "0.61207825", "0.6077721", "0.59959483", "0.5968036", "0.5942725...
0.61897415
9
Get the text to display in the pager that reflects the state of the pager. Modified from original
protected String createText() { // Default text is 1 based. NumberFormat formatter = NumberFormat.getFormat("#,###"); HasRows display = getDisplay(); Range range = display.getVisibleRange(); int pageStart = range.getStart() /*+ 1*/; int pageSize = range.getLength(); int dataSize = display.getRowCou...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPageText();", "String getDisplayText();", "public String getTextOnPage()\n {\n return mainText.getText();\n }", "@Override\n @Nonnull\n public String getPlainText ()\n {\n return m_aPageTitle.getPlainText ();\n }", "@Override public String toString() { return getDisplay...
[ "0.7207453", "0.65041536", "0.64324564", "0.62230533", "0.61562526", "0.60399556", "0.602777", "0.5951702", "0.5888339", "0.5880252", "0.5873887", "0.5823127", "0.5792828", "0.5792133", "0.57675344", "0.57652295", "0.57386017", "0.57022923", "0.56998557", "0.5677249", "0.5651...
0.616305
4
Check if the next button is disabled. Visible for testing.
boolean isNextButtonDisabled() { return nextPage.isDisabled(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void CheckEnable()\n {\n btn_prev.setEnabled(true);\n btn_next.setEnabled(true);\n\n if(increment+1 == pageCount)\n {\n btn_next.setEnabled(false);\n }\n if(increment == 0)\n {\n btn_prev.setEnabled(false);\n }\n }", "boo...
[ "0.7711149", "0.73066443", "0.7274544", "0.72302824", "0.7225742", "0.7192853", "0.7185907", "0.7022363", "0.6902402", "0.68346566", "0.68009275", "0.6669513", "0.6579927", "0.6552991", "0.6540085", "0.64472973", "0.6438172", "0.64277345", "0.6390242", "0.6341706", "0.6338053...
0.8909907
0
Check if the previous button is disabled. Visible for testing.
boolean isPreviousButtonDisabled() { return prevPage.isDisabled(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void CheckEnable()\n {\n btn_prev.setEnabled(true);\n btn_next.setEnabled(true);\n\n if(increment+1 == pageCount)\n {\n btn_next.setEnabled(false);\n }\n if(increment == 0)\n {\n btn_prev.setEnabled(false);\n }\n }", "boo...
[ "0.72678447", "0.71270615", "0.6961909", "0.6918586", "0.6858057", "0.68225634", "0.67841274", "0.6764824", "0.6718056", "0.6718056", "0.6718056", "0.6718056", "0.6715884", "0.6634956", "0.66129214", "0.65838695", "0.65733105", "0.6572955", "0.6533077", "0.6520642", "0.650072...
0.8854163
0
Get the number of pages to fast forward based on the current page size.
private int getFastForwardPages() { int pageSize = getPageSize(); return pageSize > 0 ? fastForwardRows / pageSize : 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int numPages() {\n // some code goes here\n return (int) Math.ceil(m_f.length() / BufferPool.PAGE_SIZE);\n }", "public int numPages() {\n // some code goes here\n return (int)Math.ceil(f.length()/BufferPool.PAGE_SIZE);\n \n }", "public int numPages() {\n // som...
[ "0.7571926", "0.7508933", "0.7294459", "0.71652997", "0.7083671", "0.69853646", "0.69521445", "0.6891363", "0.6883007", "0.68691343", "0.68427646", "0.6786329", "0.66745585", "0.65754455", "0.65684414", "0.652927", "0.6498807", "0.64903694", "0.64452595", "0.64191025", "0.641...
0.7825759
0
Enable or disable the fast forward button.
private void setFastForwardDisabled(boolean disabled) { if (fastForward == null) { return; } if (disabled) { fastForward.setResource(resources.simplePagerFastForwardDisabled()); fastForward.getElement().getParentElement() .addClassName(style.disabledButton()); } else { fastForward.setR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setForward(boolean isForward);", "public void setXForwarding(boolean enable){\n xforwading=enable; \n }", "public void toggleEnable();", "private void fwdButtonKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_fwdButtonKeyPressed\n this.fwdButton.setEnabled(true);\n if(!this.f...
[ "0.7233528", "0.66827863", "0.6668935", "0.66372895", "0.662949", "0.6624996", "0.65355545", "0.6364676", "0.63466024", "0.63367164", "0.6335702", "0.62895566", "0.6206268", "0.6193105", "0.6158214", "0.6117091", "0.6080761", "0.60656846", "0.6061161", "0.60591674", "0.603734...
0.708654
1
Enable or disable the next page buttons.
private void setNextPageButtonsDisabled(boolean disabled) { nextPage.setDisabled(disabled); if (lastPage != null) { lastPage.setDisabled(disabled); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isNextButtonDisabled() {\r\n\t\treturn nextPage.isDisabled();\r\n\t}", "public void setNextEnabled(boolean b){\n\t\tbtnNext.setEnabled(b);\n\t}", "private void autoEnableNavButtons() {\n\t\tif (currPageIndex.equals(pages.size() - 1)) {\n\t\t\tbtnNext.setText(\"Finish\");\n\t\t} else {\n\t\t\tbtnNext.se...
[ "0.7870032", "0.78523844", "0.781644", "0.7660013", "0.7337868", "0.7334586", "0.72510964", "0.6973492", "0.69373643", "0.6903541", "0.68884915", "0.6708728", "0.66371536", "0.65964556", "0.65883416", "0.6550752", "0.64566576", "0.6395547", "0.639087", "0.6374397", "0.6295077...
0.77781904
3
Enable or disable the previous page buttons.
private void setPrevPageButtonsDisabled(boolean disabled) { firstPage.setDisabled(disabled); prevPage.setDisabled(disabled); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isPreviousButtonDisabled() {\r\n\t\treturn prevPage.isDisabled();\r\n\t}", "private void prevPage()\n {\n if(currentPage - 1 >= 1)\n {\n nextPageButton.setEnabled(true);\n if(currentPage -2 < 1)\n prevPageButton.setEnabled(false);\n \n ...
[ "0.79457617", "0.7691218", "0.7234068", "0.7212673", "0.7028462", "0.69619125", "0.69297814", "0.67850566", "0.67520076", "0.67378193", "0.67082983", "0.6688727", "0.65180266", "0.65133333", "0.6476204", "0.647077", "0.64511466", "0.64398026", "0.64348644", "0.6417048", "0.63...
0.7860237
1
Callback method to be invoked when an item in this view has been clicked and held. Implementers can call getItemAtPosition(position) if they need to access the data associated with the selected item.
@Override public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) { final Campaign c = (Campaign)adapter.getItem(position); if(c.dm_id.equals(uid)){ campaigns_ref.child(c.campaign_id).child("sheets").addListenerForSingleValueEvent(new ValueEventListener() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View view) { listener.onItemClick(view, getPosition()); }", "@Override\n public void onItemClicked(int itemPosition, Object dataObject) {\n }", "@Override\n public void onClick(View view) {\n clickListener.onItemClic...
[ "0.72355384", "0.71697986", "0.71284217", "0.71003294", "0.7035303", "0.7031981", "0.7031396", "0.6997849", "0.69756293", "0.6957714", "0.6940647", "0.6924625", "0.69182336", "0.6894083", "0.68901014", "0.68687636", "0.68307287", "0.68255836", "0.68255836", "0.68224037", "0.6...
0.0
-1
rimuovi scheda da campagna
@Override public void onComplete(@NonNull Task<Void> task) { campaigns_ref.child(c.campaign_id).child("sheets").child(uid).removeValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void tabla_campos() {\n int rec = AgendarA.tblAgricultor.getSelectedRow();// devuelve un entero con la posicion de la seleccion en la tabla\n ccAgricultor = AgendarA.tblAgricultor.getValueAt(rec, 1).toString();\n crearModeloAgenda();\n }", "java.lang.String getSchedule();", "publ...
[ "0.63047194", "0.6158321", "0.6150611", "0.6021645", "0.59690243", "0.59187573", "0.58052534", "0.57866085", "0.5771045", "0.5742208", "0.5737697", "0.56262594", "0.5613483", "0.56036425", "0.560338", "0.555968", "0.5525369", "0.5511458", "0.5506319", "0.5500968", "0.5495933"...
0.0
-1
TODO Autogenerated method stub
@Override public void initData() { }
{ "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.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
TODO Autogenerated method stub
@Override public void regReview(ReviewVO rvo) { ss.insert("insertReview", rvo); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public ReviewVO selectReview(int r_no) { return ss.selectOne("selectReview", r_no); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void updateReview(ReviewVO rvo) { ss.update("updateReview", rvo); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void deleteReview(int r_no) { ss.delete("deleteReview", r_no); }
{ "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.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
TODO Autogenerated method stub
@Override public int countReview(String bnum) { return ss.selectOne("countReview", bnum); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public List<ReviewVO> listPage(int page) throws Exception { if(page<=0) { page=1; } page = (page-1)*10; // 한 페이지에 10개의 글 보이기 return ss.selectList("listPage", page); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public List<ReviewVO> listCriteria(PageCriteria page) throws Exception { return ss.selectList("listCriteria", page); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public int countData(PageCriteria pCri) throws Exception { return ss.selectOne("countData", pCri); }
{ "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.66713095", "0.6567948", "0.652319", "0.648097", "0.64770466", "0.64586824", "0.64132667", "0.6376419", "0.62759", "0.62545097", "0.62371093", "0.62237984", "0.6201738", "0.619477", "0.619477", "0.61924416", "0.61872935", "0.6173417", "0.613289", "0.6127952", "0.6080854", ...
0.0
-1
Create an settings from JSON
public HandlebarsKnotOptions(JsonObject json) { init(); HandlebarsKnotOptionsConverter.fromJson(json, this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Config createSaps(JsonElement json) {\n Gson gson = new GsonBuilder().setPrettyPrinting().create();\n Config saps = gson.fromJson(json, Config.class);\n return saps;\n }", "private static void loadJsonFile() throws FileNotFoundException {\n Log.println(Log.INFO, \"FileAccessing\", ...
[ "0.6447319", "0.61033857", "0.5896982", "0.570792", "0.5693651", "0.5640517", "0.5611703", "0.56070125", "0.5488718", "0.5439452", "0.5434114", "0.54188234", "0.5418352", "0.54178494", "0.538445", "0.53479874", "0.5344527", "0.53313375", "0.53105277", "0.5301139", "0.53004456...
0.55119485
8
Set the size of the cache. After reaching the max size, new elements will replace the oldest one.
HandlebarsKnotOptions setCacheSize(Long cacheSize) { this.cacheSize = cacheSize; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void setSizeToCache(int sizeToCache) {\n\t\t\n\t}", "private void growSize() {\n size++;\n\n if (size > maxSize) {\n if (keys.length == Integer.MAX_VALUE) {\n throw new IllegalStateException(\"Max capacity reached at size=\" + size);\n }\n\n ...
[ "0.7016313", "0.69223106", "0.68814003", "0.68384767", "0.67994666", "0.6746742", "0.6743949", "0.6706992", "0.6669662", "0.6667049", "0.66620606", "0.6522895", "0.6517666", "0.64894396", "0.6461511", "0.6423722", "0.6329846", "0.63158536", "0.6237074", "0.622028", "0.6219097...
0.58759886
57
Set the algorithm used to build a hash from the handlebars snippet. The hash is to be used as a cache key. The name should be a standard Java Security name (such as "SHA", "MD5", and so on).
HandlebarsKnotOptions setCacheKeyAlgorithm(String cacheKeyAlgorithm) { this.cacheKeyAlgorithm = cacheKeyAlgorithm; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setHash() throws NoSuchAlgorithmException {\n\t\tString transformedName = new StringBuilder().append(this.titulo).append(this.profesor)\n .append(this.descripcion).append(this.materia.getUniversidad()).append(this.materia.getDepartamento())\n\t\t\t\t.append(this.materia.getCarrera()).app...
[ "0.6843831", "0.65090287", "0.6147093", "0.6038301", "0.59965277", "0.59773827", "0.59489447", "0.59489447", "0.5910929", "0.5887778", "0.5876171", "0.5876171", "0.5876171", "0.58657575", "0.5764512", "0.57489973", "0.57350755", "0.5704943", "0.5694391", "0.5685199", "0.55129...
0.56529254
20
Sets the EB address of the verticle
HandlebarsKnotOptions setAddress(String address) { this.address = address; return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setExternalAddress(String address);", "void setAddress(long address) throws Exception {\n if (address < 0x10000) {\n Scales.sendByte((byte) 'A');\n Scales.sendByte((byte) (address >> 8));\n Scales.sendByte((byte) address);\n } else {\n Scales....
[ "0.6628158", "0.6610917", "0.65281665", "0.65281665", "0.65281665", "0.6517585", "0.6441727", "0.64211977", "0.64211977", "0.64211977", "0.64211977", "0.641698", "0.63876015", "0.63107455", "0.630331", "0.62875843", "0.6286519", "0.62669396", "0.62669396", "0.62414056", "0.62...
0.0
-1
Get Whether to enable bot security configuration
public String getSwitch() { return this.Switch; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Boolean hasSecurity() {\n return this.hasSecurity;\n }", "public Boolean allowInsecure() {\n return this.allowInsecure;\n }", "@javax.annotation.Nullable\n @ApiModelProperty(value = \"Enable Web Secure Remote Access\")\n\n public Boolean getSecureAccessWeb() {\n return secureAcc...
[ "0.68408877", "0.66867584", "0.65546316", "0.65441656", "0.6420281", "0.6377278", "0.6323056", "0.62656474", "0.62593865", "0.62549376", "0.62492603", "0.6246597", "0.62061065", "0.6187266", "0.6141159", "0.6100899", "0.60889393", "0.6078657", "0.605807", "0.6056474", "0.6051...
0.0
-1
Set Whether to enable bot security configuration
public void setSwitch(String Switch) { this.Switch = Switch; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void enableSecurity();", "public void securityOn()\n {\n m_bSecurity = true;\n }", "public void setSecure(boolean secure)\n {\n this.secure = secure;\n }", "public void setSecure(boolean secure) {\n m_Secure = secure;\n }", "public void setProtection(boolean value);", "void setProtectio...
[ "0.6710115", "0.66083616", "0.64571893", "0.63701284", "0.6364337", "0.6325415", "0.6269637", "0.6148518", "0.59039235", "0.58477813", "0.5797104", "0.57909936", "0.5770406", "0.5758675", "0.56898797", "0.5689127", "0.56888866", "0.5634097", "0.5629008", "0.56288916", "0.5621...
0.0
-1
Get Not supported currently
public BotManagedRule getUaBotRule() { return this.UaBotRule; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getSupports();", "@Override\n\tpublic List<Parking> NotAvailableParking() {\n\t\treturn parkingRepository.NotAvailableParking();\n\t}", "void notSupported(String errorcode);", "public String getVersionsSupported();", "public String unsupportedReason(DataModel model) {\n return UNSUPPORTE...
[ "0.61754304", "0.60973924", "0.59794724", "0.5842805", "0.5840087", "0.5776627", "0.5772349", "0.57601494", "0.5745448", "0.5715696", "0.5659334", "0.56563175", "0.565627", "0.56282216", "0.5624075", "0.5622652", "0.5586229", "0.5573065", "0.5572924", "0.5567224", "0.55580246...
0.0
-1
Set Not supported currently
public void setUaBotRule(BotManagedRule UaBotRule) { this.UaBotRule = UaBotRule; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void set(int x, int i) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "public void setInvalid();", "public void set( Object obj ) throws UnsupportedOperationException {\n\t\t\tthrow new UnsupportedOpe...
[ "0.7102744", "0.69306576", "0.69078", "0.68903244", "0.68218064", "0.6592394", "0.64529383", "0.6443792", "0.6442229", "0.64364815", "0.6358826", "0.6305956", "0.62961036", "0.625992", "0.61955345", "0.6184395", "0.61835474", "0.6175895", "0.6169935", "0.6128233", "0.6073823"...
0.0
-1
Get Not supported currently
public BotManagedRule getIspBotRule() { return this.IspBotRule; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getSupports();", "@Override\n\tpublic List<Parking> NotAvailableParking() {\n\t\treturn parkingRepository.NotAvailableParking();\n\t}", "void notSupported(String errorcode);", "public String getVersionsSupported();", "public String unsupportedReason(DataModel model) {\n return UNSUPPORTE...
[ "0.6178356", "0.6095273", "0.59780973", "0.58455694", "0.5839279", "0.5773313", "0.5772514", "0.5762816", "0.57426935", "0.5713122", "0.5661028", "0.5655724", "0.5652757", "0.56253475", "0.56229454", "0.56206304", "0.5587554", "0.5573269", "0.55703294", "0.5568372", "0.555980...
0.0
-1
Set Not supported currently
public void setIspBotRule(BotManagedRule IspBotRule) { this.IspBotRule = IspBotRule; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void set(int x, int i) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "public void setInvalid();", "public void set( Object obj ) throws UnsupportedOperationException {\n\t\t\tthrow new UnsupportedOpe...
[ "0.7102744", "0.69306576", "0.69078", "0.68903244", "0.68218064", "0.6592394", "0.64529383", "0.6443792", "0.6442229", "0.64364815", "0.6358826", "0.6305956", "0.62961036", "0.625992", "0.61955345", "0.6184395", "0.61835474", "0.6175895", "0.6169935", "0.6128233", "0.6073823"...
0.0
-1
Get User portrait rules
public BotPortraitRule getPortraitRule() { return this.PortraitRule; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPortrait() {\n return portrait;\n }", "public abstract CellProfile getRules();", "public void setPortraitRule(BotPortraitRule PortraitRule) {\n this.PortraitRule = PortraitRule;\n }", "public String getePortrait() {\n return ePortrait;\n }", "String getRules()...
[ "0.6174825", "0.5878791", "0.55211306", "0.54534674", "0.5344338", "0.5317424", "0.5260658", "0.5197364", "0.51371896", "0.50536716", "0.5051295", "0.5044453", "0.50310653", "0.49363557", "0.48837352", "0.48207888", "0.48200613", "0.48128206", "0.47435746", "0.47399238", "0.4...
0.6596018
0
Set User portrait rules
public void setPortraitRule(BotPortraitRule PortraitRule) { this.PortraitRule = PortraitRule; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void needPortraitTest() {\n // TODO: test needPortrait\n }", "public void setPortrait(String portrait) {\n this.portrait = portrait == null ? null : portrait.trim();\n }", "public String getPortrait() {\n return portrait;\n }", "public BotPortraitRule getPortra...
[ "0.6098115", "0.607234", "0.58695424", "0.585157", "0.57382", "0.54843056", "0.5294623", "0.5281458", "0.5253401", "0.5168715", "0.5121458", "0.50903904", "0.5069025", "0.50497895", "0.5046554", "0.4984021", "0.49243498", "0.49167544", "0.48939037", "0.486385", "0.48578486", ...
0.6929175
0
Get Bot intelligence rules Note: This field may return null, indicating that no valid values can be obtained.
public IntelligenceRule getIntelligenceRule() { return this.IntelligenceRule; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<RulesEngineRule> rules() {\n return this.innerProperties() == null ? null : this.innerProperties().rules();\n }", "public abstract List<NARule> getRules(Context context);", "public Rules getRules()\r\n {\r\n return rules;\r\n }", "String getRules();", "public List<Rule> getRules(...
[ "0.69332165", "0.68263507", "0.67834586", "0.6698712", "0.6588499", "0.6568554", "0.6540804", "0.652638", "0.64900655", "0.6429881", "0.62923706", "0.6172364", "0.6108502", "0.6067037", "0.6059453", "0.6039553", "0.603478", "0.59997505", "0.59997505", "0.59997505", "0.5999750...
0.60927814
13
Set Bot intelligence rules Note: This field may return null, indicating that no valid values can be obtained.
public void setIntelligenceRule(IntelligenceRule IntelligenceRule) { this.IntelligenceRule = IntelligenceRule; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRules(List<T> rules) {\n\t\tthis.rules = rules;\n\t}", "public void setRules(ArrayList<Rule> rules) {\n\t\tthis.rules = rules;\n\t}", "public abstract void setRules (CellProfile rules);", "public void setRules(com.walgreens.rxit.ch.cda.StrucDocTable.Rules.Enum rules)\n {\n synchroniz...
[ "0.6818127", "0.6659173", "0.6646203", "0.66355884", "0.6527528", "0.63805825", "0.61264455", "0.61205673", "0.60629636", "0.58960503", "0.58776283", "0.5847173", "0.5699804", "0.5671299", "0.5543667", "0.55338377", "0.5482913", "0.54828787", "0.542484", "0.5409306", "0.53521...
0.578429
12
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
public BotConfig(BotConfig source) { if (source.Switch != null) { this.Switch = new String(source.Switch); } if (source.ManagedRule != null) { this.ManagedRule = new BotManagedRule(source.ManagedRule); } if (source.UaBotRule != null) { this.UaB...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void set(String key, Object value);", "void set(K key, V value);", "public setKeyValue_args(setKeyValue_args other) {\n if (other.isSetKey()) {\n this.key = other.key;\n }\n if (other.isSetValue()) {\n this.value = other.value;\n }\n }", "public abstract void set(String k...
[ "0.6441061", "0.64161617", "0.6146117", "0.6117963", "0.6096347", "0.6082185", "0.604238", "0.5991475", "0.59746987", "0.5957913", "0.5840638", "0.58286464", "0.5791717", "0.5705181", "0.5704307", "0.56889427", "0.56888515", "0.5679756", "0.5609211", "0.5588803", "0.5583051",...
0.0
-1
Internal implementation, normal users should not use it.
public void toMap(HashMap<String, String> map, String prefix) { this.setParamSimple(map, prefix + "Switch", this.Switch); this.setParamObj(map, prefix + "ManagedRule.", this.ManagedRule); this.setParamObj(map, prefix + "UaBotRule.", this.UaBotRule); this.setParamObj(map, prefix + "IspBot...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "public final void mo51373a() {\n }", "@Override\n\tprotected void interr() {\n\t}", "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public ...
[ "0.6257244", "0.6217361", "0.6023634", "0.59824777", "0.5965254", "0.59335405", "0.5919435", "0.58341724", "0.5781031", "0.57762295", "0.57762295", "0.57762295", "0.57762295", "0.57762295", "0.57762295", "0.5774889", "0.57056475", "0.5700564", "0.56520224", "0.56486577", "0.5...
0.0
-1
TODO Only return users with valid email address
public List<User> findUsers(final String name) { if (Objects.nonNull(name)) return userRepository.findByFirstNameContainingOrLastNameContainingAllIgnoreCase(name, name); else return userRepository.findAll(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String emailValid(String email){\n return \"select u_email from users having u_email = '\" + email + \"'\";\n }", "@Override\n public boolean isUserEmailExists(String email, String exludeUserName) {\n Map params = new HashMap<String, Object>();\n params.put(CommonSqlProvi...
[ "0.7271628", "0.71129686", "0.6886193", "0.68789226", "0.68789226", "0.6840778", "0.6812236", "0.6768314", "0.67508245", "0.67401606", "0.67388093", "0.670827", "0.66745865", "0.66417223", "0.66288424", "0.657176", "0.657176", "0.657176", "0.657176", "0.657176", "0.657157", ...
0.0
-1
TODO Check what all hackathons that we need to send TODO Improve Performance
public HashMap<Hackathon, Team> findHackathonsByParticipant(final User user) { HashMap<Hackathon, Team> result = new HashMap<>(); List<TeamMembership> memberships = teamMembershipRepository.findByMemberId(user) .orElse(new ArrayList<>()); for (TeamMembership teamMembership : memb...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void sendHelpOperations()\n\t{\n\t\t/*** API Calls ***/\n\t\tsendMessageAndAppend(this.channel,\n\t\t\t\t\"- Get most recent tweet by account name. Use the explicit command: !getrecenttweet <screen name/twitter handle>\");\n\t\tsendMessageAndAppend(this.channel,\n\t\t\t\t\"- Get most recent daily(Monday-F...
[ "0.54919815", "0.54177487", "0.53931385", "0.53312594", "0.53221536", "0.52999634", "0.52821267", "0.5203819", "0.52028126", "0.51871127", "0.5182201", "0.5163671", "0.51410466", "0.5135412", "0.51176006", "0.51128995", "0.5086645", "0.5083358", "0.50645924", "0.50505567", "0...
0.0
-1
/ Bulk Requests Hide Paging, cursors etc.
public interface CursorResources { /* * Timelines */ <T> List<String> getBulkUserTimeline(T ident, long initSinceId, long initMaxId, int maxElements) throws TwitterException; <T> List<String> getBulkUserTimeline(T ident) throws TwitterException; /* * Favorites */ <T> List<String> getBulkFavor...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void viewPendingRequests() {\n\n\t}", "private void getBlockListNetworkCall(final Context context, int offset, int limit) {\n\n HashMap<String, Object> serviceParams = new HashMap<String, Object>();\n HashMap<String, Object> tokenServiceHeaderParams = new HashMap<String, Object>();\n\n ...
[ "0.56399584", "0.5405816", "0.5398287", "0.5390045", "0.53825235", "0.53411776", "0.5280064", "0.5278162", "0.52740365", "0.5257652", "0.52546006", "0.52477485", "0.52314526", "0.5210202", "0.5196783", "0.51778513", "0.516301", "0.5140428", "0.5092383", "0.50604004", "0.50320...
0.468102
77
code goes here / Note: In Java the return type of a function and the parameter types being passed are defined, so this return call must match the return type of the function. You are free to modify the return type.
public static String SimpleSymbols(String str) { char curr_char = '0'; char prev_char = '0'; char next_char = '0'; String out_str = "true"; int i = 0; boolean parsing_done = false; boolean pattern_found = false; boolean wrong_pattern_found = false; if( Character.isLetterOrDigit(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract int mo123247f();", "@Override\n\tpublic void function() {\n\t\t\n\t}", "Function createFunction();", "public void func_70305_f() {}", "public abstract int mo9741f();", "public abstract int mo4375b();", "public int getFunctionType() {\n/* 60 */ return 4;\n/* */ }", "public abs...
[ "0.64442885", "0.6406205", "0.6389758", "0.634864", "0.6329835", "0.62676424", "0.6248725", "0.6231076", "0.6229526", "0.6215064", "0.61969703", "0.618705", "0.6182522", "0.61772156", "0.61745155", "0.6159677", "0.6153678", "0.6153678", "0.6152247", "0.6152247", "0.61473036",...
0.0
-1
keep this function call here
public static void main (String[] args) { Scanner s = new Scanner(System.in); System.out.print(SimpleSymbols(s.nextLine())); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void call() {\n\t\t\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n public void function()\n {\n }", "@Override\n pu...
[ "0.62521756", "0.6246468", "0.6215329", "0.6205403", "0.6183028", "0.6183028", "0.6128687", "0.6109371", "0.60664976", "0.6066176", "0.6056765", "0.60430396", "0.59536266", "0.59435296", "0.5926859", "0.59011054", "0.58996433", "0.5898251", "0.5894443", "0.5878985", "0.586621...
0.0
-1
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jPanel1 = new javax.swing.JPanel(); newUserLabel = new javax.swing.JLabel(); newUser = new RoundJTextField(15); newPassLabel =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.7318655", "0.7289971", "0.7289971", "0.7289971", "0.72860885", "0.7247684", "0.7213551", "0.72080934", "0.7195069", "0.7189731", "0.7183451", "0.71579945", "0.7147311", "0.7092687", "0.70798934", "0.7055229", "0.69868284", "0.6976656", "0.6954658", "0.6952896", "0.69449455...
0.0
-1
Check that password is contains only letters or numbers
private boolean checkPassword(){ Pattern p = Pattern.compile("^[A-z0-9]*$"); Matcher m = p.matcher(newPass.getText()); boolean b = m.matches(); if(newPass.getText().compareTo(repeatPass.getText()) != 0 || newPass.getText().isEmpty() || repeatPass.getText().isEmpty()){ repeatP...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isPasswordValid(String password) {\n\n String x = \"word1234$\";\n\n\t\t//check if password is direct match\n if (!password.equals(x)){\n return false;\n }\n\n\n //check length of password\n if (password.length() < 8) {\n ...
[ "0.76781505", "0.76638746", "0.76460356", "0.7645196", "0.7593739", "0.7452142", "0.74453515", "0.74453515", "0.7440289", "0.73716193", "0.73692346", "0.73692346", "0.73692346", "0.73658556", "0.735651", "0.73468626", "0.73262465", "0.7322949", "0.7305685", "0.7297808", "0.72...
0.7063989
53
/ Set the Nimbus look and feel / If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. For details see
public static void main(String args[]) { try { for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) { javax.swing.UIManager.setLookAndFeel(info.getClassName()); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setLookAndFeel() {\n try {\n for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {\n if (\"Nimbus\".equals(info.getName())) {\n UIManager.setLookAndFeel(info.getClassName());\n break;\n }\n ...
[ "0.7949842", "0.77695245", "0.7702217", "0.7505592", "0.7288192", "0.72294354", "0.72234964", "0.72215366", "0.71814275", "0.71575797", "0.7119326", "0.7112099", "0.70995355", "0.7061918", "0.70504636", "0.69139534", "0.6817144", "0.67054737", "0.66966176", "0.65856785", "0.6...
0.54395825
79
Initialise all objects in this method.
private void init() { name = getIntent().getStringExtra("name"); nameID = getIntent().getStringExtra("id"); setSupportActionBar(mToolbar); setSupportActionBar(mToolbar); getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayShowHomeEnabled(true); mToolbar.setTitle(name); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initObjects() {\n inputValidation = new InputValidation(activity);\n databaseHelper = new DatabaseHelper(activity);\n user = new User();\n }", "private void init() {\n filmCollection = new FilmCollection();\n cameraCollection = new CameraCollection();\n }", ...
[ "0.7411761", "0.7299825", "0.7192524", "0.7186545", "0.71564573", "0.715225", "0.7078731", "0.7070363", "0.7050244", "0.7015209", "0.7004689", "0.6969541", "0.69673896", "0.69533384", "0.69504565", "0.69389826", "0.6896582", "0.6866121", "0.68555367", "0.6842694", "0.6841098"...
0.0
-1
Sync data with chat bot api.
public void syncMessages() { ArrayList<ChatEntity> nonSyncedChatEntities = new ArrayList<>(); nonSyncedChatEntities.addAll(chatViewModel.loadChatsWithSyncStatus(false, nameID)); if (nonSyncedChatEntities.size() > 0) { for (int i = 0; i < nonSyncedChatEntities.size(); i++) { ChatEntity chatEntity = nonSync...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private synchronized void syncData() {\n try {\n // pulling data from server\n pullData();\n\n // pushing local changes to server\n// recordStatus=2\n pushData();\n// recordStatus=1\n// pushData1();\n } catch (Throwable throwa...
[ "0.6039268", "0.6001955", "0.5997015", "0.59008414", "0.57420516", "0.56681705", "0.5568387", "0.55485666", "0.54912823", "0.5482079", "0.54642177", "0.54319996", "0.5427684", "0.541807", "0.5373824", "0.5359513", "0.53566486", "0.5346966", "0.5327505", "0.5297723", "0.529717...
0.6392555
0
Add Date & Time to messages.
private String getDate() { SimpleDateFormat parseFormat = new SimpleDateFormat("hh:mm a"); Date date = new Date(); String s = parseFormat.format(date); return s; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void addMessage(final ChatMessage chatMessage)\n\t{\n\t\tfinal SimpleDateFormat dateFormat = new SimpleDateFormat(\"dd MMMM HH:mm:ss\", Locale.US);\n\t\tfinal Date date = chatMessage.getSentDate();\n\t\tprint(\"\\n\" + dateFormat.format(date) + \", \" + chatMessage.getAuthor() + \":\");\n\t\tprint(\"\\n\" ...
[ "0.65921706", "0.6273567", "0.6113912", "0.597329", "0.585337", "0.57489544", "0.5728519", "0.5607009", "0.56053466", "0.55867136", "0.5586023", "0.55404395", "0.5523602", "0.5516739", "0.55052036", "0.55029577", "0.5499182", "0.5492447", "0.549162", "0.54915756", "0.5464664"...
0.0
-1
Instantiates a new recording deleter.
public RecordingDeleter(AsyncCallback callback) { this.callback = callback; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void onDestroy() {\n super.onDestroy();\n\n stopRecording();\n }", "public interface RecordManager {\n\n void startRecord(String path);\n\n void stopRecord(Runnable endCallback);\n\n void init();\n\n void release();\n\n}", "public void StopRecording()\n ...
[ "0.57678527", "0.529177", "0.5274992", "0.5176669", "0.51251155", "0.5112937", "0.50450253", "0.5032679", "0.5020125", "0.5009207", "0.4971387", "0.4772085", "0.4652821", "0.46084166", "0.46025828", "0.46004248", "0.46003386", "0.45981574", "0.45573756", "0.45520476", "0.4545...
0.6639158
0
TODO Autogenerated method stub
public static void main(String[] args) { Address address = new Address("Sector-62", "Noida", "201301"); Employee employee = new Employee("Ayush", "1038", address); System.out.println("----------------------> Data before Serialization <-------------------------------"); employee.display(); ObjectOutputStr...
{ "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
Mark all outstanding invoices with a due date after expiry date as overdue.
@Transactional public void markOverdueInvoices(LocalDate expiryDate) { List<Invoice> invoices = invoiceRepository.findByDueDateBeforeAndInvoiceState(fromLocalDate(expiryDate), Invoice.InvoiceState.OUTSTANDING); for (Invoice invoice : invoices) { log.info("Setting state to overdue on invo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOverdueDays(Integer overdueDays) {\n this.overdueDays = overdueDays;\n }", "protected boolean isOverdue() {\n\t\t// this might be backwards, go back and check later\n\t\t/*int i = todaysDate.compareTo(returnDate);// returns 0, a positive num, or a negative num\n\t\tif (i == 0) { return f...
[ "0.6075956", "0.5894295", "0.58897054", "0.5856971", "0.57689416", "0.5760612", "0.5750313", "0.57472134", "0.5742938", "0.55235", "0.54894644", "0.5428642", "0.53881323", "0.53788215", "0.53750837", "0.5367099", "0.5242216", "0.52396464", "0.52340996", "0.5230293", "0.522560...
0.782479
0
Momentele componenten worden opgeslagen in Arraylist
public void setcomponenten(ArrayList<Componenten> a){ this.database= a; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Double> getmasseslist(){return masses;}", "List<DataGatherMoment> getDataGatherMoments();", "private ArrayList<Measurement> getMeasurements() {\n ArrayList<Measurement> measurements = new ArrayList<>();\n Cursor cursor = db.getData();\n\n if (cursor.getCount() == 0) {\n ...
[ "0.6205569", "0.60947317", "0.5751302", "0.5675074", "0.5621543", "0.5584284", "0.55820704", "0.55438864", "0.5529454", "0.5446814", "0.5443929", "0.5434979", "0.5421143", "0.54015577", "0.53915817", "0.5387877", "0.5382496", "0.53782177", "0.5373024", "0.5368247", "0.5365779...
0.0
-1
Neerzetten van de momentele componenten in infrastructuur overzicht
public void paintComponent(Graphics g) { super.paintComponent(g); int xDatabase = 50; int xWebserver = 400; int xFirewall = 250; int yDatabase = 50; int yWebserver = 50; int dCount = 0; int wCount = 0; for (Componenten s : database) {...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Moment() {}", "public ConverterComponent() {\n\t}", "public mbvBoletinPeriodo() {\r\n }", "public periodictable() {\n initComponents();\n }", "Vaisseau_longueur createVaisseau_longueur();", "public vP() {\n initComponents();\n \n crono = new Bjj();\n \n ...
[ "0.5979441", "0.5777335", "0.56486017", "0.5647942", "0.5619412", "0.56002754", "0.5598987", "0.55720246", "0.5542019", "0.5513261", "0.54920274", "0.54900175", "0.54732716", "0.54492944", "0.54391086", "0.5434113", "0.54087526", "0.54051197", "0.5398985", "0.5394302", "0.538...
0.0
-1
Retrieves and returns the LifecycleRetriever singleton.
public static LifecycleProvider get() { return INSTANCE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private LifecycleHolder get(Context context) {\n if (context == null) {\n throw new IllegalArgumentException(\"You cannot start a load on a null Context\");\n } else if (!isOnMainThread() && !(context instanceof Application)) {\n if (context instanceof FragmentActivity) {\n ...
[ "0.6184418", "0.5925926", "0.5925404", "0.5850118", "0.5803431", "0.57813436", "0.57163954", "0.5670754", "0.5661588", "0.5599803", "0.55925554", "0.5516396", "0.55120474", "0.5477844", "0.54199743", "0.5419192", "0.5403156", "0.5380267", "0.53726625", "0.5369896", "0.5367923...
0.725491
0