query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
6712881e4cf7daabfc93923067c70501
Adds a simple Item tag.
[ { "docid": "cde89447dd32c6229950287b1c9177cb", "score": "0.6296228", "text": "public TellRawChatMessage addSimpleItem(ItemStack item) {\n\t\tif(item == null) return this;\n\t\t\n\t\tString name = MCPrettyName.getPrettyName(item, \"de_DE\");\n\t\tString last = ChatColor.getLastColors(name);\n\t\tname = l...
[ { "docid": "9bc47544925bc19638afaf7f970e66e7", "score": "0.6685376", "text": "@Override\r\n\tpublic void addItem(String item) {\n\t\t\r\n\t}", "title": "" }, { "docid": "646a1b649aa766c45399405ce4c02ba1", "score": "0.65385574", "text": "public void addBriefingItem(String item);", ...
9ffae57fe9f2e0ed7b99b8b2e5c9f0bb
The tests in this JUnit class are only useful if this test here is ok.
[ { "docid": "10d765db968f7ca4ec5ba94be6336f94", "score": "0.0", "text": "@Test\n public void testIsClassloaderSupported() {\n assertTrue(digger.isClassloaderSupported(), digger.getClassLoader() + \" is not supported\");\n LOG.info(digger + \" supports the given classloader\");\n }", ...
[ { "docid": "90d9e282db5d9c05788646a3e33003ae", "score": "0.70165074", "text": "@Override\n @Before\n public void setUp() {\n }", "title": "" }, { "docid": "794cab814a3cd3abce923dc26e8dffb8", "score": "0.6978122", "text": "@SuppressWarnings(\"unchecked\")\n\t@Before\n\tpublic...
ea8e8373b5d324efe9c45e550eb31d0d
optional int32 star = 4;
[ { "docid": "c45fc048e74fc72437866e544e3ff289", "score": "0.6358276", "text": "public int getStar() {\n return star_;\n }", "title": "" } ]
[ { "docid": "af6170da47f7e264dc4af848f40bec93", "score": "0.6972491", "text": "int getStar();", "title": "" }, { "docid": "6056421463e84b3137365c67275f830d", "score": "0.62279576", "text": "public int getStar() {\n return star_;\n }", "title": "" }, { "docid": ...
b61d5fd53f4889ec617a7aac6372d44d
/ access modifiers changed from: private
[ { "docid": "deca82bae63e7a5fd84152cd17adfae9", "score": "0.0", "text": "public void onScrollChanged() {\n int i;\n int i2;\n int i3;\n int i4;\n if (this.mCallbacks != null && getChildCount() > 0) {\n int firstVisiblePosition = getFirstVisiblePosition();\n ...
[ { "docid": "2ad52390d92954e1d6f2925b4b14bfd4", "score": "0.67787594", "text": "private Helpers() {}", "title": "" }, { "docid": "46a460fe7658f3c47ccd353629357303", "score": "0.66345376", "text": "private Obsfucator() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "81005...
7e19019e19318ae09bbf785bc0246809
End tryMoveUp / Upon collision, removes the main character from the game.
[ { "docid": "123e142ba72cffed446c066c3915c1ff", "score": "0.0", "text": "public void collision(boolean paramBoolean1, boolean paramBoolean2) {\n\t\tint lives = this.game.getLives();\n\n\t\tif (!this.game.isInvinsible()) {\n\t\t\tlives--;\n\t\t\tif (lives > -1)\n\t\t\t\tthis.game.setLives(lives);\n\t\t\te...
[ { "docid": "dc4e51f7af68c767908e29f96a225a23", "score": "0.64907426", "text": "private void moveUp() {\n // Check if the game hasn't already ended\n if (movesLeft > 0 && !eaten) {\n boolean hitObstacle = false;\n // Move the fish forward\n fishCell.setPosit...
fa4c23769601b0ab36b40d0a619a5ac6
Do a bunch of messages at a time. Hoping to improve speed.
[ { "docid": "94284444e4963a84a96b7091fbd088f7", "score": "0.0", "text": "public Object doInTransaction(TransactionStatus ts) {\n try {\n for (Iterator mIter = msgList.iterator(); mIter.hasNext();) {\n MessageItem theMsg = (MessageItem)mIter.next();\n ...
[ { "docid": "17662f82a6ccf3533e10967501fddbff", "score": "0.69238657", "text": "public void run() {\n\t\tfor (int i = 0; i < times; i++) {\n\t\t\tSystem.out.println(msg);\n\t\t}\n\t}", "title": "" }, { "docid": "47e4cafdf4326bb3996d11972d20a9f1", "score": "0.6634019", "text": "@Overri...
1943401e1ec12bce458e9566df2896f0
System.err.println(" X = " + groupAxis.getAxisX().toString()); System.err.println(" Y = " + groupAxis.getAxisY().toString());
[ { "docid": "48e7139ceb8a48ee0c0116f6815c3128", "score": "0.0", "text": "@Override\n public void paintNode(Graphics2D g2d, ScRegion region){\n \n g2d.setStroke(this.getLineStroke());\n g2d.setColor(this.getStrokeColor()); \n if(seriesType == 1){\n this.pai...
[ { "docid": "dc88a118e6c8985ea4acd02bc0943cad", "score": "0.69063973", "text": "public int getAxis()\n {\n return m_axis;\n }", "title": "" }, { "docid": "7d91a253991db898c145053cbd790cac", "score": "0.68709755", "text": "public int getAxis() {\n return axis;\n }", "title...
2ac001fc01e483c192b7b0dc1c219d92
Returns is text on category item enabled or not
[ { "docid": "045d032d394cfe7b450129e39004e310", "score": "0.63991094", "text": "public static boolean isCategoryTextEnabled(int theme){\n\t\treturn IS_CATEGORY_TEXT_ENABLED[theme];\n\t}", "title": "" } ]
[ { "docid": "55c6e1170cfa54208be583cb90840911", "score": "0.69819957", "text": "boolean isCategory();", "title": "" }, { "docid": "9db4ca78d4237e2af4ba6de4abb4f7e0", "score": "0.6901541", "text": "boolean hasCategory();", "title": "" }, { "docid": "9db4ca78d4237e2af4ba6de4...
eb2d81a510202b855038f8ef55d4545b
Camera 3D controller constructor
[ { "docid": "4ccad7b9614edd271bd233129ee1e004", "score": "0.6886967", "text": "public Camera3D(Camera newCam) {\n\t\tsuper(newCam);\n\t}", "title": "" } ]
[ { "docid": "3039c831c8405f3b1f3e9999cefeb88b", "score": "0.792374", "text": "public Camera3D()\n {\n near = DEFAULT_NEAR;\n far = DEFAULT_FAR;\n fieldOfView = DEFAULT_FIELD_OF_VIEW;\n position = new Point3D();\n right = DEFAULT_RIGHT_DIRECTION;\n direction = ...
17498448abb3635a8961ddc3a522643c
Returns the number of rows matching the dynamic query.
[ { "docid": "5150fab223c8c8452e7d41a8c4c96138", "score": "0.0", "text": "@Override\n\tpublic long dynamicQueryCount(\n\t\tcom.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,\n\t\tcom.liferay.portal.kernel.dao.orm.Projection projection) {\n\n\t\treturn _tagLocalService.dynamicQueryCount(dynamicQu...
[ { "docid": "eaefb2f79c6948286b28db0888377194", "score": "0.8079693", "text": "public long dynamicQueryCount(DynamicQuery dynamicQuery);", "title": "" }, { "docid": "eaefb2f79c6948286b28db0888377194", "score": "0.8079693", "text": "public long dynamicQueryCount(DynamicQuery dynamicQue...
fc2385881676e11e0f106e37cd498a62
Return the current active test run session number
[ { "docid": "595ce726a6b7e3848ca11b351d6740a8", "score": "0.8204879", "text": "public Integer getActiveTestRunSession() {\n return activeTestRunSession;\n }", "title": "" } ]
[ { "docid": "55287a9553f9cb321a089912a6d36786", "score": "0.7130589", "text": "public int getSessionNo() {\n String[] sid = sessionid.split(\"/\");\n return Integer.parseInt(sid[0]);\n }", "title": "" }, { "docid": "200d52f4fff74894c118f03d0e25eab2", "score": "0.6826434",...
fa5e518b2036db217cc2933ac16f7f34
Sets the value of the 'field1059' field.
[ { "docid": "b90854056f61dcf25bc77d19f047c2c2", "score": "0.77073354", "text": "public void setField1059(java.lang.CharSequence value) {\n this.field1059 = value;\n }", "title": "" } ]
[ { "docid": "77adff90c77837719db01b61b8e9c67b", "score": "0.8126909", "text": "public com.maxpoint.cascading.avro.TestExtraLarge.Builder setField1059(java.lang.CharSequence value) {\n validate(fields()[1059], value);\n this.field1059 = value;\n fieldSetFlags()[1059] = true;\n return t...
9756d9f95a64f358d8feabf14262502a
sequence(Pattern...) but defines the resulting pattern using the given name
[ { "docid": "c3e1d2eeaf839813882bf3a6e22602b8", "score": "0.75009733", "text": "public Pattern.SequencePattern sequence(String name, Pattern... parts) {\n assert name != null;\n assert parts.length > 0;\n return sequence(name, Capture.ListCapture::createFrom, parts);\n }", "ti...
[ { "docid": "fe458918a02972288dfa5148283900a0", "score": "0.7514097", "text": "public <T extends Pattern> Pattern.SequencePattern define(String name, T pattern) {\n assert name != null;\n assert pattern != null;\n\n if (!(pattern instanceof Pattern.SequencePattern)) {\n re...
1050ae0b3f50021fdc3800591171d903
Returns a new object of class 'MCARG'.
[ { "docid": "7f27aadcf1d13f3fdbda80decd577a54", "score": "0.8028312", "text": "MCARG createMCARG();", "title": "" } ]
[ { "docid": "2deac7f2ecd5487ee056aa9b6d57fc4d", "score": "0.578369", "text": "MCDRG createMCDRG();", "title": "" }, { "docid": "08e40a2f91650ab9151d7cc1bd259813", "score": "0.5666219", "text": "MCFRG createMCFRG();", "title": "" }, { "docid": "c8efd301d2a5973ddcba5f7ca9462...
9319112887bfe02b3377ce9b152de524
//////////////////////////////////////////////////////////////////////////// Add option region to the ImageMagick commandline (see the documentation of ImageMagick for details).
[ { "docid": "112941ea8357eaf876a064a9d4d60ce6", "score": "0.5502014", "text": "public IMOps region(\n Integer width,\n Integer height,\n Integer x,\n Integer y)\n {\n\n String oper; // only used in some methods\n StringBuffer buf = new StringBuffer(); // local buffer for option-args\n ...
[ { "docid": "3ff4b6e754a00e3da9bb5df61a2b29d6", "score": "0.60752946", "text": "public IMOps region()\n {\n\n String oper; // only used in some methods\n StringBuffer buf = new StringBuffer(); // local buffer for option-args\n iCmdArgs.add(\"-region\");\n\n if (buf.length() > 0)\n {\n ...
f107475fd4b75f454ff75dd391dae2d5
method to handle Qnames
[ { "docid": "ab0680c4f37942de8d963a0fba271144", "score": "0.0", "text": "private void writeQName(javax.xml.namespace.QName qname,\r\n\t\t\t\tjavax.xml.stream.XMLStreamWriter xmlWriter)\r\n\t\t\t\tthrows javax.xml.stream.XMLStreamException {\r\n\t\t\tjava.lang.String namespaceURI = qname.getNamespaceURI()...
[ { "docid": "bb5659f3ece9664be2038fac25d313af", "score": "0.688483", "text": "java.lang.String getQueryName();", "title": "" }, { "docid": "bb5659f3ece9664be2038fac25d313af", "score": "0.688483", "text": "java.lang.String getQueryName();", "title": "" }, { "docid": "843627...
5f92850d3321f35d754fed78fb015430
Enables or disables this RenderPass.
[ { "docid": "7ea4d71bb153120f89cb366c777f4672", "score": "0.5256385", "text": "public void setEnabled( boolean enabled )\n {\n this.isEnabled = enabled;\n }", "title": "" } ]
[ { "docid": "40d21998044ba2d9ee022e2f2215f92c", "score": "0.6040218", "text": "public void setEnabled( boolean enable );", "title": "" }, { "docid": "54a71a702088a6681f07ee54ee06eae0", "score": "0.60266304", "text": "public void setEnabled(boolean b);", "title": "" }, { "d...
2dcd7cdc228c2130b24342f7be3ea2ea
Auto generated method signature
[ { "docid": "eabf1f68749218651236421d9bbfcacd", "score": "0.0", "text": "public com.cdiscount.www.GetOfferListPaginatedResponseDocument getOfferListPaginated(\n com.cdiscount.www.GetOfferListPaginatedDocument getOfferListPaginated48)\n throws java.rmi.RemoteException {\n org.apache.a...
[ { "docid": "18545d487c734805f1d8b504950ec03c", "score": "0.64440924", "text": "Method getMethodSignature(VContext ctx, ServerCall call, String method) throws VException;", "title": "" }, { "docid": "f3ca5041d9b54cb52f18a6996af04a0e", "score": "0.6322849", "text": "protected abstract ...
65967edb6696f6bf61a8772d7411ae5c
Input arguments for dcyldrc: double x double y double z double[] jacobi (Array defined: [3][3] multidimensional arrays should be be passed as a single dimension, lowest order first.) Returns: Nothing.
[ { "docid": "06326759aecbc112d1ae94041e071b5c", "score": "0.8335621", "text": "public static native synchronized void dcyldrc( double x,double y,double z,double jacobi[] );", "title": "" } ]
[ { "docid": "ab25b9ff5db12d3a3c050ba4ff35cad0", "score": "0.79343385", "text": "public static native synchronized void dlatdrc( double x,double y,double z,double jacobi[] );", "title": "" }, { "docid": "5bf0b2b99678165608062523bc6d593f", "score": "0.7899773", "text": "public static na...
cdc1120444e65e2cb42743711b6dd0cf
Returns an array of tree nodes which represent the tree of body classes and contained body functions.
[ { "docid": "d33b781d7471adb8577e3defee537b7a", "score": "0.6344728", "text": "public TreeNode[] getTreeNodes(IProject activeProject) {\r\n\t\tArrayList<TreeNode> nodeList = new ArrayList<TreeNode>();\r\n\r\n\t\tFileHandler fileHandler = new FileHandler();\r\n\t\tLinkedList<String> uriList = fileHandler....
[ { "docid": "6c4a3ec9416983d1ce418dd2ca49d189", "score": "0.69346887", "text": "public M[] trees () ;", "title": "" }, { "docid": "318ce9f4c6ac0c0c3b51daf49e448dae", "score": "0.61618525", "text": "public static ArrayList<Node> getAllChildrenFromBody(Node body) {\r\n\t\tNodeList chi...
cd0f4fd3b39833ddc1f9f8ba5e8cb64f
"Rotates" a quadrant string counterclockwise. In other words, it returns the quadrant string which would result from rotating the original tile 90 degrees counterclockwise.
[ { "docid": "645579f79f5e799a804a03f35612d4b6", "score": "0.0", "text": "@SuppressWarnings(\"unused\")\n\tprivate static String rotateStringLeft(String string) {\n\t\treturn string.substring(1) + string.charAt(0);\n\t}", "title": "" } ]
[ { "docid": "d343a55b3f86430ff00c9339b8d5ecac", "score": "0.6365555", "text": "private static String quadrantString(Tile tile) {\n\t\tString result = \"\";\n\t\tfor (int side = 0; side < 4; side++) {\n\t\t\tQuadrantType type = tile.getQuadrant(side).getType();\n\t\t\tswitch (type) {\n\t\t\tcase GRASS:\n\...
942d41c05e019b9e51a23e3bfc1cad10
$ANTLR end "rule__Rule__Group_4__1" $ANTLR start "rule__Rule__Group_4__1__Impl" InternalDsl.g:8896:1: rule__Rule__Group_4__1__Impl : ( ( rule__Rule__PremiseAssignment_4_1 ) ) ;
[ { "docid": "4a6ea2df50eeb2340a29cd5d75ede015", "score": "0.7906354", "text": "public final void rule__Rule__Group_4__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:8900:1: ( ( ( rule__Rule__PremiseAssignmen...
[ { "docid": "3f6c486e7ed8c63d33f9cb2ad7be548c", "score": "0.74225163", "text": "public final void rule__XAssignment__Group_1_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.xtext.example.rmodp.ui/src-gen/or...
fb3f312fbd6e3b23aeab8c4e83df47f0
Fetch records that have last_modify_time BETWEEN lowerInclusive AND upperInclusive
[ { "docid": "0087026c602d875588e7e6ab690c914c", "score": "0.71598864", "text": "public List<com.wuda.foundation.jooq.code.generation.user.tables.pojos.IndividualUserGeneral> fetchRangeOfLastModifyTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) {\n return fetchRange(IndividualUserG...
[ { "docid": "53df81bed4d31755d761a0d239ffe1f9", "score": "0.71026844", "text": "public List<com.wuda.foundation.jooq.code.generation.notification.tables.pojos.NotificationDefinitionObserverrExpandSnapshot> fetchRangeOfLastModifyTime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) {\n r...
b214df55430c470ea0fe1a8138406696
Create copy of current graphic state.
[ { "docid": "78e55105ed77c16af954b4542a1842ac", "score": "0.6953578", "text": "@Override\n public GraphicState clone() throws CloneNotSupportedException {\n GraphicState graphicState = (GraphicState) super.clone();\n graphicState.fillColorSpace = this.fillColorSpace;\n graphicStat...
[ { "docid": "31dedfa2b8e068b66c0cd9711097497b", "score": "0.71624523", "text": "private void saveGraphicsState() {\n graphicContextStack.push(graphicContext);\n graphicContext = (GraphicContext)graphicContext.clone();\n }", "title": "" }, { "docid": "23333eec561ee4b828e3c200a...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "31d446d2010827900f784791d2208470", "score": "0.0", "text": "@Override\n\t\t\t\tpublic void onFailure(Integer result, String resultMsg) {\n\t\t\t\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
edd77c2b46d859016f1fc5666e07de79
Creates TileTypes with different colors to show on the screen
[ { "docid": "676231090e0e4e14ff0d7e02137ee9d0", "score": "0.73378843", "text": "private TileType[] createTiles() {\n Sprite darkTopTile = new Sprite(Tetris.MEDIA_URL.concat(\"darkGrayTile3.png\"));\n Sprite backgroundTile = new Sprite(Tetris.MEDIA_URL.concat(\"backgroundTile.png\"));\n ...
[ { "docid": "877cd8c74294cc2d510ac6b1e8530a4d", "score": "0.6439846", "text": "private ArrayList<PShape> createTiles() {\r\n ArrayList<PShape> tiles = new ArrayList<>();\r\n \r\n for (Node e: character.graph.nodes) {\r\n fill(203);\r\n int x = (int) e.x - TILE...
d9db6ef058f3bd5abaffa5681641488f
$ANTLR end "rule__Image__Group__4__Impl" $ANTLR start "rule__Image__Group__5" ../org.yazgel.aphrodit.xtext.ui/srcgen/org/yazgel/aphrodit/xtext/ui/contentassist/antlr/internal/InternalAphrodit.g:6640:1: rule__Image__Group__5 : rule__Image__Group__5__Impl rule__Image__Group__6 ;
[ { "docid": "e7cccc109f7d89e1bbcdb4afea3c9e20", "score": "0.78620017", "text": "public final void rule__Image__Group__5() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yazgel.aphrodit.xtext.ui/src-gen/org/yazgel...
[ { "docid": "d923d6bfd888f2ed61f4074434f4fa2f", "score": "0.78605855", "text": "public final void rule__Image__Group__5__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yazgel.aphrodit.xtext.ui/src-gen/org/...
978813a0d0ba2a0dc19cb872a91c10b8
created SciCalObject inside the main.
[ { "docid": "e0b59633968e3f1bfff1a0e456dc0826", "score": "0.0", "text": "public static void main( String[] args ) \n {\n SciCalculator sciCalc = new SciCalculator();\n System.out.println(\"Welcome to your new Scientific Calculator! Please enter a number: \");\n Scanner input = new...
[ { "docid": "6a50b3d0e5bc22418fe5dd8cecb7baf1", "score": "0.71452755", "text": "public ObjectFactoryProgrammeCalendar() {\n }", "title": "" }, { "docid": "b38a1a3d896b4a50c9199dbadaa2219d", "score": "0.65679854", "text": "public CalendarObject() {\n\t\tresetRoot() ;\n\t}", "tit...
f40eb6d270469115b362ba907c75c0e1
/ JADX ERROR: Method load error jadx.core.utils.exceptions.DecodeException: Load method exception: bogus opcode: 00e8 in method: java.util.stream.LongPipeline.java_util_function_LongConsumer_adapt_java_util_stream_Sink_sink_LambdaImpl0.(java.util.stream.Sink):void, dex: at jadx.core.dex.nodes.MethodNode.load(MethodNode...
[ { "docid": "35d4321fb503964f218a81406718a635", "score": "0.0", "text": "public /* synthetic */ -java_util_function_LongConsumer_adapt_java_util_stream_Sink_sink_LambdaImpl0(java.util.stream.Sink r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00...
[ { "docid": "93843346e963b77c0f182551556b7510", "score": "0.81774855", "text": "public void m4773b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:7...
cc855fdf92dde82a1097733eb4e90c3e
Function to fetch the list of posts from the REST api
[ { "docid": "68ec65af42720dde4ce8a48b58ece1ef", "score": "0.0", "text": "public void fetchPosts(final Boolean clearAdapterFlag, final ProgressBar progressBar) {\n loadingFlag = true;\n progressBar.setVisibility(View.VISIBLE);\n\n if (clearAdapterFlag) {\n afterParam = \"\"...
[ { "docid": "b593c8e2c23d84a8e51536fafa7a7718", "score": "0.7875421", "text": "public List<Post> getExternalPosts() {\n\t\tList<Post> posts = clientExternalApi.target(EXTERNAL_REST_URI)\n\t\t\t\t// .path(String.valueOf(1)) // with url parameter as integer/string/object\n\t\t\t\t.request(MediaType.APPLICA...
58c5a4e294d8b23525a9e7b69f00d52b
Returns an array of attached focus listeners.
[ { "docid": "202097e86ce6c79e224853aaf10a8ce3", "score": "0.8422111", "text": "final public FocusListener[] getFocusListeners()\n {\n return (FocusListener[])getFacesListeners(FocusListener.class);\n }", "title": "" } ]
[ { "docid": "f2cbfed29f23f8dc28adb7340ce45d27", "score": "0.59920347", "text": "final public MethodBinding getFocusListener()\n {\n return (MethodBinding)getProperty(FOCUS_LISTENER_KEY);\n }", "title": "" }, { "docid": "ef38f886a834d3b8b8cdc379bed9699d", "score": "0.5964128", "te...
50bf0e3f19350f740e077c1290430567
Test if getEmail method returns the same email as what we initialized.
[ { "docid": "8cba64f229ed9fdc2cb419f19a5158b1", "score": "0.0", "text": "@org.junit.Test\n public void getEmail() throws Exception {\n\n Assert.assertEquals(\"j@a.com\", this.jane.getEmail());\n }", "title": "" } ]
[ { "docid": "2a17dfe9cb7eb029c3d3fed293986a3c", "score": "0.72604585", "text": "Email getEmail();", "title": "" }, { "docid": "678baebecf959e33298f65756fe48fb8", "score": "0.72315675", "text": "@Test\n\tpublic void testgetEmail(){\n\t\tassertEquals(this.email,contact.getEmail());\n\t}...
88f98be3d73c60135b9955ccfa307844
Execute a move on a game
[ { "docid": "a96c3d45492f5019e575427cc30de5c0", "score": "0.6873252", "text": "G execute(G game);", "title": "" } ]
[ { "docid": "f5d26f291f85c3549bb1543ff162db57", "score": "0.7434376", "text": "public void executeMove() {\n this.positionBefore = droneToMove.getPosition();\n this.droneToMove.move(moveDirection);\n this.positionAfter = droneToMove.getPosition();\n this.powerAfter = droneToMo...
04eef0dbd0afc4185c710060c7d057f8
Methods Parses a string and returns a vector as a result
[ { "docid": "f39776145cfb1ec09ceeb3a3de119250", "score": "0.70515966", "text": "public static Vector <String> parseStringRetVect (String str, String delim) {\r\n if (str == null || str.equals(\"\"))\r\n return null;\r\n\r\n StringTokenizer st = new StringTokenizer (str, delim);\r\n Vector ...
[ { "docid": "06662998a1a2965759db021014d4e556", "score": "0.7302071", "text": "static Vector<String> inputTransform(String Str)\n {\n Vector<String> v = new Vector<String>(Arrays.asList(Str.split(\"\\\\s+\")));\n return v;\n }", "title": "" }, { "docid": "a9631e7cb040c228a36bd86...
977ee5dcde2311a041974420445f357c
A unit test suite for JUnit
[ { "docid": "29326aa814478689af3b9d3fcea87b67", "score": "0.7184022", "text": "public static Test suite() {\n return new TestSuite(BreakDetectorTest.class);\n }", "title": "" } ]
[ { "docid": "0251ffbc2e6fdd2f664133343e1c3d74", "score": "0.7642603", "text": "TestSuite createTestSuite();", "title": "" }, { "docid": "d9d81e0bda424f540c3ce3a87d6a9b1a", "score": "0.7619525", "text": "public static Test suite() {\r\n return new TestSuite(HibernateHelperUnitTe...
d974706e129358d3b3698f5831ba73ef
Checks if s is a word associated with the future
[ { "docid": "6fda240dc53248d759ce311a35e06397", "score": "0.77186984", "text": "public boolean isFutureWord(String s) {\n return contain(Constants.KEYWORDS_FUTURE, s);\n }", "title": "" } ]
[ { "docid": "909dcf9edd2314be84659dc298062294", "score": "0.6635063", "text": "boolean hasWord();", "title": "" }, { "docid": "2bda251aa851d356841209d7836af116", "score": "0.6461871", "text": "public boolean isPastWord(String s) {\n return contain(Constants.KEYWORDS_PAST, s);\n...
4db8f4a05ad04e84d70c8952be80c679
creating request handler object
[ { "docid": "c4e8f63ea56fbc83ddba3b3b6dc69bbe", "score": "0.0", "text": "@Override\n protected String doInBackground(Void... voids) {\n RequestHandler requestHandler = new RequestHandler();\n\n //creating request parameters\n HashMap<String, String>...
[ { "docid": "310d6234b0a1ebac0c321bd237322ceb", "score": "0.80624396", "text": "Handler createHandler();", "title": "" }, { "docid": "c1f06f456d394d2d8d6467ff5c0f2f8f", "score": "0.7420494", "text": "public RequestHandlerFactory() {\n super();\n\n }", "title": "" }, ...
42eaa8ec6981675143c012bc48a9fbff
required .AppAuth app_auth = 1;
[ { "docid": "ef7efa329d23690687e8686eacad3803", "score": "0.0", "text": "public Builder setAppAuth(com.mogujie.jarvis.protocol.AppAuthProtos.AppAuth.Builder builderForValue) {\n if (appAuthBuilder_ == null) {\n appAuth_ = builderForValue.build();\n onC...
[ { "docid": "07865456e08d5504e8da0a9ba9611b63", "score": "0.7205626", "text": "com.mogujie.jarvis.protocol.AppAuthProtos.AppAuth getAppAuth();", "title": "" }, { "docid": "07865456e08d5504e8da0a9ba9611b63", "score": "0.7205626", "text": "com.mogujie.jarvis.protocol.AppAuthProtos.AppAu...
76b54dc4b01d091540e298130a0c4cfb
method to confirm and submit order to store.
[ { "docid": "80d225077225998ed2380a08c55103e9", "score": "0.712052", "text": "public void confirmOrder(View view) {\n if(orderList.isEmpty())\n {\n Toast.makeText(getApplicationContext(), \"Your order is empty!\",\n Toast.LENGTH_SHORT).show();\n }\n ...
[ { "docid": "2d54c793a5c255f4a06ea62ffde2e3a8", "score": "0.762389", "text": "private void confirmOrder() {\n\n\tif (isTextPresent(nameTextField) &&\n\t\t\tisTextPresent(phoneNumberTextField) &&\n\t\t\tisTextPresent(addressTextField) &&\n\t\t\tisOrderPresent()){\n\n//\t\tif (showAlert()){\n\t\t\t// save ...
bd8aee6a41aac289f2107e2af982f2e8
Sets the NJ value for this BjInfo.
[ { "docid": "6b3f43e782acae2c25b95f81b3538aa6", "score": "0.7156787", "text": "public void setNJ(java.lang.String NJ) {\r\n this.NJ = NJ;\r\n }", "title": "" } ]
[ { "docid": "f9e66d653252a43a36ee6739fd8d0431", "score": "0.6460193", "text": "public void setJNum (String jNum) {\n this.jNum = jNum; }", "title": "" }, { "docid": "113147b9c692bec5da734095adccf43e", "score": "0.5748757", "text": "public void setN(String n) {\n this.n =...
5382b55c17e5ce6f995cb683889c7db9
This method is to show the instruction to user.
[ { "docid": "5095e9919eed4d7f35fbd73249cfd9f9", "score": "0.8000148", "text": "private void instruction() {\n String instructions = \"\\n Watch out every step that you move.\"\n + \"\\nDon't forget to pick the detonate to explore the rock so that you can go through.\"\n ...
[ { "docid": "4e8d964e7bf96c8173c83bd234c37313", "score": "0.7917708", "text": "public void showInstruction()\n { \n if (Greenfoot.mouseClicked(instructionBtn)) { //if user clicked instructions button\n Greenfoot.setWorld(new InstructionWorld(time,lv,bgm,musicStatus,stackList,stack...
86256d7526cc2c928ac5dba5883020a4
Handles the event when a player clicks on the third option of an item container interface.
[ { "docid": "1c4d352fcc2c13281bf655cf0e3f37c5", "score": "0.7209816", "text": "private void thirdAction(Player player, Packet packet) {\r\n\t\tint interfaceId = player.getInStream().readLEUShort();\r\n\t\tint removeId = player.getInStream().readUShortA();\r\n\t\tint removeSlot = player.getInStream().read...
[ { "docid": "ded04700facab03baee984890ab57716", "score": "0.7164557", "text": "private static void thirdAction(Player player, GamePacket packet) {\n\t\tint interfaceId = packet.readLEShort();\n\t\tint id = packet.readShortA();\n\t\tint slot = packet.readShortA();\n\t\tswitch (interfaceId) {\n\t\tcase Ban...
db14dff279aa6c424137005336968d4a
Find the _Fields constant that matches name, or null if its not found.
[ { "docid": "df89e0a3046c32259e386bf9daf4403c", "score": "0.0", "text": "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" } ]
[ { "docid": "3153394dd5efe71fc805def104941b14", "score": "0.7747651", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" }, { "docid": "fea1511e55cd5ed747132c7946ddb7cf", "score": "0.773...
1af057a952356c74e36d527f8e98538c
This is my Calculator
[ { "docid": "fcfc58dbf6dcf75dcc4c306a7c05f484", "score": "0.0", "text": "public static void main(String[] args) {\r\n calculatorMethod();\r\n sumMethod();\r\n int sum = sum(5, 9);\r\n minusMethod();\r\n int substract = subtract(9, 5);\r\n multiplyMethod();\r\n ...
[ { "docid": "e0b6f532cad8234cd2b44b8859301d7a", "score": "0.74228567", "text": "public static void calculatorMethod() {\r\n System.out.println(\"This is a Calculator: \");\r\n }", "title": "" }, { "docid": "bbf8de080ce31bc2b9fa8103d18a0223", "score": "0.7130731", "text": "pu...
7232bb2ba3f1824e63ebd68b8d27cc37
Gets the type of an state e.g. Accelerometer
[ { "docid": "97d97bf365d950876cd30e0590d767e8", "score": "0.0", "text": "@Override\n public String getType() {\n return \"BluetoothDiscoveryProbe\";\n }", "title": "" } ]
[ { "docid": "144aecd7714418e6529b03f2cdce43d7", "score": "0.8067478", "text": "StateType getStateType();", "title": "" }, { "docid": "6d2c71bc31f6d1909c7336ac3dc9c532", "score": "0.75687075", "text": "CircuitBreakerStateType getStateType();", "title": "" }, { "docid": "e65...
59051cf963d0af0c78abd9f1e13ae0a3
$ANTLR end "rule__UpdateDivision__Group_1__0__Impl" $ANTLR start "rule__UpdateDivision__Group_1__1" ../eu.quanticol.caspa.ui/srcgen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:7768:1: rule__UpdateDivision__Group_1__1 : rule__UpdateDivision__Group_1__1__Impl rule__UpdateDivision__Group_1__2 ;
[ { "docid": "ddc93ece5a63e54f2be2f8004ab59510", "score": "0.7428314", "text": "public final void rule__UpdateDivision__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/c...
[ { "docid": "65a68195e78f10e03a3ce46b264c5906", "score": "0.7517248", "text": "public final void rule__UpdateDivision__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../eu.quanticol.caspa.ui/src-gen/eu/quanticol/ui/con...
f0b5548cc194fdb622ec8a3a52a6c97b
Returns a hash code for 'this' object.
[ { "docid": "5a7c56c92200074fed37e9025afe6e2d", "score": "0.0", "text": "public int hashCode() {\n\tint hash = 3;\n\thash = 41 * hash + (this.lights != null ? this.lights.hashCode() : 0);\n\thash = 41 * hash + (this.throttlePos != null ? this.throttlePos.hashCode() : 0);\n\thash = 41 * hash + (this.tireP...
[ { "docid": "d7128d2338b0d0e241bcd944aef03591", "score": "0.76980066", "text": "HashCode hash();", "title": "" }, { "docid": "992b4062fffcd429120dbfadf567aa80", "score": "0.76884806", "text": "@Override\r\n\tpublic int hashCode() {\n\t\treturn HashCodeBuilder.reflectionHashCode(this);...
0245869069fdcbbcb282bfa2a48ed323
Returns cached shade layer for the specified root pane.
[ { "docid": "96e799bd5bb446085ac29d4ee01d661d", "score": "0.7684629", "text": "public static ShadeLayer getShadeLayer ( final JRootPane rootPane )\n {\n if ( rootPane != null )\n {\n return shadeLayers.get ( rootPane, new Function<JComponent, ShadeLayer> ()\n {\n ...
[ { "docid": "e4701cc0568ed2dbac7b0ae78cf27973", "score": "0.5464838", "text": "public static PopupLayer getPopupLayer ( final JRootPane rootPane )\n {\n if ( rootPane != null )\n {\n return popupLayers.get ( rootPane, new Function<JComponent, PopupLayer> ()\n {\n ...
c8dfe9623b636fdd30218771125b0340
Gets the removes the parameter button.
[ { "docid": "44f08f89efc423d19f7e67829cd4755c", "score": "0.89819086", "text": "Button getRemoveParameterButton();", "title": "" } ]
[ { "docid": "bdd7bd0c70d595057ef2dc1b759f93c6", "score": "0.8552338", "text": "Button getEraseParameterButton();", "title": "" }, { "docid": "620fd8de97ea78c39c13f85e9420ba7a", "score": "0.8068706", "text": "Button getDeleteParameterButton();", "title": "" }, { "docid": "f...
e7510c12852fa11c3bfcf8d594da8a2b
Devuelve un String[] con el mismo orden que el factory.
[ { "docid": "ec6620173e9e964447758aa867b8bc00", "score": "0.54461074", "text": "public String[] toStringArray() {\r\n StringBuilder sb = new StringBuilder();\r\n String[] ret = new String[7];\r\n ret[0] = this.nombre;\r\n ret[1] = this.biografia;\r\n ret[2] = this.insta...
[ { "docid": "d4bcf0565c1ef161c33db5438ce514b1", "score": "0.60795134", "text": "@DataProvider(name = \"ListOfStrings\")\n public Object[][] listOfStringsProvider() {\n List<Object[]> tests = new ArrayList<Object[]>();\n tests.add(new Object[]{Arrays.asList(\"s1\", \"s2\"), \",s1,s2\"});\...
67c9490e1d4f4c5750c0e6260f8a974a
/ / / / / /
[ { "docid": "bdf83cf7b17b24eab88823934d2540ca", "score": "0.0", "text": "public DateFormatSymbols(Class<? extends Calendar> calendarClass, ULocale locale) {\n/* 140 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" } ]
[ { "docid": "c0282d0076fbb1409e724f7e4a4141d0", "score": "0.54838556", "text": "void div(){\n\t\t\n\t}", "title": "" }, { "docid": "094eb33d67ee936f031b7db3d56e8e9a", "score": "0.5440346", "text": "static void divide() {\n\t\t\t\t\t\t\t\t\n\t}", "title": "" }, { "docid": "...
c503199c03e27da9ac8beaf2e77766b9
update lectures' posted projects save project id
[ { "docid": "9212079e11f74e54a3e7499452b4291e", "score": "0.0", "text": "int updateSingleUserState(@Param(\"sid\") String sid, @Param(\"content\") String content);", "title": "" } ]
[ { "docid": "4e91dd3d8c48483c520a34f83f4d3960", "score": "0.7012237", "text": "public void editProject(CurrentProjects project);", "title": "" }, { "docid": "17a97f733c55582e1a92bd358905917d", "score": "0.6733656", "text": "public void updateProject(Project project);", "title": ""...
dc3067729f12b034655a4a11c17bbece
optional string kickOffCharacterId = 1; optional string kickOffCharacterId = 1;
[ { "docid": "31c5cc5a1c7cd9d8dea00fa318f05086", "score": "0.71366596", "text": "boolean hasKickOffCharacterId();", "title": "" } ]
[ { "docid": "2ea006475b60af25011a4436c9713d8e", "score": "0.7352901", "text": "java.lang.String getKickOffCharacterId();", "title": "" }, { "docid": "0a867bdfb3bbc5c52c9f89fa7c9254a6", "score": "0.71634865", "text": "public Builder setKickOffCharacterId(\n java.lang.String va...
2afb3b22d6cd9ef9b7f8a8883e8be07d
/System.out.println("Player x: "+map.getPlayer().getX()); System.out.println("Player y: "+map.getPlayer().getY()); System.out.println("Mouse x: "+e.getX()); System.out.println("Mouse y: "+e.getY()); System.out.println("Mouse x on screen: "+e.getXOnScreen()); System.out.println("Mouse y on screen: "+e.getYOnScreen()); S...
[ { "docid": "7239aae5c32689aa39afd16ebe906fe5", "score": "0.7541126", "text": "public void mouseClicked(MouseEvent e) {\n int offsetX = Math.abs(offsetManager.getOffsetX());\n int offsetY = Math.abs(offsetManager.gettOffsetY());\n \n System.out.println(\"PlayerX: \"+map.getPlay...
[ { "docid": "cba679d5bc8bb1991ab07f0209140cec", "score": "0.6597033", "text": "public void getMousePosition(MouseEvent e) {\n\t\t\tdouble x = ((reference.getWidth() / 2) - reference.translateX) - (((reference.getWidth() / 2) - e.getX()) / reference.scale);\r\n\t\t\tdouble y = ((reference.getHeight() / 2)...
0f3d1cf483b46b79840f619b9e45f04d
We will update the heuristic by finding the indices of x in the current state, then checking what number is in those incidies in the kid state. We then find the indices of that number in the current state. Now we have the indices of the number that is moved, both before and after the move. We calculate the manhattan di...
[ { "docid": "5a533327289a1db58993544241a0d26e", "score": "0.8027568", "text": "public int updateHeuristic(char[][] current, char[][] kid, char[][] goal, int heuristic) {\n\t\tint xXcurrent = 0; // will hold x coordinate of x in current state\n\t\tint xYcurrent = 0; // will hold y coordinate of x in curre...
[ { "docid": "42dde66b7f40e2f9da21fcdbef4e8ea5", "score": "0.6766495", "text": "@Override\n public double heuristic() {\n int dis=0;\n for (int i = 0; i <state.length-1 ; i++) {\n if (i%2 == 0){\n double dx = goalState[i] - state[i];\n ...
6e5bc89141e7ad527e11fadff7a0f243
convenience constructor objectName is usually the action target
[ { "docid": "4d3e701fefca13e4669a173e72cff5e0", "score": "0.0", "text": "public BaseFlowBuilder(LavaFlowRegistrar registry,\tString actionId){\r\n\t\tthis(registry,actionId,null);\r\n\t}", "title": "" } ]
[ { "docid": "bd82684d0752a861e626bbe85aa1b4c5", "score": "0.6679762", "text": "public _Action()\r\n {\r\n }", "title": "" }, { "docid": "e8221b263f679048be9f5a055b4af7d5", "score": "0.6629535", "text": "ActionCreator createActionCreator();", "title": "" }, { "docid":...
1b544633c2886b0d8ef18c775c81cd06
/ renamed from: b
[ { "docid": "e77d1faf876bd1f8ab115fac040d4206", "score": "0.0", "text": "public boolean mo594b(MenuItem menuItem) {\n return false;\n }", "title": "" } ]
[ { "docid": "fbc6b424b70fd0ccc67e13a9f350dc43", "score": "0.6477578", "text": "public abstract a b(b bVar);", "title": "" }, { "docid": "7c7c2a4f2eea5bd9b0cfc4a996b83139", "score": "0.6414758", "text": "@Override\r\n\t\tpublic void operatorB() {\n\t\t\t\r\n\t\t}", "title": "" },...
359e0f5086afc4738bb74facd94a25da
verify deleted ToDo(not exist) in frontend
[ { "docid": "21b9b4f48b0b2a021a8432cac3a69bb2", "score": "0.6818786", "text": "public void verifyTodoDeletedFrontend(String toDoName, String status) {\n try {\n getLogger().info(\"Verify a Todo not exist. Name: \" + toDoName);\n //Thread.sleep(smallTimeOut);\n //TO...
[ { "docid": "bfe084d9a635f597b6596d0045f28b5e", "score": "0.63714135", "text": "public void verifyToDoDeteteBackend(String engagementField, String engagementValue, String todoName, String status) throws SyncFactoryException {\n try {\n getLogger().info(\"Verify To-Do delete status on da...
63218bd9714a10f92359f6904edfd02a
Get the the handler class name to be tested.
[ { "docid": "99fd194bf3f9525c6ffa1d331a4b5539", "score": "0.6324121", "text": "protected String getHandlerName() {\r\n return \"PendingWinnerHandler\";\r\n }", "title": "" } ]
[ { "docid": "f349ae2a8d21d20379b720882f0fb764", "score": "0.6955399", "text": "public static Class getHandlerClass(String className) {\n if (className != null) {\n Iterator iter = requestTypeGetHandlers.iterator();\n while (iter.hasNext()) {\n Object[] obj = (Object[])iter.next();\n ...
18d8b85ffaa5c441aa723a9dc305d241
/ Pop operation. Throws an illegal argument operation if the stack is empty.
[ { "docid": "f3a257c6f024579d2003a31da764119f", "score": "0.0", "text": "public String pop() {\n if (currentPosition == 0) {\n throw new IllegalStateException(\"Queue Empty\");\n }\n if (currentPosition > 0 && currentPosition == (stack.length / 4)) {\n resizeSta...
[ { "docid": "d6401c617fde4dbd47ed364e3f973c22", "score": "0.8336895", "text": "public Object pop() throws TheStackIsSadAndLonely;", "title": "" }, { "docid": "5164a8c33f202dc2984c2e94144fe592", "score": "0.8295219", "text": "public E pop() throws EmptyStackException;", "title": ""...
db6e6cebd07502e13e90417bc056fbaa
Serialize an XdmNode to a string using this serializer
[ { "docid": "76b3a8db150648f31842a6501244a3f7", "score": "0.7884015", "text": "public String serializeNodeToString(XdmNode node) throws SaxonApiException {\n StringWriter sw = new StringWriter();\n StreamResult sr = new StreamResult(sw);\n serializeNodeToResult(node, sr);\n re...
[ { "docid": "82c926c5ff4653e8eea802bdbcdd1488", "score": "0.6954765", "text": "public void serializeNode(XdmNode node) throws SaxonApiException {\n StreamResult res = result;\n if (res.getOutputStream() == null && res.getWriter() == null && res.getSystemId() == null) {\n throw ne...
3f84646e6e6b3fb7cdbf50b1d0185acf
post: stores the current huffman coding to a standard format file, the first line with character number and the second line with specific binary code
[ { "docid": "b8eace5254a0063a7b739a85cdacc13e", "score": "0.0", "text": "public void write(PrintStream output) {\n writeHelper(output, overallRoot, \"\");\n }", "title": "" } ]
[ { "docid": "aee891dbf9be220ae7288dd140e77ea6", "score": "0.6470192", "text": "public HuffmanCode(File file) throws FileNotFoundException\n\t{\n\t\tcodes[10]=\"\"; //for the new line character\n\n\t\tScanner scanner = new Scanner(file);\n\t\twhile(scanner.hasNextLine()) //determines if there is a next li...
5d9a7bd11c17bfeb0afdddae2310b718
repeated .DRG3041P05grdMixListInfo items = 1;
[ { "docid": "7aa1249b6589f63311d9774ab723460c", "score": "0.6292435", "text": "public nta.med.service.ihis.proto.DrgsModelProto.DRG3041P05grdMixListInfoOrBuilder getItemsOrBuilder(\n int index) {\n if (itemsBuilder_ == null) {\n return items_.get(index); } else {\n retu...
[ { "docid": "30d6cade52d05215e5847b0da9c3aa17", "score": "0.7106722", "text": "java.util.List<nta.med.service.ihis.proto.DrgsModelProto.DRG3041P05grdMixListInfo> \n getItemsList();", "title": "" }, { "docid": "2237f9f5743e4e029ffb733f6cf1fc3f", "score": "0.6943063", "text": "nt...
05ae9b7aeb0c3794421076aacfcadd15
Workaround for a Lombok limitation with Wither and subclasses
[ { "docid": "efb868e336e6e3c0958878f92b7564bd", "score": "0.0", "text": "@FunctionalInterface\n public static interface CallBack\n {\n @Nonnull\n public Media build (@Nonnull Builder builder);\n }", "title": "" } ]
[ { "docid": "696d9e3f445f8198268f7e2600f4734a", "score": "0.53423965", "text": "public Class[] getSpecificTargetClasses()\r\n/* 431: */ {\r\n/* 432:463 */ throw new UnsupportedOperationException(\"Should not be called on an OptimalPropertyAccessor\");\r\n/* 433: */ }", "title": ""...
df4fc537f175ca268cdc09c16bf61d9e
If true integral numbers of pixels are used as the X and Y pixel coordinate when drawing the icon in the output canvas. If false fractional numbers may be used. Using true allows for "sharp" rendering (no blur), while using false allows for "accurate" rendering. Note that accuracy is important if the icon's position is...
[ { "docid": "2354ca5cd9fac81e0e2b8caddb4888ab", "score": "0.48651522", "text": "@Deprecated\n public native boolean getSnapToPixel();", "title": "" } ]
[ { "docid": "592ad2234d883c361ea2ed9c43d39110", "score": "0.56726664", "text": "@Override\n public boolean canGetPixelPos() {\n return true;\n }", "title": "" }, { "docid": "b43a0f43639a33d210a054d108de6765", "score": "0.5469337", "text": "@Override\n\tpublic boolean isIc...
d6efe22bd54c1667c4597d272d66d905
Fonction appelee lorsque le reglage du gain est modifie sur l'IHM / (nonJavadoc)
[ { "docid": "f190ad66c0ab4e47b882273eda11a42a", "score": "0.5843277", "text": "public void changeGain(){\t\r\n\t\tfiltera0.inputB.set(a0/60);\r\n\t\r\n\t}", "title": "" } ]
[ { "docid": "c8a11a52b44c593e25d7ae06f97d286c", "score": "0.6117725", "text": "@Override\n\tpublic void simulerCreditImmobilier() {\n\n\t}", "title": "" }, { "docid": "c8dcad41f5258b7a66ce974595a1a271", "score": "0.5993246", "text": "public int Getgain()\n{\n\treturn gain;\n}", "t...
130ee2751f2957fcd47d72ad8da1b53c
calculate your body mass index
[ { "docid": "89b9999db692faa1685cfe754dbb13c0", "score": "0.0", "text": "public double CalculateBmi(int feet, int inches, int weight)\n {\n //converts height and weight to metric\n double kg = weight*0.45;\n double meters = (feet*12 + inches)*0.025;\n double constant = mete...
[ { "docid": "53336a6b0c5614f4339c62211b270020", "score": "0.70187074", "text": "static native float getMass(long body);", "title": "" }, { "docid": "586a2c3f9ab93ef42a0a7192f64f716a", "score": "0.6800575", "text": "public BodyMassIndex(double height, double weight) {\n bmi = 70...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "5838beb7c0478bfa3d2c9a34681543ac", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n btnCadera = new javax.swing.JButton();\n btnB...
[ { "docid": "5f8540ed063cf75672e07098d5395e1e", "score": "0.76980114", "text": "private void initComponents() {//GEN-BEGIN:initComponents\n\n }", "title": "" }, { "docid": "37a5472d5b0f35cf64a077bc1dd978c4", "score": "0.73213893", "text": "public Form() {\n initComponents();...
88a437125f28a7972d10b8dd0a635b91
As instances of VFSFile are always absolute, this method always return this.
[ { "docid": "1cf4174c679b21fa127da8db0fbd8a3f", "score": "0.8728135", "text": "@Override\n public VFSFile getAbsoluteFile()\n {\n // NEXT: Should I return a clone?\n return this; // VFSs are always absolute\n }", "title": "" } ]
[ { "docid": "67a72f1646f0fa11ba01abb1de2fb2b5", "score": "0.623244", "text": "public File getFile() {\n File file = new File(filename);\n if (!file.isAbsolute()) {\n String path =\n getRelativeTo().getPath() + File.separator + filename;\n file = new File...
a59655756d7b1384b92252008490600a
Table cell that is part of the first row that functions as a header.
[ { "docid": "46e88034dce8e5d0bf1c9654bfaac412", "score": "0.0", "text": "public void appendTableCol(String colName, String toolTip)\n\t{\n\t\tif (isTextMode())\n\t\t{\n\t\t\toutputBuffer.append(colName.toString().trim());\n\t\t\toutputBuffer.append(getTextSeparator());\n\t\t\treturn;\n\t\t}\n\n\t\tif (to...
[ { "docid": "48e2a4082b4fb3fdb2f858d9feec7be6", "score": "0.68589777", "text": "public String getHeader(){\n\n return Finals.ROW_INITAL + Finals.TOK_D + rowTitle + Finals.TOK_D + unitateDeMasura + Finals.TOK_D\n + cantitateUnitara + Finals.TOK_D + pretUnitara + Finals.TOK_D + furniz...
3b5793b32cf694240151633184f8bf91
Accepts any directory, and any file which is older than our min timestamp
[ { "docid": "12a2a19795298ef90c97f4d7de6b47af", "score": "0.5940705", "text": "public boolean accept(File directory, String fileName) {\r\n final File file = new File(directory.getName()+File.separator+fileName);\r\n if (file.isDirectory()) return true;\r\n return (file.lastModified(...
[ { "docid": "1d7013dd19be4580a3b7ad2cd31a75cb", "score": "0.61080295", "text": "private void processDirectory(MonitoredDirectoryInfo mi) {\n File dir = new File(mi.getCanonicalDirname());\n if (!dir.exists()) {\n LOGGER.warn(\"directory-has-been-removed\", mi.getCanonicalDirname(...
f2a94035a108f4f60f161ccc239caced
List orders = orderRepository.findByCustomer("test"); List orders = orderRepository.findByCustomerLike("phoenix"); List orders = orderRepository.findByCustomerAndType("phoenix1","WEB"); List orders = orderRepository.findByCustomerLikeAndType("phoenix","WEB");
[ { "docid": "551afc39970d3a03ff5521df1ae27758", "score": "0.69164944", "text": "@Test\n public void testBy() {\n List<Order> orders = orderRepository.findUserOrder(\"test\",\"WEB\");\n if(orders != null && orders.size() > 0) {\n for(int j = 0; j< orders.size(); j++) {\n ...
[ { "docid": "25ad90bfca7214d1f9435c78df3d42c8", "score": "0.7841989", "text": "public interface OrderRepository extends JpaRepository<Order, Long> {\n Order findByCustomerId(long Id);\n Order findByCustomerEmail(String email);\n\n List<Order> findByCustomerEmailAndStatus(String email, int status...
0aedfc3ea8e06e7a1788d08ce26fc75f
Gets the number of bytes sent per second by the Network Server. This number is calculated by taking into account the number of bytes sent since the last calculation (or since MBean startup if it is the first time this attibute is being read). The shortest interval measured is 1 second. This means that a new value will ...
[ { "docid": "9c500561975cef340e01efea92a699ab", "score": "0.74337596", "text": "public int getBytesSentPerSecond();", "title": "" } ]
[ { "docid": "959e30201de18cb9229774a10b2bcb4b", "score": "0.72766584", "text": "public int getBytesReceivedPerSecond();", "title": "" }, { "docid": "d2ec0a59a860c213c437ae99bcddffcb", "score": "0.6795908", "text": "int getWaitUdpTotalMillisecond();", "title": "" }, { "doci...
3287ea59aa56acc65ffbc35d9e58948a
A method that checks the list and uses getNumAverage to remove numbers that are higher than the average
[ { "docid": "6b48988c82757b1a942e2dc205b1754a", "score": "0.58959305", "text": "public void removeHigher() {\n int average = this.getNumAverage();\n Node tmp = this.head;\n while (tmp != null) {\n if (tmp.getData() > average) {\n remove(tmp.getData());\n ...
[ { "docid": "7d4ab2c4bdbb78d5664972a4cd1dd508", "score": "0.64607483", "text": "private static void MuchThenAvg(ArrayList<String> num, int avg) {\n for (int i = 0; i < num.size() ; i++) {\n if (num.get(i).length() > avg){\n System.out.println(num.get(i)+ \" \" + \"Length ...
f3ddc849cc75b8158454dcff29608ecc
internal process goal engine
[ { "docid": "0027b397a72546523841c3fd9a96c0a0", "score": "0.0", "text": "private List<Swap> processGoal(Message message) {\n Swap bid = message.getBid();\n Swap goal = message.getGoal();\n\n List<Swap> chain = goalSearch(bid, goal, message.getMaxBillLength());\n return chain;\...
[ { "docid": "a390179a99231b8c19320398a46bfb57", "score": "0.65337163", "text": "protected abstract void process();", "title": "" }, { "docid": "b91cffddf7998de689b3fa8eda5731b1", "score": "0.6450803", "text": "@Override\r\n public void processAI() {\n }", "title": "" }, ...
8d1a7867ddb9288744cb7a703c5634f7
int photosToStore = 2;
[ { "docid": "f3c5cf77d7b3362f1ca8196bcd86e0c0", "score": "0.0", "text": "@Test\n public void getPhotos_EventPosted() throws Exception {\n List<MyPhoto> storedPhotos = new ArrayList<>();\n\n MyPhoto photo1 = new MyPhoto();\n photo1.setId(\"1\");\n photo1.save();\n\n M...
[ { "docid": "b4f28dd35f493805a43b7342445d0b36", "score": "0.6450752", "text": "public String getNumPhotos(){\n return Integer.toString(numPhotos);\n }", "title": "" }, { "docid": "52894434b79a0815c3ba064ddcd69990", "score": "0.6348443", "text": "int[] getPhotoresistors();", ...
50db00d1d3a42215f67d44f55a7a80ec
This method was generated by MyBatis Generator. This method returns the value of the database column ses_tool_database_job_node.id
[ { "docid": "f9cba03bca9029e169ff8f7f95d6255b", "score": "0.0", "text": "public String getId() {\n return id;\n }", "title": "" } ]
[ { "docid": "23a33bb2f3b2fc3b042e3f70fc9889a6", "score": "0.6190293", "text": "public int getIdJob() {\n\t\treturn idJob;\n\t}", "title": "" }, { "docid": "599d514416d65be9f626e35575af3e5f", "score": "0.6148987", "text": "String getJobID();", "title": "" }, { "docid": "e7a...
d6f47299e06400031061a77eba708cbd
Check to see if input matches valid booleans
[ { "docid": "4742e813771bfbf6155b159da699238b", "score": "0.5984883", "text": "@Override\n\tpublic boolean isInputValid(ConversationContext context, String input) {\n\t\tswitch (input.toLowerCase().trim()) {\n\t\tcase \"y\":\n\t\tcase \"yes\":\n\t\tcase \"n\":\n\t\tcase \"no\":\n\t\tcase \"true\":\n\t\tc...
[ { "docid": "3fbb174696370093fb4f35e7470efab2", "score": "0.66704863", "text": "public boolean isValidInput();", "title": "" }, { "docid": "bfc14f2892081bce99d8b9e5bb0787b1", "score": "0.66638255", "text": "protected static boolean checkIfBoolVar(Variable input) throws AccessUnsetVari...
09acaa2834172eb81714b7e6432abbf9
Construct an NHS Identifier Check Digit routine.
[ { "docid": "5cd69b6487efd90c20bba9f679f68489", "score": "0.6882965", "text": "public NHSCheckDigit() {\n\t\tsuper(11);\n\t}", "title": "" } ]
[ { "docid": "f060317bfd7d5344d17f4999919eae20", "score": "0.57845384", "text": "private String buildNDigitModule(int numDigits){\n String module = \"MODULE digit\"+numDigits+\"(\";\n for(int i = 0; i < numDigits;i++){\n if(i!=0){\n module+=\",\";\n }\n ...
27031f7ce284a21b61727b841849c708
Receive a new client and display client's name to the console send on to register method
[ { "docid": "7b756ff970dd90224e87dc2b54e743fb", "score": "0.0", "text": "@Override\n\tpublic void registerListener(String[] details) throws RemoteException {\t\n\t\tSystem.out.println(details[0] + \" has joined the chat session\");\n\t\tregisterChatter(details);\n\t}", "title": "" } ]
[ { "docid": "bbb5eb8aeeaf1d99f3a7cfa2c12662f8", "score": "0.71313065", "text": "public void addClient() {\n\t\tString name = getToken(\"Enter client name\");\n\t\tString address = getToken(\"Enter address\");\n\t\tString phone = getToken(\"Enter phone\");\n\t\tif (theater.addClient(name, address, phone))...
6a7acaf164f17df8a3a95edbf1bfd633
char means exactly one character. You can't assign zero characters to this type That means that there is no char value for which String.replace(char, char) would return a string with a diffrent length. You may assign '\u0000' (or 0). For this purpose, use Character.MIN_VALUE. As Character is a class deriving from Objec...
[ { "docid": "0327c4a4981dc088dad9a968b6240d08", "score": "0.0", "text": "public char findTheDifference(String s, String t) {\n if (s == null || t == null)\n \treturn '\\0';\n \n int n = t.length();\n char c = t.charAt(n-1);\n for (int i = 0; i < n - 1; i++) {\n ...
[ { "docid": "227cc39b714a210bf056e40ee19743e6", "score": "0.6655632", "text": "public static Character toCharacterObject(String str) {\n/* 116 */ if (StringUtils.isEmpty(str)) {\n/* 117 */ return null;\n/* */ }\n/* 119 */ return Character.valueOf(str.charAt(0));\n/* */ }", ...
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": "4a8aa5ab1d862399db52d1bf0db43dd7", "score": "0.0", "text": "public static StoreRevisionarParam parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\r\n StoreRevisionarParam object =\r\n new StoreRevisionarParam();\r\n\r\n int event;\...
[ { "docid": "1892b399dd6c511e5b2d3cb968cd4a83", "score": "0.55510724", "text": "public static CreateOrder parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n CreateOrder object =\n new CreateOrder();\n\n int event;\n java.lang.Strin...
df5d213982abbd8c68c54d15a48024b6
$ANTLR end "rule__XAssignment__ValueAssignment_0_3" $ANTLR start "rule__XAssignment__FeatureAssignment_1_1_0_0_1" ../org.yakindu.sct.generator.genmodel.ui/srcgen/org/yakindu/sct/generator/genmodel/ui/contentassist/antlr/internal/InternalSGen.g:12877:1: rule__XAssignment__FeatureAssignment_1_1_0_0_1 : ( ( ruleOpMultiAss...
[ { "docid": "fc5dc57d9ab01e469da05c1db5e9afeb", "score": "0.85980356", "text": "public final void rule__XAssignment__FeatureAssignment_1_1_0_0_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.genera...
[ { "docid": "1531304a781fb4abf1d380a652ad9a98", "score": "0.85241663", "text": "public final void rule__XAssignment__FeatureAssignment_1_1_0_0_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.tortoiseshell.ui/src-g...
4f20121df58ec5303a35688cf3edfda1
return null if pq is empty
[ { "docid": "5ab509240be06c62095a65d1e2e724fd", "score": "0.6239457", "text": "public T poll() {\n if(isEmpty())\n return null;\n T min = min();\n move(0, pq[--size]);\n percolateDown(0);\n return min;\n }", "title": "" } ]
[ { "docid": "ca37e1aa4b2223e6828c20ca43c153f7", "score": "0.75970775", "text": "public boolean isEmpty() { return pq.isEmpty(); }", "title": "" }, { "docid": "7add06a225e336b9db7df568cad7fd30", "score": "0.7353539", "text": "public boolean pqIsEmpty();", "title": "" }, { "...
602f16a3f29f3bf311060976a23f2a04
This method gets a String the represents the folder name and a String that represent the file name. With this two Strings the method gets the file name in the folder name and return the file as a File.
[ { "docid": "add5b2ece0f5238cf86c1b779b65c96b", "score": "0.0", "text": "protected File downloadFileFromServer(String folder,String fileName){\r\n \tString filePath = folder + \"//\" + fileName;\r\n \tpackaged.put(\"file\",\"empty\");\r\n \tpackaged.put(\"key\",\"DOWNLOAD\");\r\n \tpackaged.p...
[ { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.6513317", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.6513317", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f59623...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "bd7526b11a199545a27ca6060a5c4de5", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"main ORG\");\n\t\tmain(10);\n\t\tmain(10, 20);\n\t\tmain(\"rama\");\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
d38c243dda780469ced3262c22875594
method to set the boolean start false
[ { "docid": "c2db012b405bf87b802a83e5d9e8ce03", "score": "0.87137145", "text": "public void setStartFalse(){\n\t\tstart = false;\n\t}", "title": "" } ]
[ { "docid": "ff55edd4520382df726bba07eb9e9ccd", "score": "0.77043784", "text": "public void setStartTrue(){\n\t\tstart = true;\n\t}", "title": "" }, { "docid": "949fc0deb405c1e2a2561d5d4093a7a3", "score": "0.7291659", "text": "void resetBool();", "title": "" }, { "docid": ...
0ab3fdeb7129aa77915a1fcfa92ce98f
Assert the "baseline_order" in the usage DataSet is consistent with the order defined in usage definition.
[ { "docid": "c0af7d663c2794728bcb80749d542148", "score": "0.75068974", "text": "private void assertUsageDataBaselineOrder( DataSet aCreateFlightUsagesDS, Integer aHoursOrder,\n Integer aCyclesOrder, Integer aLandingOrder ) {\n assertEquals( \"Expected three results\", 3, aCreateFlightUsagesD...
[ { "docid": "4d192cb7857b20a7bf4f442cc728d27f", "score": "0.566421", "text": "@Test\n\tpublic void testGetGradesMean2DecimalsAscOrdering() \n\t\t\t\tthrows StudentInvalidDataException {\n\t\tArrayList<Integer> grades =\n\t\t\t\tnew ArrayList<>(Arrays.asList(5,6,7,8,9));\n\t\tstudent.setGrades(grades);\n\...
d3df8329502e56576699cb875b9844a1
Verify that credit scores at or above 600 are approved
[ { "docid": "3faf2f142b764cbb4f947fba33b8c02f", "score": "0.6422486", "text": "@Test\n public void creditApproved() throws Exception {\n Application app = new Application();\n app.setName(\"phil garfield\");\n app.setCreditScore(600);\n Offer offer = new Offer();\n o...
[ { "docid": "3f06f650033cb483d57064687f67e8fc", "score": "0.61639893", "text": "@Test\n\tpublic void testCheckSufficientCredits_True() {\n\n\t\tint creditsRequired = 1;\n\t\taccount.setCredits(10l);\n\t\thibernateLogicLocator.getSmsAccountLogic().persistSmsAccount(account);\n\t\tSmsMessage msg = new SmsM...
9c67d38de7aa3561e0cce03e3f8971e3
Creates new form ProjectEditorMainPanel
[ { "docid": "2780e51ba80d199acfd5c771e53511c4", "score": "0.67468494", "text": "public ProjectEditorMainPanel(Profile profile) {\n this.profile = profile;\n this.nodePropertiesPanel = new NodePropertiesPanel(profile, this);\n\n initComponents();\n //createTree();\n load...
[ { "docid": "29d1a8fdb06eaaf4238471db403457db", "score": "0.7204252", "text": "public DIYProjectMain() {\r\n\t\t\r\n\t\tmyUserName = \"Not Set\";\r\n\t\tmyEmail = \"Not Set\";\r\n\t\tFRAME = new JFrame(\"DIY Project | \" + \"UserName: \" + myUserName);\r\n\t\timp = new ImportExportHelper();\r\n\t\t\r\n\t...
55341efd349e3199198ab26af7995edc
Resets the scanner to read from a new input stream. Does not close the old reader. All internal variables are reset, the old input stream cannot be reused (internal buffer is discarded and lost). Lexical state is set to ZZ_INITIAL.
[ { "docid": "336938a0a8f1186331b101b84d436513", "score": "0.6659771", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = zzPushbackPos = 0;\n yyline = yycha...
[ { "docid": "e0844909322e2cd7494f1384ac15b26a", "score": "0.69691455", "text": "public final void yyreset(java.io.Reader reader) {\n zzReader = reader;\n zzAtBOL = true;\n zzAtEOF = false;\n zzEOFDone = false;\n zzEndRead = zzStartRead = 0;\n zzCurrentPos = zzMarkedPos = 0;\n zzFin...
98666f3165c1a8d47272fa841fb81b40
Gets the value of the 'international_roaming_flow' field
[ { "docid": "29e9383ef83d10cd5017b986deeb6ba5", "score": "0.7825015", "text": "public java.lang.Integer getInternationalRoamingFlow() {\n return international_roaming_flow;\n }", "title": "" } ]
[ { "docid": "cf41dc0b7addcab1217a590d8f13f8f0", "score": "0.6754073", "text": "public java.lang.Integer getInterProvinceRoamingFlow() {\n return inter_province_roaming_flow;\n }", "title": "" }, { "docid": "af9f0c242ccbbdd42f4308720d8725ea", "score": "0.6665967", "text": "publ...
22454ff6b6d0e10b6c026e42bc5cc72d
Resolve the link to the node with uuid (in the given language) into an observable
[ { "docid": "4f47ef032dd6aeb155a678413f6a59b2", "score": "0.46533698", "text": "public String resolve(InternalActionContext ac, String branch, ContainerType edgeType, String uuid, LinkType type, String projectName,\n\t\tboolean forceAbsolute,\n\t\tString... languageTags) {\n\t\t// Get rid of additional w...
[ { "docid": "ba022df87f38364379106fe7323088ed", "score": "0.58083177", "text": "GWTJahiaNodeProperty translate(GWTJahiaNodeProperty property, GWTJahiaItemDefinition definition, String srcLanguage, String destLanguage, String siteUUID) throws GWTJahiaServiceException;", "title": "" }, { "docid...
8eb443d423bff174d69554abee5cb45a
SWFHeader interface. Sets movie length to 1 to force a recalculation since the length cannot be guaranteed to be the same as the original.
[ { "docid": "08108442b904c3f923292a7310c5a852", "score": "0.64939183", "text": "public void header(int version, long length, int twipsWidth, int twipsHeight, int frameRate, int frameCount) throws IOException {\n this.version = version;\n mTags.header(version, -1, twipsWidth, twipsHeight, fr...
[ { "docid": "e6565af4af33064089a3b33c7b05f592", "score": "0.64962393", "text": "private void ManipulateHeader() {\r\n\t\t//for details information about wav headers see: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/\r\n\t\t//write the whole header Into OutBuffer\r\n\t\tfor (int i = 0; i < h...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "6ec759b338a83ae4b64341725b64dddf", "score": "0.0", "text": "public static void updateModel(modelVO mv) {\n\t\ttry\n\t\t{\n\t\t\tSessionFactory sessionFactory=new Configuration().configure().buildSessionFactory();\n\t\t\t\n\t\t\tSession session=sessionFactory.openSession();\n\t\t\t\n\t\t\tTra...
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.66285414", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}"...
0b18b8cc2bf9428cd792debcf773a7df
/Simple method used to change the contents of the sortTypeComboBox based which target selected.
[ { "docid": "d7b329ee1a3ef263bb9272ac3df5b1dc", "score": "0.8134505", "text": "private void updateSortTypeComboBox(){\r\n sortTypeComboBox.removeAllItems();\r\n if(sortTargetComboBox.getSelectedItem().equals(\"Queue\")){\r\n sortTypeComboBox.addItem(\"Weight\");\r\n so...
[ { "docid": "3f2dac00ff038450f6f6607f241afde6", "score": "0.6587672", "text": "private void sort(){\r\n console.append(\"\\nYou pressed the \\\"Sort\\\" Button\\n\");\r\n if(scanner == null) {\r\n displayStructure();\r\n }\r\n String sortType = sortTypeComboBox.getS...
709346483a59b04320a2a62339ec3604
Get the key of currently selected row
[ { "docid": "011fba26a77b1569db27734cc262853a", "score": "0.84625936", "text": "protected Integer getSelectedRowKey()\n \t{\n \t\tArrayList<Integer> selectedDataList = getSelectedRowKeys();\n \t\tif (selectedDataList.size() == 0)\n \t\t{\n \t\t\treturn null;\n \t\t}\n \t\telse\n \t\t{\n \t\t\treturn sele...
[ { "docid": "9fd983ae31547e9504b4cd8ac4915330", "score": "0.8153693", "text": "public Object getSelectedValue() {\n RowKey rowKey = (RowKey) getValue(\"#{currentRow.tableRow}\");\n return (rowKey != null) ? rowKey.getRowId() : null;\n }", "title": "" }, { "docid": "fe5644f7ff...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c9f908201f96e365bef8e747b92d28fa", "score": "0.0", "text": "@Override\r\n public TreeSet union(TSet t1, TSet t2) {\n return null;\r\n }", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6695466", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65689754", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, ...
188340fbbe346eb0c691901f5fc6afe1
/ complete sparql query with holders
[ { "docid": "bb2b595fdd2c682fc34bda29e71ea7f8", "score": "0.0", "text": "private String addRegexHolders() {\n\t\tString ret = \"\";\n\t\tSet els = new HashSet();\n\t\tfor (int i = 0; i < holders.size(); i++) {\n\t\t\tSentiHolder m = (SentiHolder) holders.get(i);\n\t\t\tif (m.holder != null) {\n\t\t\t\tel...
[ { "docid": "7f11826d855954d10f622fadf39925bd", "score": "0.64682955", "text": "public SparqlYunus()\r\n\t{\r\n Query query = QueryFactory.create(squery); \r\n QueryExecution qExe = QueryExecutionFactory.sparqlService( \"https://query.wikidata.org/sparql\", query );\r\n results = qEx...
ae5f6eaeda2285d7502c3ea9cb311e2f
Firma para obtener todos los eventos
[ { "docid": "e4b88c7c4a5390d73f308aa98ec3dd45", "score": "0.6986967", "text": "public ArrayList<Evento> todosLosEventos();", "title": "" } ]
[ { "docid": "110962d6a67f71a08c26d46d763a4488", "score": "0.7290463", "text": "public List<EventDO> getAll();", "title": "" }, { "docid": "5a6d87d31ba62ec91f5f10c41637aa66", "score": "0.7261357", "text": "List<Event> getAllEvents();", "title": "" }, { "docid": "a1b3a910d87...