query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
f6b0b9b1f07e74563a083fee3a2790ef
private static Logger logger = Logger.getLogger(ConfigProps.class); private constructors to load properties.
[ { "docid": "c3f07b7c9ba787bf4f6a9e9eb9e3e27c", "score": "0.8065797", "text": "private ConfigProps() {\n\t\ttry {\n\t\t\tloadProps();\n\t\t} catch (Exception e) {\t\t\t\n\t\t\tSystem.out.println(\"ConfigProps,property file operation ,\" +\n\t\t\t\t\t\t\t\t \"Error in loading configuration file in ConfigP...
[ { "docid": "eaf63a98572277081da50662a8aed8c8", "score": "0.796332", "text": "private Config() {\n loadProperties(PROPERTIESFILES);\n }", "title": "" }, { "docid": "99aaafae19255f42d3ed309d3d896422", "score": "0.75487757", "text": "public void init() {\r\n this.proper...
b77a07704371531c8420aa4ef5581b98
Fetch the resource. Designed so that extensions can decide how the resource should be retrieved.
[ { "docid": "b8e9a205b5fa6cf5bcfb4ed4864a8e95", "score": "0.55277526", "text": "@Override\n public X509CRL fetch(final Resource crl) throws IOException, CRLException, CertificateException {\n val results = fetch(CollectionUtils.wrap(crl));\n if (!results.isEmpty()) {\n return ...
[ { "docid": "a954fa8b6a1aa79e4f2141d32e4ad6e0", "score": "0.6905954", "text": "public com.hps.july.persistence.Resource getResource() throws java.rmi.RemoteException, javax.ejb.FinderException {\n\treturn (com.hps.july.persistence.Resource)this.getResourceLink().value();\n}", "title": "" }, { ...
d31fee8dc88a0162b54289308731f410
Convert a LocalDateTime (Java 8) to old fashioned Date
[ { "docid": "7668e70740443727d93f095b31f1b7fa", "score": "0.7086873", "text": "public static Date localDateTimeToDate(LocalDateTime d) {\n return Date.from(d.atZone(ZoneId.systemDefault()).toInstant());\n }", "title": "" } ]
[ { "docid": "1bf46914971a7ef86056d132b8421474", "score": "0.745841", "text": "public static Date convertLocalDateTimeToDate(final LocalDateTime localDateTime) {\n\n return Date.from(localDateTime.atZone(ZoneId.systemDefault()).toInstant());\n }", "title": "" }, { "docid": "38cde376b...
2162e625443c7a69d41163125362fc24
The following getLabelNotHint() methods are special cased label lookups, so even while in label debugging mode the current label request WILL NOT appended the label debug info. This is needed for certain labels which aren't truly displayed as text, but rather are label keys to other labels. Or other weird scenarios whe...
[ { "docid": "a499e03c537d01ec8289096b07b51129", "score": "0.5983243", "text": "public String getLabelNoHint(String section, String name) {\n return super.getLabel(section, name);\n }", "title": "" } ]
[ { "docid": "c4bbe51089f273fed32da08615209a56", "score": "0.6505246", "text": "protected String getLabel() {\n String shortLabel = \"\";\n if (label != null && label.length() > 0) {\n shortLabel = FLAG_LABEL + getShortLabel();\n }\n return shortLabel;\n ...
600ad39b9f59be07f8d613d175259760
Create new instance of the Archetype using path to the file or directory.
[ { "docid": "2bb14f889ac5800bad256cfed0b656de", "score": "0.73917496", "text": "public static Archetype create(String pathname) {\n Objects.requireNonNull(pathname);\n File file = Path.of(pathname).toFile();\n return create(file);\n }", "title": "" } ]
[ { "docid": "dcab31a51053f50a2e1d6c84c2d43682", "score": "0.68078923", "text": "public ArchiveFactory(String path) {\n this.path = path;\n }", "title": "" }, { "docid": "d33add435ca8ce50eeb32443f5e3a975", "score": "0.614093", "text": "public File(String path) {\n\t\tthis.pat...
3a5f5e7ce6d3270113b73bdfc97aa799
Gets the name of the team.
[ { "docid": "30e229eeb96d82f34f91a129046e0d0c", "score": "0.0", "text": "public String getName() {\n return this.handle.getName();\n }", "title": "" } ]
[ { "docid": "f310b8fadc57945c0a4d94b804779e13", "score": "0.8862813", "text": "java.lang.String getTeamName();", "title": "" }, { "docid": "f960d26e2b3bddbf056c4580c836b501", "score": "0.8596646", "text": "public java.lang.String getTeamName() {\n java.lang.Object ref = teamNam...
f38ec205b8c941b34727bdaec2bbaee1
Returns true if connected to the internet, false if not
[ { "docid": "fbf81fda1873e0865b9f6cda14cb4e13", "score": "0.0", "text": "public static boolean isNetworkConnected(Context context) {\n ConnectivityManager cm =\n (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetwork = cm.get...
[ { "docid": "934faf4cc61537455722b3d70f07ff24", "score": "0.8437962", "text": "public boolean checkInternetConnection() {\n\t\tboolean status = false;\n\t\ttry {\n\t\t\tConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\t\tNetworkInfo netInfo = cm.getNetwor...
bea0841c3e273e8687978e4cff8dabde
/ 183: / 184:
[ { "docid": "bc5630fd7491bb667aef4692ba204f46", "score": "0.0", "text": "public static Class<?> findCommonElementType(Collection collection)\r\n/* 185: */ {\r\n/* 186:293 */ if (isEmpty(collection)) {\r\n/* 187:294 */ return null;\r\n/* 188: */ }\r\n/* 189:296 */ Class<?> candid...
[ { "docid": "f03754b22089b56dc3683610e26c4568", "score": "0.6320108", "text": "private final void m137179i() {\n m137181k();\n m137182l();\n }", "title": "" }, { "docid": "af6df66c94a25cf709e1bb28a0eaa653", "score": "0.60269254", "text": "public void mo4183k() {\n ...
69b1126f1a0a70fc74adc350cc0f04f0
Convenience method to return database instance
[ { "docid": "a0e08479d70a1a2ff9e58e02fea60996", "score": "0.7912532", "text": "public static GenericDatabase database()\n {\n return database;\n }", "title": "" } ]
[ { "docid": "c5ab27f5dcdf6f95e433cf88588da745", "score": "0.7926259", "text": "protected abstract Database db();", "title": "" }, { "docid": "54ccc1cc0f336cb1fd611fdb52a70dc3", "score": "0.75716513", "text": "public Database getDatabase()\n throws DatabaseException {\n\n ...
d99b84668223672c5426b4afdbb911a3
This method runs Database Query to retrieve latest 100 Memes
[ { "docid": "300b096f93f66d7ff3f131e7a4d67aae", "score": "0.5765887", "text": "List<XmemeEntity> findTop100ByOrderByIdDesc();", "title": "" } ]
[ { "docid": "ec13ba1c337a6d9b7893357af6466805", "score": "0.58819956", "text": "protected void queryUpdates() {\n final Update.Query updateQuery = new Update.Query();\n updateQuery.whereEqualTo(\"project\", proj);\n updateQuery.getTop().include(\"user\");\n\n // If app is just...
924ee38689e972fa7d76b59b05ae0eef
/ renamed from: X.0VT reason: invalid class name
[ { "docid": "2a7da5917e85774df217e85c729fd37e", "score": "0.0", "text": "public interface AnonymousClass0VT extends AbstractC04990rf<byte[]> {\n}", "title": "" } ]
[ { "docid": "14fea056fc6321366d115edf684225f7", "score": "0.6494167", "text": "@org.junit.Test\n public void fromClassName()\n {\n // from a class\n assertEquals(\"wrong name from class\", \"Classes\",\n Classes.fromClassName(Classes.class));\n }", "title": "" }...
cd88d9ea2330e26256f5319a34e3982f
Sets the value of the 'accountID' field.
[ { "docid": "eb4c7d87fc840c84baf7e514f6d03d19", "score": "0.80485624", "text": "public void setAccountID(Long value) {\n this.accountID = value;\n }", "title": "" } ]
[ { "docid": "440ee264c984a3edb7bc8704be29e825", "score": "0.7859942", "text": "public void setAccountID(String accountID) {\n\t\tthis.accountID = accountID;\n\t}", "title": "" }, { "docid": "ff0760419f5abaa200feb894f9d453d5", "score": "0.76800776", "text": "public Builder setAccountID...
16649e42b76096921c222d36b06b138e
System.err.println("Warning Line " + e.getLineNumber() + ": " + e.getMessage() + "\n");
[ { "docid": "44567b49ca3df83b07db3d611f359cc8", "score": "0.56975126", "text": "@Override\n public void warning(SAXParseException e) throws SAXParseException {\n throw e;\n }", "title": "" } ]
[ { "docid": "aa219301ddbc5b746ec24a2a0e18047c", "score": "0.6665454", "text": "static void warn(int lineNum, int charNum, String msg) {\n System.err.println(lineNum + \":\" + charNum + \" ***WARNING*** \" + msg);\n }", "title": "" }, { "docid": "817e20ce0b4cce7460fd20cc3aaa457e", ...
664874a7da4281d94bfaebf4317901d8
Indicates if the daemon must be process on system startup
[ { "docid": "e813b0c8275e0a6117b88ab6ad35d77b", "score": "0.62464964", "text": "public boolean onStartup( )\n {\n return _bOnStartup;\n }", "title": "" } ]
[ { "docid": "8bdea66dbb56804549e9944756e3adf8", "score": "0.6599298", "text": "public boolean startUp();", "title": "" }, { "docid": "b5623beffa813f5494ad3b9a3c5fe264", "score": "0.64399475", "text": "@ApiModelProperty(value = \"Run an init inside the container that forwards signals a...
6a670b2bfadea95db235b49ed83ae024
This method takes 2 String parameters and makes them no longer friends of each other. Note: The order of names does not matter Note: Do not forget to write tests to have good test coverage for this method
[ { "docid": "3120ddc015f93c7f3a3537a3a7c04da7", "score": "0.538882", "text": "public void unmakeFriend(String nameKey, String friendName) {\n \tif (nameKey == null || friendName ==null) {\n\t\t throw new IllegalArgumentException(\"Friends cannot be blank\");\n\t\t}\n\t\tif (frndMap.containsKey(name...
[ { "docid": "f762bd804fde2d46a21b06a081a52633", "score": "0.6509811", "text": "private void checkNames(String user1, String user2) throws IllegalArgumentException,\r\n IllegalNameException, DuplicateNameException {\r\n if (user1 == null || user2 == null || user1.equals(\"\") || user2.equals(\"\...
5c0791b6c196276dee1a7fdb6b5e04ec
Sets the defrostZone portion of the ClimateControlCapabilities class
[ { "docid": "dd8b57db8c69d615d6ac040482898202", "score": "0.72164404", "text": "public void setDefrostZone(List<DefrostZone> defrostZone) {\n setValue(KEY_DEFROST_ZONE, defrostZone);\n }", "title": "" } ]
[ { "docid": "80fd9e8a733aeca73ae4bc348b0cbbfb", "score": "0.63826096", "text": "public void setDefrostZoneAvailable(Boolean defrostZoneAvailable) {\n setValue(KEY_DEFROST_ZONE_AVAILABLE, defrostZoneAvailable);\n }", "title": "" }, { "docid": "8d31641467471964d6353e2d03f6379a", "...
8d0b18ab2f9c503a2daee640260a7b4f
find the RA and DEC from the rectangular equatorial coords
[ { "docid": "4ce1921ffdcb02dc3cebaa96af3cb21a", "score": "0.50059354", "text": "public static RaDec calculateRaDecDist(HeliocentricCoordinates coords) {\n float ra = Geometry.mod2pi(MathUtil.atan2(coords.y, coords.x)) * Geometry.RADIANS_TO_DEGREES;\n float dec = MathUtil.atan(coords.z / Mat...
[ { "docid": "a4df77b5de191ef3570b8ac3d13666e7", "score": "0.5729015", "text": "public static EquatorialCoordinates of(double ra, double dec) {\n return new EquatorialCoordinates(checkInInterval(RA_INTERVAL, ra), checkInInterval(DEC_INTERVAL, dec));\n }", "title": "" }, { "docid": "3...
0432c308ac78064f9bfbcea3e2c0a429
Assert the given SimpleCommonManager.
[ { "docid": "67a6309e7edade24ee33c8bfc4f3e32e", "score": "0.66881645", "text": "private void assertManager(SimpleCommonManager manager, int recentDays) throws Exception {\r\n assertNotNull(\"The SimpleCommonManager should be instantiated\", manager);\r\n assertTrue(\"The type of dao should ...
[ { "docid": "922846d77a835d28f273a39330a070b7", "score": "0.6600196", "text": "public void testSimpleCommonManagerPaymentTermDAOInt() throws Exception {\r\n this.assertManager(new SimpleCommonManager(this.getDao(), 3), 3);\r\n }", "title": "" }, { "docid": "cee3e44490cf096235e0a726e...
127d12309ae79f323687d8ede34ff78f
Set the parameters starting with the first parameter.
[ { "docid": "7eb667b113bf73f8f2aa421d84db28d7", "score": "0.0", "text": "public void bindParameters(PreparedStatement stmt, org.tair.db.locusdetail.ILocusGeneModel parameters)\n throws SQLException {\n parameters.getPrimaryKey().setParams(stmt, 1);\n }", "title": "" } ]
[ { "docid": "502a0124bba2128cb81e35eb8118f87f", "score": "0.67109644", "text": "@Override\r\n\tpublic void setParameters(Object... params) {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d12d6db2ee91979206160b77ca35165", "score": "0.6669284", "text": "void setParams()\n {\n }", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7ff488201885160834b05b079e2d2c1d", "score": "0.0", "text": "@Override\n\tpublic Map<String, Object> findCoordingByTask(String taskId) throws Exception {\n\t\treturn null;\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...
1bef3afd5c35794d08a822be061e8f8d
Configures the Request parameter to look for when attempting to send a request to CAS.
[ { "docid": "2855f140441236864f5e6d424aa692f9", "score": "0.0", "text": "public final String getServiceParameter() {\n\t\treturn this.serviceParameter;\n\t}", "title": "" } ]
[ { "docid": "649159eb79295a25df4d822684dd5e38", "score": "0.5803721", "text": "@Override\r\n\tpublic void setServletRequest(HttpServletRequest request) {\n\t\tthis.request = request;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "382b8c10e402937465278d8c86bc1b86", "score": "0.5792305", "...
4bf81c8e644b9759f35cd113e054373b
Computes the numerator of the optimal value after the last simplex iteration (the pivot element being the denominator)
[ { "docid": "be5da4d80c3e0849c74670eae203bff7", "score": "0.0", "text": "public OptimalNumeratorCircuit getOptimalNumeratorCircuit(Matrix<SInt> updateMatrix, SInt[] B, SInt optimalNumerator);", "title": "" } ]
[ { "docid": "2d48b747ea0ba44a89077138fe2843c8", "score": "0.6055727", "text": "public double getPER() {\n\t\tint nq = q0.length;\n double sum = 0.0;\n for (int i=0; i<nq; i++) sum += q0[i];\n\t\treturn Math.min(1.0, 0.5*(1.0-(sum/(double)nq))/initPER); // 0.5 * proba erreur\t\t\n\t}", "...
63eef143aca15ec2d5a209e16aff420a
Describe main method here.
[ { "docid": "3e54966be40c8932f794c0698007e880", "score": "0.0", "text": "public static final void main(final String[] args) \n {\n\tint numTerms = 5000;\n\t//int numTerms = 50;\n\tint minDocSize = 5000;\n\t//int minDocSize = 100;\n\tint maxDocSize=2000;\n\t//int numDocs = 1000;\n\tint numDocs = 10000;...
[ { "docid": "fb161dec9bf108fd5db136d97cb8fbfa", "score": "0.7311809", "text": "public static void main(String[] args) {\r\n // 2. Call your method in various ways to test it here.\r\n }", "title": "" }, { "docid": "22597ec78b2515b4a8cd64b0d4f52fe1", "score": "0.71534675", "t...
b5572c50811111d72a3fa70947910618
$ANTLR end rule__GaussianTypeSpecifier__Group_2__1__Impl $ANTLR start rule__GaussianTypeSpecifier__Group_2__2 ../org.eclipselabs.mscript.language.ui/srcgen/org/eclipselabs/mscript/language/ui/contentassist/antlr/internal/InternalMscript.g:6901:1: rule__GaussianTypeSpecifier__Group_2__2 : rule__GaussianTypeSpecifier__Gr...
[ { "docid": "34fab027bdf0751aa41ab0678c176a7e", "score": "0.8434998", "text": "public final void rule__GaussianTypeSpecifier__Group_2__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-...
[ { "docid": "e155cc493041e8a9559e50b48a41854f", "score": "0.8366937", "text": "public final void rule__GaussianTypeSpecifier__Group_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipselabs.mscript.language.ui/src-...
6585c0215b0c28f8aae4983f2be33fbb
Gets the defaultCategory attribute of the CustomFieldCategoryList object
[ { "docid": "89bb8f00e6a40be6b77d9ca302f254ef", "score": "0.8095532", "text": "public CustomFieldCategory getDefaultCategory() {\n Iterator i = this.iterator();\n while (i.hasNext()) {\n CustomFieldCategory thisCategory = (CustomFieldCategory) i.next();\n if (thisCategory.getDefaultItem()...
[ { "docid": "58a9028a28982dbfb5179628000ab406", "score": "0.7851752", "text": "public int getDefaultCategoryId() {\n int tmpDefault = -1;\n int count = 0;\n Iterator i = this.iterator();\n while (i.hasNext()) {\n ++count;\n CustomFieldCategory thisCategory = (CustomFieldCategory) i....
ab82dec39b58fc4644a3fc69619c9da4
Helper methods process steps Performed following ImportStep.READER notification.
[ { "docid": "e410d507e79aba82b33d63eb5a13fb60", "score": "0.45697534", "text": "private void initializeReader() {\n computeNameAndLocation();\n createBaseReader();\n }", "title": "" } ]
[ { "docid": "50aba3d6a1ad9fe20da2c3215d8e54c8", "score": "0.54761976", "text": "private void handleInteractionClass(Reader_Controller interaction) {\n log.info(\"received Reader_Controller interaction\");\n receivedReader = true;\n timestep_Reader = interaction.get_dataString();\n ...
880db8585f64d5031b593f53349472a8
todo: will be connect to server
[ { "docid": "d1954994318538a21e40d1ccae96a682", "score": "0.0", "text": "@Nullable\n public static Version[] getVersions(@NotNull String groupId) {\n final Versions allVersions =\n XmlSerializer.deserialize(getRoot(groupId), Versions.class);\n\n return allVersions == null ? null : allVersions...
[ { "docid": "44ca1d8a093c56667eee7dc000e71198", "score": "0.6497534", "text": "@Override\n\tpublic void run() {\n\n\t\tBufferedReader br = null ;\n\t\tOutputStream os = null ;\n\t\ttry {\n\t\t // 연결 스트림 생성\n\t\t\t\n\t\t\t// 서버소켓에 접속한 클라이언트의 정보를 알아오는 부분..\n\t\t\tInetSocketAddress inetSocketAddress = (Ine...
d09e3e4173bba36b69901108481d3279
Tests whether the given NSAC unit type is an angle unit.
[ { "docid": "2c9f3c7309baf661026effe7b04b4209", "score": "0.7618408", "text": "public static boolean isAngleSACUnit(LexicalUnit unit) {\n\t\tLexicalType type = unit.getLexicalUnitType();\n\t\tshort cssunit;\n\t\tif (isFunctionType(type)) {\n\t\t\tif (isGradientFunction(unit)) {\n\t\t\t\treturn false;\n\t...
[ { "docid": "506be7fe62d3e471dbf2b3eaea77c560", "score": "0.5888409", "text": "public static boolean isTimeSACUnit(LexicalUnit unit) {\n\t\tLexicalType type = unit.getLexicalUnitType();\n\t\tshort cssunit;\n\t\tif (isFunctionType(type)) {\n\t\t\tunit = firstDimensionArgument(unit);\n\t\t\treturn unit != ...
d26755d2633182f8f20f2cf00c604a29
Builds an encrypted outputstream given a public key to encrypt thing under
[ { "docid": "9fae3976c92b29e09f258eba7f29a239", "score": "0.64179534", "text": "public EncryptedOutputStream(PublicKey publicKey, OutputStream stream, int bufferSize) throws IOException {\n BUFFER_SIZE = bufferSize;\n this.publicKey = publicKey;\n this.stream = new DataOutputStream(stream);\n ...
[ { "docid": "8379053d0debac6f2320cad00519decd", "score": "0.5896276", "text": "private void PerformGenerateKeyPublic() throws IOException {\n \t\tStringBuilder content = new StringBuilder();\n \t\tcontent.append(\"---- BEGIN SSH2 PUBLIC KEY ----\\n\");\n \n \t\t/**\n \t\t * Perform format here\n \t\t */\...
24a49799620692284227b7cc80eced65
Gets the value of the 'buids' field
[ { "docid": "d753740b7779433a1895b8b2e70d8a33", "score": "0.7660572", "text": "public java.util.List<java.lang.CharSequence> getBuids() {\n return buids;\n }", "title": "" } ]
[ { "docid": "1975c27c36b97544edd3bba6f1ce199e", "score": "0.7652165", "text": "public java.util.List<java.lang.CharSequence> getBuids() {\n return buids;\n }", "title": "" }, { "docid": "fd852af0928012beeacc90e470f564e8", "score": "0.6592777", "text": "public void setBuids(j...
983e42075027f8b1eb2db1b5e44f22eb
When text is changed the timer is starting to wait for any next changes to happen. When they occure timer is cancelled and then started once again.
[ { "docid": "99f48418b40e1b3086d9cbb269281b38", "score": "0.58406913", "text": "@OnTextChanged(value = R.id.et_search,\r\n callback = OnTextChanged.Callback.TEXT_CHANGED)\r\n public void onTextChange() {\r\n progressBar.setVisibility(View.VISIBLE);\r\n if (timer != null) {\r\n...
[ { "docid": "705441b547375c33d22274c6d32007f4", "score": "0.66142595", "text": "public void setupChangingOfTheTexts() {\n\t\t//if the changing delays have never been initialized\n\t\t//create an array that holds as many delays as the text page with most lines\n\t\tif (textChangingDelays == null) {\n\t\t\...
039dace02367bcca717097393dd4cdc7
The INTERSECT operator returns the subset of rows returned by the lefthand SELECT that are also returned by the righthand SELECT. Duplicate rows are removed from the result set.
[ { "docid": "039c21bf7ac8e8705a2f2ddd1ea39192", "score": "0.571586", "text": "public static CompoundSelect intersect(Query query) {\n return new CompoundSelect(CompoundSelectOperator.INTERSECT, query);\n }", "title": "" } ]
[ { "docid": "913d4e5584b8e664eb7c75ffd7128ee9", "score": "0.64901364", "text": "void intersect(Multiset<E> other);", "title": "" }, { "docid": "a0cfb2bbf5254512ee742aa9c7187c2d", "score": "0.612605", "text": "public native static java.util.List intersect(java.util.List oper1, java.uti...
fa58c7f21af63c1cf4b21685c54b41b9
This returns a JSON or XML with the users
[ { "docid": "763a00d2b875431a0c6838dc0fc8d8fd", "score": "0.0", "text": "@GetMapping(path=\"/load\")\n\tpublic @ResponseBody String loadAllTweets() throws UnsupportedEncodingException \n\t{\n\t\ttwitterMain.loadIntoDB(tweetRepository);\n\t\treturn \"Success\";\n\t}", "title": "" } ]
[ { "docid": "e12356557f25a0afd7faefb765be40e9", "score": "0.73476356", "text": "@Get(\"json\")\n public Representation getUsers() throws JSONException\n {\n Collection<User> users = backend_.getDatabase().getUsers();\n Collection<JSONObject> jsonUsers = new ArrayList<JSONObject>();\n\...
4aefe8be9ee074cdf75caebf37dd3367
Send result to the server.
[ { "docid": "d0cc29cfe8c08150c1cc1bb16c45c889", "score": "0.70970994", "text": "private void sendResult(String fileName, String result) {\r\n\t\ttry {\r\n\t\t\tOutputStream os = socket.getOutputStream();\r\n\t\t\tPrintWriter pw = new PrintWriter(os, true);\r\n\t\t\tpw.println(\"<result>\");\r\n\t\t\tpw.p...
[ { "docid": "b0f43fd51f7c15517c45a1206130d09d", "score": "0.8187394", "text": "private void sendResult (String result) throws IOException {\n out.println(result);\n out.flush();\n }", "title": "" }, { "docid": "78041aad0f55b816c1c0cfb463ebf57f", "score": "0.75406164", ...
ef47c9aca0bcd35c8c74b653d7a0a632
get heuristic score of the current state for weighing min max algorithm decisions
[ { "docid": "1e5e96e2ba3b544c2a743f75fe7653af", "score": "0.0", "text": "public void evaluate() {\n // adds together good options for comp and subtract potential moves from player\n int score = Utility.getInstance().getScoreForBoard(this.sBoard);\n setScore(score);\n }", "titl...
[ { "docid": "f60d27c5102f39897382ea02a7e7a68b", "score": "0.75930184", "text": "int getHeuristic();", "title": "" }, { "docid": "c9f1adcb6c78e597c79ca3764067018f", "score": "0.71753806", "text": "private int calculateHeuristicValue()\n {\n int hvalue = 0;\n // Iterate...
2af8c2f1e5b603fd25df26cc8270a707
Add item to top of stack.
[ { "docid": "f197baad7b76b13192c03e551919a0d8", "score": "0.618411", "text": "public void push(char item){\n Node oldfirst = first;\r\n first = new Node();\r\n first.item = item;\r\n first.next = oldfirst;\r\n N++;\r\n }", "title": "" } ...
[ { "docid": "695df938cd92683f900230dcca9facf2", "score": "0.80260926", "text": "public void Push( Object item )\r\n {\r\n stack[top++] = item;\r\n }", "title": "" }, { "docid": "5593649ed25e945a8bc12841f97f5ff3", "score": "0.7602412", "text": "void push(T item){\n\t\t//tl...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "578ad25ffce68f5fa67730f342c7daad", "score": "0.0", "text": "@Override\r\n\t\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\t\tswitch(item.getItemId()){\r\n\t\t\tcase FIRST_MENU_ID:\r\n\t\t\t\tLog.e(\"wangzhibo\",\"mymusic_menu_click\");\r\n\t\t\t\tplayer.stop();\r\n\t\t\t\treturn...
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n ...
9537f3a68690099f7e34b94e8d7f9284
marker interface for exceptions that implement getLocalizedMessage to return something actually localized.
[ { "docid": "66fcaa97b85639a88da4b4ad2f7101be", "score": "0.79523414", "text": "public interface LocalizedException {\r\n\tpublic String getLocalizedMessage();\r\n}", "title": "" } ]
[ { "docid": "b62d0e05328a11b9ae0a5c436290e8c7", "score": "0.8441483", "text": "abstract java.lang.String getLocalizedMessage();", "title": "" }, { "docid": "7be35614bb65457521d798200c6dbdfd", "score": "0.7560154", "text": "@Override\n\tpublic String getLocalizedMessage() {\n\t\treturn...
424506be3d97d4976aeef52898d89eac
Clear the StockNum field. This sets the field to null.
[ { "docid": "c63f14d3dfaa80f4ec17867f54ec1679", "score": "0.8652235", "text": "public void unsetStockNum() {\n this.stockNum = null;\n }", "title": "" } ]
[ { "docid": "a04d3ca19c95e6c96042a7d4e43f6f08", "score": "0.70730555", "text": "public void setStockNum(String stockNum) {\n this.stockNum = stockNum == null ? null : stockNum.trim();\n }", "title": "" }, { "docid": "d1ddc0ae7a73e6a750e10ae0ece962d1", "score": "0.6202048", "...
b843b4c4971a8e0a635cadb4aff80356
converts from IEntity to the JAXB Entity1
[ { "docid": "b98f24f482340d1821d5e863e2795cda", "score": "0.6701955", "text": "private Entity1 getEntity1(IEntity entity1) {\n \t\tEntity1 jE1 = new Entity1();\n \t\tjE1.setEntity(getEntityType(entity1));\n \t\treturn jE1;\n \t}", "title": "" } ]
[ { "docid": "08c7ecc127905857adeb6c69204b79fe", "score": "0.58259994", "text": "private Entity2 getEntity2(IEntity entity2) {\n \t\tEntity2 jE2 = new Entity2();\n \t\tjE2.setEntity(getEntityType(entity2));\n \t\treturn jE2;\n \t}", "title": "" }, { "docid": "0e64e5ed5bfd8d4abf3db2c5d724edb2",...
0d3e78de0e65ed8fbfc26421386cbfc0
This method deals with commands sent to the server by the client
[ { "docid": "3b76497b4f5519139ad47653452c193d", "score": "0.0", "text": "@Override\n public void run() {\n\n while (!socket.isClosed()) {\n try {\n String line = in.readLine();\n\n out.println(line);\n\n if (line.eq...
[ { "docid": "341e14199b474a6dd3485e17d2849a4d", "score": "0.7487306", "text": "private synchronized void getClientCommand() {\n String clientCommand;\n try {\n in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));\n clientComman...
6a701335f582449d2b63d29d98dbef13
get the pending output (not yet stored in the path)
[ { "docid": "a1a2e12e1fe268fdd6d14bdb42e34eb0", "score": "0.7403556", "text": "public String getPendingOutput() {\n if (out != null && out.length() > 0){\n return out.toString();\n } else {\n return null;\n }\n }", "title": "" } ]
[ { "docid": "260a1cf32bc80af09ee9d47161ae747a", "score": "0.59488916", "text": "private static String getCmd(){\n\n String res = null;\n try{\n imutex.acquire();\n res = input.poll();\n }catch (Exception e){}\n finally {\n imutex.release();\n ...
c213397fa142ef642bdfedb3cdfabdaa
This method was generated by MyBatis Generator. This method sets the value of the database column g_person.PERSON_SEX
[ { "docid": "cc87f8254b63add694eac6816bdce673", "score": "0.5860067", "text": "public void setPersonSex(String personSex) {\r\n this.personSex = personSex == null ? null : personSex.trim();\r\n }", "title": "" } ]
[ { "docid": "a86fa7817150e2875bf5b4d02926de51", "score": "0.62606674", "text": "@Override\n public void setSex(String sex) throws RemoteException {\n this.sex = sex;\n }", "title": "" }, { "docid": "9438682775c67616e00b212252a4aa18", "score": "0.6223889", "text": "public ...
7802d8114eb30c99c2289f8fd8528916
Determine whether the current Thread has been interrupted, and clear the interrupted status in the process.
[ { "docid": "7a12d8eae625581a0b1d88409db63390", "score": "0.73614025", "text": "public static boolean interrupted()\n {\n return VMThread.interrupted();\n }", "title": "" } ]
[ { "docid": "e95d2349f9fdbe0b25fa5da05090313f", "score": "0.72074777", "text": "public void interrupt(){\r\n\t\t\tinterrupted = true;\r\n\t\t}", "title": "" }, { "docid": "eacd4d630e7d92c072357787f2aba3c4", "score": "0.71281564", "text": "public void interrupted() {\n }", "titl...
9d161e8cbee71ed2845a09ef694414cb
Displays the length of the path from thePoint1 to thePoint2.
[ { "docid": "9b28b15a276ad9cab3da3800ba209fd5", "score": "0.8643973", "text": "private void displayPathLength(final Vertex<String> thePoint1,\n final Vertex<String> thePoint2) {\n \n double pathLength = 0;\n//Finish\n// add code here to set path_length corr...
[ { "docid": "2bcb8bae863d929659147848b9c7350b", "score": "0.64033675", "text": "public static void length(){\n\t\tScanner scan = new Scanner(System.in);\n\t\t//scanning user input values\n\t\tSystem.out.println(\"Enter the x1 value for Line:\");\n\t\tx1=scan.nextInt();\n\t\tSystem.out.println(\"Enter the...
2b2c634eac3d9e6a1c10e235fddab9b4
Create a class call Animal have properies like breed, weight, age, name and methods line canBark,isWild make the name variable static Create another class called Application from this application class create 3 different instances/objects of it and print the properties and functions/methods
[ { "docid": "5e0b86a276eaae1b626cb619781640af", "score": "0.0", "text": "public static void main(String[] args) {\n\n\n\n\t}", "title": "" } ]
[ { "docid": "4505574a6469399e9b3ae8ce6f8ca30f", "score": "0.71518636", "text": "public static void main(String args[]){\n// animal1.talk(); //animal class\r\n// animal2.talk();// Dog class\r\n// \r\n dog dog1=new dog(1,\" dog2\",\" dubby\");\r\n dog1.show();\r\n System.out.println();\r\...
7f4cb17c7042c4461effd95d761f05c3
Runs each ChangeListeners stateChanged() method.
[ { "docid": "8f5d23d23e454ed8cdb868b08405b50f", "score": "0.6887215", "text": "protected void fireStateChanged() {\r\n Object[] listeners = listenerList.getListenerList();\r\n for (int i = listeners.length - 2; i >= 0; i -= 2) {\r\n if (listeners[i] == ChangeListener.class) {\r\n...
[ { "docid": "67daf151b9ee374db8db49e58df59ea4", "score": "0.74362683", "text": "protected void notifyChangeListeners() { \n Utilities.invokeLater(new Runnable() {\n public void run() { for(ChangeListener l: _changeListeners) l.apply(this); }\n });\n }", "title": "" }, { "docid": ...
857b31a5e9ac79e8ad1488dd05fd5f93
Method to print all books fetched from the database
[ { "docid": "ceb6cbd2d983fed8fadae3a6804b2377", "score": "0.78694415", "text": "public void printAllBooks(){\n\n /* Call the getAllBooksFromLibrary method from BookRepoIml to\n get list of all books. Print the id and book name to show user\n all the books. And an option to choo...
[ { "docid": "9873403094f982e347d085574aaa385b", "score": "0.7972294", "text": "private void listBooks() {\n System.out.println(\"****************************************************\");\n System.out.println(\"Book name,\\tAuthor,\\t,Year of Printing,\\t Book ID\");\n for (Book book :...
479639e1015be60f1b6441fc24ef758b
Get the message from Dao.
[ { "docid": "a3d9106895aa12e5143f7c0c1485c00a", "score": "0.0", "text": "public int setAvailable(Available available) throws IOException {\n return availableDao.setAvailable(available);\n }", "title": "" } ]
[ { "docid": "60c1081fac212eb0d043e4ad29427d4e", "score": "0.712195", "text": "Data getMessage();", "title": "" }, { "docid": "d25a84465a092d157cc555821199ae06", "score": "0.69972396", "text": "Message selectByPrimaryKey(Long id);", "title": "" }, { "docid": "75c0a5c45cfa24...
b8d3fefdd00275c97a6d5d19b03ceb05
Return true iff this permutation is a derangement (i.e., a permutation for which no value maps to itself).
[ { "docid": "8c249ddf22384cfbe2b0adb7375668d9", "score": "0.6077781", "text": "boolean derangement() {\n int check = 0;\n for (int i = 0; i < _cycles.size(); i++) {\n String curr = _cycles.get(i);\n if (curr.length() == 1) {\n return false;\n ...
[ { "docid": "22429b7ed9bbb258b42fb4aafa31351d", "score": "0.62919146", "text": "public boolean aPerdu() {\n\t\tboolean perdu = true;\n\t\tfor(Bateau b : flotte) {\n\t\t\tif(b.estDetruit() == false)\n\t\t\t\tperdu = false;\n\t\t}\n\t\treturn perdu;\n\t}", "title": "" }, { "docid": "e7039fd6991...
8e8e175b164d9f9a0e4702bd79c8ae72
populate Repository with a test artifact
[ { "docid": "f536a95e39e37e497be9eaf4c2593472", "score": "0.48921353", "text": "@Test\n public void testExtractFileReferencesFromRepositoryWith2FileRefs() throws Exception\n {\n final URI randomContext =\n ValueFactoryImpl.getInstance().createURI(\"urn:random:\" + UUID.ran...
[ { "docid": "6100320574ae1cfadb9128add23fa211", "score": "0.6152872", "text": "@Test\n public void testGetRepositoriesAsList() {\n writeDependencyFile();\n MultiRepositoryManager multiRepositoryManager = new MultiRepositoryManager();\n List<RepositoryProperties> dependencies = mul...
5e1ae74a4a989c61a2df266d028d1c0d
This method will be used to get and update the step properties which will required to run this step
[ { "docid": "bfa4b011a2a394cfff950ef9a90df0ed", "score": "0.0", "text": "public void initialise() throws CarbonDataWriterException {\n fileManager = new LoadFolderData();\n fileManager.setName(new File(carbonFactDataMergerInfo.getDestinationLocation()).getName());\n if (!carbonFactDataMergerInfo...
[ { "docid": "3efe12985b5646adb3393f47133eaab6", "score": "0.64426374", "text": "private ReadMovewareTestExecutionProperties() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "7d06ec1c07b5e57e32f31a4ef94d5854", "score": "0.62200105", "text": "private void retrieveSteps() {\n mSteps...
6bed09783d86ef52507c03332290d128
Save the config file.
[ { "docid": "f8af3dc411c13e95e8becb96d3c40740", "score": "0.7133154", "text": "public int save(String name) {\n try {\n this.props.store(new FileOutputStream(name), CONFIG_COMMENT);\n return 0;\n } catch (FileNotFoundException e) {\n System.err.println(\"File not found on Config Save...
[ { "docid": "300ccd9a43a7c69c8e7d6d54fb38ceff", "score": "0.8689437", "text": "@SneakyThrows\n public void save() {\n config.save(file);\n }", "title": "" }, { "docid": "16eaa5cffcf27fbbfe5122d941fe8a62", "score": "0.84227055", "text": "protected void saveConfig() {\n\t\t...
e8145b95e51bb8e188c86ede7e8496e1
Play media Functionality for "play" button
[ { "docid": "27f92a03bd01754d32375e4ef5f258b3", "score": "0.79032224", "text": "public void playMedia(){\n if(active) {\n try {\n mPlayer.play();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }", "title": "" ...
[ { "docid": "cf98a8353c94f1ad300d10ef5a27c5ec", "score": "0.79840857", "text": "public abstract void playMedia();", "title": "" }, { "docid": "148cd10e074b746df9bf897ebd4554c9", "score": "0.7920438", "text": "public void play(){\n if (paused)\n {\n paused ^= true;\n me...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "656a1c9e3bcb11fdfc8f9faee7d8f470", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n ((MainActivity)getActivity()).getSupportActionBar().setTitle(\"Help and About\...
[ { "docid": "e4a07f9e56beb5c09bafea61fb480337", "score": "0.6792006", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_student_graph, container, fals...
2a7d2f633e73165d3de89684e895aae6
Construct the packet with the data and send it to the sever. Also performs the mixing of the left/right side to give the feel of driving a normal car.
[ { "docid": "1e588c795a65d5cd5ca505cef71bccad", "score": "0.0", "text": "public void doMove(boolean[] buttons, float[] LStick, float[] RStick, float[] triggers){\r\n\t\tif(!waitingForPing){\r\n\t\t\tfor(int i = 0; i < buttons.length; i++){\r\n\t\t\t\tif(buttons[i]){\r\n\t\t\t\t\tinput[i] = 1;\r\n\t\t\t\t...
[ { "docid": "bd640e51482ebc152a6739cee8fe9aa3", "score": "0.6317001", "text": "public void doPack() {\n this._sendData = new byte[1];\n this._sendData[0] = (byte) this.controlCmd.value();\n }", "title": "" }, { "docid": "3d5f2f3424424c084f98a72add3fb965", "score": "0.5977...
36fd184899101a93ee3a78aef1f3405e
Name of the metadata entity(s) under which this extended metadata element may appear. The name(s) may be standard metadata element(s) or other extended metadata element(s).
[ { "docid": "d24a84af0954c2f667f234b4346ac74f", "score": "0.0", "text": "@UML(identifier=\"parentEntity\", obligation=MANDATORY, specification=ISO_19115)\n Collection<String> getParentEntity();", "title": "" } ]
[ { "docid": "e0f5a0d9c9ab4b7b25c69ade72374fba", "score": "0.68342364", "text": "protected String getEntityName() {\n \t\treturn entityMetamodel.getName();\n \t}", "title": "" }, { "docid": "ee7ff5ed1ceb6d8003fd9e44a7098611", "score": "0.6770877", "text": "java.lang.String getEntityNam...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "6b46c5ebe06af794c0c59426d9809931", "score": "0.0", "text": "@Override\n public void setEnvironment(Environment env) {\n }", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, ...
316f24a824b24539a256678943d190df
create the test data
[ { "docid": "a73292d928660fb9197e783c5acd9188", "score": "0.0", "text": "@BeforeClass\n public static void loadData() throws Exception {\n XmlLoader.load( sDatabaseConnectionRule.getConnection(), LabourHoursTest.class,\n new StationCapacityData().getDataFile() );\n }", "title": ""...
[ { "docid": "9f01a0fc3487c6a14de358841a7f109e", "score": "0.7655111", "text": "private void createTestData() {\n for (int i = startKey; i < startKey + numKeys; i++) {\n keys.add(i);\n }\n }", "title": "" }, { "docid": "2dcdbab1d28dc88a30b52506884163d2", "score"...
9ce07ee550c7dda68356a6143b08f2af
We want the hitbox to be at the feet for a better feel
[ { "docid": "22b570894991ae066f8b068344a1b364", "score": "0.0", "text": "@Override\n public void update(Entity entity, MapManager mapMgr, float delta) {\n updateBoundingBoxPosition(_nextEntityPosition);\n updatePortalLayerActivation(mapMgr);\n if( _isMouseSelectEnabled ){\n ...
[ { "docid": "0b66da31dfdaaf60ca9e88abc346532e", "score": "0.73905575", "text": "private void actualizaHitbox() {\n hitbox = new Rect((int)(posX + 0.2 * bala.getWidth()), (int)(posY + 0.2 * bala.getHeight()), (int)(posX + 0.8 * bala.getWidth()), (int)(posY + 0.8 * bala.getHeight()));\n }", "...
bb333dfc061c13c1857fbd4b69395abb
Returns the highest index at which element appears in the considered elements list, or 1 if it does not appear.
[ { "docid": "7fdb5d000981d9f4a6c7361cbe90e1fb", "score": "0.5688599", "text": "@Override\n\tpublic int lastIndexOf(Object e) {\n\t\tfor (int i = firstToConsider + size - 1; i >= firstToConsider; i--)\n\t\t\tif (data[i].equals(e))\n\t\t\t\treturn i - firstToConsider;\n\t\treturn -1;\n\t}", "title": ""...
[ { "docid": "7c060f601ac607db2d76e03ce3e61174", "score": "0.6895717", "text": "protected int maxIndex(int[] list) {\n int x = 0;\n for(int i=0; i < list.length; i++) {\n if (list[i] > list[x]) {\n x = i;\n }\n }\n return x;\n }", "ti...
e24e3765f9e5672e3733ec74712d8d34
Will be used by the ArrayAdapter in the ListView
[ { "docid": "88742858ad4d0b7437572cf1d001bcf3", "score": "0.0", "text": "@Override\n\tpublic String toString() {\n\t\treturn roomName;\n\t}", "title": "" } ]
[ { "docid": "11fe58a6bed18acb42b18eb2fd65d703", "score": "0.674059", "text": "@NonNull\n @Override\n public View getView(int position, View convertView,\n ViewGroup parent){\n //inflate layout\n LayoutInflater inflater = (LayoutInflater) getContex...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a5b900dacb72b882d6ef8b978b61fe3a", "score": "0.0", "text": "@Override\npublic boolean isDead() {\n\treturn false;\n}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "25fa2554899b0600ed81a33f8f50396c", "score": "0.0", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif (i%3==0){\n\t\t\t\t\terrorDialog(getString(R.string.i475));\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t\telse i++;\n\t\t\t}", "title": "" } ]
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115143", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.67343336", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-g...
1e431e1e9297ca5e40388ca89492ff6a
Returns a new object of class 'Label Wrap'.
[ { "docid": "acb8c026ee51d269b1c5719fe1e6fd20", "score": "0.86071754", "text": "LabelWrap createLabelWrap();", "title": "" } ]
[ { "docid": "d717b8ab8ee2d5679d25a941f628d67b", "score": "0.7046357", "text": "public Label createLabel()\n {\n return new Label(labelCount++);\n }", "title": "" }, { "docid": "9073547c815304f677ddab01d0678cf4", "score": "0.6910665", "text": "Label createLabel();", "t...
3f316633bdc166ec9418d3586dcb4608
Return the chunk size for the records retrieved from the database.
[ { "docid": "fc4aa139a56ecc497000781bf7b66d11", "score": "0.67878044", "text": "public int getChunkSize() {\n\n return chunkSize;\n }", "title": "" } ]
[ { "docid": "99b9ca7c71851676e105119e292a7591", "score": "0.71919066", "text": "public int getChunkCount() {\n return chunk_.size();\n }", "title": "" }, { "docid": "ccff6cf0c927d386fa5057ecf4c5b3bf", "score": "0.71350944", "text": "public int getChunkCount() {\n return...
e29c7d4862b56a802b848af6ccf270e1
annot event listener management.
[ { "docid": "1788837aca3b8c90128ce755ed6b46ca", "score": "0.6119655", "text": "public void registerAnnotEventListener(AnnotEventListener listener) {\n mAnnotEventListenerList.add(listener);\n }", "title": "" } ]
[ { "docid": "075dba12f6e0e1991da7329a93b94f21", "score": "0.63534427", "text": "public void listener() {\n\t\t\n\t}", "title": "" }, { "docid": "0b0cdd447a0dd48a8ae3008122a4cae1", "score": "0.63163364", "text": "abstract protected void listeners();", "title": "" }, { "doci...
045cc6db74626383388cb7aa7e78872d
Used in few places.
[ { "docid": "4b52866a83624c23138ce42be8181269", "score": "0.0", "text": "public static String getCanonicalPath(String name ) {\n\tif( name==null ) return null;\n\tFile f = new File(name);\n\ttry {\n\t return f.getCanonicalPath();\n\t} catch (IOException ioe) {\n\t ioe.printStackTrace();\n\t ret...
[ { "docid": "bc3a08c64e443ee86473be048cb9738a", "score": "0.66407835", "text": "private void smth() {\n\n\t\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.65000343", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "title": "" }, { ...
66a88e69069e9e38d832eec604eb8a97
int64 sceneId = 1;
[ { "docid": "e6a7e51ba00a9ddd4e0a2def9e95fcd4", "score": "0.70343554", "text": "public long getSceneId() {\n return sceneId_;\n }", "title": "" } ]
[ { "docid": "24363e8cfb10fd1e17ab0e6fd9d8cc1d", "score": "0.8066442", "text": "long getSceneId();", "title": "" }, { "docid": "b8e51e0211527e17a537626c2b8e3a60", "score": "0.7088928", "text": "public long getSceneID() {\n return sceneID;\n }", "title": "" }, { "d...
3a7e6102e81a776e44f75245f9044a93
This method was generated by MyBatis Generator. This method returns the value of the database column jijin_daily.trdTm1
[ { "docid": "ab12e6da918b3e43f7311089832c7f17", "score": "0.5977593", "text": "public BigDecimal getTrdtm1() {\n return trdtm1;\n }", "title": "" } ]
[ { "docid": "ec92766367c1007ff3c9e3122ca2ae29", "score": "0.58640164", "text": "public Timestamp getDateTrx();", "title": "" }, { "docid": "10409f4c8c8fceafa5be7a4a2760b4e9", "score": "0.5836699", "text": "public Date getTRMN_TIME() {\n\t\treturn TRMN_TIME;\n\t}", "title": "" },...
f04b40f4fbaed79c33df403a207a5f69
Thousands of Getters and Setters
[ { "docid": "f7c315d91fc4888307e9a3afc67f9793", "score": "0.0", "text": "public String getName() {\r\n\t\treturn name;\r\n\t}", "title": "" } ]
[ { "docid": "0e7f73866e4ee944812dbfc7e925c0fe", "score": "0.7229634", "text": "@Override\n\tpublic void getters() {\n\t\t\n\t}", "title": "" }, { "docid": "a7d346c8bb62201caf3fbc26cb57181c", "score": "0.6611145", "text": "@Override\n\tpublic void setters() {\n\t\t\n\t}", "title": ...
c7de610e186ba1c8b2dae0e2108e3254
/ A method that creates a diagnosis model object from the given plain constraint example
[ { "docid": "0263df3ef868a810dbd55b37c69feee8", "score": "0.602184", "text": "public static DiagnosisModel<Constraint> createDiagnosisModel(CPModel cpmodel,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t List<Map<String, Integer>> testCases)\r\n\t\t\tthrows Exception {\r\n\t\tDiagnosisModel<Constraint> diagModel =...
[ { "docid": "8c9039422600304d8c1fc96af6f6edf1", "score": "0.5415621", "text": "Diagnostic createDiagnostic();", "title": "" }, { "docid": "3268a9d0fd447dbbbc2b9b39861fe420", "score": "0.5403282", "text": "DriverDO create(DriverDO driverDO) throws ConstraintsViolationException;", "...
e458b1b4909ab52e9b3e2b30a5212269
Listar los jugadores pertenecientes a un Recruitment
[ { "docid": "66e58d4e8ccfb5c907b104bbec5e99e9", "score": "0.0", "text": "@RequestMapping(value = \"/listPlayersByRecruitment\", method = RequestMethod.GET)\n\t\tpublic ModelAndView listPlayersByRecruitment(@RequestParam int recruitmentId) {\n\t\t\tModelAndView result;\n\t\t\tCollection<Player> players;\n...
[ { "docid": "d4fdd8f0135fcfc0ec0663456dbf5877", "score": "0.6684227", "text": "public void mostrarLista() {\r\n\r\n int i = 1;\r\n for (Jugador jugador : jugadores) {\r\n\r\n System.out.println( i + \"-\" + jugador.toString());\r\n i++;\r\n\r\n }\r\n borr...
b8081b818fa3e59bad386fe99699066e
Creates a Markdown AST from a Markdown string.
[ { "docid": "b7fafb0a5842d4787cf742b48a155972", "score": "0.47843814", "text": "public static DocumentBlock parse(String input) {\n DocumentBlock documentBlock = new DocumentBlock();\n\n input.lines().forEach(line -> {\n documentBlock.next(line);\n });\n\n return do...
[ { "docid": "49d9326556fd84d97556d2c32a85ec2a", "score": "0.5907366", "text": "public static CharSequence parseMarkdown(String input) {\n CharSequence output = Html.fromHtml(processor.markdownToHtml(EmojiParser.parseEmojis(input.trim())));\n if (output.length() >= 2) output = output.subSequ...
eb9a918c277ec601a9fb296169b36e2b
Returns Node by its own index. If index more than half of total amount of elements method starts searching from the end and vice versa.
[ { "docid": "20585a14182ad3956fca8e1099d3eb47", "score": "0.6548812", "text": "public Node getNodeByIndex(int index) {\n\t\tif (index > (size - 1)) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (index < (size >> 1)) {\n\t\t\tNode x = first;\n\t\t\tfor (int i = 0; i < index; i++) {\n\t\t\t\tx = x.next;\n\t\t\t}\...
[ { "docid": "123027e693cd70c048322d7141ec549d", "score": "0.63030463", "text": "Node<T> node(int index) {\n if (index >= size || index < 0) {\n throw new IndexOutOfBoundsException(\"Index \" + index + \" greater or equal to the size of list\");\n }\n\n Node<T> desired = fi...
b711c25df01adf98b05af677f3e58fd2
Creates a new instance of a master server object
[ { "docid": "b19934f56300317181424bbf5a2e2885", "score": "0.5539242", "text": "public MasterServer(InetAddress address, Integer port)\n throws SteamCondenserException {\n super(address, port);\n }", "title": "" } ]
[ { "docid": "1762db8a99a8ea603551f4d1334281a3", "score": "0.674808", "text": "public static void main(String[] args) throws FileNotFoundException, RemoteException{\n MasterServer masterServer = new MasterServer();\t \n }", "title": "" }, { "docid": "43e517957e38a374a9a59c76a9...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2270eb662a2feb2cd620e5c123aa74dc", "score": "0.0", "text": "public static void main(String[] args)\r\n\t{\n\t\t\r\n\t\t\t\tExpString obj = new ExpString();\r\n\t obj.containNumbersOnly(\"123456.a\");\r\n\t obj.containNumbersOnly(\"123456 \");\r\n\t obj.contai...
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
d554b7ca6928b63cb896842b0a205aa3
auths not ready at this time The purpose of Dao method is to perform save operation of IPATestStage noun into database
[ { "docid": "3601226f72b9645a2431d82105d8ae6c", "score": "0.53659594", "text": "@Transactional\n\tpublic IPATestStage create_ipateststage(IPATestStage IPATestStage, IPUser user) throws Exception {\n\n\t \t log.setLevel(Level.INFO);\n\t log.info(\"create_ipateststage Dao started operation!\");\n\n\t...
[ { "docid": "c35f7999058d0cacac5f3bc9916db891", "score": "0.6140679", "text": "@Transactional\n\tpublic TestNoun create_testnoun(TestNoun TestNoun, LuUser user) throws Exception {\n\n\t \t log.setLevel(Level.INFO);\n\t log.info(\"create_testnoun Dao started operation!\");//dhina updateverb\n\n\t\tt...
cf38595092a51a0f65a67c4457875c20
Sets the value of the 'nurl' field
[ { "docid": "9190d43adfeff3bffe500610fae808f3", "score": "0.8586009", "text": "public org.openrtb.common.api.Bid.Builder setNurl(java.lang.CharSequence value) {\n validate(fields()[4], value);\n this.nurl = value;\n fieldSetFlags()[4] = true;\n return this; \n }", "title": "" ...
[ { "docid": "10120d67ff61eb7eb6e0ca515f73ee3b", "score": "0.81615573", "text": "public void setNurl(java.lang.CharSequence value) {\n this.nurl = value;\n }", "title": "" }, { "docid": "6079d1ac9512878d9fe6889f383cfd34", "score": "0.66441804", "text": "public java.lang.CharSequenc...
50b4e2bb046f9a6177df78391b049635
Returns true if there are more pages to advance by, false otherwise.
[ { "docid": "a42146db5c4bef687c04b7cae11fcde2", "score": "0.0", "text": "boolean hasNext();", "title": "" } ]
[ { "docid": "61147e88360914057c78c65549d22d93", "score": "0.83059436", "text": "private boolean isMorePagesAvailable () {\n String page = getElementsAttribute(WebDisclosurePage.XPATH,\n \"//div[@data-role='pager']//a[3]\", \"data-page\");\n return Integer.parseInt(page) > 1;\...
3a6aa7612fb0da00d10ef415cfd3062f
//////////////////// HELPER FUNCTIONS // //////////////////// Check map record for null target ids.
[ { "docid": "ddc8b33402de8b6158f198f2ff6e8e7f", "score": "0.8124482", "text": "@SuppressWarnings(\"static-method\")\n public ValidationResult checkMapRecordForNullTargetIds(MapRecord mapRecord) {\n ValidationResult validationResult = new ValidationResultJpa();\n\n for (MapEntry me : mapRecord.getM...
[ { "docid": "427a7b23c8f3b8f9532e991dac893316", "score": "0.65506476", "text": "private void checkTargetEntries(){\n for(Entry<Vertex<L>, Integer> e : targets.entrySet()){\n assert e.getValue() > 0;\n Vertex<L> target = e.getKey();\n assert target.sources.get(this)...
957e30ecd893796eabdf3d8a1b415afe
Delete the "id" environment.
[ { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.0", "text": "void delete(Long id);", "title": "" } ]
[ { "docid": "351ddf220d3ceadb6e14cead5d86d163", "score": "0.69863087", "text": "@DeleteMapping(\"/ref-environements/{id}\")\n public ResponseEntity<Void> deleteRefEnvironement(@PathVariable Long id) {\n log.debug(\"REST request to delete RefEnvironement : {}\", id);\n refEnvironementServ...
9be20ed9d8cda67a9b9b868bad88f0e2
/ TALIGN TEQUAL TINT
[ { "docid": "0d11df393018bab6a42c1b1751b4a537", "score": "0.0", "text": "public static boolean align_arg(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"align_arg\")) return false;\n if (!nextTokenIs(b, TALIGN)) return false;\n boolean r;\n Marker m = enter_section_(b);\n r = consum...
[ { "docid": "4d6124eecdbefb4ac0f29e5d6dd5ff94", "score": "0.54149616", "text": "public void testTeq() {\n asm.teq(asm.SP, Operand2.imm(0x254));\n asm.teq(asm.R1, Operand2.reg(asm.R3));\n asm.teq(asm.PC, Operand2.asr(asm.SP, 17));\n\n assertTrue(ArmTests.compareCode (buffer, ne...
a52199d1b28b9ed56bc498f81fecebfc
Creates a find command.
[ { "docid": "43f4107ceefaa65e7f60fd5acc1677a3", "score": "0.62131053", "text": "public FindCommand(String keyword) {\n this.keyword = keyword;\n }", "title": "" } ]
[ { "docid": "99f82cb7ecf5aee2dbbdee202003877d", "score": "0.64685154", "text": "public FindCommand(String target) {\n this.toFind = target.substring(5);\n }", "title": "" }, { "docid": "29487e0010d2109d77bd0035f5429d9d", "score": "0.64605564", "text": "public FindCommand(Str...
b11e2be055ba813494dcd27467d2438c
$ANTLR end "ruleSQLCall" $ANTLR start "entryRuleTableInstance" InternalBSQL2Java.g:328:1: entryRuleTableInstance : ruleTableInstance EOF ;
[ { "docid": "aaa7e718eec274f4aee3b010203e992a", "score": "0.7778492", "text": "public final void entryRuleTableInstance() throws RecognitionException {\n try {\n // InternalBSQL2Java.g:329:1: ( ruleTableInstance EOF )\n // InternalBSQL2Java.g:330:1: ruleTableInstance EOF\n ...
[ { "docid": "fd15df071e317489cc37e36be249f0de", "score": "0.58625257", "text": "public final void ruleTableInstance() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalBSQL2Java.g:341:2: ( ( ( rule__TableInstance__Group__0 ) )...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4ffcceff6ea09df501ef6327ef80bc42", "score": "0.0", "text": "@Override\n\t\tpublic void mouseExited(MouseEvent e) {\n\t\t\tsetCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));\n\t\t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
44d59385b132bee3f853dd52336efc60
Returns the value of the 'Imports' containment reference. If the meaning of the 'Imports' containment reference list isn't clear, there really should be more of a description here...
[ { "docid": "ceacfdf2cd9bdc8f3c79e2e1497a282b", "score": "0.7372403", "text": "XImportSection getImports();", "title": "" } ]
[ { "docid": "76ea3653d06de0802d7c4b8877e030aa", "score": "0.74954927", "text": "public java.util.List<Import> getImports() {\r\n\t\treturn(m_imports);\r\n\t}", "title": "" }, { "docid": "438090b3c6c3cdca4394e25fcb9936f0", "score": "0.6953665", "text": "public Collection<ElementImport>...
d4c6332cf32a5171cd6fd1bb8fa5b279
Indicates if the K false guard feature is enabled.
[ { "docid": "56d8d159a11f6acf9522df6a6e27a387", "score": "0.7887876", "text": "public boolean isKaFalseGuardEnabled() {\n return isSet(USER_BYTE_0, KA_GUARD_BIT_INDEX);\n }", "title": "" } ]
[ { "docid": "8bba79f93a9ec91eee5d4c6ac1159fa6", "score": "0.6683931", "text": "public boolean mo13018ky() {\n return getBoolean(\"play_enabled_game\");\n }", "title": "" }, { "docid": "2b9da687b3d0203a2b4818cbd53b703e", "score": "0.6526333", "text": "public void setKaFalseGu...
ee520aa09d858a7f2ae959bfcab3f05f
Construct a negate operator with the given operand.
[ { "docid": "233f2da9c8cfb355d014eccc64d81b4a", "score": "0.7675718", "text": "public NegateOperator(Expression operand) {\n super(operand);\n }", "title": "" } ]
[ { "docid": "d913b1cde47c074ec134086ae51aaf83", "score": "0.83376044", "text": "public static Sexpr negate(Sexpr operand) {\r\n if (operand.isConstant())\r\n return new Constant(-operand.getValue());\r\n else\r\n return new Negation(operand);\r\n }", "title": "" }, { "docid": "a7...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d657984fdc7c6a4dab163d6e4ba7dd7d", "score": "0.0", "text": "@Override\n\tpublic Iterable<Path> query(String queryRegex) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "ef1b6c3f597a66c59960d73eadee6f25", "score": "0.6904447", "text": "private void apparence()\n\t\t{\n\n\t\t}", "title": "" }, { "docid": "4862518dedb9e169c3cc620e5ebe04c5", "score": "0.6696056", "text": "@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}", "title": "" ...
7054ee8c3ca23c4bfcf7083c7b9c45bf
Edits the name of an alert
[ { "docid": "ee2f169dfa34853d460cc95ab5d8b3dc", "score": "0.8350082", "text": "public void editAlertName(Alert alert, String name){\n this.alertManager.editName(alert, name);\n }", "title": "" } ]
[ { "docid": "1be98d4595e621e0429dbd99f14db8dc", "score": "0.68584454", "text": "private void changeNamePrompt() {\n\t\tfinal EditText edit = new EditText(this);\n\t\tedit.setText(infos.getNickname());\n\t\t\n\t\t// Build a dialog\n\t\tAlertDialog.Builder builder = new AlertDialog.Builder(this);\n\t\tbuil...
32d8c6fab53c123aa12aa18a376cfc2c
close message queue connection
[ { "docid": "2fa56dee257454658c6fb6040411d351", "score": "0.0", "text": "@AfterClass\n public static void clean() throws IOException, TimeoutException, SQLException, ClassNotFoundException {\n messagesReceiver.closeConnection();\n channel.close();\n connection.close();\n //...
[ { "docid": "eeda4dd84a2238680d71063aac645aee", "score": "0.77202326", "text": "private void closeRMQConnection() \n {\n try {\n m_Channel.close();\n m_Cnx.close();\n } \n \n catch ( IOException | TimeoutException ex ) {\n ProcessServer.log.error(\"[FaxApp] F...
9e5fe834423612aac1e17211177d8273
Checks if the name does not exist.
[ { "docid": "fa46f6af1af10ec16d031667bedce316", "score": "0.6748982", "text": "public boolean noName() {\n\t\treturn getName() == null || getName().isEmpty();\n\t}", "title": "" } ]
[ { "docid": "530cca80e140dc6bd44d58c6bf21d9c7", "score": "0.73897165", "text": "boolean isNameExisted(String name);", "title": "" }, { "docid": "a41c626cd715f9f68175edecbb859595", "score": "0.7139139", "text": "@Override\n\tpublic boolean exist(String name) {\n\t\treturn false;\n\t}",...
b5035cbe96b42f773f65e93f395049ef
Makes it actually transparent
[ { "docid": "12af0ddd52f6d543320092dfd208f930", "score": "0.0", "text": "public boolean isOpaqueCube()\n {\n return false;\n }", "title": "" } ]
[ { "docid": "4fc04c4213600c4b6c6d98bcbee2c993", "score": "0.74680966", "text": "public static void toggleTransparency()\n\t{\n\t\tif(transparency == Transparency.BITMASK)\n\t\t\ttransparency = Transparency.TRANSLUCENT;\n\t\telse\n\t\t\ttransparency = Transparency.BITMASK;\n\t\t\n\t\tupdateTransparencies(...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c15ac0dde2da5dcb37bdd1d081b3bfeb", "score": "0.0", "text": "@Override\n\tpublic View getRealChildView(int groupPosition, int childPosition,\n\t\t\tboolean isLastChild, View convertView, ViewGroup parent) {\n\t\tItemViewHolder itemViewHolder = null;\n\t\tif (convertView == null) {\n\t\t\tconv...
[ { "docid": "ef1b6c3f597a66c59960d73eadee6f25", "score": "0.6904447", "text": "private void apparence()\n\t\t{\n\n\t\t}", "title": "" }, { "docid": "4862518dedb9e169c3cc620e5ebe04c5", "score": "0.6696056", "text": "@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}", "title": "" ...
1c82a988f20b5909e9f39c5323dbf5aa
/ / / / / / / / /
[ { "docid": "7421570ebd4564f349b142cb64fcee99", "score": "0.0", "text": "public Object getInputSource()\n/* */ {\n/* 328 */ return null;\n/* */ }", "title": "" } ]
[ { "docid": "c4947249f564a8b23a47e2c447581677", "score": "0.5781376", "text": "private static void divide() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ccaf5f7aff0d6de105f523c68f63383c", "score": "0.53734463", "text": "private void cathc() {\n\t\t\r\n\t}", "title": "" }, { ...
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": "caf1bfb3cb0eb651faac5b148ffd725d", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jSlider1 = new javax.swing.JSlider();\n jButt...
[ { "docid": "c1f03460981549d2f9d5d64390a7ef2c", "score": "0.73340577", "text": "public Main_Form() {\n initComponents();\n }", "title": "" }, { "docid": "37a5472d5b0f35cf64a077bc1dd978c4", "score": "0.73222256", "text": "public Form() {\n initComponents();\n }", ...
97f714689d5272bc94d86d61754448a9
Sets the current attribute value and adds the attribute (if it's not null) to the attribute map.
[ { "docid": "b73e04bd85c27ce49ae69dbf65cc40c5", "score": "0.0", "text": "public void putCurrentAttrValue(final String content) {\n\t\tif (null != this.currentAttr) {\n\t\t\tif (isHtml) {\n\t\t\t attr.put(this.currentAttr.toLowerCase(), content);\n } else {\n\t\t\t attr.put(this.currentAt...
[ { "docid": "8d015eddb1a419a6d149fc72e62053fe", "score": "0.69898623", "text": "@Override\n\tpublic void setAttribute(String key, Attribute pAttribute) {\n\n\t}", "title": "" }, { "docid": "d0f94ada2413eac8a92fb20a41fc0acd", "score": "0.6921582", "text": "@Override\n public void ad...
337928f7f4bdf0c775b313f59381b089
For some reason onPlayerInteract() sometimes misses bucket events depending on distance (something like 23 blocks away isn't detected), but these separate bucket events below always fire without fail
[ { "docid": "9e1479ce41e7a33ac1242eaa4af03bfe", "score": "0.5804049", "text": "@EventHandler(priority = EventPriority.NORMAL)\n \tpublic void onPlayerBucketEmpty(PlayerBucketEmptyEvent event)\n \t{\n \t\tif (event.isCancelled()) return;\n \n \t\tBlock block = event.getBlockClicked();\n \t\tPlayer player ...
[ { "docid": "8b89b1183d4af0ffd1b47478aeb31096", "score": "0.6553934", "text": "@SubscribeEvent(priority = EventPriority.HIGH)\n public void onPlayerInteract(PlayerInteractEvent event) {\n unusingEvent(event);\n breakingEvent(event);\n }", "title": "" }, { "docid": "4ac7bd3...
b52ea384fbc16c572405f33f6061e4d5
This method was generated by MyBatis Generator. This method corresponds to the database table x_picture
[ { "docid": "49efd99edb86e2eb193975ba5fac87ed", "score": "0.0", "text": "public List<Criteria> getOredCriteria() {\n return oredCriteria;\n }", "title": "" } ]
[ { "docid": "e8ae5dd2d212f65e11add82b4dfdcbd7", "score": "0.65063274", "text": "private void loadPicture() {\n try {\n File img = new File(\"picture.jpg\");\n FileOutputStream ostreamImage = new FileOutputStream(img);\n\n // create a connection to the database\n ...