query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
088c785ee56e274997283ed94f2ca392
new DbManager().executeUpdate("update fournisseur set nom='La Maison des Peintures' where id=4");
[ { "docid": "da5f2d84b9eb8dd692e3965a33b667ab", "score": "0.6495165", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tFournisseurDaoJdbc fournisseurDaoJdbc = new FournisseurDaoJdbc();\r\n\t\tFournisseur fournisseur = new Fournisseur(4,\"La Maison de la Peinture\");\r\n\r\n\t\tint nbre_lign...
[ { "docid": "bf2fd6762758222b7fa0372c5e6f545e", "score": "0.74088365", "text": "int update(String sql);", "title": "" }, { "docid": "efc0d1b087656b3786221defeb31d56c", "score": "0.7388328", "text": "@Test\n public void testUpdate(){\n String sql = \"update `order` set order_...
43013900a2c7d9f20e53ab6beb7913de
Sets the map of order item fields.
[ { "docid": "6d2ca5a992e4e71679a57429bdc20ecf", "score": "0.8956359", "text": "void setOrderItemFields(Map<String, String> orderItemFields);", "title": "" } ]
[ { "docid": "0c83c32896a81b59dc2cbd8c8ee1fe59", "score": "0.58968616", "text": "public void setOrderItems(List<OrderItem> newOrderItems) {\n this.orderItems = newOrderItems;\n }", "title": "" }, { "docid": "d4b1a87e89e083ae2f2731050bede9f4", "score": "0.578782", "text": "@Ov...
fdc5734ebcd9ccbcc92368a05576033e
time out Sets the time during which the DiscoveryClient waits for discovery responses. This time is expressed in milliseconds. The default value is 1000. If the specified argument is negative or zero, the timeOut is reset to the default value. The methods findMBeanServers and findCommunicators block until this time ela...
[ { "docid": "6d55a367417a4dfb3a3ab003fa8458de", "score": "0.7469507", "text": "public void setTimeOut(int timeOut) throws IOException {\n\tif (timeOut <= 0 ) {\n\t this.timeOut = defaultTimeOut ;\n\t} else {\n\t this.timeOut = timeOut ;\n\t}\n\tif (state == ONLINE) {\n\t discovery.setTimeOut(tim...
[ { "docid": "b396a79b8ddf9185564c33d15d553afc", "score": "0.6385797", "text": "public void setDiscoveryTimeout(int timeoutMs) {\n discovery.setDiscoveryTimeout(timeoutMs);\n }", "title": "" }, { "docid": "ce4a5797534feba8f9cb314af40c329e", "score": "0.626734", "text": "publi...
28d99d901d77a4264c3e2ae934749ec6
adds a photo to an album in a photolibrary if possible
[ { "docid": "e1826d1d3d1defa207aa37d1737998ef", "score": "0.71172607", "text": "public boolean addPhotoToAlbum(Photograph p, String albumName) {\r\n \r\n if (this.albums.contains(getAlbumByName(albumName)) && !(this.photos.contains(p))) {\r\n getAlbumByName(albumName).addPhoto(p)...
[ { "docid": "2467b06d702d54be3303d093830ecfdb", "score": "0.7228749", "text": "@Override\n\tpublic void addPhoto(String albumId, String photoFileName,\n\t\t\tString photoCaption) {\n\n\t}", "title": "" }, { "docid": "d43a9b7004bd163e798f18c171fcf270", "score": "0.7118734", "text": "pu...
d5dde9597860a681a23d4942a83a1d14
Convert list of FileObjectFilters to list of SearchFilterDefinitions.
[ { "docid": "9826b5af752ac23e742cfe3e008e1769", "score": "0.79014033", "text": "static List<SearchFilterDefinition> fileObjectFiltersToSearchFilters(\n List<FileObjectFilter> filters) {\n\n List<SearchFilterDefinition> l =\n new LinkedList<SearchFilterDefinition>();\n ...
[ { "docid": "c9278763cffe7c81c45e8c409c42eeb2", "score": "0.576041", "text": "protected abstract List<DVFilter> getFilters();", "title": "" }, { "docid": "2819aee51fee081cc7531e38fd1687f0", "score": "0.5646859", "text": "List getFilters();", "title": "" }, { "docid": "fbc8...
924347ae990870daccc853a3e70469fe
Returns the file system location of this bubble, i.e. the temporary directory to which it corresponds.
[ { "docid": "eb9da83cd71d75e37f43af6a205a44c3", "score": "0.6246719", "text": "Path getLocation();", "title": "" } ]
[ { "docid": "5c70d3b976b76bcfd51b07d6dd854c9c", "score": "0.6976878", "text": "public String getAbsolutePath() {\n\t\treturn Util.getAbsolutePath();\n\t}", "title": "" }, { "docid": "74313e533d749d3a5350a23417ba6772", "score": "0.6911891", "text": "private String getTmpPath() {\n ...
fef3377784863f11fb8f1bfc758e5e2e
fseek() equivalent for ByteIOContext.
[ { "docid": "7545bfd1c8acd82319dbeb656db41869", "score": "0.6569279", "text": "@Mangling({\"_Z9url_fseekP13ByteIOContext7int64_ti\", \"?url_fseek@@YA7int64_tPAUByteIOContext@@7int64_tH@Z\"}) \n\tlong url_fseek(ByteIOContext s, long offset, int whence);", "title": "" } ]
[ { "docid": "76aafc3bc8a7ac1a3e2279c556a884c9", "score": "0.6333026", "text": "void seek(byte[] target);", "title": "" }, { "docid": "713f0c81e0b16358f40dc0f16d0d708e", "score": "0.6156131", "text": "void seek(long position);", "title": "" }, { "docid": "21fdeeb79f68815dd4...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "ebadb0430eb754b76a2b6566e4cd7220", "score": "0.0", "text": "@Override\n\tpublic void setApplicationContext(ApplicationContext mApplicationContext) throws BeansException {\n\t\tthis.mApplicationContext = mApplicationContext;\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t...
fda0323492282be0701afd25bed07a8b
Creates new form Home_Interface
[ { "docid": "54a264397e0950c6ef2c8824612dcbbb", "score": "0.6208168", "text": "public Home_Interface() {\n initComponents();\n //setSize(418, 145); // set size\n setLocationRelativeTo(this);\n }", "title": "" } ]
[ { "docid": "a1e8a37d1fde5e4d6e53e56b8afa44aa", "score": "0.70181346", "text": "private void createInterface() {\n\t\tindexPage = LeaderboardControl.getIndexPage();\n\t\tmapLabelsName.put(indexPage, createLabels().getKey());\n\t\tmapLabelsScore.put(indexPage, createLabels().getValue());\n\t\tif (mapLabel...
c57d00c1d776d60c0925cf554cdf25fd
Construct observation space from a array of blocks policy should distinguish between.
[ { "docid": "504a9e633844699fd150c45fc9f82bca", "score": "0.41312006", "text": "public MalmoObservationSpaceGrid(String name, int xSize, int ySize, int zSize, Object... blocks) {\n this.name = name;\n\n this.totalSize = xSize * ySize * zSize;\n\n if (blocks.length == 0) {\n ...
[ { "docid": "17050184843a3246980d52f1d7afacf1", "score": "0.4853255", "text": "StateT newArray(String type, List<StateT> dimensions, JvmCfaNode creationCite);", "title": "" }, { "docid": "0e6637063c99721ec158dc6c9ec1dad7", "score": "0.46127516", "text": "public Board(int[][] blocks) {...
3eca431caed5be89f0a95a40c9a89fab
Returns a string representation for this object. This string will at least contain the path to the file as returned by getFileName().
[ { "docid": "db5d19d67661c8dfffd7aaa7858d07c6", "score": "0.7525299", "text": "@Override\n public String toString()\n {\n return LocatorUtils.locatorToString(this, \"file = \" + getFileName());\n }", "title": "" } ]
[ { "docid": "f5d3363b4a73d24524d425d785cda204", "score": "0.8261494", "text": "@Override\n public String toString() {\n return mFileName;\n }", "title": "" }, { "docid": "6126237bdc02c26e5d48aa003de8429a", "score": "0.8195356", "text": "public String toString() {\n\t\treturn ...
d00bd2d26b8cf6608e9f5520d4a79df9
Sets the start and stop times to null.
[ { "docid": "58e26257db7a469539c06260295295eb", "score": "0.7876004", "text": "public void unsetTimes(Time startTime, Time stopTime)\n {\n this.startTime = null;\n this.stopTime = null;\n }", "title": "" } ]
[ { "docid": "abfc40306faa4cc8f2b3ea16a93884d5", "score": "0.73076665", "text": "void unsetStarttime();", "title": "" }, { "docid": "9620d088b535beb27dff389743801cc4", "score": "0.6948634", "text": "public synchronized void reset() {\n startTime = -1;\n stopTime = -1;\n ...
9514cbcaaac09874fa36284cd56fd15b
Get the number of times setList has been called.
[ { "docid": "6bc4b831a162393f00d68e273f631fa8", "score": "0.0", "text": "public long getListUpdates() {\n return mListUpdates;\n }", "title": "" } ]
[ { "docid": "c89ddf264be9ae6aa495bc13f9e67ea6", "score": "0.7274214", "text": "public int getListCount() {\n return list_.size();\n }", "title": "" }, { "docid": "c89ddf264be9ae6aa495bc13f9e67ea6", "score": "0.7274214", "text": "public int getListCount() {\n return list_....
9a5542f6e0e96f48c53047e7278d82d5
Sets the id value for this LimiteGlobalTO.
[ { "docid": "bf70508905491558e3291b9bdbef3181", "score": "0.0", "text": "public void setId(java.lang.Long id) {\n this.id = id;\n }", "title": "" } ]
[ { "docid": "88d673acaca0ace60901bee6005dd333", "score": "0.6833098", "text": "public void setId(long id) {\n\t\tgetTo(false).setId(id);\n\t}", "title": "" }, { "docid": "2327a67c4b91d850f0b294e582f3995c", "score": "0.67985505", "text": "public void setId(Object id) {\n this.id...
77abe47a4d74ca715eb689a6bf309d7e
Constructs an instance of GenerationTesting with a collection of variables and of constraints to respect for the generation
[ { "docid": "656573faf88aa239ad5c14c3793518c8", "score": "0.8287209", "text": "public GenerationTesting(Set<Variable> variables, Set<Constraint> constraints){\r\n this.variables = variables;\r\n this.constraints = constraints;\r\n }", "title": "" } ]
[ { "docid": "41e5782fd711459dcefeb21a6d7213c6", "score": "0.6315686", "text": "public void setUp(){\n\t\t A= new Variable(\"A\", \"1..3\");\n\t\t B= new Variable (\"B\", \"1..3\");\n\t\t C= new Variable(\"C\", \"1..2\");\n\t\t D= new Variable (\"D\", \"1..2\");\n\t\t E= new Variable (\"E\", \"1..3\");\n\...
ff689d36b3ad42a6db860a3567b83148
Get the middle position for a given index.
[ { "docid": "4c698a78cfe80d5c9f1a8f7f82ea3a88", "score": "0.849501", "text": "public double middlePosition(int index) {\n // get a sub-segment's length\n double subSegmentLength = subSegmentWidth();\n\n return leftmostPosition(index) + (subSegmentLength / 2);\n }", "title": ""...
[ { "docid": "3fbfddd14b0cf06d35367fc038954962", "score": "0.63063407", "text": "int middle();", "title": "" }, { "docid": "aa814210d3c12d8e97d806ac28d8fc69", "score": "0.62694865", "text": "int getMid();", "title": "" }, { "docid": "9bee2b1a948ff84253aac4bc4f556420", "...
f388de9bf8bc036913e1bab9b9ee0be0
This method to get all records
[ { "docid": "167c3a21fc25234743c96f4e6a9ed511", "score": "0.0", "text": "public List<CommonModel> getAllMilestone() {\n List<CommonModel> milestoneModelsList = new ArrayList<>();\n\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor res = db.rawQuery(SQLConstants.SELECT_ALL_FR...
[ { "docid": "9a11f24d2dbe9681e5f6b36646d1a057", "score": "0.7896741", "text": "@Override\r\n\tpublic void getAllRecords() {\n\t\t\r\n\t\tSystem.out.println(\"fecc all records\");\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "d568c95e918460a12d114cdd57ca1697", "score": "0.7627943", "...
1e2fc46bf1c9e7fe1859c4769c5f1930
optional string house_no = 4;
[ { "docid": "da2cd1523a5beea3602cbaad496a5683", "score": "0.0", "text": "public boolean hasHouseNo() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" } ]
[ { "docid": "839c89e7ae8d3d9fced0f2dc97fc3484", "score": "0.7398455", "text": "java.lang.String getHouseNo();", "title": "" }, { "docid": "839c89e7ae8d3d9fced0f2dc97fc3484", "score": "0.7398455", "text": "java.lang.String getHouseNo();", "title": "" }, { "docid": "53d2c872...
a805003b350a9459c01f4234a80147c6
Return the number of fragments to swipe between
[ { "docid": "9642b5b953ca345a91dca98bf05dfdfa", "score": "0.0", "text": "@Override\n public int getCount() {\n return tabTitles.length;\n }", "title": "" } ]
[ { "docid": "95743046a5e17e05448eb1e37c5950d7", "score": "0.6716469", "text": "@Override\n public int getCount() {\n return mPageFragments.size();\n }", "title": "" }, { "docid": "315c2394f2eaec79afbf17d6ff612c7c", "score": "0.6705999", "text": "public int getCount(){\n ...
6395761d685e25620eb0c041bb0736d2
Created with IntelliJ IDEA. User: chouchris Date: 131020 Time: AM9:23 com.scipublish.MailProxy.search MailProxy
[ { "docid": "b55e80409b7584221df6e2bd32d6dac7", "score": "0.7307207", "text": "public interface MailProxySearch {\n\n public MPSearchServiceResult initSearchService();\n\n public MPSearchServiceResult putMailData(long mid,\n String name,\n ...
[ { "docid": "5bd2e5bdd4de5e938fd783ccb708ae5c", "score": "0.6801607", "text": "@Override\n public Factures searchByMail(String mail) {\n\treturn null;\n }", "title": "" }, { "docid": "56ba2f7098f4176e6976e9f122fd50a6", "score": "0.6590505", "text": "private void searchNearby() {...
c031e2bba8094b101cd2a518e1d52a48
SongChoice song = gson.fromJson(jsonSong, SongChoice.class);
[ { "docid": "7ec0216f6c1dcd337c3196f6d48984a5", "score": "0.0", "text": "public String createSong(SongChoice song){\n\n Connection conn = getDBConnection();\n try{\n String getSongsStatement = \"SELECT * FROM \" + table + \" WHERE \" + titleField + \" = ?\";\n PreparedStatement stmt = co...
[ { "docid": "f19ed3b772eb390c1bc5edadc77bfee7", "score": "0.66504776", "text": "public static Song fromJSON(JSONObject jsonObject){\n Song song = new Song();\n JSONArray artist_list;\n song.artists = new ArrayList<>();\n try {\n song.name = jsonObject.getString(\"na...
0fa9499589368e24d5c3cac97fb94ee1
adds 2 2D arrays then returns that array
[ { "docid": "df54eb4441825aae6cf6912b1731c13f", "score": "0.5890803", "text": "public static int[][] matrixAddition(int arrA[][], int arrB[][]) {\n int arrC[][] = new int[arrA.length][arrA[0].length];\n // loop through arrays adding each element together then storing in arrC\n for (i...
[ { "docid": "2edab72ee0a49fcc112550b7868b4775", "score": "0.7088389", "text": "public static int[][] add(int[][]a, int[][]b) {\n int[][] added = new int [a.length][a[0].length];\n \n //if(a.length==b.length && a[0].length==b[0].length) {\n for(int r = 0;r<a.length;r++) { /...
4f1546d277f7d20c04ab83c4ec40610c
Tests if the mouse cursor is in the Unfurled Choice, yet not in the vertical scrollbar
[ { "docid": "a2947dac7b40e9bacdc9881c63aa469d", "score": "0.54011893", "text": "private boolean isMouseInListArea(MouseEvent e) {\n if (isMouseEventInside(e)) {\n Point local = toLocalCoords(e);\n Rectangle bounds = getBounds();\n if (!helper.isInVe...
[ { "docid": "0e79b2d65fee04141bf2384bdd0a3ff2", "score": "0.6756881", "text": "public boolean hasCursor() {\n return curs_x >= 0 && curs_y >= 0;\n }", "title": "" }, { "docid": "e457adca3c343b0225f2c615487608c9", "score": "0.66532415", "text": "private boolean isMouseEventInCho...
ce41cd4442adf34356921a5b456885d5
Construct with sender, sender's role, command, and text content
[ { "docid": "6c4982131a719fe2a938c471bf90ea86", "score": "0.7030579", "text": "public Message(String sender, Role role, Command command, String txtMsg) {\r\n\t\tthis.sender = sender;\r\n\t\tthis.role = role;\r\n\t\tthis.txtMsg = txtMsg;\r\n\t\tthis.cmd = command;\r\n\t\ttype = Type.command;\r\n\t}", ...
[ { "docid": "a05c6ede63ccb872c6d583704b20e570", "score": "0.6881059", "text": "public Message(String sender, Role role, Command command) {\r\n\t\tthis.sender = sender;\r\n\t\tthis.role = role;\r\n\t\tthis.cmd = command;\r\n\t\ttype = Type.command;\r\n\t}", "title": "" }, { "docid": "0045f32a4...
3d802b1adde02048d831d76dd9b0d22e
optional uint32 duration = 4;
[ { "docid": "1565db19b4296dc88d9a74cd39b391ab", "score": "0.0", "text": "public boolean hasDuration() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" } ]
[ { "docid": "bc25d57f268a230299645c14f9798420", "score": "0.76417506", "text": "inline int GetDuration() const { return _duration; }", "title": "" }, { "docid": "be5f1e55e3222066bf9cb38168a16bb1", "score": "0.7288657", "text": "int getDuration();", "title": "" }, { "docid"...
08d8d6d08f0dddef426a9b5d486ff0ad
Find a ContractMethod instance that has the function signature same as passed as a parameter.
[ { "docid": "225fc79c06cdc3969ca22e9020f6f874", "score": "0.70577615", "text": "public ContractMethod findContractMethodBySignature(String functionSignature) {\n ContractMethod findMethod = null;\n\n for(String key : this.getMethods().keySet()) {\n ContractMethod method = this.ge...
[ { "docid": "40330830a8fad3f660707f2490553cb3", "score": "0.58973086", "text": "public MethodInstance SUPER_findMethod(TypeSystem_c.MethodMatcher matcher) throws SemanticException {\n if (Report.should_report(TOPICS, 3))\n Report.report(3, \"find-method \" + matcher.signature() + \" in ...
3c692c5f3a799cdc43369632b5b5fc6f
This method was generated by MyBatis Generator. This method corresponds to the database table SYS_QUERY_FORM_TYPE
[ { "docid": "89d681cf8ff4ae0485d7f18414be2e10", "score": "0.6589681", "text": "List<SysQueryFormType> selectByExample(SysQueryFormTypeExample example);", "title": "" } ]
[ { "docid": "8b954e2561f59f47598bb15f2e80b645", "score": "0.63727266", "text": "QueryType createQueryType();", "title": "" }, { "docid": "3875cc1651cd3cff1c7e0c6bb4c8abcf", "score": "0.617339", "text": "public QueryType getQueryType();", "title": "" }, { "docid": "72aafdd3...
961f225c13ffc98f7be343e69956b8d7
PR10 Check the logout button is not visible when not logged in
[ { "docid": "dd5c0ed0ebd24b7da11d2f0e235b04e4", "score": "0.0", "text": "@Test\n\tpublic void PR10() {\n\t\tlogAs(\"rachel@friends.com\", \"123\");\n\t\tSeleniumUtils.EsperaCargaPaginaNoTexto(driver, \"Regístrate\", PO_View.getTimeout());\n\t}", "title": "" } ]
[ { "docid": "2cc25b5447d98828fdebbaee5258bf85", "score": "0.767879", "text": "public abstract boolean showLogout();", "title": "" }, { "docid": "c02d7e604d0e708d8571369713431ab5", "score": "0.7573683", "text": "private void logout() {\n\t\tthis.setVisible( false );\n\t\tthis.m_loginIn...
b14190e74e52af415299c99b766e8ae0
Callback that notifies when sync server returned result
[ { "docid": "391b37349842041a4d835ae7c1179ae6", "score": "0.7597801", "text": "public interface SyncServerCallback {\n\t\tpublic void result(Response response);\n\t}", "title": "" } ]
[ { "docid": "673f7fc8f24f2542e3fbc05c7ec2a527", "score": "0.6542701", "text": "void onSyncComplete(Metadata metadata);", "title": "" }, { "docid": "e67e33b19d9e813bac2c78f42dc62f1c", "score": "0.64712524", "text": "public void onSyncEnd();", "title": "" }, { "docid": "e67e...
5bfae31e42e578f2ea0246c974788bbe
Mark message chains, to avoid double counting only the root of the chain is marked.
[ { "docid": "7d78676c3939da1619d06203a42951dd", "score": "0.0", "text": "public boolean visit(MethodInvocation pInvocationNode) {\n\t\tboolean isChainedMethodCall = false;\n\t\tif (pInvocationNode.getExpression() instanceof MethodInvocation\n\t\t\t\t&& !(pInvocationNode.getParent() instanceof MethodInvoc...
[ { "docid": "9f42a463c3c6d08569834ff9c1de3fa3", "score": "0.51615256", "text": "@Override\n public void mark(int readLimit) {\n mark = pos;\n }", "title": "" }, { "docid": "c594f233e029569f519fca354def9f87", "score": "0.5072142", "text": "public synchronized v...
a4f787fb7566281b0f5b4d337e1172a2
Adds the given user with the given password to the map
[ { "docid": "ccb04ea723254ff8a6d4fbf5c5051e8d", "score": "0.7432815", "text": "public void addUser(String user, String pass){\n //TODO\n }", "title": "" } ]
[ { "docid": "90aeaf852b3de6a9112f91d1b167f233", "score": "0.73484725", "text": "public boolean addUser(String user, String password);", "title": "" }, { "docid": "db28a6c821432b8a0479ea243e70ae9d", "score": "0.7033702", "text": "final void addUser(final String username, final String p...
89fbac360f974c887c64d9df1137b513
In a previous life I used this method to get handles to the positive and negative buttons of a dialog in order to change their Typeface. Good ol' days.
[ { "docid": "384423a524e0d024dc15bab52f34424b", "score": "0.0", "text": "@Override\r\n public void onShow(DialogInterface dialog) {\n\r\n BottomSheetDialog d = (BottomSheetDialog) dialog;\r\n\r\n // This is gotten directly from the source of BottomSheetDialog\r\n ...
[ { "docid": "b22be6fc36cf1fa31ae298b2d78208fa", "score": "0.6293053", "text": "public Dialog onCreateDialog(int ignore, Bundle args) {\n int backgroundColor;\n int textColor;\n int buttonBackgroundColor;\n int[] colors = args.getIntArray(\"colors\");\n if (colors != nul...
416374ed32d22f5f009130d25a665689
/ Using this conditional on property annotation we will inject mockMailSender bean if the property is not present in the application.properties file. Otherwise, a smtpMailSender bean will be injected. There are a lot of parameters for this annotation like havingValue="google.mail" (required for this case) so you will i...
[ { "docid": "96b2bc0ac00d835f84a56ed5e4167c70", "score": "0.7103217", "text": "@Bean\n\t@ConditionalOnProperty(name=\"spring.mail.host\",\n\t\t\t\t\t\t matchIfMissing=true,\n\t\t\t\t\t\t havingValue=\"foo\"\n\t\t\t\t\t\t )\n\tpublic MailSender mockMailSender() {\n\t\treturn new MockMailSender();\n\...
[ { "docid": "f833d4699699d06b39a70df1d85e22eb", "score": "0.5547829", "text": "@Bean\n public JavaMailSender javaMailSender() {\n\n\n JavaMailSenderImpl javaMailSender = new JavaMailSenderImpl();\n javaMailSender.setDefaultEncoding(\"UTF-8\");\n javaMailSender.setHost(\"smtp.mailt...
085806e4be0020796bdf6112aad209e1
Returns the definitions of the properties which should be presented to the user for configuring the job that this object wraps.
[ { "docid": "a137fc7f902270efa061f32d98b15401", "score": "0.7314281", "text": "public Set<ConfigurableJobProperty> getConfigurableJobProperties();", "title": "" } ]
[ { "docid": "80817a35c3b4ed8340a0fba123cd3467", "score": "0.7120666", "text": "@Override\n public Map<String, Object> getJobAcquisitionProperties() {\n return properties;\n }", "title": "" }, { "docid": "f431c7cc51d5ff82b402d0cc8bf57fd5", "score": "0.68786484", "text": "@Override...
da27f9aa8c57be468b0ddda0e35f9674
This will generate a unique key of the class name, the method name, and all method parameters appended.
[ { "docid": "b96e8ee289be664e53e56d148a899080", "score": "0.0", "text": "@Override\n public Object generate(Object o, Method method, Object... objects) {\n StringBuilder sb = new StringBuilder();\n sb.append(o.getClass().getName());\n sb.append(meth...
[ { "docid": "97f288d47ff6ccedfa2dbb51376f0763", "score": "0.59750533", "text": "public static String generateKey(Class<?> sourceCls, String methodName, String suffix, boolean error) {\n StringBuilder codeBuild = new StringBuilder(error ? \"E\" : \"M\");\n if (sourceCls != null) {\n ...
111e603535116f1056498108a93604e5
Gestion de la logique du jeu
[ { "docid": "861c4fa6022f7243a5efcb40c848f8e2", "score": "0.0", "text": "private boolean gameRecvHandler(Serializable data) {\n if (data instanceof GameToken) {\n GameToken token = (GameToken) data;\n game = token.getLastGameState();\n mBinding.setGame(game);\n ...
[ { "docid": "1792e685b19603b669a8fded171b8397", "score": "0.68778765", "text": "public TelaLogar(){ \r\n\t\r\n\t\t\r\n\t\tinicializarComponentes(); \r\n\t\tdefinirEventos();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "751dbf1a0963fad29f6b8836827d03f5", "...
4286eab7333b8329195693ea475b3f8e
Test reloading session factory
[ { "docid": "527ba8c7430976fb55e480942ef28429", "score": "0.7104276", "text": "@Test\n public void testReloadSessionFactory() {\n Mockito.verify(configuration, Mockito.times(1)).buildSessionFactory(Mockito.any());\n Assertions.assertTrue(reloadableSessionFactory.getCurrentEntities().isEm...
[ { "docid": "24b57c2a08a2ccf6bfb038d312cfeb11", "score": "0.71431243", "text": "public void testRefresh() throws RepositoryException{\n boolean refreshMode = true;\n \n session.refresh(refreshMode);\n \n sessionControl.replay();\n sfControl.replay();\n \n ...
9b302a1b7d0daa43d81df2678588025d
This method was generated by MyBatis Generator. This method returns the value of the database column trading_order_addmembermessageaaqtopartner.replied
[ { "docid": "66f10fdf4f40c3d888a64bdb28ff4c62", "score": "0.5582706", "text": "public String getReplied() {\r\n return replied;\r\n }", "title": "" } ]
[ { "docid": "3f0a91cba66ba7fe235f710e6144a06a", "score": "0.5511908", "text": "public String getMessage() {\n float sum = operationsSessionBeanRemote.add(1.2F, 2.2F);\n return message + sum;\n }", "title": "" }, { "docid": "33281f5e9244400d3f3f47fa623b48af", "score": "0.5...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "35971e7516fce4f774b2ebfeca2fde5b", "score": "0.0", "text": "@Override\n\tpublic List<Double> getReal(List<Integer> refs) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "f4bccec648e6eb25ae6f4d7165ffc5a1", "score": "0.7037216", "text": "@Override\n\t\t\tpublic void Goruntule() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.68683225", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n...
1c068da64dabbf7c6910ff9b6ea98880
Hold a reference to the parent Activity so we can report the task's current progress and results. The Android framework will pass us a reference to the newly created Activity after each configuration change.
[ { "docid": "8cc642170a733a5c52631de4e10cfe58", "score": "0.55129975", "text": "@Override\n public void onAttach(Activity activity) {\n super.onAttach(activity);\n mCallbacks = (TaskCallbacks) activity;\n }", "title": "" } ]
[ { "docid": "7a6e171321d018fcf4179bbe172dcfd4", "score": "0.6490269", "text": "@Override\n public Intent getParentActivityIntent() {\n return getParentActivity();\n }", "title": "" }, { "docid": "2e7cbfa16a9b9a29a9392bbe4e7f2e79", "score": "0.61008114", "text": "@Override...
84ff63d755c81a00c53c8420d784759a
Remove callback to remote service
[ { "docid": "403dba88f49ba85221493565363bb7d8", "score": "0.67380834", "text": "private void removeCapabilityCallback(IImsCapabilityCallback callback) throws RemoteException {\n synchronized (mLock) {\n checkServiceIsReady();\n getServiceInterface(mBinder).removeCapabilityCal...
[ { "docid": "b36a35be92569a7863a3df3ff38c8764", "score": "0.77291435", "text": "public void unregisterCallback(IPendingServiceCallback callback);", "title": "" }, { "docid": "2f6d59b94a5ddb3bc63b8da1f805b682", "score": "0.69662815", "text": "@Override\n\tprotected void onServiceUnboun...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "91e0d311f8f8750777c8c8ec646986b7", "score": "0.0", "text": "@Override\n\tpublic void updateMember(MemberVO vo) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
0adf84feaef9c10e10e6f6f951e4cc6d
Set email regular expression
[ { "docid": "9d46e7cf9184d5459f160396a3c22a0e", "score": "0.7489967", "text": "public void setEmailRegExp(String emailRegExp) {\n\t\tthis.emailRegExp = emailRegExp;\n\t}", "title": "" } ]
[ { "docid": "edc5e2de724785040b5a64a94a5071d4", "score": "0.7154983", "text": "public String getEmailRegExp() {\n\t\treturn emailRegExp;\n\t}", "title": "" }, { "docid": "dc4ac4ae47deee04a2aa23d072d3a0ed", "score": "0.6642823", "text": "public void setEmail(String email)\n {\n ...
0316890346a2b406d8e2fbeb95cb37d3
Check if other is an iterable
[ { "docid": "c8d2cfee7d5bef32c734b4ea4c0a2e82", "score": "0.0", "text": "@org.python.Method(\n __doc__ = \"B.join(iterable_of_bytes) -> bytes\\n\\nConcatenate any number of bytes objects, with B in between each pair.\\nExample: b'.'.join([b'ab', b'pq', b'rs']) -> b'ab.pq.rs'.\",\n a...
[ { "docid": "cd3c282c40e2bd0732d122bbe10a5163", "score": "0.6670129", "text": "@Test\n public void isIterable() {\n assertTrue(\"-10 StarList is not Iterable\",\n Arrays.asList(StarList.class.getInterfaces()).contains(\n Iterable.class));\n }", "title": "" }, ...
abccdb7b80b2089b25d6a49942b9cf94
repeated .DataStringListItemInfo inp_list = 1;
[ { "docid": "f5b80929d10993c0858dd4b21fee6e68", "score": "0.0", "text": "public Builder addInpList(\n int index, nta.med.service.ihis.proto.CommonModelProto.DataStringListItemInfo.Builder builderForValue) {\n if (inpListBuilder_ == null) {\n ensureInpListIsMutable();\n i...
[ { "docid": "1a5f2d19db84d806dc06cdbcbbede287", "score": "0.6291917", "text": "ubii.dataStructure.Lists.StringListOrBuilder getStringListOrBuilder();", "title": "" }, { "docid": "e83c895cbd9275db1987635c653e9b21", "score": "0.6282949", "text": "nta.med.service.ihis.proto.CommonModelPr...
a5ab3be36a6edb2e114bbd44e28bae90
Sets the statement subject.
[ { "docid": "03636e5df586e5526bf3d8aad9ffb64a", "score": "0.6526507", "text": "void setSubject(final Resource subject) {\n\t\tthis.subject = subject;\n\t}", "title": "" } ]
[ { "docid": "06cb9d48923cf4dfdcb7373fa87ebe76", "score": "0.7341064", "text": "void setSubject(String subject);", "title": "" }, { "docid": "c55005e19c4159dcd994fb033bb5a5ae", "score": "0.73402697", "text": "public void setSubject(String s)\n {\n subject=s;\n }", "tit...
a36c9ec13e7d6ad7370f134ae730f4d1
TODO 11 In this method, the fruit will be recoloured. Use the Colour object and the Random object (if it pleases you) to change the given fruit's colour.
[ { "docid": "7c86d961fc84743243a9612249274146", "score": "0.787812", "text": "public void recolourFruit(Fruit fruit){\n\t\t\n\t}", "title": "" } ]
[ { "docid": "469f530b56583000dd0338a806f8f8cc", "score": "0.70570165", "text": "public void shuffleColor() {\n\t\tswitch ((int) Math.round(Math.random() * COLOR_COUNT)) {\n\t\tcase 1: if (this.color == COLOR_BLUE) {\n\t\t\tthis.color = COLOR_ORANGE; } else {\n\t\t\t\tthis.color = COLOR_BLUE; } break;\n\t...
6efcbc2bd74958629383e32f00130da6
Sets the title of the dashboard.
[ { "docid": "10ef36828749364532a46cdc557009f8", "score": "0.7735702", "text": "public Builder title(String title)\n {\n dashboard.setTitle(title);\n return this;\n }", "title": "" } ]
[ { "docid": "788cf74978a9959de94b6fbc19254c01", "score": "0.78573686", "text": "public void setTitle(String title) {\n this.title = title;\n }", "title": "" }, { "docid": "788cf74978a9959de94b6fbc19254c01", "score": "0.78573686", "text": "public void setTitle(String title) {\n ...
b1808b7372a5450290fba74a4ae4d7a3
/ This method is called when a whackable has been whacked.
[ { "docid": "9374549add5894f26db0e89800dda483", "score": "0.61858624", "text": "abstract protected void whackEvent(long timeStamp);", "title": "" } ]
[ { "docid": "293f58e7b3a604881e08d1c59c316515", "score": "0.7349459", "text": "protected void whacked() {\n if (!isFinished()) {\n if (++whacked >= goalWhack) {\n finish(true);\n }\n }\n }", "title": "" }, { "docid": "77bc9d9fac42bb4a11a60...
44c53bc744e2fecd3bccf33db5507e34
optional uint32 cluster = 10;
[ { "docid": "ce4a73ef71ba708845119eb5e7370fd1", "score": "0.6010356", "text": "public int getCluster() {\n return cluster_;\n }", "title": "" } ]
[ { "docid": "60a82fefc8bcf352c2fc3a0f5da49576", "score": "0.7046159", "text": "int getCluster();", "title": "" }, { "docid": "1662091b9b4a63edff0cebb480d03331", "score": "0.627357", "text": "void cluster(int num, int noOfClusters);", "title": "" }, { "docid": "433d0fe22df0...
40c7852686414e47bb5764c4586ba7f7
Methode pour afficher la temperature courante
[ { "docid": "bd27d38448ad60459c760816a1d16fa9", "score": "0.0", "text": "private static void afficherTemperatureCourante() throws IOException \r\n {\r\n String charset = \"UTF-8\"; // Or in Java 7 and later, use the constant: java.nio.charset.StandardCharsets.UTF_8.name()\r\n String url...
[ { "docid": "17ac24a72c7d419fa5c7da0f02cec6aa", "score": "0.8576717", "text": "double getTemperature();", "title": "" }, { "docid": "17ac24a72c7d419fa5c7da0f02cec6aa", "score": "0.8576717", "text": "double getTemperature();", "title": "" }, { "docid": "0c3c01537e40dbc1b201...
c44f70fc3b56e0ed7795663293de7695
This method was generated by MyBatis Generator. This method returns the value of the database column juju_venues_day_info_list.id
[ { "docid": "a8e1863c586495cb0db99f3a2b8bb503", "score": "0.0", "text": "public Integer getId() {\n return id;\n }", "title": "" } ]
[ { "docid": "ef5ea2dca209d9935b4a25331c1a88d6", "score": "0.55366606", "text": "public Integer getEmployeeId() {\n for (int i = 0; i < list.size(); i++) {\n System.out.println(list.get(i).getUsername());\n System.out.println(list.get(i).getPassword());\n System.out...
2c6b374e989f6db4d0da037d7f81bdef
Handles the upload of an Earley attribute file.
[ { "docid": "0dd59c2f6862bb7666cfadaa1ad96f85", "score": "0.5633989", "text": "public long submitAttributeUpload(String userId, MultipartFile file, String description)\n\t\t\tthrows IOException, FileProcessingException {\n\n\t\t// Validate the file\n\t\tthis.earleyAttributeParser.validateHeaderRecord(fil...
[ { "docid": "487ce771437aaebaba83fb4caab793c2", "score": "0.61068344", "text": "void storeFile(MultipartFile myFile, String uuidName, String datasetId) throws IOException;", "title": "" }, { "docid": "e76c2ff3eb5e282ba5a6c237fc8ac401", "score": "0.6057907", "text": "public void fileAt...
42ee81292e9dd91c1729ef0422062b05
Layout components inside the frame
[ { "docid": "a9ecfcdbe21d999d1f708b57e1a56e8f", "score": "0.7084148", "text": "@Override\n protected void layoutComponents()\n {\n this.setLayout(new BorderLayout());\n this.add(this.webPagesTabbedPanel, BorderLayout.CENTER);\n this.setJMenuBar(this.createMenuBar());\n }", ...
[ { "docid": "45db95872ea78238702bafa6b54c76e3", "score": "0.81104445", "text": "private void layoutGUI(){\n\t\tmakeAndLayoutViews();\n\t\tsetLayoutAndAddComponentsToFrame();\n\t}", "title": "" }, { "docid": "d4af2b2b48d4ccb21f86651b6f45d11d", "score": "0.7879198", "text": "private voi...
18e36ccedcaa283331c96db662286791
TODO tlacitko na hledani
[ { "docid": "63c902e6e4d6da5e023a7c7947b56664", "score": "0.0", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n if (getArguments() != null)\n idRegion = getArguments().getInt(ID_REGION);\n regions = new Link...
[ { "docid": "76e3d99118a00e74a082f6a955778f7d", "score": "0.66205966", "text": "Grensesnitt(){}", "title": "" }, { "docid": "76a80470fd21f5a9092c258ed3a8a632", "score": "0.6555793", "text": "private static void 로또번호리스트() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9969c2cd...
cf2d41047a713cb5984f5224588ac7e5
Get a current IP call session from its session ID
[ { "docid": "6555ccf37ddd7870ad83ecabc68cc488", "score": "0.7447873", "text": "public IIPCallSession getSession(String id) throws ServerApiException {\n\t\tif (logger.isActivated()) {\n\t\t\tlogger.info(\"Get IP call session \" + id);\n\t\t}\n\n\t\t// Check permission\n\t\tServerApiUtils.testPermission()...
[ { "docid": "fd778a2eb618cb54e7a1f4ee596348a5", "score": "0.6631488", "text": "SessionInfo getSession(String sessionId);", "title": "" }, { "docid": "a89bf1f937d48f16e6c0183940d47a36", "score": "0.63014305", "text": "ISession getCurrentSession();", "title": "" }, { "docid"...
1e06b636c49c3c7777e5ebddbe97064e
provide a nonnull endpointURI to create lazybag for endpoint querying
[ { "docid": "d78056a8c2c34e8c7abbc2a513d17f1a", "score": "0.0", "text": "public BatchedRemoteQueryingBagValue(Query query, ValueRow inputRow, String endpointURI) {\n\t\tthis.inputRow = inputRow;\n\t\tthis.originalQuery = query;\n\t\tthis.endpointURI = endpointURI;\n\t\tthis.queryFieldMap = QueryUtil.crea...
[ { "docid": "2a95a0e898cef9b0b14f51752176cf87", "score": "0.6753307", "text": "public abstract URI getEndpoint();", "title": "" }, { "docid": "59e8365d5152eb594a7d5022c263a25c", "score": "0.65852475", "text": "public Builder endpoint(String endpoint) {\n this.endpoint = end...
39f9335296a50579749ea25193507e42
Sets true if the chart is configured to be destroyed on the detach from DIV element, otherwise false.
[ { "docid": "b51773518c9c0838308f0e9777a4ada4", "score": "0.6773557", "text": "public void setDestroyOnDetach(boolean destroyOnDetach) {\n\t\tgetConfiguration().setDestroyOnDetach(destroyOnDetach);\n\t}", "title": "" } ]
[ { "docid": "d8a244699c86c4d2b44a1f70ebc51f6c", "score": "0.6867189", "text": "public boolean isDestroyOnDetach() {\n\t\treturn getConfiguration().isDestroyOnDetach();\n\t}", "title": "" }, { "docid": "1a7c7ddf1ba61bc8d1bbbdc85c49db4a", "score": "0.6264777", "text": "@Override\n\tpubl...
ac28f3da72336d86bc73b8d38f9d01ba
static method to create the object Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable If this object is not an element, it is a complex type and the reader is at the event just after the outer start element Postcondition: If t...
[ { "docid": "c6f0a6f2db0e7e309ece37d482a63b81", "score": "0.49501976", "text": "public static WsGroupDetail parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n WsGroupDetail object =\n new WsGroupDetail();\n\n int event;\n java.lang...
[ { "docid": "b530a19227c73ba895aa904be77644d8", "score": "0.5667354", "text": "StructureElement createStructureElement();", "title": "" }, { "docid": "0eb4b6241b37b35a590ac7eba3f9fae5", "score": "0.5492328", "text": "@Override\n public void startElement(NodeName elemName, SchemaTyp...
38e0237a9e103d43200a2377cdc12af0
$ANTLR start "num_scalar" /Users/wrvhage/Dropbox/teaching/Information_Retrieval_2012_2013/Distributed/pig0.10.0lucene/src//org/apache/pig/parser/AstValidator.g:524:1: num_scalar : ( MINUS )? ( INTEGER | LONGINTEGER | FLOATNUMBER | DOUBLENUMBER ) ;
[ { "docid": "c3027027a5b25740e52baa68639d3afa", "score": "0.7783253", "text": "public final AstValidator.num_scalar_return num_scalar() throws RecognitionException {\n AstValidator.num_scalar_return retval = new AstValidator.num_scalar_return();\n retval.start = input.LT(1);\n\n\n Co...
[ { "docid": "7267fa505cb327fa6f2d2698d8c963c6", "score": "0.6349313", "text": "public final AstValidator.scalar_return scalar() throws RecognitionException {\n AstValidator.scalar_return retval = new AstValidator.scalar_return();\n retval.start = input.LT(1);\n\n\n CommonTree root_0 ...
acacb4f0b19ba2a4a835c59eda9179b5
This parameter is used to determine how often we run the SubscriptionManager's Messages Consumed timer task thread (in milliseconds).
[ { "docid": "97c9cf0180b3d8fc11c9a011e1b69ed9", "score": "0.7093094", "text": "public int getMessagesConsumedThreadRunInterval() {\n return conf.getInt(MESSAGES_CONSUMED_THREAD_RUN_INTERVAL, 60000);\n }", "title": "" } ]
[ { "docid": "3fe84b93b0919d5993880605edf24161", "score": "0.612739", "text": "int contentSubscribeTimeout() {\n return getInt(\"ContentSubscribeTimeout\", 0);\n }", "title": "" }, { "docid": "8a23851d7d48177d8d3ba54f0708aa1e", "score": "0.5986121", "text": "@Override\n public i...
3f826e2af5146383d12dd60105b18949
Gets the attribute value for SuggestedWhlslPrice, using the alias name SuggestedWhlslPrice.
[ { "docid": "c821ebbfceb42f723387e3523c0738eb", "score": "0.74968845", "text": "public BigDecimal getSuggestedWhlslPrice() {\n return (BigDecimal) getAttributeInternal(SUGGESTEDWHLSLPRICE);\n }", "title": "" } ]
[ { "docid": "9724d8347a6f02a532f284c23d2329e6", "score": "0.5310652", "text": "public void setSuggestedWhlslPrice(BigDecimal value) {\n setAttributeInternal(SUGGESTEDWHLSLPRICE, value);\n }", "title": "" }, { "docid": "1400efa6b0bb399f84d31b388f591f82", "score": "0.52965194", ...
7f72c82f6fdcf813b9417e8a66b488b1
Populating data into the item through holder
[ { "docid": "f25103b45d7636e08b3db0cc764b600f", "score": "0.0", "text": "@Override\n public void onBindViewHolder(PhotoAdapter.ViewHolder viewHolder, int position) {\n // Get the data model based on position\n Photo photo = photoList.get(position);\n\n // Set item views based on t...
[ { "docid": "03d4d99a441a7bd7df0dfc323abb10e7", "score": "0.7153367", "text": "public void populateViewHolder(Holder holder) {\n holder.address.setText(getAddress());\r\n holder.building.setText(getBuilding());\r\n }", "title": "" }, { "docid": "8f5ea95e701fe1936e437b0ed30372...
8d58f17884fe6cd82028a4ac73851356
repeated .PhoneNumber phones = 4;
[ { "docid": "9654c049d3aaa46cea4e12fa4b142a6a", "score": "0.58826864", "text": "PhoneNumberOrBuilder getPhonesOrBuilder(\n int index);", "title": "" } ]
[ { "docid": "f1648579537d016628b3409252b7ac49", "score": "0.59792346", "text": "PhoneNumber getPhones(int index);", "title": "" }, { "docid": "9e1e3c1f03582c2b14803506d561d688", "score": "0.5916514", "text": "int sizeOfSamePhoneNumberArray();", "title": "" }, { "docid": "f...
5049c2fedc1cbc87800274fd7c2cd1a2
your code to clean up and finish the activity...
[ { "docid": "d0e73d6722660fb0d9939b8ba4eae08e", "score": "0.0", "text": "@Override\n\t\t\t public void onCompletion (MediaPlayer mp) {\n\t\t\t \t\n\t\t\t \tmVideoView.setVisibility(View.GONE);\n\t\t\t \n\t\t\t \t\n\t\t\t \tmCoverflow.setVisibility(View.VISIBLE);\n\t\t\t \t\n\t\t\t ...
[ { "docid": "9dcbd7c319c90efa1b2a8323e7a1c7f0", "score": "0.764581", "text": "@Override \n\t protected void onDestroy() {\n\t super.onDestroy(); \n\t // ActivityCollector.finishAll(); \n\t }", "title": "" }, { "docid": "18c80e306169eef6e8864c6805f0df5e", "score": "0....
0e3d8ee5af90ffcd9d068687ee765056
/ the following methods build each type of shape
[ { "docid": "4425c3df1649a44ef6575a7492abdc34", "score": "0.0", "text": "private void buildHexagon(int cellSize, int x, int y)\n\t{\n\t\tdouble hexHeight = cellSize;\n\t\tdouble hexWidth = hexHeight*Math.sqrt(3)/2;\n\t\tdouble hexHeightOffset = Math.tan(Math.PI/6)*hexWidth*.5;\n\n\t\tif (x%2 == 0)\n\t\t{...
[ { "docid": "aeeb5fe32a2c98e4e92b5186f24bd1fb", "score": "0.7000554", "text": "private void makeShapes() {\n\t\tfor (int i=0;i<21;i++)\n\t\tfor(int j=0;j<5;j++)\n\t\t\tfor(int k=0;k<5;k++) {\n\t\t\t\tshapeList[i][j][k].setVisible(false);\n\t\t\t\tshapeList[i][j][k].setOne(0);\n\t\t\t}\n\t\t//Making shape...
122045e5ea9d5eb91d4289be7bcf0758
Sets the requirements of this evolution
[ { "docid": "173f528183eda8c365f41d87c2dde5c0", "score": "0.72547626", "text": "public Evolution setRequirements(List<Requirement> requirements) {\n\t\tthis.requirements = requirements;\n\t\treturn this;\n\t}", "title": "" } ]
[ { "docid": "7dfd2b007c7810ecdc1d96dd155527d8", "score": "0.5798125", "text": "public void setRequirementDefect(int nRequirementDefect) {\r\n this.nRequirementDefect = nRequirementDefect;\r\n }", "title": "" }, { "docid": "16647fe6fbf1b523d7f114f255a888f5", "score": "0.57950574"...
3583cf8d3b7dd64685556b7538dc0567
This method was generated by MyBatis Generator. This method returns the value of the database column tra_hotel.level_id
[ { "docid": "7bc75f47161ef3c5234e77eddefafb7d", "score": "0.7324412", "text": "public Integer getLevelId() {\r\n return levelId;\r\n }", "title": "" } ]
[ { "docid": "92eae267b9986b385d0a5dec089f1548", "score": "0.7325814", "text": "@Id\n\t@Column(name = \"levelId\")\n\t@GeneratedValue\n\tpublic Long getLevelId() { return levelId; }", "title": "" }, { "docid": "3161513296dc5e118999a74eadf0be63", "score": "0.7306135", "text": "public In...
3879bfdc3a1fac24bd33c8fd2c62c879
Default constructor, shows the GUI by default
[ { "docid": "d787c284523986e097250dfa10198463", "score": "0.0", "text": "public HideManual() {\n\n}", "title": "" } ]
[ { "docid": "af305b0e535ad527c7502d2453212eb2", "score": "0.8521113", "text": "private GUI(){}", "title": "" }, { "docid": "16203ea871efaf66a8634c61da7e0f42", "score": "0.8464819", "text": "public Gui() {\r\n\t\t\tinitComponents();\r\n\t\t}", "title": "" }, { "docid": "8f7...
2e564fe2fa6f2f43628ccb329547eef2
/ Model(String path, Vector3f pos, float scale, int type_1) Model.java main constructor Loads a .obj model from the given path into memory
[ { "docid": "7f9f21f422e44607dd85c5752ca24f61", "score": "0.73252255", "text": "public Model(String path, Vector3f pos, RGB col, float scale, int material, float reflectivity) {\n\t\tm_faces = new ArrayList<Triangle>();\n\t\tm_pos = pos;\n\t\tm_col = col;\n\t\tm_scale = scale;\n\t\tm_material = material;...
[ { "docid": "5c0356367544ba0f88eb0e8db59f8298", "score": "0.7181649", "text": "public static ObjModel loadObj(Context context, String objPath) throws IOException\n {\n List<Vec3> positions = new ArrayList<>();\n List<Vec3> positionsDupli = new ArrayList<>();\n\n List<Vec3> normals...
688e67b7da9b0e87c70d1ab29aec2e01
parse custom attribute from XML and init them
[ { "docid": "8054d7c29f3c04a29e060f45a97238e4", "score": "0.0", "text": "private void init(AttributeSet attrs) { \n\t\t\n\t TypedArray a = getContext().obtainStyledAttributes( attrs, com.vekandroid.vekautils.R.styleable.AutomaticGridLayout);\n\t int tmpSpaceBetweenColumnHorizontaly = a.getInt(com.v...
[ { "docid": "1cbfa37d05961f422fb8b8098f013ea6", "score": "0.6144512", "text": "private XAttr() {\n initFields();\n }", "title": "" }, { "docid": "2f11476bf76adff3ec005d445b0bd137", "score": "0.5924112", "text": "private void Process_XmlAttribute()\r\n {\r\n t...
cd4192b1241afa9aa5a225c9a62b23cd
TODO code application logic here Generate Process Randomly ATAT average turn around time AWT average waiting time
[ { "docid": "d6528c3fa5b7ef729bfdb504166824e2", "score": "0.0", "text": "public static void main(String[] args) {\n int numProcess;\r\n int arrival=0,at,ATAT=0,AWT=0;\r\n Scanner sf = new Scanner(System.in);\r\n System.out.println(\"Enter the no. of Process\");\r\n numP...
[ { "docid": "c6bf3d8486947e3eae59abe587804c0f", "score": "0.6987235", "text": "static void findavgTime(int processes[], int n, int bt[]) { \r\n int wt[] = new int[n], tat[] = new int[n]; \r\n int total_wt = 0, total_tat = 0; \r\n \r\n //Function to find waiting time of all processes...
5ba0b4cf068207e4ac7dc6bb97011c50
Returns a calendar using the specified time zone and default locale.
[ { "docid": "da877008bfae7eebd71ae6fba654743b", "score": "0.63161147", "text": "public static Calendar getInstance(TimeZone zone)\n {\n return getInstanceInternal(zone, null);\n }", "title": "" } ]
[ { "docid": "dfce30ab06d4729247c6a7c3a2aa4f11", "score": "0.6766617", "text": "private static Calendar getInstanceInternal(TimeZone tz, ULocale locale) {\n if (locale == null) {\n locale = ULocale.getDefault(Category.FORMAT);\n }\n if (tz == null) {\n tz = TimeZ...
efdef17b320a412d69fbecb319c4c4b1
/ JADX WARNING: Removed duplicated region for block: B:37:0x00fc / JADX WARNING: Removed duplicated region for block: B:40:0x0104 / Code decompiled incorrectly, please refer to instructions dump.
[ { "docid": "03e5fd0d4f51027959dfa856d5019aa1", "score": "0.0", "text": "public void bind(p035ru.unicorn.ujin.view.dialogs.dataEntry.Field r8) {\n /*\n r7 = this;\n java.lang.String r0 = \"item\"\n kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r8, r0)\n ...
[ { "docid": "906bf3debbc4fe4f097c3299e2aee798", "score": "0.6215061", "text": "private void m6201i() {\n /*\n r4 = this;\n r2 = r4.f3776t;\n monitor-enter(r2);\n r1 = 0;\n L_0x0004:\n r0 = r4.f3776t;\t Catch:{ all -> 0x002b }\n r0 = r0.size();\t Catch:{...
d8f7b45c1107cfb1d4ae209d919fd79f
generate a table to encode an occurrence constraint.
[ { "docid": "a0f4febbf86233ce3f55f025ed929e84", "score": "0.58357614", "text": "public Constraint getTableForOccurence(IntegerVariable[] vs, IntegerVariable occ, int val, int ub) {\n CPModel mod = new CPModel();\n IntegerVariable[] vars;\n vars = makeIntVarArray(\"e\", vs.length + 1,...
[ { "docid": "ab8e5bbaa5b911ba78dcd3be2a1bca22", "score": "0.5734725", "text": "public TableConstraintsExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" }, { "docid": "29717442eded09f59cb9d4bd383b4bca", "score": "0.55604905", "text": "private Constrain...
42da5e3e25374171b37363cda4f6871f
Create a CyEdge that connects two given CyNodes.
[ { "docid": "28dc4b6ea07496b8c1ed67be8f2b94d8", "score": "0.6053637", "text": "public static CyEdge createEdge(final CyNode source, final CyNode target, final String edgeIType) {\r\n return Cytoscape.getCyEdge(source, target, Semantics.INTERACTION, edgeIType, true, true);\r\n }", "title": "...
[ { "docid": "86d15a73f27058751e3bdd0cf5081794", "score": "0.62775564", "text": "DiEdge createDiEdge();", "title": "" }, { "docid": "03c943df872fd21a7cf4dfab76322ff9", "score": "0.62297297", "text": "GraphEdge createGraphEdge();", "title": "" }, { "docid": "13bf8dc9cdfb8417...
a3a7b9157594983991097a7b762fea1a
Reject (ignore) a ringing call. In GSM, this means UDUB (User Determined User Busy). Reject occurs asynchronously, and final notification occurs via PhoneStateChanged callback.
[ { "docid": "f9ac8c91e3e14fc98ca7dabe3368047c", "score": "0.59176314", "text": "public void rejectCall() {\n CsvtService.this.rejectCall();\n }", "title": "" } ]
[ { "docid": "4a382fbf225f296545f3e0edd2cebf3d", "score": "0.7262526", "text": "public static native int rejectCall(String callid, int reason);", "title": "" }, { "docid": "e90aa983fe33bca3696b9e0954ddc734", "score": "0.63505346", "text": "com.elarian.hera.proto.MessagingModel.RejectCa...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "9618d5786c7a4d034efc47db5df9db99", "score": "0.0", "text": "@Override\n\tpublic int insertWorkData(Map map) {\n\t\treturn tbyzCheckForWorkMapper.insertSelective(map);\n\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
5b8f372e7690df82dbab8b0b9cc16f95
The main method to be called from the command line to interactively run a game of Marble Solitaire. The user can specify with command line arguments how they would like to configure their model.
[ { "docid": "a1de2c5cdd61175388dffa28a5acd10f", "score": "0.80113465", "text": "public static void main(String[] args) {\n MarbleSolitaireModel model = null;\n int len = args.length;\n if (len == 1) {\n switch (args[0]) {\n case \"english\":\n model = new MarbleSolitaireMode...
[ { "docid": "cb6aa2f4a6106f69f343e30db2b127cb", "score": "0.7228933", "text": "public static void main(String[] args){\n new Main().commandGameExecution(0);\n }", "title": "" }, { "docid": "13e587a40ca751e4e9e8e5252c4f2340", "score": "0.71460634", "text": "public static void...
6f0acd0832ee7d3b7d24b96b533d7116
This method returns information regarding the IP addresses assigned to a specified virtual machine in a compute pool.
[ { "docid": "1dcbd05f992ad2015d8789c4bae9f99d", "score": "0.7514256", "text": "AssignedIpAddresses getVirtualMachineAssignedIPAddresses(String virtualMachineId) throws TerremarkException;", "title": "" } ]
[ { "docid": "1307f536ce39c06f78f9e5cc39c448f8", "score": "0.6415007", "text": "public ArrayList<IPAddress> getIpPool() {\n\t\treturn ipPool;\n\t}", "title": "" }, { "docid": "9b7caef20346c72ed92b98c9127d2469", "score": "0.6294046", "text": "public InetAddress getVirtualIpAddress();", ...
b844f8f84869e52697e6727f7ccdf94c
Public method for loading resources
[ { "docid": "f5d5c4d15774a816b6fafd514b95434e", "score": "0.0", "text": "public void load(String st_json) throws IOException, JSONException {\n\t\tJSONObject jObj = new JSONObject(st_json);\n\t\tsetElements(jObj);\n\t}", "title": "" } ]
[ { "docid": "b3d2f1fd7bfbe9d5da22f41c8176c8c7", "score": "0.78709644", "text": "public void loadResource(Resource resource);", "title": "" }, { "docid": "3891a13ca6c4126da574b4472b5642ab", "score": "0.7262075", "text": "@Override\n public void loadResources() {\n m_namedTask.loadR...
9c01c85f1a8eb50264f318bc95a493d3
Large FeatureVectors (e.g. 20,000+ features) should almost always be constructed via a FeatureVectorBuilder, which has much faster support for add() and set().
[ { "docid": "fdc99e89838f1081a5fe771fa86e218f", "score": "0.6208495", "text": "public FeatureVector() {\n super();\n }", "title": "" } ]
[ { "docid": "413585ba0038ce1635658a3ad5b83344", "score": "0.6097251", "text": "@Override\n\tpublic void addVector(FastVector fastVector, Instance trainInstance,\n\t\t\tboolean train, PopulateFile populateFile,\n\t\t\tHashMap<String, Integer> featureList) {\n\t\t\n\t}", "title": "" }, { "docid...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "04c2c4c85d8a3da6855fcb75fb06dd64", "score": "0.0", "text": "public static C9250a m46136a() {\n return new C9250a();\n }", "title": "" } ]
[ { "docid": "6bb82b473a9f707f03cb5cb6b11957bb", "score": "0.6303214", "text": "interface C46974a {\n /* renamed from: a */\n void mo118130a();\n }", "title": "" }, { "docid": "4e6a75296e170c4f7ef9da4ffbf823af", "score": "0.6236393", "text": "public interface C0921a {\...
abb33f85d76f7e8736e63ece06e7d531
databinding method to get an XML representation of this object
[ { "docid": "1acddbaba0cdd992c365a31be5122f33", "score": "0.0", "text": "public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)\n throws org.apache.axis2.databinding.ADBException{\n\n\n \n java.util.ArrayList elementList = new java...
[ { "docid": "e8e01405cbdc7e8bfc26bf89b5568b29", "score": "0.6841688", "text": "@Override\n\tpublic Object toXML() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b0e9b592ad8b2feda2c57830abb8794d", "score": "0.6683369", "text": "@Override\r\n\t\t\tpublic String toXml() {\n\t\t\t\...
118b4bffd2e39f25d6cd220ea8bb04fa
prints out the formatted line.
[ { "docid": "ca1ee4d66e64815a56eda22f5f8463d5", "score": "0.0", "text": "public static void printLine(String text, double amount) {\n\t\tassert text.length() <= 30;\n\t\tformat = \"%-30s %20.2f %n\";\n\t\tSystem.out.printf(format, text, amount);\n\t}", "title": "" } ]
[ { "docid": "a59f3d857adea0db5c9642235e4550c0", "score": "0.6964975", "text": "static void print(Object line) {\n\t\tSystem.out.println(line);\n\t}", "title": "" }, { "docid": "5013338dbe9dcfc8064418f490b401bd", "score": "0.67844635", "text": "public void showLine() {\n System....
deecc0f60d5233260cb25abb32e6a2c7
Returns true if key is present in trie, else false
[ { "docid": "eed6e684afb164abcba36c88b3907259", "score": "0.7153221", "text": "public static boolean search(String key)\r\n {\r\n int level;\r\n int length = key.length();\r\n int index;\r\n TrieNode pCrawl = root;\r\n\r\n for (level = 0; level < length; level++)\r\n...
[ { "docid": "63b81ab13fe7db270345734f2a5c52a6", "score": "0.7882355", "text": "static boolean search(String key) { \r\n\t int idx;\r\n\t int size=key.length();\r\n\t TrieNode searcher = root;\r\n\t \r\n\t for(int i=0;i<size;i++) {\r\n\t\t idx=key.charAt(i)-'a';\r\n\t\t if(searcher.children[id...
3720a75b1f82445b3e09f60cd0001498
// Constructor with 3 local parameters used for POST method. The constructor inherents the default constructor.
[ { "docid": "8bc529486c859810294b4d7f3f5a27d3", "score": "0.0", "text": "public Humidity(int huValue, Date huDate, String huComment) {\n this();\n this.huValue = huValue;\n this.huDate = huDate;\n this.huComment = huComment;\n }", "title": "" } ]
[ { "docid": "bf9e6bed3b9f19fed7847e223068f1ed", "score": "0.6588731", "text": "protected HttpEntity()\n/* */ {\n/* 73 */ this(null, null);\n/* */ }", "title": "" }, { "docid": "0324cc0a2c070d69f11c0c0770f3f0f9", "score": "0.65716374", "text": "public RequestParams( ) ...
26b3ba8b79c1230043a29ec8f58132ee
Returns the time and date of the last Login of the user in the system.
[ { "docid": "57974a319a8d8e03baf2fd911c9f0084", "score": "0.7882027", "text": "public String getLastLogin() {\n return lastLogin;\n }", "title": "" } ]
[ { "docid": "f8080d8bec7ecda21caaecfb93a8b12a", "score": "0.8658881", "text": "Timestamp getLastLoginTime();", "title": "" }, { "docid": "e5985d2f1f4c98497915af14fb5b195a", "score": "0.83878076", "text": "public Date getLastLoginTime() {\r\n return lastLoginTime;\r\n }", ...
387ec0eb9f78ee305a2c0dfba2c712c3
Read properties from result. Return true to stop the notification from displaying.
[ { "docid": "c9d023ae2e1c07486ef11fa2a6f94244", "score": "0.53641295", "text": "@Override\n protected boolean onNotificationProcessing(OSNotificationReceivedResult receivedResult) {\n return false;\n }", "title": "" } ]
[ { "docid": "54f143835fad056cc5a2881142036d41", "score": "0.5818069", "text": "public boolean onNotificationProcessing(OSNotificationReceivedResult oSNotificationReceivedResult) {\n JSONObject jSONObject = oSNotificationReceivedResult.payload.additionalData;\n try {\n if (jSONObj...
b7896af0b674f2cf485cb32676a9f33c
Returns a String representing the local channel name for the specified remote channel by calling the ImudServices implementation of getLocalChannel().
[ { "docid": "024d14fcd2296d710179d59ca5544076", "score": "0.71270853", "text": "static public String getLocalChannel(final String c )\r\n\t{\r\n\t\tif(!isConnected())\r\n\t\t\treturn \"\";\r\n\t\treturn thread.intermud.getLocalChannel(c);\r\n\t}", "title": "" } ]
[ { "docid": "772a00be75f192fd71e717c7fdef68df", "score": "0.72226405", "text": "java.lang.String getChannelname();", "title": "" }, { "docid": "6a06c1fd9855030daff942bd5b786848", "score": "0.6725588", "text": "static public String getRemoteChannel(final String c)\r\n\t{\r\n\t\tif(!isC...
a5973db7ecf9a40f90675ffe0a6b222f
This adds a property descriptor for the Operation Type feature.
[ { "docid": "7b6c7deecdbcc9199847b3030f4382fd", "score": "0.73800105", "text": "protected void addOperationTypePropertyDescriptor(Object object) {\n\t\titemPropertyDescriptors.add\n\t\t\t(createItemPropertyDescriptor\n\t\t\t\t(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n\t\t\t\t...
[ { "docid": "dfe9d329936a23aace1ee09c26b450dd", "score": "0.63610834", "text": "protected void addEndpoint_typePropertyDescriptor(Object object) {\n\t\titemPropertyDescriptors.add\n\t\t\t(createItemPropertyDescriptor\n\t\t\t\t(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n\t\t\t\t...
a2f84b26d9f460c24fd15650663ecc21
Sets the value of the 'receptorDomicilioPais' field
[ { "docid": "aa845b449ea7d4412ae673da234f06f5", "score": "0.8570321", "text": "public com.praxis.maki.model.ComprobanteMin.Builder setReceptorDomicilioPais(java.lang.CharSequence value) {\n validate(fields()[40], value);\n this.receptorDomicilioPais = value;\n fieldSetFlags()[40] = true;\n...
[ { "docid": "b538efe38302eb5b41fe7bb2701f78ff", "score": "0.8186967", "text": "public void setReceptorDomicilioPais(java.lang.CharSequence value) {\n this.receptorDomicilioPais = value;\n }", "title": "" }, { "docid": "fd4b8871732a2e868b559b24b2e58ce2", "score": "0.7252422", "text...
613376e4ea4edcd55392d5b296c27b4f
Gets the value of a setting as an integer.
[ { "docid": "ef7d24ee945a66373a7e4bb9d3da918b", "score": "0.0", "text": "default int get(String identifier, int defaultValue) {\n return getTyped(identifier, Integer::parseInt, defaultValue);\n }", "title": "" } ]
[ { "docid": "9017a656040ae0c5d1547b0e40e1b906", "score": "0.7595978", "text": "public int getSettingInteger()\n\t{\n\t\tint integer = 0;\n\t\t\n\t\tIterator<SettingEntry> expit = exportvalues.iterator();\n\t\t\n\t\tint i = 0;\n\t\twhile(expit.hasNext())\n\t\t{\n\t\t\tSettingEntry e = expit.next();\n\t\t\...
9640e86b29750d0e0ea6ce043d17b1c9
Test of load method, of class Interpreter.
[ { "docid": "d3a14a8204daf0f98e16de8cd42028ed", "score": "0.5583522", "text": "public void testLoadMalformed() {\n String path = userdir + filesep + testfileprefix + \"Malformed\" + ext;\n\n Reader instance = new Reader();\n try {\n instance.load(path);\n } catch (E...
[ { "docid": "755808cf5728b70dd101105484aa4b43", "score": "0.7292907", "text": "public static void load() {\n }", "title": "" }, { "docid": "e0c80b1c7651fbbe33e14ae6ca1071c1", "score": "0.71799225", "text": "public void load() {}", "title": "" }, { "docid": "e0c80b1c7651...
4982b073a83c3e5f01efe2fe645bd2ca
calculate pij and check status
[ { "docid": "c220a3af4b90041fb3fb34c2f1a47e4b", "score": "0.70255667", "text": "static boolean pij(){\r\n \t\tp = new int[row][col];\r\n \t\tboolean status = false;\r\n \t\tfor (int i = 0; i < row; i++) {\r\n \t\t\tfor (int j = 0; j < col; j++) {\r\n \t\t\t\tif(totalSupply[i][j]==0){\r\n \t\t\t\t\t\tp[i]...
[ { "docid": "319f837961266188fda58ebad7aa6fd1", "score": "0.6068102", "text": "void judge_success(){\r\n\t\tint i=0, j=0;\r\n\t\tgrid: for (i = 0; i < column; i++){\r\n\t\t\tfor (j = 0; j < column; j++){\r\n\t\t\t\tif(grid[i][j].STATE >= 0 & !(grid[i][j].getDisableSTATE())){\r\n\t\t\t\t\tbreak grid;\r\n\...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "26f6225dfe222ecaa53f545b20ce7911", "score": "0.0", "text": "@Override\r\n\tpublic void removeObserver(ObserverI observerI) {\n\t\tobserversList.remove(observerI);\r\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, ...
a598d4344fc5624850b12018f4106604
Tests that the string "joined", when split by "delim" using ParsingUtils.split(String, char), Ends up with the expected number of items Ends up with the expected items Ends up with the same items as when the split is performed using String.split When rejoined (using ParsingUtils.join(String, Collection&gt;String&lt;) )...
[ { "docid": "216724613752f61e7a6ea64823e34d8f", "score": "0.8488179", "text": "private void testSplitJoinRoundtrip(String joined, char delim, List<String> expectedItems) {\n List<String> split = ParsingUtils.split(joined, delim);\n Assert.assertEquals(split.size(), expectedItems.size());\n ...
[ { "docid": "e4be693ebd576154f8a4678d977c6d4e", "score": "0.5830446", "text": "@Test\n\tpublic void testDelimiters() {\n\t\ttry {\n\t\t\tassertThat(stringAccumulator.add(\"1,2\\n3\"), is(6));\n\t\t\tassertThat(stringAccumulator.add(\"1, 2, 3\"), is(6));\n\t\t\tassertThat(stringAccumulator.add(\"//***\\\\...
f3fe8dea4b40fa07f58158d12ab34257
the movement of unit
[ { "docid": "c8ef83a53852ce4e789d4b23a9c81457", "score": "0.6408221", "text": "public void move(Unit unit,World world,double dir_x, double dir_y, int delta, double SPEED){\r\n \t// make player face east or west\r\n \t// with right or left key be pressed\r\n \tif(dir_x == -1)\r\n \t{\r\n \t...
[ { "docid": "19403f9ee8f6c572e3926e5f3c779421", "score": "0.7585407", "text": "private void moveUnit()\n\t{\n\t\tif(this.getTargetPoint() != Vector2.Zero)\n\t\t{\n\t\t\tfloat reversedTY = Gdx.graphics.getHeight() - this.getTargetPoint().y;\n\t\t\ttargetDist= this.getDistance(this.getPosition().x, this.ge...
e098652efac93efaaef338b98b6fc0e4
optional string name = 1;
[ { "docid": "3b3b22c15cc9e96cec09398d6cd46553", "score": "0.0", "text": "public boolean hasName() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" } ]
[ { "docid": "615dbd3543243976c6f598949cf934f3", "score": "0.7550178", "text": "public void name(String name) {this.name = name;}", "title": "" }, { "docid": "ded3a16ea7786bcf9e258a49df5f487c", "score": "0.7415193", "text": "public void setName(String name){this.name = name;}", "ti...
94d09a73ccb64d0632b63554595598e2
Add a new periodic task that will be executed on behalf of registered interceptors. The action to be performed is specified as a consumer that will be given access to the component instance
[ { "docid": "62a212c2e598a6944f9510cf46652779", "score": "0.50845397", "text": "public PeriodicTask schedule(Consumer<InstanceManager> action, long period, TimeUnit unit) {\n PeriodicTask task = new PeriodicTask(action, period, unit);\n return task;\n }", "title": "" } ]
[ { "docid": "fa3542467588e9fb51639fbd336c13b0", "score": "0.5389931", "text": "public void schedule(ScheduledTask task);", "title": "" }, { "docid": "3a68d88a0bef70c2d297767817f3a550", "score": "0.52744824", "text": "@Override\r\n\tpublic void newScheduler(Task task)\r\n\t{\n\t\t\r\n\...