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
Render all entities with a Rendercomponent
public void renderEntities() { Set<Entity> toRender = Engine .get() .getEntityStream() .getEntitiesCopy(SpaxelComponent.RENDER); for (Entity ne : toRender) { ((RenderBehaviour) ne.getComponent(SpaxelComponent.RENDER)).render( ne, ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void renderEntities() {\n\t\trenderEntityList(layerNegOneEntities);\n\t\trenderEntityList(layerZeroEntities);\n\t\trenderEntityList(layerOneEntities);\n\t}", "public void renderEntities(Screen screen) {\n\t\tfor (Entity e : entities) {\n\t\t\te.render(screen);\n\t\t}\n\t}", "public void render(Graphics...
[ "0.80060524", "0.71279144", "0.7064395", "0.6917305", "0.67108244", "0.6708399", "0.655881", "0.6554695", "0.65474176", "0.6513241", "0.65131944", "0.6507288", "0.6500243", "0.6408563", "0.63985074", "0.6395578", "0.6393896", "0.63461673", "0.6340339", "0.6339555", "0.6330501...
0.81824565
0
TODO Autogenerated method stub
public static void main(String[] args) { Account acc = new Account(1222, 20000); acc.withdraw(2500); acc.deposit(3000); System.out.println("Balance: " + acc.getBalance() + "\nMonthly interest: " + acc.getMonthlyInterest() + "\nDate: " + acc.getDateCreated()); }
{ "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
Create an image file name
private File createImageFile() throws IOException { String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date()); String imageFileName = "JPEG_" + timeStamp + "_"; File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES); File image = File.createTempFile( ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private File createImageFileName() throws IOException {\n String timestamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n //there are two types of SimpleDateFormat and Date()\n String prepend = \"JPEG_\" + timestamp + \"_\";\n File imageFile = File.createTempFile(prep...
[ "0.7782615", "0.7292824", "0.6992056", "0.6992056", "0.6943564", "0.6911284", "0.68938434", "0.686538", "0.68592805", "0.68590325", "0.68580544", "0.68443614", "0.67711073", "0.67546785", "0.6751638", "0.6737171", "0.6726197", "0.67170936", "0.67068315", "0.6706409", "0.66945...
0.62706375
87
Create an audio file name
private File createAudioFile() throws IOException{ String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date()); String audioFileName = "Audio_" + timeStamp + "_"; File storageDir = getExternalFilesDir(Environment.DIRECTORY_MUSIC); File image = File.createTempFile( ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private File createAudioFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"3gp_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_MUSIC);\n File image = File.createT...
[ "0.69278", "0.6626555", "0.6514745", "0.63167423", "0.627489", "0.6180258", "0.6133866", "0.61235505", "0.6094952", "0.6046254", "0.5951179", "0.5938131", "0.59335816", "0.59161747", "0.5902851", "0.5846926", "0.5827435", "0.5806536", "0.5795928", "0.5792337", "0.57742745", ...
0.7339885
0
Check if we have write permission
public void verifyStoragePermissions() { int permission = ActivityCompat.checkSelfPermission(ChatActivity.this, android.Manifest.permission.WRITE_EXTERNAL_STORAGE); if (permission != PackageManager.PERMISSION_GRANTED) { // We don't have permission so prompt the user ActivityComp...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isWritePermissionGranted();", "boolean isWriteAccess();", "boolean canWrite();", "int getPermissionWrite();", "public boolean isWriteable();", "private boolean isWriteStorageAllowed() {\n int result = ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE);\n\n ...
[ "0.9099552", "0.8837813", "0.80663157", "0.80243504", "0.7774986", "0.77436954", "0.75657046", "0.7548023", "0.7270176", "0.72674453", "0.7215455", "0.7176124", "0.7007981", "0.6935691", "0.68866736", "0.68647003", "0.68148607", "0.6806817", "0.6791676", "0.6703497", "0.66883...
0.0
-1
/ initializes whole panel
public void initialize () { setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); setBounds(100, 100, 450, 300); //add main panel contentPane = new JPanel(); contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); setContentPane(contentPane); contentPane.setLayout(null); //add title label JLabel TitleLabel...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initPanel() {\n\t\tthis.panel = new JPanel();\n\t\tthis.panel.setBounds(5, 5, 130, 20);\n\t\tthis.panel.setLayout(null); \n\n\t}", "public HoaDonJPanel() {\n initComponents(); \n this.init();\n }", "private void initialize() {\n this.setLayout(new BorderLayout());\n ...
[ "0.8247449", "0.8035468", "0.79541004", "0.7919676", "0.79085326", "0.78875905", "0.7837935", "0.78292185", "0.7809262", "0.7802085", "0.7797924", "0.7797814", "0.7793491", "0.7790126", "0.77783656", "0.77715975", "0.77427286", "0.7727612", "0.7707315", "0.7696863", "0.768350...
0.0
-1
handles pressing of button
public void actionPerformed(ActionEvent e) { setCursor (Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); // TODO Auto-generated method stub repaint(); if(e.getSource() == AddServiceButton)//if service is ready to be added to horse { //collects all info and adds the service to the horse try{ Strin...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String handleButtonPress(Button button);", "@Override\n\tprotected void on_button_pressed(String button_name) {\n\n\t}", "public void buttonClicked();", "void buttonPressed(ButtonType type);", "protected abstract void pressedOKButton( );", "public abstract void buttonPressed();", "public void onButtonA...
[ "0.7888363", "0.78095794", "0.76994556", "0.7528252", "0.7518193", "0.74004245", "0.7394509", "0.73873967", "0.72823036", "0.7268334", "0.7213774", "0.7176966", "0.7147283", "0.7145208", "0.71450675", "0.7135603", "0.7129266", "0.71107876", "0.71029115", "0.71017426", "0.7101...
0.0
-1
Controller gets all appeals based on client id
@RequestMapping(value = "/client", method = RequestMethod.GET) public List<AppealDto> getAllAppealsById(@RequestParam Integer id, @RequestParam Integer page, @RequestParam Integer pageSize) { List<Appeal> appealList = appealCrudRepository.findAllByClientId(id, PageRequest.of(page, pageSize, Sort.by(Sort.Dir...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(value = \"/\")\n public Map<String, Object> showAll() {\n// Get all invoices\n List<Invoice> invoices = invoiceService.findAll();\n// Build response\n Map<String, Object> response = new LinkedHashMap<String, Object>();\n response.put(\"totalInvoices\", invoices.siz...
[ "0.5915944", "0.5859896", "0.58520997", "0.58405286", "0.57020813", "0.56265503", "0.55947936", "0.5592551", "0.5581626", "0.55642825", "0.55309486", "0.5529875", "0.5510187", "0.5490859", "0.5488588", "0.5464579", "0.53938", "0.53809965", "0.5373914", "0.53602636", "0.535689...
0.669338
0
Controller get appeal by id
@RequestMapping(value = "/findAppeal", method = RequestMethod.GET) public Appeal findAppeal(@RequestParam Integer appealId) { Optional<Appeal> appealToGet = appealCrudRepository.findById(appealId); return appealToGet.orElse(null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Optional<Object> getByID(@PathVariable(\"id\") int id);", "@GetMapping(\"/act-kodus/{id}\")\n @Timed\n public ResponseEntity<ActKodu> getActKodu(@PathVariable Long id) {\n log.debug(\"REST request to get ActKodu : {}\", id);\n ActKodu actKodu = actKoduRepository.findOne(id);\n...
[ "0.69435006", "0.6833779", "0.6816909", "0.68149763", "0.6799155", "0.6796081", "0.673077", "0.6718047", "0.6642382", "0.6627117", "0.66226393", "0.66103363", "0.66081345", "0.6596231", "0.65755355", "0.65735745", "0.6566694", "0.65110916", "0.649101", "0.64807665", "0.647616...
0.7031413
0
Test Constructor, with correct transferable and namespace.
public void testCtor() throws Exception { PasteAssociationAction pasteAction = new PasteAssociationAction(transferable, namespace); assertEquals("Should return Association instance.", association, pasteAction.getModelElement()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void testConstructor() {\n\t\tassertEquals(\"testID\", this.getId());\n\t\tassertEquals(\"/namespaces/test\", this.getPath());\n\t}", "@Test\n void constructorTest() {\n super.checkConstruction();\n }", "public void testConstructorWithNamespace() {\n CutSubsystemAction cutSubsystemA...
[ "0.74827576", "0.73032707", "0.6955106", "0.68915564", "0.6837533", "0.6837282", "0.6794705", "0.67709273", "0.67709273", "0.6763504", "0.6763504", "0.6740711", "0.6740711", "0.6740711", "0.6677283", "0.6671756", "0.6662723", "0.66490847", "0.6626316", "0.6563422", "0.6560955...
0.0
-1
Test Constructor, with null transferable. InvalidDataContentException is expected.
public void testCtorWithWrongTransferable() { try { new PasteAssociationAction(new ClassElementsTransfer(new DependencyImpl()), namespace); fail("InvalidDataContentException is expected."); } catch (InvalidDataContentException idce) { // pass } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testCtorWithNullTransferable() throws Exception {\n try {\n new PasteAssociationAction(null, namespace);\n fail(\"IllegalArgumentException is expected.\");\n } catch (IllegalArgumentException iae) {\n // pass\n }\n }", "@Test\n @DisplayName(...
[ "0.67585635", "0.6438263", "0.64005864", "0.6349323", "0.63414997", "0.6292462", "0.6254281", "0.6229479", "0.62217057", "0.62101704", "0.6198224", "0.61965585", "0.6182479", "0.6175454", "0.6162642", "0.61579627", "0.61490864", "0.6147092", "0.6116516", "0.6116516", "0.61096...
0.7287072
0
Test Constructor, with null transferable. IllegalArgumentException is expected.
public void testCtorWithNullTransferable() throws Exception { try { new PasteAssociationAction(null, namespace); fail("IllegalArgumentException is expected."); } catch (IllegalArgumentException iae) { // pass } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testCtor_NullState() {\n try {\n new AddActionStateAction(null, activityGraph, manager);\n fail(\"IllegalArgumentException expected.\");\n } catch (IllegalArgumentException iae) {\n //good\n }\n }", "public void testConstructorNPE2() {\r\n ...
[ "0.751814", "0.742224", "0.7397041", "0.7313701", "0.7296233", "0.7295717", "0.72873884", "0.7264211", "0.72420514", "0.72372425", "0.7223376", "0.7221988", "0.7143611", "0.71319836", "0.70760834", "0.7074194", "0.70402384", "0.70317805", "0.697834", "0.69592154", "0.69493514...
0.80898494
0
Test Constructor, with null namespace. IllegalArgumentException is expected.
public void testCtorWithNullNamespace() throws Exception { try { new PasteAssociationAction(transferable, null); fail("IllegalArgumentException is expected."); } catch (IllegalArgumentException iae) { // pass } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void testMemberNotTeamMemberForProjectValidator_NullNamespace() {\r\n try {\r\n new MemberNotTeamMemberForProjectValidator((String) null);\r\n fail(\"testMemberNotTeamMemberForProjectValidator_NullNamespace is failure.\");\r\n } catch (IllegalArgumentException iae) {\r\n ...
[ "0.76478183", "0.7415933", "0.7392851", "0.7111048", "0.70815945", "0.70215356", "0.6990379", "0.69857126", "0.6964511", "0.6940618", "0.6934892", "0.69193643", "0.6883883", "0.68677145", "0.6815653", "0.6811347", "0.68030125", "0.6795482", "0.6772231", "0.67529064", "0.67341...
0.7743222
0
void addReply(Board board, long parentId);
void deleteBoard(long id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void insertReply() {\n\r\n\t}", "private synchronized void linkThreadRepliesToNewParent(String parentThreadID, Message newMessage) {\n \t\n \tboolean newMessageIsThread = (newMessage.getID().equals(parentThreadID));\n \n \tfor(BoardReplyLink ref : getAllThreadReplies(parentThreadID, false)) {...
[ "0.6823096", "0.6377433", "0.63312817", "0.6174237", "0.6164221", "0.5881224", "0.57955235", "0.5787352", "0.57626164", "0.57138485", "0.56807804", "0.5619599", "0.554634", "0.5516174", "0.53951395", "0.53536963", "0.5270344", "0.5254296", "0.52171934", "0.52108616", "0.52020...
0.0
-1
TODO this code is repeated a lot of times. maybe extract it to some House repository which can be shared?
public LiveData<GetUserHouseJob> getUserHouse() { GetUserHouseJob getUserHouseJob = new GetUserHouseJob(FirestoreJob.JobStatus.IN_PROGRESS); MutableLiveData<GetUserHouseJob> job = new MutableLiveData<>(getUserHouseJob); db.collection(HOUSES_COLLECTION_NAME) .whereGreaterThan("ro...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface IHouseService {\n\n Suite getSuiteByRoom(long roomId);\n\n Suite getSuiteByHouse(long houseId);\n\n List<HouseAndUser> getHouseAndUsers(int maxSize);\n \n List<HouseAndUser> getHouseAndUsers(String searchKey);\n\n House getHouse(long houseId);\n\n List<House> getHouses();\n\n ...
[ "0.6155102", "0.5875196", "0.58425725", "0.556887", "0.55632424", "0.5420808", "0.5401673", "0.5395412", "0.5385273", "0.53750736", "0.5358241", "0.5314836", "0.5278506", "0.5276366", "0.5271569", "0.5226012", "0.5224694", "0.52194864", "0.5214729", "0.5177531", "0.51679724",...
0.0
-1
Fetches the invitation and the house from the database.
public LiveData<GetInviteInfoJob> getInviteInfo() { GetInviteInfoJob getInviteInfoJob = new GetInviteInfoJob(FirestoreJob.JobStatus.IN_PROGRESS); MutableLiveData<GetInviteInfoJob> job = new MutableLiveData<>(getInviteInfoJob); db.collection(FirestoreUtil.INVITES_COLLECTION_NAME) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void fetchForRentHousesData();", "void fetchHolidayRentalHousesData();", "HouseAndRoom getHouseAndRoom(String username, long houseId);", "void fetchForSaleHousesData();", "void fetchStartHousesData();", "private void fetchDataFromDatabase() {\n\n listOfPersons.clear();\n Cursor cursor = App...
[ "0.6289218", "0.6058728", "0.5779179", "0.56575817", "0.5616053", "0.5537996", "0.53416425", "0.52009463", "0.51861435", "0.51754725", "0.50376874", "0.50012", "0.49735478", "0.49699447", "0.49382484", "0.49375445", "0.49290586", "0.49179244", "0.491734", "0.49122158", "0.489...
0.4734902
39
Adds the current user to the house, deleted the invitation and fetches the updated house.
public LiveData<JoinHouseJob> joinHouse() { JoinHouseJob joinHouseJob = new JoinHouseJob(FirestoreJob.JobStatus.IN_PROGRESS); MutableLiveData<JoinHouseJob> job = new MutableLiveData<>(joinHouseJob); Map<String, Object> newRoomie = new HashMap<>(); newRoomie.put("roomies." + auth.getUid(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateUser() {\r\n users.clear();\r\n RestaurantHelper.getCollectionFromARestaurant(currentRest.getPlaceId(), \"luncherId\").addOnCompleteListener(new OnCompleteListener<QuerySnapshot>() {\r\n @Override\r\n public void onComplete(@NonNull Task<QuerySnapshot> task) {\...
[ "0.575404", "0.5637795", "0.54212976", "0.54004127", "0.5317719", "0.52922547", "0.5284495", "0.5256889", "0.52167374", "0.52107036", "0.5210197", "0.5185081", "0.516497", "0.51574665", "0.51438856", "0.51436305", "0.5140128", "0.5140128", "0.5131836", "0.51263183", "0.511812...
0.0
-1
Encoding and decoding arrays
public static void main ( String [] args) { char [] english = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', ' '}; String [...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void decodeObjectArray();", "public abstract byte[] getEncoded();", "String[][] packData();", "private void encodeEmbeddedStringArrays(XMLStreamReader reader, Map<String, Integer> mapping, ByteArrayOutputStream baos) throws XMLStreamException {\n Map<String, List<String>> valuesByFeature = new HashMap...
[ "0.67184347", "0.6552128", "0.59969443", "0.5973407", "0.5953148", "0.5936105", "0.58740324", "0.5871969", "0.58198863", "0.5722521", "0.570217", "0.569976", "0.569976", "0.5664954", "0.5652708", "0.56171346", "0.56140786", "0.56015706", "0.5569769", "0.5544589", "0.54795575"...
0.0
-1
Calculates the correlation between users based on their votes. Formula can be found in Credence paper. Ignores users who vote all bad or all good.
double correlationCoefficient(User a, User b) throws CwebApiException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double corr(DocumentVector other) {\n\t\tdouble mean1 = mean();\n\t\tdouble mean2 = other.mean();\n\t\t\n\t\tint n = Math.min(this.getAttCount(), other.getAttCount());\n\t\tdouble VX = 0, VY = 0;\n\t\tdouble VXY = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tdouble deviate1 = this.getValueAsReal(i) - mean1;...
[ "0.56665695", "0.5208464", "0.51848996", "0.5134711", "0.5101349", "0.5100878", "0.5077803", "0.5049144", "0.49550322", "0.4921878", "0.48304385", "0.48262057", "0.47937196", "0.47907475", "0.47852206", "0.47839984", "0.47813842", "0.4752392", "0.4726809", "0.47213423", "0.47...
0.6950607
0
TODO: include parameter for number of iterations
double trustCoefficientCentrality(User src, User tgt);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getIterations();", "@Override\r\n\tpublic void iterateCount() {\n\t\t\r\n\t}", "public int getIteration();", "@Override\n\tpublic int getIterationsNumber() {\n\t\treturn 0;\n\t}", "public int getIterationLimit() {return iterationLimit;}", "public void setIterations(int iter) {\n\t\tnumIterations = it...
[ "0.7313825", "0.7236989", "0.7192458", "0.70695823", "0.70129865", "0.6898012", "0.6789549", "0.6780421", "0.66986156", "0.6623154", "0.66130507", "0.6566682", "0.6560644", "0.6501672", "0.6488675", "0.6418592", "0.6418592", "0.6402845", "0.6398312", "0.63634324", "0.6331653"...
0.0
-1
Called when the activity is first created.
@Override protected void onCreate(Bundle savedInstanceState) { if (android.os.Build.VERSION.SDK_INT > 9) { StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder() .permitAll().build(); StrictMode.setThreadPolicy(policy); } super.onCreate(savedInstanceStat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinit();\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "@Override\n\tpublic void onActivit...
[ "0.791686", "0.77270156", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7637394", "0.7637394", "0.7629958", "0.76189965", "0.76189965", "0.7543775", "0.7540053", "0.7540053", "0.7539505", "0.75269467", "0.75147736", "0.7509639", "0.7500879",...
0.0
-1
TODO Autogenerated method stub
@SuppressWarnings("rawtypes") @Override public List<PoVO> searchData(List<? extends SearchObject> searchCriteria, int first, int pageSize, String sortField, boolean sortOrder) throws Exception { return poDAO.searchData(searchCriteria, first, pageSize, sortField, sortOrder); }
{ "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
@SuppressWarnings("rawtypes") @Override public Long searchCountData(List<? extends SearchObject> searchCriteria) throws Exception { return poDAO.searchCountData(searchCriteria); }
{ "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
Clear chart from previous commands.
public void clearDisplay() { placeHolder.getChildren().clear(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private synchronized void clearCanvasAndChart() {\n this.getLiveContext().clearRect(0, 0, this.getLiveCanvas().getWidth(), this.getLiveCanvas().getHeight());\n this.getxSeries().getData().clear();\n this.getySeries().getData().clear();\n }", "public void clear() {\r\n\t\t// Find the last ...
[ "0.7599824", "0.7579694", "0.7026725", "0.7018956", "0.6987867", "0.69769216", "0.68569696", "0.6774824", "0.6744138", "0.67145854", "0.67127496", "0.6710561", "0.6670131", "0.66136605", "0.6533998", "0.6507997", "0.65013766", "0.64930934", "0.64264315", "0.64164317", "0.6411...
0.0
-1
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 0073 in method: android.telephony.SmsCbCmasInfo.1.():void, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:248) at jadx.core.dex.nodes.Cl...
AnonymousClass1() { /* // Can't load method instructions: Load method exception: bogus opcode: 0073 in method: android.telephony.SmsCbCmasInfo.1.<init>():void, dex: */ throw new UnsupportedOperationException("Method not decompiled: android.telephony.SmsCbCmasInfo.1.<init...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchReg...
[ "0.745639", "0.74282616", "0.72877944", "0.72823274", "0.7262938", "0.7201054", "0.71927464", "0.7165032", "0.7154211", "0.7043476", "0.70373297", "0.70020854", "0.6857048", "0.67571175", "0.6751618", "0.6707356", "0.67070824", "0.66821116", "0.6671183", "0.641534", "0.639811...
0.6537713
19
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e9 in method: android.telephony.SmsCbCmasInfo.1.createFromParcel(android.os.Parcel):java.lang.Object, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(...
public /* bridge */ /* synthetic */ java.lang.Object createFromParcel(android.os.Parcel r1) { /* // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.telephony.SmsCbCmasInfo.1.createFromParcel(android.os.Parcel):java.lang.Object, dex: */ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchReg...
[ "0.7400239", "0.7318927", "0.7257005", "0.7231035", "0.7224697", "0.7179994", "0.7117856", "0.71065813", "0.7086101", "0.7014395", "0.69939154", "0.69698554", "0.6786796", "0.6712756", "0.67060554", "0.66863304", "0.666696", "0.6661797", "0.65814435", "0.6425193", "0.62612134...
0.6693047
15
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e9 in method: android.telephony.SmsCbCmasInfo.1.newArray(int):java.lang.Object[], dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:248) ...
public /* bridge */ /* synthetic */ java.lang.Object[] newArray(int r1) { /* // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.telephony.SmsCbCmasInfo.1.newArray(int):java.lang.Object[], dex: */ throw new UnsupportedOperation...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchReg...
[ "0.7415766", "0.7380102", "0.72735035", "0.7264194", "0.72595656", "0.7220699", "0.7176157", "0.7131568", "0.7083707", "0.7031815", "0.70273495", "0.6998053", "0.6801917", "0.67880255", "0.6782612", "0.6668348", "0.66493493", "0.6630863", "0.6571646", "0.64714813", "0.6412352...
0.6177169
24
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e6 in method: android.telephony.SmsCbCmasInfo.(int, int, int, int, int, int):void, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:248)...
public SmsCbCmasInfo(int r1, int r2, int r3, int r4, int r5, int r6) { /* // Can't load method instructions: Load method exception: bogus opcode: 00e6 in method: android.telephony.SmsCbCmasInfo.<init>(int, int, int, int, int, int):void, dex: */ throw new UnsupportedOperationException("M...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchReg...
[ "0.7450065", "0.73847264", "0.73153", "0.72992474", "0.7283066", "0.7223588", "0.7195455", "0.7190966", "0.713242", "0.7116642", "0.70878863", "0.70529836", "0.6897925", "0.6755991", "0.6737801", "0.67184645", "0.6704583", "0.6690024", "0.6675084", "0.65848786", "0.6449764", ...
0.5866373
34
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e9 in method: android.telephony.SmsCbCmasInfo.(android.os.Parcel):void, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:248) at jadx.co...
SmsCbCmasInfo(android.os.Parcel r1) { /* // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.telephony.SmsCbCmasInfo.<init>(android.os.Parcel):void, dex: */ throw new UnsupportedOperationException("Method not decompiled: android.telephony.SmsC...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchReg...
[ "0.74742204", "0.73575574", "0.73394954", "0.7289929", "0.7284905", "0.72324747", "0.71863", "0.7184145", "0.7109533", "0.706766", "0.70485854", "0.68974924", "0.6803906", "0.67830026", "0.6766718", "0.6764618", "0.67457974", "0.67271984", "0.66390884", "0.6533573", "0.632947...
0.7226354
6
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e3 in method: android.telephony.SmsCbCmasInfo.getCategory():int, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:248) at jadx.core.Proc...
public int getCategory() { /* // Can't load method instructions: Load method exception: bogus opcode: 00e3 in method: android.telephony.SmsCbCmasInfo.getCategory():int, dex: */ throw new UnsupportedOperationException("Method not decompiled: android.telephony.SmsCbCmasInfo.getCategory():...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchReg...
[ "0.7399575", "0.73255503", "0.72955894", "0.7240651", "0.7204717", "0.71964675", "0.7165094", "0.71464026", "0.7118265", "0.700933", "0.6931188", "0.69006586", "0.6825833", "0.6677786", "0.6660572", "0.6636159", "0.661479", "0.6601109", "0.65848655", "0.6423396", "0.6295467",...
0.0
-1
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e3 in method: android.telephony.SmsCbCmasInfo.getCertainty():int, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:248) at jadx.core.Pro...
public int getCertainty() { /* // Can't load method instructions: Load method exception: bogus opcode: 00e3 in method: android.telephony.SmsCbCmasInfo.getCertainty():int, dex: */ throw new UnsupportedOperationException("Method not decompiled: android.telephony.SmsCbCmasInfo.getCertainty...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int m22557b(java.lang.String r1) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.p...
[ "0.7474059", "0.73993057", "0.73539954", "0.7330659", "0.73207164", "0.73112655", "0.7207169", "0.7182624", "0.7120101", "0.70903707", "0.70290995", "0.68742365", "0.68457776", "0.67936146", "0.6710796", "0.67088234", "0.6693257", "0.66812676", "0.66675925", "0.654932", "0.63...
0.0
-1
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e3 in method: android.telephony.SmsCbCmasInfo.getMessageClass():int, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:248) at jadx.core....
public int getMessageClass() { /* // Can't load method instructions: Load method exception: bogus opcode: 00e3 in method: android.telephony.SmsCbCmasInfo.getMessageClass():int, dex: */ throw new UnsupportedOperationException("Method not decompiled: android.telephony.SmsCbCmasInfo.getMes...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int m22557b(java.lang.String r1) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.p...
[ "0.73920834", "0.7381227", "0.72286063", "0.72228396", "0.7201121", "0.71875083", "0.7125266", "0.71159846", "0.7082842", "0.70141655", "0.69133383", "0.6876106", "0.67653763", "0.6713281", "0.66798514", "0.6668661", "0.66678756", "0.6637125", "0.6568444", "0.64688367", "0.63...
0.6092623
24
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: null in method: android.telephony.SmsCbCmasInfo.getResponseType():int, dex: in method: android.telephony.SmsCbCmasInfo.getResponseType():int, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.d...
public int getResponseType() { /* // Can't load method instructions: Load method exception: null in method: android.telephony.SmsCbCmasInfo.getResponseType():int, dex: in method: android.telephony.SmsCbCmasInfo.getResponseType():int, dex: */ throw new UnsupportedOperationException("Met...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void m5813a(java.lang.String r2, java.lang.String r3, java.lang.String r4, boolean r5) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat j...
[ "0.71236306", "0.7118065", "0.7107143", "0.7105119", "0.7077062", "0.69907916", "0.6975776", "0.69381475", "0.6871574", "0.6842979", "0.66370976", "0.65948963", "0.65493804", "0.64776677", "0.6424897", "0.6412484", "0.64077944", "0.6273364", "0.61781865", "0.6075983", "0.5943...
0.470355
73
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: null in method: android.telephony.SmsCbCmasInfo.getSeverity():int, dex: in method: android.telephony.SmsCbCmasInfo.getSeverity():int, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes...
public int getSeverity() { /* // Can't load method instructions: Load method exception: null in method: android.telephony.SmsCbCmasInfo.getSeverity():int, dex: in method: android.telephony.SmsCbCmasInfo.getSeverity():int, dex: */ throw new UnsupportedOperationException("Method not deco...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int m22557b(java.lang.String r1) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.p...
[ "0.7171032", "0.71586055", "0.7138746", "0.7135658", "0.7099892", "0.7016193", "0.6957653", "0.69560903", "0.6894564", "0.68689257", "0.66333157", "0.6615927", "0.6590586", "0.65588075", "0.6505071", "0.6421302", "0.63131964", "0.62775457", "0.6234783", "0.6200844", "0.604462...
0.47074017
72
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e3 in method: android.telephony.SmsCbCmasInfo.getUrgency():int, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:248) at jadx.core.Proce...
public int getUrgency() { /* // Can't load method instructions: Load method exception: bogus opcode: 00e3 in method: android.telephony.SmsCbCmasInfo.getUrgency():int, dex: */ throw new UnsupportedOperationException("Method not decompiled: android.telephony.SmsCbCmasInfo.getUrgency():int...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int m22557b(java.lang.String r1) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.p...
[ "0.74535525", "0.74398154", "0.73208266", "0.73166317", "0.7298044", "0.7285898", "0.7177364", "0.71664006", "0.70879567", "0.70684147", "0.6940388", "0.6834154", "0.67893183", "0.6737264", "0.6691444", "0.6680759", "0.6679771", "0.6616211", "0.66046053", "0.6487333", "0.6319...
0.0
-1
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e9 in method: android.telephony.SmsCbCmasInfo.toString():java.lang.String, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:248) at jadx...
public java.lang.String toString() { /* // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.telephony.SmsCbCmasInfo.toString():java.lang.String, dex: */ throw new UnsupportedOperationException("Method not decompiled: android.telephony.SmsCbCma...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int m22557b(java.lang.String r1) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.p...
[ "0.7462492", "0.73815507", "0.72873867", "0.7276594", "0.72380465", "0.7225895", "0.71974087", "0.71245724", "0.706452", "0.6958669", "0.6917973", "0.69093597", "0.67217267", "0.6707783", "0.6681554", "0.665375", "0.6641048", "0.65851325", "0.65642685", "0.63832396", "0.63808...
0.550957
49
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e3 in method: android.telephony.SmsCbCmasInfo.writeToParcel(android.os.Parcel, int):void, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:118) at jadx.core.dex.nodes.ClassNode.load(ClassNode.ja...
public void writeToParcel(android.os.Parcel r1, int r2) { /* // Can't load method instructions: Load method exception: bogus opcode: 00e3 in method: android.telephony.SmsCbCmasInfo.writeToParcel(android.os.Parcel, int):void, dex: */ throw new UnsupportedOperationException("Method not de...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchReg...
[ "0.7400574", "0.727243", "0.7248495", "0.7205158", "0.7193429", "0.7160947", "0.7118251", "0.7108285", "0.70915985", "0.69939923", "0.6982695", "0.6960651", "0.67962664", "0.67841953", "0.6722279", "0.6722029", "0.67201483", "0.66782326", "0.665482", "0.6543726", "0.6390853",...
0.6255071
22
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu_main_activity2, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.79041415", "0.7806607", "0.7766601", "0.7726997", "0.76317257", "0.7621966", "0.75851256", "0.753119", "0.74884796", "0.7458151", "0.7458151", "0.74387676", "0.74214053", "0.74029565", "0.73919135", "0.73871326", "0.73794", "0.7370643", "0.73621583", "0.7356208", "0.734578...
0.0
-1
Get component description from Imex_Eir_Components table.
@Query(value = "SELECT " + " EIRComponentId, " + " Component, " + " AARCode " + " FROM Imex_Eir_Components " + " WHERE IsActive = 1 AND EIRTypeId = ?1", nativeQuery = true) List<Object> findEirComponent(Integer eirTypeId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getcDescription() {\n return cDescription;\n }", "public java.lang.String getDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)...
[ "0.6209789", "0.61691916", "0.6167053", "0.61601806", "0.61441296", "0.6081233", "0.6050372", "0.6048143", "0.6021349", "0.60202634", "0.60145515", "0.5989792", "0.5937548", "0.5937548", "0.5937548", "0.5937548", "0.5866159", "0.5854063", "0.5846904", "0.5793282", "0.5791505"...
0.0
-1
0 not shown 1 Don't show 2 later 3 already shown
public static void setPopupAction(int action) { setInt("app_popup_action", action); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setTVnotication()\n {\n if(countnoti == 0)\n {\n tv_none_notification.setVisibility(View.VISIBLE);\n }\n else\n if(countnoti > 0)\n {\n tv_none_notification.setVisibility(View.GONE);\n ...
[ "0.65967894", "0.6323193", "0.6257287", "0.62338156", "0.6186557", "0.6181748", "0.61384964", "0.6104404", "0.60942614", "0.6066467", "0.60584587", "0.6045596", "0.60455513", "0.6027053", "0.5997088", "0.5971538", "0.5946681", "0.59259415", "0.58641416", "0.58503526", "0.5840...
0.0
-1
returns list of address idz
private ArrayList<Long> storeTransactionInputs(long transactionId, ArrayList<TransactionInput> inputs, int isCoinbase){ int inputindex = 0; long previousOutputId; String prevOutputHash; ResultSet findOutputResults; ResultSet generatedKey; Long addressId; ArrayList<Long> addressIdz=new ArrayList<Lon...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "io.envoyproxy.envoy.data.dns.v3.DnsTable.AddressList getAddressList();", "public List getAddressList() {\r\n System.out.println(\"List Elements :\" + addressList);\r\n return addressList;\r\n }", "@Override\r\n\tpublic List<Map<String, String>> selectAddressList() {\n\t\treturn ado.selectAddressLi...
[ "0.6930199", "0.66089344", "0.6579302", "0.6483806", "0.6361663", "0.63558626", "0.63503045", "0.62218994", "0.618744", "0.6160108", "0.61273694", "0.6124867", "0.608685", "0.60689217", "0.60659647", "0.6055986", "0.5988422", "0.596184", "0.5889185", "0.58675736", "0.58571696...
0.0
-1
View view = inflater.inflate(R.layout.fragment_search, container, false);
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.inflate(R.layout.fragment_search, container, false); mContext = getContext(); try { if (ContextCompat.checkSelfPermission(getContext(), android.Manif...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_search, container, false);\n }", "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup conta...
[ "0.8747164", "0.8747164", "0.8747164", "0.8747164", "0.8747164", "0.86005646", "0.85308635", "0.84581035", "0.837557", "0.82857484", "0.815777", "0.8127318", "0.80988944", "0.80401903", "0.80391276", "0.7940104", "0.78728426", "0.7761806", "0.7735922", "0.7735922", "0.7594003...
0.0
-1
Posting parameters to login url
@Override protected Map<String, String> getParams() { Map<String, String> params = new HashMap<>(); params.put("resortName", resortName); params.put("latitude", String.valueOf(lat)); params.put("longitude", String.valueOf(lon)); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void postLoginPage() {\n post(\"/login\", \"application/json\", (req, res) -> {\n HomerAccount loggedInAccount = homerAuth.login(req.body());\n if(loggedInAccount != null) {\n req.session().attribute(\"account\", loggedInAccount);\n res.redi...
[ "0.713196", "0.6724636", "0.66864365", "0.6660524", "0.6596039", "0.6498359", "0.6412473", "0.6291899", "0.6263617", "0.6234136", "0.6226955", "0.6219553", "0.6196751", "0.61942387", "0.6141643", "0.61344206", "0.6127119", "0.60918045", "0.608945", "0.6077584", "0.60701054", ...
0.0
-1
Scan Field and declare Position to Wheat
public void scan(WheatField wheatField) { for(int i =0; i<wheatField.getFieldSize(); i++) { for(int j =0; j<wheatField.getFieldSize(); j++) { wheatField.field[i][j].setPosition(new Position(i,j)); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void scanFrame() {\n\n //Scanner inaktiv, så scanTimeren kan blive angivet i millisekunder.\n if (scannerInactive) {\n scanTimer = millis();\n }\n\n //Scanner bliver sat til aktiv, når timeren har nået den værdi angivet i timeBetweenScan.\n if (!scannerInactive)...
[ "0.55651605", "0.5391615", "0.5387931", "0.5385499", "0.53113705", "0.53059757", "0.5295495", "0.5243019", "0.523336", "0.52152413", "0.5195175", "0.51583594", "0.51527464", "0.5134114", "0.5130627", "0.5118016", "0.509308", "0.5079822", "0.507937", "0.50728035", "0.5068791",...
0.7731088
0
Sauvegarde le meilleur score par niveau de l'utilisateur.
public static Element saveScores(Utilisateur user) { Element score = new Element(SCORE_UTILISATEUR); score.setAttribute(NIVEAU_EN_COURS, Integer.toString(user.getNiveau().getId())); Map<Niveau, Integer> scoreASauvegarder = user.getMeilleursScores(); Set key = scoreASauvegarder.keySet(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int getScoreGame(SoupDTO sdto,String user) throws RemoteException {\n\t\t\n\t\tSoup s=dao.getSoup(sdto.getNombre());\n\t\tint score=s.calculatePuntuation(sdto.getArraywords());\n\t\tUser u=dao.getUser(user);\n\t\tdao.deleteUser(u.getUser());\n\t\tSystem.out.println(\"usuario eliminado\");\n\t\t...
[ "0.6571766", "0.6415548", "0.62368536", "0.62368536", "0.62368536", "0.62368536", "0.62089396", "0.62027436", "0.6133481", "0.6133481", "0.6081144", "0.6062557", "0.6062069", "0.6053389", "0.6046611", "0.6037165", "0.60319257", "0.6027642", "0.60256404", "0.60023177", "0.5988...
0.59704286
21
CHECKSTYLE:ON Utility classes should have private constructor.
private DataClayMockObject() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Util() { }", "private Util() {\n }", "private Utility() {\n throw new IllegalAccessError();\n }", "private Util()\n {\n // Empty default ctor, defined to override access scope.\n }", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private Utils() {}"...
[ "0.8242475", "0.8203449", "0.8203016", "0.8196564", "0.815824", "0.815824", "0.815824", "0.815824", "0.8136657", "0.8136657", "0.8127561", "0.8056688", "0.8029676", "0.8029676", "0.7936414", "0.7936414", "0.7936414", "0.7936414", "0.7936414", "0.783999", "0.7813507", "0.769...
0.0
-1
Add common lib to use by current thread
public static void setCurrentThreadLib(final DataClayRuntime dsLib) { commonLibs.set(dsLib); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void removeCurrentThreadLib() {\n\t\tcommonLibs.remove();\n\t}", "private ThreadUtil() {\n throw new UnsupportedOperationException(\"This class is non-instantiable\"); //$NON-NLS-1$\n }", "public void addFromLibrary() {\n btAddFromLibrary().push();\n }", "private ThreadUtil(...
[ "0.61400783", "0.58081156", "0.5774886", "0.56212044", "0.5560832", "0.5547106", "0.55255264", "0.55220455", "0.5518781", "0.549127", "0.5490164", "0.54678804", "0.54628986", "0.5452272", "0.5357336", "0.5355295", "0.5332274", "0.529564", "0.52779955", "0.52665156", "0.526128...
0.58037305
2
Remove common lib to use by current thread
public static void removeCurrentThreadLib() { commonLibs.remove(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RemoteLibrary removeLibrary(String path);", "public static void clearRegistry() {\n \t\tLIBRARIES.clear();\n \t}", "@VisibleForTesting\n public void cleanup() {\n cleanupNative();\n }", "void removeFramework(FrameworkContext fw) {\n bundleHandler.removeFramework(fw);\n synchronized ...
[ "0.62010497", "0.57812625", "0.57755643", "0.57625335", "0.56098163", "0.5595524", "0.55844206", "0.55479413", "0.5487449", "0.54306775", "0.5417301", "0.5412518", "0.5399868", "0.53928804", "0.53838754", "0.5368017", "0.53370506", "0.5309508", "0.53014505", "0.5297542", "0.5...
0.876577
0
Get DataService client library
public static DataClayRuntime getLib() { final DataClayRuntime clib = commonLibs.get(); return clib; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private DocsService getDocsService() throws DocumentServiceException {\n\tAuthenticationToken token = this.store.getUserToken();\n\tif (token == null) {\n\t throw new DocumentServiceException(\"Service requires authentication.\");\n\t}\n\tPrivateKey key = AuthenticationKey.getAuthSubKey();\n DocsService svc = ...
[ "0.6298551", "0.6278055", "0.6251516", "0.5972761", "0.5921641", "0.5898669", "0.58565575", "0.5800138", "0.571229", "0.55947286", "0.5524954", "0.5494954", "0.5469551", "0.54612887", "0.5428958", "0.5418667", "0.5386748", "0.5386748", "0.5386748", "0.5351797", "0.53407717", ...
0.54862016
12
Constructs a new Virtual Machine test case with the given name.
public VirtualMachineTest(String name) { super(name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TestCase(String name) {\n\t\tsetName(name);\n\t}", "public FSMTest(String name) {\n\t\tsuper(name);\n\t}", "VM createVM();", "public TestCase(String name) {\n fName= name;\n }", "public PlanillaTest(String name) {\n\t\tsuper(name);\n\t}", "public MyVM(String virtual_machine_name)\n ...
[ "0.67046326", "0.65910697", "0.637839", "0.6319372", "0.6218628", "0.60766685", "0.6061008", "0.5940754", "0.5906029", "0.5903359", "0.58997375", "0.5873118", "0.58464384", "0.57440263", "0.57089406", "0.5699339", "0.56838584", "0.5651486", "0.562236", "0.5611509", "0.557816"...
0.7637485
0
Sets the fixture for this Virtual Machine test case.
protected void setFixture(VirtualMachine fixture) { this.fixture = fixture; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setFixture(PropertyInstance fixture) {\n\t\tthis.fixture = fixture;\n\t}", "protected void setFixture(DatabaseOptions fixture) {\n\t\tthis.fixture = fixture;\n\t}", "protected void setFixture(FSM fixture) {\n\t\tthis.fixture = fixture;\n\t}", "protected void setFixture(SaveParameters fixture) ...
[ "0.7827847", "0.76394135", "0.75886136", "0.75130814", "0.74368376", "0.73793316", "0.735162", "0.7350537", "0.73028165", "0.7282391", "0.7265383", "0.7229969", "0.7171301", "0.7131856", "0.71278375", "0.71164477", "0.69965214", "0.6987727", "0.6936175", "0.67299557", "0.6705...
0.8338356
0
Returns the fixture for this Virtual Machine test case.
protected VirtualMachine getFixture() { return fixture; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected FSM getFixture() {\n\t\treturn fixture;\n\t}", "protected SokobanService getFixture() {\n\t\treturn fixture;\n\t}", "protected PropertyInstance getFixture() {\n\t\treturn fixture;\n\t}", "protected SaveParameters getFixture() {\n\t\treturn fixture;\n\t}", "protected DatabaseOptions getFixture() {...
[ "0.7695638", "0.7431769", "0.73985225", "0.729029", "0.72051203", "0.71935135", "0.7176817", "0.7153596", "0.711346", "0.7108122", "0.6962039", "0.69570947", "0.6902645", "0.684404", "0.6843788", "0.6830413", "0.67919105", "0.6753043", "0.6699138", "0.66980654", "0.66721773",...
0.8472164
0
/ / / / / / /
public void renderTileEntityAt(TileGolemBuilder tile, double par2, double par4, double par6, float pt, int destroyStage) { /* 41 */ GL11.glPushMatrix(); /* 42 */ GL11.glTranslatef((float)par2 + 0.5F, (float)par4, (float)par6 + 0.5F); /* 43 */ GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); /* */ /* 45 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int parent(int i){return (i-1)/2;}", "private int leftChild(int i){return 2*i+1;}", "public void divide() {\n\t\t\n\t}", "public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }", "private int rightChild(int i){return 2*i+2;}", "public abstract void b...
[ "0.54567957", "0.53680295", "0.53644985", "0.52577376", "0.52142847", "0.51725817", "0.514088", "0.50868535", "0.5072305", "0.504888", "0.502662", "0.50005764", "0.49740013", "0.4944243", "0.4941118", "0.4937142", "0.49095523", "0.48940238", "0.48719338", "0.48613623", "0.486...
0.0
-1
/ / / /
public void func_192841_a(TileEntity te, double x, double y, double z, float partialTicks, int destroyStage, float alpha) { /* 109 */ super.func_192841_a(te, x, y, z, partialTicks, destroyStage, alpha); /* 110 */ renderTileEntityAt((TileGolemBuilder)te, x, y, z, partialTicks, destroyStage); /* */ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void divide() {\n\t\t\n\t}", "public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}", "public abstract String division();", "public void division() {\n\t\tx=1;\n\t\ty=0;\n\t\tz=x/y;\n\t\t\t\t\n\t}", "private boolean slash() {\r\n return MARK(OPERATOR) ...
[ "0.5906264", "0.55749613", "0.5428019", "0.53241616", "0.5294036", "0.527193", "0.52582306", "0.5256754", "0.51585066", "0.5141374", "0.51100975", "0.5097357", "0.5026707", "0.50235814", "0.50100124", "0.49757177", "0.4967908", "0.49668512", "0.4931213", "0.49272057", "0.4915...
0.0
-1
QuaryShaeBean bean = (QuaryShaeBean) item; Intent intent = new Intent(mContext, CommunityActivity1.class); intent.putExtra("userCodeOthers", bean.getUserCode()); SystemUtils.gotoActivity(mContext, intent);
@Override public void onClick(View v) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View v) {\n\n Intent intent1=new Intent(mContext,ProfileActivity.class);\n intent1.putExtra(\"uid\",String.valueOf(item.getUid()));\n mContext.startActivity(intent1);\n\n }", "@Override\n ...
[ "0.70199555", "0.6868878", "0.68680435", "0.6816812", "0.6722975", "0.6684235", "0.66772825", "0.6666699", "0.65862375", "0.65264946", "0.65173703", "0.6512742", "0.64932525", "0.6478364", "0.64740914", "0.64663714", "0.64526576", "0.64305437", "0.6426816", "0.6396855", "0.63...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { List<String> result = new ArrayList<>(); result = validParentheses(3, 2, 2); for (String str : result) { System.out.println(str); } }
{ "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
/ JADX WARNING: inconsistent code. / Code decompiled incorrectly, please refer to instructions dump.
public void close() throws java.io.IOException { /* r8 = this; r0 = c; if (r0 != 0) goto L_0x0012; L_0x0004: r0 = okhttp3.internal.http2.Http2Stream.this; r0 = java.lang.Thread.holdsLock(r0); if (r0 == 0) goto L_0x0012; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2247() {\r\n // $FF: Couldn't be decom...
[ "0.7616782", "0.75728166", "0.7525724", "0.74507046", "0.74505866", "0.74373597", "0.7381616", "0.7381616", "0.7366568", "0.735341", "0.73420185", "0.73150736", "0.7308675", "0.73055106", "0.7274724", "0.72523946", "0.72216254", "0.71979403", "0.7177258", "0.7136552", "0.7106...
0.0
-1
/ JADX WARNING: inconsistent code. / Code decompiled incorrectly, please refer to instructions dump.
public long read(okio.Buffer r8, long r9) throws java.io.IOException { /* r7 = this; r0 = 0; r2 = (r9 > r0 ? 1 : (r9 == r0 ? 0 : -1)); if (r2 >= 0) goto L_0x001d; L_0x0006: r8 = new java.lang.IllegalArgumentException; r0 = new j...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2247() {\r\n // $FF: Couldn't be decom...
[ "0.76186955", "0.7574658", "0.75274396", "0.7452534", "0.7452193", "0.74393076", "0.73833907", "0.73833907", "0.7368519", "0.73552835", "0.73439133", "0.73165375", "0.73090357", "0.730721", "0.7274665", "0.7254152", "0.7223153", "0.7199536", "0.71792763", "0.7138364", "0.7107...
0.0
-1
Returns the current state.
public int getState();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public S getCurrentState();", "public String getCurrentState() {\n\t\treturn currentState;\n\t}", "public State getCurrentState() {\n \t\treturn currentState;\n \t}", "public int getCurrentState() {\n return myState;\n }", "public State getCurrentState() {\n\t\treturn currentState;\n\t}", "public Sta...
[ "0.88055235", "0.86889833", "0.86311144", "0.8539929", "0.85241705", "0.85241705", "0.8467464", "0.8467235", "0.8432035", "0.83880883", "0.83880883", "0.831835", "0.8290371", "0.8290371", "0.8290371", "0.8290371", "0.82361794", "0.8225317", "0.8212102", "0.82054424", "0.82054...
0.8130145
32
Add a listener to this messenger, which will be notified when the state of the messenger changes. This can be used to detect when network errors occur asynchronously, rather than blocking in waitState
void addStateListener(MessengerStateListener listener);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void setListener() {\n input.setInputListener(this);\r\n\r\n //bind load more listener, it will track scroll up\r\n messagesAdapter.setLoadMoreListener(this);\r\n\r\n //bind on message long click\r\n messagesAdapter.setOnMessageLongClickListener(this);\r\n...
[ "0.63850033", "0.61281043", "0.60007244", "0.57629794", "0.57037157", "0.5688038", "0.5673765", "0.5656362", "0.56436986", "0.56318843", "0.5618067", "0.56025386", "0.5599683", "0.5568689", "0.5541221", "0.55404335", "0.5538015", "0.55204606", "0.5518258", "0.5493374", "0.549...
0.70011324
0
Remove a previously added listener. If the listener is already removed, this has no effect.
void removeStateListener(MessengerStateListener listener);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void removeListener() {\n this.mListener = null;\n }", "public void removeListener(T listener);", "public void unregisterListener() {\n\t\tthis.listener = null;\n\t}", "@Override\r\n\tpublic synchronized void unregisterListener(EventListener<T> listener) {\n\t\tlisteners.remov...
[ "0.83480847", "0.799702", "0.7754363", "0.77066547", "0.7704812", "0.7701951", "0.768185", "0.7636852", "0.7619955", "0.75920355", "0.7588093", "0.7564986", "0.75541025", "0.7472906", "0.74457157", "0.74146044", "0.74065965", "0.7397265", "0.73923254", "0.73735076", "0.737265...
0.0
-1
Returns the destination of this messenger.
EndpointAddress getDestinationAddress();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getDestination() {\r\n\t\treturn this.destination;\r\n\t}", "public String getDestination() {\r\n\t\treturn destination;\r\n\t}", "public String destination() {\n return this.destination;\n }", "public String getDestination() {\n\t\treturn destination;\n\t}", "public String getDesti...
[ "0.8080777", "0.80225194", "0.80035126", "0.7964448", "0.79566944", "0.79494244", "0.79473203", "0.7944731", "0.7916468", "0.7913281", "0.7882448", "0.7869979", "0.7782862", "0.77462816", "0.7418537", "0.7416352", "0.7408566", "0.7393253", "0.73811615", "0.7328345", "0.732479...
0.0
-1
Force the messenger to start resolving if it is not resolved yet. Any attempt at sending a message has the same effect, but the message may fail as a result, depending upon the method used.
void resolve();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic Service upstreamDeliverMsgPluginManagerServiceInit() {\n\t\treturn null;\n\t}", "public void start() {\n this.messenger.start();\n }", "@Override\r\n\tprotected void doResolve() {\n\r\n\t}", "public abstract void resolve();", "public void resolve()\n {\n /* The compl...
[ "0.5580518", "0.5491866", "0.5406021", "0.5307152", "0.53007007", "0.52887666", "0.5206533", "0.51609504", "0.51470435", "0.51396966", "0.5061334", "0.5041387", "0.501093", "0.49962425", "0.49645627", "0.49556258", "0.4949036", "0.49429584", "0.49374574", "0.4929059", "0.4919...
0.5341674
3
Get all the resourceUsers.
@Transactional(readOnly = true) public Page<ResourceUserDTO> findAll(Pageable pageable) { log.debug("Request to get all ResourceUsers"); return resourceUserRepository.findAll(pageable) .map(resourceUserMapper::toDto); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(path=\"/all\")\n\tpublic @ResponseBody Iterable<Resource> getAllUsers() {\n\t\treturn resourceRepository.findAll();\n\t}", "public List<User> getAllUsers() {\n return users;\n }", "@Override\n\tpublic List<ERS_USERS> getAll() {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<ERSUser>...
[ "0.8031217", "0.78440946", "0.7801169", "0.7800666", "0.77722377", "0.7737623", "0.7721747", "0.768424", "0.76690394", "0.76661325", "0.7654251", "0.7650839", "0.76272", "0.76154685", "0.76080453", "0.75954056", "0.75912565", "0.7587674", "0.7566605", "0.75622475", "0.7555756...
0.0
-1
Get all the resourceUsers by catalogUserID.
@Transactional(readOnly = true) public Page<ResourceUserDTO> findAllByCatalogUser(Long id, Pageable pageable) { log.debug("Request to get all ResourceUsers by catalogId"); return resourceUserRepository.findByCatalogUserId(id, pageable) .map(resourceUserMapper::toDto); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String[] getAllUsers(Context context) {\r\n\r\n\t\tUri contentUri = Uri.withAppendedPath(EquestProvider.CONTENT_URI,\r\n\t\t\t\tEquestDbHelper.USER_TABLE);\r\n\t\tCursor cursor = context.getContentResolver().query(contentUri,\r\n\t\t\t\tnew String[] { EquestDbHelper.USERID }, null, null, null);\r\n\t...
[ "0.61772156", "0.61600477", "0.6139936", "0.61161304", "0.61141235", "0.6102059", "0.60988957", "0.6084825", "0.60832137", "0.6077741", "0.6065973", "0.6064321", "0.6049549", "0.60387987", "0.6035473", "0.60237575", "0.60197717", "0.6006013", "0.600375", "0.60032636", "0.6000...
0.6441535
0
Get all the resourceUsers by resourceType.
@Transactional(readOnly = true) public Page<ResourceUserDTO> findAllByResourceType(String resourceType, Pageable pageable) { log.debug("Request to get all ResourceUsers by catalogId"); ResourceEnum resourceEnum = ResourceEnum.valueOf(resourceType); return resourceUserRepository.findByResourceEnum(resourceEnum, p...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(path=\"/all\")\n\tpublic @ResponseBody Iterable<Resource> getAllUsers() {\n\t\treturn resourceRepository.findAll();\n\t}", "Iterable<User> getAllUsers();", "public List getAllUsers();", "List<User> getUsers();", "List<User> getUsers();", "public List<User> getAllUsers();", "public RealmResu...
[ "0.6568216", "0.64166605", "0.6314369", "0.6298148", "0.6298148", "0.62742895", "0.6224165", "0.618237", "0.61785746", "0.61785746", "0.61307603", "0.6118058", "0.6095222", "0.60944784", "0.6094095", "0.6089949", "0.608613", "0.6079358", "0.6076056", "0.60574067", "0.6046233"...
0.7377609
0
Get one resourceUser by id.
@Transactional(readOnly = true) public Optional<ResourceUserDTO> findOne(Long id) { log.debug("Request to get ResourceUser : {}", id); return resourceUserRepository.findById(id) .map(resourceUserMapper::toDto); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic User getOne(Integer id) {\n\t\treturn userDao.getOne(id);\n\t}", "public User findOneUser(int id) {\n\t\treturn userMapper.findOneUser(id);\r\n\t}", "public User getUser(String id) {\n return repository.getUser(id).get(0);\n }", "public User getById(int id) {\n\t\treturn userDao...
[ "0.79223806", "0.7714266", "0.7704216", "0.7639238", "0.7638339", "0.7601856", "0.75952405", "0.75926065", "0.7592391", "0.7584012", "0.75813323", "0.75790995", "0.7567171", "0.7536655", "0.7535018", "0.7526765", "0.75106823", "0.75074655", "0.74992603", "0.7478279", "0.74754...
0.7798904
1
Delete the resourceUser by id.
public void delete(Long id) { log.debug("Request to delete ResourceUser : {}", id); resourceUserRepository.deleteById(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void deleteUserById(Integer id);", "public void deleteUser(Integer id) throws BadRequestException;", "void deleteUserById(Long id);", "@Override\n\tpublic void deleteUserById(Integer id) {\n\n\t}", "@Override\n\tpublic void deleteUser(int id) {\n\t\tuserMapper.deleteUser(id);\n\t}", "@Override\r\n\tpubli...
[ "0.792499", "0.78317785", "0.77806485", "0.765825", "0.7605568", "0.759253", "0.7548717", "0.75192803", "0.7515283", "0.74879783", "0.74687284", "0.74344504", "0.742062", "0.74197084", "0.7410132", "0.7405305", "0.7348255", "0.7347391", "0.7339992", "0.7338043", "0.73203504",...
0.8458537
0
Value injected by FXMLLoader
@Override // This method is called by the FXMLLoader when initialization is complete public void initialize(URL fxmlFileLocation, ResourceBundle resources) { assert actionHolderPane != null : "fx:id=\"actionHolderPane\" was not injected: check your FXML file 'UpdateCatalogue.fxml'."; assert bookInfo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void initialize() {\n \n }", "@FXML\n private void initialize() {\n }", "@FXML\n private void initialize() {\n }", "@FXML\n\tprivate void initialize() {\n\t\t\n\t}", "@FXML\n\tprivate void initialize() {\n\t\t\n\t}", "@FXML\n\tprivate void initialize(){\n\t}", "...
[ "0.6391196", "0.63208854", "0.63208854", "0.61863345", "0.61863345", "0.6185687", "0.6169484", "0.61002916", "0.60714", "0.60669005", "0.5974037", "0.5895145", "0.5890441", "0.5824775", "0.5785934", "0.57176226", "0.5711205", "0.56929815", "0.56616384", "0.5635898", "0.561941...
0.0
-1
Handler for Button[fx:id="getCopyDetailsButton"] onAction
public void handleGetCopyDetailsButtonAction(ActionEvent event) { String copyID = updateCopyID.getText(); try{ //get the details from mgr HashMap copyInfo = updateMgr.getCopyDetails(copyID); //display on the fields updateCopyLocation.setText((String)(copyI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void copySelected_btn_action(ActionEvent event) {\n Messages.warningText(\"Under construction\");\n }", "public void handleUpdateCopyButtonAction(ActionEvent event) {\n //delete all panes on actionHolderPane and add the updateCopyPane\n setAllChildrenInvisible();\n ...
[ "0.71449554", "0.68654263", "0.6685731", "0.64402103", "0.6294072", "0.6183736", "0.6164928", "0.6136853", "0.6052947", "0.59913915", "0.5919593", "0.5882792", "0.58366686", "0.57026315", "0.5682883", "0.56827193", "0.56232065", "0.55914694", "0.5585759", "0.5574202", "0.5568...
0.7700175
0
Handler for Button[fx:id="getItemDetailsButton"] onAction
public void handleGetItemDetailsButtonAction(ActionEvent event) { String itemID = updateItemItemID.getText(); try{ //get the details from mgr HashMap itemInfo = updateMgr.getItemInfo(itemID); //display on the fields updateItemTitle.setText((String)itemInfo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n public void Show_Completed_Items(ActionEvent actionEvent) {\n }", "@FXML\r\n private void handleButtonAction(ActionEvent event) {\n }", "public void buttonLoadList(ActionEvent actionEvent) {\n }", "public void buttonAction(MouseEvent event) {\n\t\tObservableList<String> names;\n\t\tnam...
[ "0.64512175", "0.63259256", "0.6222368", "0.61662316", "0.6130477", "0.6091831", "0.60794705", "0.60592335", "0.6059158", "0.60030246", "0.5999582", "0.594314", "0.5924862", "0.5901393", "0.58905447", "0.58463085", "0.5809881", "0.5803064", "0.57863605", "0.5772999", "0.57705...
0.76475614
0
Handler for Button[fx:id="newCopyButton"] onAction
public void handleNewCopyButtonAction(ActionEvent event) { //delete all panes on actionHolderPane and add the newCopyPane setAllChildrenInvisible(); newCopyPane.setVisible(true); this.handleOnShowAnimation(actionHolderPane); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void copySelected_btn_action(ActionEvent event) {\n Messages.warningText(\"Under construction\");\n }", "public void handleUpdateCopyButtonAction(ActionEvent event) {\n //delete all panes on actionHolderPane and add the updateCopyPane\n setAllChildrenInvisible();\n ...
[ "0.7656267", "0.74934816", "0.69444174", "0.66533375", "0.66268057", "0.65773964", "0.649281", "0.6358606", "0.6317831", "0.62016076", "0.61502755", "0.6124789", "0.61206275", "0.6101755", "0.60623163", "0.6050056", "0.60086954", "0.5909042", "0.59028006", "0.58474386", "0.58...
0.7776025
0
Handler for Button[fx:id="newCopyConfirmButton"] onAction
public void handleNewCopyConfirmButtonAction(ActionEvent event) { try{ String itemID = newCopyItemID.getText(); String location = newCopyLocation.getText(); updateMgr.addNewCopy(itemID, location); this.displaySuccess("New Copy Added", "A new copy for " + itemID + ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void copySelected_btn_action(ActionEvent event) {\n Messages.warningText(\"Under construction\");\n }", "public void handleUpdateCopyConfirmButtonAction(ActionEvent event) {\n try {\n String copyID = this.tempCopyID;\n String location = updateCopyLocation...
[ "0.76660234", "0.7478707", "0.7343587", "0.7270695", "0.71326816", "0.65466887", "0.64814246", "0.6427452", "0.6165473", "0.61173856", "0.6113884", "0.60923266", "0.6013974", "0.60126054", "0.6004512", "0.5972046", "0.59588224", "0.59554064", "0.5928615", "0.59130794", "0.586...
0.7608728
1
Handler for Button[fx:id="newItemButton"] onAction
public void handleNewItemButtonAction(ActionEvent event) { //delete all panes on actionHolderPane and add the newItemPane setAllChildrenInvisible(); newItemPane.setVisible(true); this.handleOnShowAnimation(actionHolderPane); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n public void buttonAddItem(ActionEvent actionEvent) {\n //adds a list item to the table\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\taddNewItem();\n\t\t\t}", "public void createNewItem(ActionEvent actionEvent) {\n // we will create a new item insta...
[ "0.7390355", "0.68614537", "0.6811631", "0.6759739", "0.6732837", "0.67327833", "0.66720974", "0.65848625", "0.6578402", "0.65298253", "0.6508996", "0.6481263", "0.6369546", "0.6333908", "0.63233507", "0.6322368", "0.6316724", "0.6257298", "0.6254828", "0.6226574", "0.6214433...
0.7384131
1
Handler for Button[fx:id="newItemConfirm"] onAction
public void handleNewItemConfirmAction(ActionEvent event) { try{ String title = newItemTitle.getText(); String author = newItemAuthor.getText(); GregorianCalendar publishDate = parseDate(newItemPublishDate.getText()); String description = newItemDescription.getTex...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void handleConfirmEvent() {\n this.confirm = new Button(\"Add Food\");\n confirm.setOnAction(e2 -> {\n boolean valid = checkInputValidity();\n // if the inputs failed the validation test\n // return without calling refresh method to add a new food data\n if (valid == false)\n ...
[ "0.72165346", "0.7056961", "0.70141494", "0.69581324", "0.6892635", "0.68063045", "0.680093", "0.6733911", "0.6644769", "0.66167694", "0.6601539", "0.65992296", "0.65765464", "0.6550007", "0.65250707", "0.6471142", "0.6423211", "0.6420056", "0.6396897", "0.63913333", "0.63657...
0.7111338
1
Handler for Button[fx:id="updateCopyButton"] onAction
public void handleUpdateCopyButtonAction(ActionEvent event) { //delete all panes on actionHolderPane and add the updateCopyPane setAllChildrenInvisible(); updateCopyPane.setVisible(true); this.handleOnShowAnimation(actionHolderPane); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void copySelected_btn_action(ActionEvent event) {\n Messages.warningText(\"Under construction\");\n }", "public void handleUpdateCopyConfirmButtonAction(ActionEvent event) {\n try {\n String copyID = this.tempCopyID;\n String location = updateCopyLocation...
[ "0.7322826", "0.717158", "0.70093226", "0.6927134", "0.67143714", "0.6606205", "0.6379726", "0.63142085", "0.62537086", "0.624517", "0.6052355", "0.6033286", "0.6026354", "0.6012813", "0.5949486", "0.5906762", "0.5874554", "0.5755539", "0.57305515", "0.57169366", "0.567641", ...
0.77441406
0
Handler for Button[fx:id="updateCopyConfirmButton"] onAction
public void handleUpdateCopyConfirmButtonAction(ActionEvent event) { try { String copyID = this.tempCopyID; String location = updateCopyLocation.getText(); updateMgr.updateCopy(copyID, location); this.displaySuccess("Updated", "Copy information has successfully be...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleUpdateCopyButtonAction(ActionEvent event) {\n //delete all panes on actionHolderPane and add the updateCopyPane\n setAllChildrenInvisible();\n updateCopyPane.setVisible(true);\n this.handleOnShowAnimation(actionHolderPane);\n }", "@FXML\n private void copySelec...
[ "0.7430195", "0.73581356", "0.73230505", "0.7318663", "0.67820513", "0.66287446", "0.6606227", "0.6512771", "0.63621", "0.6339001", "0.62426865", "0.6029774", "0.59223753", "0.58905965", "0.5885969", "0.58734983", "0.58364254", "0.5813362", "0.58047247", "0.580073", "0.574067...
0.7928203
0
Handler for Button[fx:id="updateCopyDeleteButton"] onAction
public void handleUpdateCopyDeleteButtonAction(ActionEvent event) { confirmHeader.setText("Confirm delete action"); String text = "are you sure you want to update this copy?"; confirmText.setText(text); confirmPane.setVisible(true); maskPane.setVisible(true); this.handleO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleUpdateCopyButtonAction(ActionEvent event) {\n //delete all panes on actionHolderPane and add the updateCopyPane\n setAllChildrenInvisible();\n updateCopyPane.setVisible(true);\n this.handleOnShowAnimation(actionHolderPane);\n }", "void deleteButton_actionPerformed...
[ "0.70949054", "0.6946229", "0.6804002", "0.680183", "0.6719952", "0.6698926", "0.669655", "0.66734993", "0.66684407", "0.6667083", "0.6539907", "0.64270747", "0.64114594", "0.63922507", "0.6383069", "0.63393104", "0.631671", "0.63051283", "0.63049793", "0.63007164", "0.628489...
0.72735506
0
Handler for Button[fx:id="updateItemButton"] onAction
public void handleUpdateItemButtonAction(ActionEvent event) { //delete all panes on actionHolderPane and add the updateItemPane setAllChildrenInvisible(); updateItemPane.setVisible(true); this.handleOnShowAnimation(actionHolderPane); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleUpdateItemConfirmButtonAction(ActionEvent event) {\n try{\n String itemID = this.tempItemID;\n String title = updateItemTitle.getText();\n String author = updateItemAuthor.getText();\n GregorianCalendar publishDate = parseDate(updateItemPublishDa...
[ "0.6771962", "0.6706389", "0.65893817", "0.65828997", "0.65045553", "0.6469797", "0.632374", "0.62438124", "0.61879796", "0.61711377", "0.61523587", "0.61508363", "0.6144626", "0.6142877", "0.6130017", "0.612743", "0.6112662", "0.6075349", "0.60654104", "0.60441417", "0.60180...
0.7690118
0
Handler for Button[fx:id="updateItemConfirmButton"] onAction
public void handleUpdateItemConfirmButtonAction(ActionEvent event) { try{ String itemID = this.tempItemID; String title = updateItemTitle.getText(); String author = updateItemAuthor.getText(); GregorianCalendar publishDate = parseDate(updateItemPublishDate.getText...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleUpdateItemDeleteButtonAction(ActionEvent event) {\n confirmHeader.setText(\"Confirm delete action\");\n String text = \"are you sure you want to update this item?\";\n confirmText.setText(text);\n confirmPane.setVisible(true);\n maskPane.setVisible(true);\n ...
[ "0.7405564", "0.7344036", "0.70443106", "0.69266164", "0.67942095", "0.6756142", "0.6676301", "0.64361393", "0.6307914", "0.6307883", "0.6307282", "0.6297693", "0.6271994", "0.6238391", "0.6234029", "0.623139", "0.6185831", "0.61520684", "0.6147038", "0.6115825", "0.6098462",...
0.76124465
0
Handler for Button[fx:id="updateItemDeleteButton"] onAction
public void handleUpdateItemDeleteButtonAction(ActionEvent event) { confirmHeader.setText("Confirm delete action"); String text = "are you sure you want to update this item?"; confirmText.setText(text); confirmPane.setVisible(true); maskPane.setVisible(true); this.handleO...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n public void Delete_Item(ActionEvent actionEvent) {\n }", "void deleteButton_actionPerformed(ActionEvent e) {\n doDelete();\n }", "@FXML\n public void Delete_List(ActionEvent actionEvent) {\n }", "@FXML\n private void handleDeleteRecordButton(ActionEvent e) {\n deleteRecord()...
[ "0.7903113", "0.75092614", "0.73453146", "0.7341689", "0.73068035", "0.715089", "0.71506613", "0.71501005", "0.6926427", "0.6868899", "0.68574584", "0.6830761", "0.68268543", "0.68113047", "0.680501", "0.6752792", "0.6717485", "0.6658483", "0.6649063", "0.6624892", "0.6621036...
0.73551065
2
Handler for Button[fx:id="noConfirm"] onAction
public void handleNoConfirmButtonAction(ActionEvent event) { confirmPane.setVisible(false); maskPane.setVisible(false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleYesConfirmButtonAction(ActionEvent event) {\n if (updateItemPane.isVisible()){\n deleteItem();\n this.clearUpdateItemFields();\n }\n else if(updateCopyPane.isVisible()){\n deleteCopy();\n this.clearUpdateCopyFields();\n }\n ...
[ "0.7171185", "0.70714575", "0.6742608", "0.65661275", "0.65286034", "0.6495994", "0.64858985", "0.6465183", "0.64255434", "0.6387225", "0.6384973", "0.63299876", "0.62926686", "0.6291144", "0.62813354", "0.62527144", "0.6234814", "0.6233541", "0.62302697", "0.62291634", "0.62...
0.74746835
0
Handler for Button[fx:id="yesConfirm"] onAction
public void handleYesConfirmButtonAction(ActionEvent event) { if (updateItemPane.isVisible()){ deleteItem(); this.clearUpdateItemFields(); } else if(updateCopyPane.isVisible()){ deleteCopy(); this.clearUpdateCopyFields(); } maskPane...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void handleConfirmEvent() {\n this.confirm = new Button(\"Add Food\");\n confirm.setOnAction(e2 -> {\n boolean valid = checkInputValidity();\n // if the inputs failed the validation test\n // return without calling refresh method to add a new food data\n if (valid == false)\n ...
[ "0.69772375", "0.68334067", "0.665744", "0.6655454", "0.6612902", "0.6533617", "0.65130275", "0.64730155", "0.6471139", "0.646196", "0.64512277", "0.6349293", "0.6346381", "0.63441825", "0.63385373", "0.6325803", "0.63178617", "0.63057536", "0.63027936", "0.63027036", "0.6299...
0.7628326
0
================== CONSTRUCTORS ================== //
public Rectangle() { this.corner = new Point(); this.size = new Point(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private TMCourse() {\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "private stendhal() {\n\t}", "@Override\n void init() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public contrustor(){\r\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n public void init() {\...
[ "0.6269564", "0.623766", "0.6231259", "0.622882", "0.62146914", "0.62101424", "0.6200543", "0.61754316", "0.6151464", "0.61451715", "0.6144957", "0.6144888", "0.61222976", "0.60984", "0.60877645", "0.60865474", "0.60865474", "0.60865474", "0.60865474", "0.60865474", "0.608654...
0.0
-1
=================== ACCESSORS =================== //
public Point getCorner() { return corner; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@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\tpublic void grabar() {\n\t\t\n\t}", "@Override\n void init() {\n }", "@Override\n public void init() {\n\n }", "@Override\n public void perish() {...
[ "0.64251214", "0.62281954", "0.62184674", "0.6177503", "0.61669093", "0.61076397", "0.6104441", "0.60817564", "0.6077795", "0.6077795", "0.6077795", "0.6077795", "0.6077795", "0.6077795", "0.60589343", "0.6039225", "0.60345864", "0.60222393", "0.6011119", "0.600248", "0.59978...
0.0
-1
Return whether the given point is contained inside this rectangle.
public boolean contains(int x, int y) { return (x >= getX1() && y >= getY1() && x < getX2() && y < getY2()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean contains(final Coords point)\r\n {\r\n return toRectangle().contains(point.toPoint());\r\n }", "public boolean contains(Point point) {\n\n\t\tif (Math.abs(center.getX() - point.getX()) <= (width / 2) && (Math.abs(center.getY() - point.getY()) <= height /2)) {\n\n\t\t\treturn true;\n\t...
[ "0.842726", "0.7835738", "0.7708143", "0.76940924", "0.7690121", "0.76540846", "0.7642685", "0.7597142", "0.7538275", "0.7534879", "0.7416426", "0.74153656", "0.7407394", "0.7373367", "0.7358974", "0.73570645", "0.734403", "0.73132133", "0.72934985", "0.7263796", "0.7216933",...
0.6371875
99
Return whether the given point is contained inside this rectangle.
public boolean contains(Point point) { return (point.x >= getX1() && point.y >= getY1() && point.x < getX2() && point.y < getY2()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean contains(final Coords point)\r\n {\r\n return toRectangle().contains(point.toPoint());\r\n }", "public boolean contains(Point point) {\n\n\t\tif (Math.abs(center.getX() - point.getX()) <= (width / 2) && (Math.abs(center.getY() - point.getY()) <= height /2)) {\n\n\t\t\treturn true;\n\t...
[ "0.8427926", "0.7837031", "0.7710219", "0.76952845", "0.76922905", "0.76442015", "0.75988936", "0.7540695", "0.75357753", "0.7417085", "0.7416615", "0.7408498", "0.73744535", "0.73601604", "0.7358079", "0.73452663", "0.73146194", "0.72947824", "0.72655207", "0.72176266", "0.7...
0.76551414
5
Return whether the given rectangle is inside this rectangle.
public boolean contains(Rectangle r) { return (r.getX1() >= getX1() && r.getY1() >= getY1() && r.getX2() < getX2() && r.getY2() < getY2()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasRect();", "public boolean intersects(Rectangle rect){\n\t\tRectangle rectIntersect = (Rectangle) rect.clone();\n\t\trectIntersect.translate(-x, -y);\n\t\treturn rectangle.intersects(rectIntersect);\n\t}", "public boolean containsRectangle(double x, double y, double width, double height) {\n\t\tretur...
[ "0.7421063", "0.73010725", "0.7251924", "0.72142506", "0.7153819", "0.7137055", "0.7067553", "0.6993241", "0.6986137", "0.69712317", "0.6903971", "0.68505067", "0.6815553", "0.67712545", "0.67690074", "0.67460024", "0.6580864", "0.65749174", "0.6570689", "0.6549604", "0.65494...
0.71479505
5
Return whether this rectangle touches another.
public boolean touches(Rectangle r) { if (r.getX1() - getX2() >= 0 || r.getY1() - getY2() >= 0) return false; if (getX1() - r.getX2() >= 0 || getY1() - r.getY2() >= 0) return false; return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean isTouching(Sprite other)\n {\n return Rect.intersects(other.spriteBounds, this.spriteBounds);\n }", "public boolean isIntersecting(RectF other){\n return RectF.intersects(other,this.hitBox);//|| hitBox.contains(other.getHitBox())||other.getHitBox().contains(this....
[ "0.7398869", "0.6983368", "0.68364525", "0.6717999", "0.66375256", "0.6577737", "0.6376303", "0.63287765", "0.6308274", "0.62680155", "0.62451386", "0.613531", "0.6122403", "0.6109289", "0.6103658", "0.60912466", "0.6081748", "0.60755235", "0.6047806", "0.6025648", "0.6017131...
0.7218367
1
==================== MUTATORS ==================== //
public Rectangle set(int x, int y, int width, int height) { this.corner.set(x, y); this.size.set(width, height); return this; }
{ "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 }", "protected abstract Set method_1559();", "@Override\n public void memoria() {\n \n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\...
[ "0.59121495", "0.5908875", "0.585587", "0.58484536", "0.5838972", "0.5821998", "0.5817539", "0.5807295", "0.5801379", "0.579396", "0.5784173", "0.57734156", "0.57573867", "0.57542443", "0.5690657", "0.5679265", "0.5659083", "0.5659083", "0.56486595", "0.56388944", "0.5637647"...
0.0
-1
================ IMPLEMENTATIONS ================ //
@Override public String toString() { return ("rect(" + corner.x + ", " + corner.y + ", " + size.x + ", " + size.y + ")"); }
{ "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\tprotected void interr() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n protected void prot() {\n ...
[ "0.63989484", "0.6396347", "0.62903893", "0.6254951", "0.62426883", "0.61733454", "0.6134485", "0.60753965", "0.60753965", "0.60666454", "0.60666454", "0.59987026", "0.5962644", "0.5953117", "0.5953117", "0.5953117", "0.5953117", "0.5953117", "0.5953117", "0.5938583", "0.5933...
0.0
-1
final protected InterpolatorFactory, RandomAccessible > > interpolatorFactory = new NearestNeighborInterpolatorFactory >();
public LinearIntensityMap( final RandomAccessibleInterval< T > source ) { final CompositeIntervalView< T, RealComposite< T > > collapsedSource = Views.collapseReal( source ); dimensions = new FinalInterval( collapsedSource ); final double[] shift = new double[ dimensions.numDimensions() ]; for ( int d = 0; d <...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public InterpolatorTest() {\n super(Interpolator2D.class);\n }", "public static EdgeAwareInterpolator createEdgeAwareInterpolator()\r\n {\r\n \r\n EdgeAwareInterpolator retVal = EdgeAwareInterpolator.__fromPtr__(createEdgeAwareInterpolator_0());\r\n \r\n return retVal;\r\...
[ "0.655933", "0.5873564", "0.5770184", "0.5627561", "0.56210923", "0.5617573", "0.54706", "0.54624635", "0.5447662", "0.5403122", "0.53583366", "0.53317696", "0.5316181", "0.5306152", "0.5294988", "0.5252179", "0.5228242", "0.52125245", "0.51964104", "0.5193112", "0.5165892", ...
0.0
-1
Created by Gasik on 6/7/2016.
public interface Communicator { public void respond(String data); public void goTo(String data); public void createSession(String key,String Value); public String getSession(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpubl...
[ "0.61217904", "0.59200597", "0.5913969", "0.5892553", "0.585587", "0.57975125", "0.57975125", "0.575043", "0.5714494", "0.57141346", "0.569109", "0.5678762", "0.56774056", "0.56465596", "0.5645331", "0.56234837", "0.5612848", "0.55961776", "0.55961514", "0.55865234", "0.55783...
0.0
-1
Test for Restore View phase.
@Test public void testConstructionString() { String constructed = StateUtils.construct(sensitiveString, externalContext); Object object = StateUtils.reconstruct(constructed, externalContext); Assertions.assertTrue(object instanceof String); String string = (String) object; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void doAfterRestoreView(final PhaseEvent arg0) {\n\t}", "private void doBeforeRestoreView(final PhaseEvent arg0) {\n\t}", "public abstract void restore();", "@Override\n public void restore() {\n }", "@Test\n public void restoreShuffleButtonStateOnRotate() {\n expandPanel();\n ...
[ "0.7328428", "0.7195788", "0.61737245", "0.6069519", "0.6057471", "0.60508007", "0.6018587", "0.59822464", "0.59583527", "0.58999056", "0.58701533", "0.5809474", "0.5791462", "0.5767001", "0.5756337", "0.5753261", "0.5745682", "0.5693343", "0.5675312", "0.5673581", "0.5669877...
0.0
-1
Test for Restore View phase. This method actually runs an instance of StateUtilsTestCase through the construct/reconstruct process.
@Test public void testConstruction() { String constructed = StateUtils.construct(TEST_DATA, externalContext); Object object = org.apache.myfaces.application.viewstate.StateUtils.reconstruct(constructed, externalContext); Assertions.assertTrue(TEST_DATA.equals(object)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void doBeforeRestoreView(final PhaseEvent arg0) {\n\t}", "private void doAfterRestoreView(final PhaseEvent arg0) {\n\t}", "@Test\n public void restoreShuffleButtonStateOnRotate() {\n expandPanel();\n onView(withId(R.id.shuffle)).perform(click()); //Set state to shuffled\n\n rota...
[ "0.64188224", "0.6352662", "0.6153997", "0.56407905", "0.55613977", "0.5561257", "0.55333644", "0.5530303", "0.5512314", "0.55031353", "0.54835486", "0.5472136", "0.5461436", "0.545973", "0.5458689", "0.5427833", "0.54269814", "0.54009813", "0.53875226", "0.5376685", "0.53766...
0.5670699
3
Simulates testConstruction w/ corrupt data.
@Test public void testConstructionNegative() { String constructed = StateUtils.construct(TEST_DATA, externalContext); constructed = constructed.substring(1); try { Object object = StateUtils.reconstruct(constructed, externalContext); Assertions.assertFalse...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testConstruction()\n {\n String constructed = StateUtils.construct(TEST_DATA, externalContext);\n Object object = org.apache.myfaces.application.viewstate.StateUtils.reconstruct(constructed, externalContext);\n Assertions.assertTrue(TEST_DATA.equals(object));\n }",...
[ "0.6848764", "0.6586987", "0.6516924", "0.62836325", "0.6259172", "0.62548083", "0.6136708", "0.61121744", "0.60666585", "0.60313886", "0.60053635", "0.5994215", "0.59865916", "0.5967015", "0.59472543", "0.593129", "0.5912463", "0.5911611", "0.590195", "0.5893708", "0.5883382...
0.7324339
0
Simulates testSerialization w/ corrput data.
@Test public void testSerializationNegative() { byte[] bytes = StateUtils.getAsByteArray(TEST_DATA, externalContext); bytes[1] = (byte) 3; try { Object object = StateUtils.getAsObject(bytes, externalContext); Assertions.assertFalse(TEST_DATA.equals(object)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void testSerializedObject() {\n\t\tMessage message = Message.createMessage(getId(), \"Alarms\");\n\t\tTestObject obj = new TestObject();\n\n\t\tmessage.setPayload(obj);\n\n\t\tSystem.out.println(\"Client: [\" + getClientName() + \"] sending test serialized object\");\n\t\tsend(message);\n\t}", "@Test\r\...
[ "0.6662438", "0.635304", "0.6333637", "0.6326854", "0.6309081", "0.6286382", "0.628606", "0.6264511", "0.6223808", "0.6213476", "0.6194651", "0.60576576", "0.6004269", "0.59658563", "0.59524435", "0.5916122", "0.59098953", "0.5869512", "0.58688587", "0.5832579", "0.5820977", ...
0.59552145
14
Simulates testCryptography w/ corrupt data.
@Test public void testCryptographyNegative() { byte[] sensitiveBytes = sensitiveString.getBytes(); byte[] secure = StateUtils.encrypt(sensitiveBytes, externalContext); secure[secure.length-5] = (byte) 1; try { byte[] insecure = StateUtils.decrypt(secu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n public void testEncryptDecryptPlaintextBadCipher() throws SodiumException, CryptoException {\r\n\r\n byte[] data = \"\".getBytes();\r\n byte[] add = \"Random authenticated additional data\".getBytes();\r\n\r\n CryptoService instance = new CryptoService();\r\n Keys keys = in...
[ "0.7063816", "0.6878075", "0.683523", "0.6509423", "0.64643794", "0.6409612", "0.61732674", "0.61401826", "0.608347", "0.6072579", "0.6071683", "0.60715914", "0.6069994", "0.6031345", "0.59750324", "0.59672964", "0.5925751", "0.5925137", "0.59001374", "0.58969235", "0.5896222...
0.6884328
1
Simulates testCompression w/ corrupt data.
@Test public void testCompressionNegative() { int size = 2049; byte[] orginalBytes = new byte[size]; byte[] lessBytes = StateUtils.compress(orginalBytes); lessBytes[1] = (byte) 3; try { byte[] moreBytes = StateUtils.decompress(lessBytes); A...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void failstestProcessCompressedFile() {\n TestWARCBatchJob job = new TestWARCBatchJob();\n job.processFile(WARC_GZ_FILE, new ByteArrayOutputStream());\n Exception[] es = job.getExceptionArray();\n printExceptions(es);\n assertEquals(\"Batching compressed file should give e...
[ "0.70308447", "0.6887939", "0.68548805", "0.6549681", "0.6502645", "0.6349145", "0.6230294", "0.6181249", "0.61149263", "0.59391934", "0.5839126", "0.559239", "0.5584698", "0.5510048", "0.5507903", "0.54661375", "0.54633296", "0.54444194", "0.5422361", "0.5401903", "0.5354408...
0.742547
0