query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
0666c5141b6a90923f1a0db63ce40fac
private static Path basePath;
[ { "docid": "988bc32d7fd52467527e0c7e8dd4e35a", "score": "0.0", "text": "@Autowired\n\tpublic FileSystemManager(FileStorageProperties fileStorageProperties) {\n\t\tthis.fileStorageLocation = Paths.get(fileStorageProperties.getUploadDir()).toAbsolutePath().normalize();\n\n\t\ttry {\n\t\t\tFiles.createDire...
[ { "docid": "b34c06caa90bcd15d5ec12f5a6b4c4c8", "score": "0.7793501", "text": "String getBasePath();", "title": "" }, { "docid": "82ae68a8b72d3ee0a9170a4432eecab0", "score": "0.77356136", "text": "@Value.Parameter\n abstract Path getBasePath();", "title": "" }, { "docid":...
5e7bb613b46219d5292e8bce4d6cbc72
read all nodes of xml file and creates int matrix of the map
[ { "docid": "ee0bcad622e175df1ee9ee2ddee21080", "score": "0.59046036", "text": "private void readNode(NodeList nodeList) \r\n\t{\r\n\t\tfor (int count = 0; count < nodeList.getLength(); count++) \r\n\t\t{\r\n\t\t\tNode tempNode = nodeList.item(count);\r\n\r\n\t\t\tif (tempNode.getNodeType() == Node.ELEME...
[ { "docid": "2fbc5614d6c53e605497c5784fd2ad53", "score": "0.66065776", "text": "public Map(int size, int sizeW, String fileName)\r\n\t{\r\n\t\t_map = new int[size][sizeW];\r\n\t\t_size=sizeW;\r\n\t\t_rows=size;\r\n\t\t_columns=sizeW;\r\n\t\ttry \r\n\t\t{\r\n\t\t\tFile file = new File(fileName);\r\n\r\n\t...
9dfb8480a61551e5e7d5f390ca1b399c
Calculates one of the values necessary to find the slope of a line.
[ { "docid": "ee3648e5a265c3f88e84edcd79ca7780", "score": "0.0", "text": "private double dmComponent() {\n double dm = sumOfXY() * point2DList.size() - (sumOfX() * sumOfY());\n return dm;\n }", "title": "" } ]
[ { "docid": "601f71e5b387a90137c07be2c7485103", "score": "0.8000815", "text": "private void slopeCal() {\n double numerator, denominator;\n numerator = this.start.getY() - this.end.getY();\n denominator = this.start.getX() - this.end.getX();\n if (denominator == 0) {\n ...
85c52aefcfa29fed740ff61a76a91e9d
Sets the factor value for this Bapicuvk.
[ { "docid": "d8de2d52f776dcb5c9c5b06129aa4425", "score": "0.7254701", "text": "public void setFactor(java.lang.String factor) {\n this.factor = factor;\n }", "title": "" } ]
[ { "docid": "8908fc8e3aad14c6e5c86382154ccfe1", "score": "0.7151897", "text": "public void setFactor(float factor) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeFloat(__io__address + 312, factor);\n\t\t} else {\n\t\t\t__io__block.writeFloat(__io__address + 296, fact...
708e6a70344e9e7877e52a9d477594cf
Get the declared capacity of this list.
[ { "docid": "59759e9c62fa8e38446da54715000f48", "score": "0.0", "text": "int length();", "title": "" } ]
[ { "docid": "f14061774f2e6ba3ceda7433c6850cd3", "score": "0.8137306", "text": "private int getCapacity() {\n\t\treturn list.getCapacity();\n\t}", "title": "" }, { "docid": "c566212e9b3426abea9a66c894a365d7", "score": "0.8130512", "text": "public java.lang.Integer getCapacity() {\n\t\t...
55f2b5c00933c14e153b6c14718dde18
Sets weight value of this criterium to the value provided as a paramater.
[ { "docid": "9b45a1de8f299cadea378b31f4811256", "score": "0.76427907", "text": "public void setWeight(double weight) {\n this.weight = weight;\n }", "title": "" } ]
[ { "docid": "f20eebe3eee631096ab3f3e18342ae57", "score": "0.80278033", "text": "public void setWeight(int value) {\n weight = value;\n }", "title": "" }, { "docid": "b3ba239cc1ba1699863cfeb5a23d83cc", "score": "0.8004815", "text": "public void setWeight(double w)\n {\n ...
307429417d7d8c715bbdbf407942e92d
Returns the Preferences instance for this session.
[ { "docid": "cc30a57b0722c1c592ee00464600b5d1", "score": "0.74643934", "text": "protected Preferences preferences() {\n return preferences;\n }", "title": "" } ]
[ { "docid": "f0b8321d6214a7653acdfa746ed81829", "score": "0.7595535", "text": "public static Preferences getPreferences() {\n return pref;\n }", "title": "" }, { "docid": "a83abb0c9aebe9ae2559591f291d8959", "score": "0.71513003", "text": "public SharedPreferences getPrefer...
453b0ae9870bbfcbe96b3501e7bbe42c
Returns the UNIX group id.
[ { "docid": "18dff6f5f9fdf9f2c8fcd2599874d36f", "score": "0.0", "text": "public int getGid() {\n return Integer.parseInt(extractField(116, 8).trim(), 8);\n }", "title": "" } ]
[ { "docid": "9e30e77c642426e1ec03af673b8e6302", "score": "0.7332108", "text": "public String getSystemId() {\n return group_id;\n }", "title": "" }, { "docid": "cbede12c5184745c89acafc38ed5eb9f", "score": "0.6913568", "text": "long getGroupId();", "title": "" }, { ...
4c4f339fa9d75b8978f20f2552886297
optional bytes attach_data = 20;
[ { "docid": "f6fd9366a63922f067764aedf373a5c4", "score": "0.0", "text": "public Builder clearAttachData() {\n bitField0_ = (bitField0_ & ~0x00000008);\n attachData_ = getDefaultInstance().getAttachData();\n \n return this;\n }", "title": "" } ]
[ { "docid": "505cddcac1a51a92b00494e0e51f2a2c", "score": "0.72355056", "text": "com.google.protobuf.ByteString getAttachData();", "title": "" }, { "docid": "505cddcac1a51a92b00494e0e51f2a2c", "score": "0.72355056", "text": "com.google.protobuf.ByteString getAttachData();", "title"...
276bf7a87887b82ee8cfec22bf3c93cd
Clears the value of the 'LAST_MODIFIED_DT' field.
[ { "docid": "3102ed59ee41d06a38f26024870c1805", "score": "0.7480474", "text": "public org.LNDCDC_NCS_TCS.SALES_ACCOUNT_TM_APPL.apache.nifi.LNDCDC_NCS_TCS_SALES_ACCOUNT_TM_APPL.Builder clearLASTMODIFIEDDT() {\n LAST_MODIFIED_DT = null;\n fieldSetFlags()[6] = false;\n return this;\n }", ...
[ { "docid": "a29a6a5fe26737dc6942e44864b28faf", "score": "0.77827173", "text": "public void setLASTMODIFIEDDT(java.lang.CharSequence value) {\n this.LAST_MODIFIED_DT = value;\n }", "title": "" }, { "docid": "04f7d1636a33766a1a152b0096c01e9f", "score": "0.7168014", "text": "public ...
53b8a05de842260cff55799bdda6aca3
Description of the Method
[ { "docid": "402b38e4974d2512317458022e8d589d", "score": "0.0", "text": "public int insertLookup(Connection db, String description) throws SQLException {\n int tempId = DatabaseUtils.getNextSeq(\n db, \"lookup_quote_condition_code_seq\");\n int i = 0;\n PreparedStatement pst = db.prepareS...
[ { "docid": "b1159db6d416bbe8e5023f206ad48440", "score": "0.67564285", "text": "MethodDescription getDescription();", "title": "" }, { "docid": "7a9b0409fa9857434dd4705b825fd875", "score": "0.67201334", "text": "@Override\n\tpublic void method() {\n\t\t\n\t}", "title": "" }, {...
57d11d1b2a07d4a7e20be1960d0106ac
public abstract void SelfDrive
[ { "docid": "c619b82b58d52dc032577bdb93567cde", "score": "0.5773889", "text": "abstract void fly();", "title": "" } ]
[ { "docid": "0cb852204ea0547fd675eaa7a64c4dfd", "score": "0.88023895", "text": "public abstract void drive();", "title": "" }, { "docid": "a09b106e0bdacac46b027e206053a6f3", "score": "0.7408716", "text": "public abstract void driveRobotForward() throws Exception;", "title": "" }...
9f27314ddc52b9ec2dd712ceea846170
$ANTLR end "rule__XAndExpression__FeatureAssignment_1_0_0_1" $ANTLR start "rule__XAndExpression__RightOperandAssignment_1_1" ../org.xtext.httprouting.ui/srcgen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:16304:1: rule__XAndExpression__RightOperandAssignment_1_1 : ( ruleXEqualityExpression ) ;
[ { "docid": "3dbfc7a7af49df17d3ced5c1787026e7", "score": "0.8034231", "text": "public final void rule__XAndExpression__RightOperandAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-ge...
[ { "docid": "f482c1d24ae7a9812dffc2ea2b6e4418", "score": "0.7992965", "text": "public final void rule__XAndExpression__RightOperandAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui...
c960e95fbc557e1eb43467b1775642cd
Get a snapshot of the displayed image.
[ { "docid": "25769bc921146c0926073c8dcb430878", "score": "0.0", "text": "public abstract BufferedImage getImage();", "title": "" } ]
[ { "docid": "3e2a92f0332ceb526e12e0aef746d867", "score": "0.69184387", "text": "public Image getImage()\n {\n return offscreen;\n }", "title": "" }, { "docid": "29aba014f95470aef79ed9973bda0e2f", "score": "0.663894", "text": "@Override\n public Bitmap getPrintableBitmap(...
f67dd78d29b0eedadb62cc7885c3d70d
Return the maximum value of All datasets attached to the axis.
[ { "docid": "03c7b1bb73c61554f90e3de732fd377c", "score": "0.7853158", "text": "public double getDataMax() {\r\n\r\n if (values == null) {\r\n return SetMax;\r\n } else if (values.length == 0) {\r\n return 0;\r\n }\r\n\r\n double max = -9999999;\r\n\r\n ...
[ { "docid": "dd49cb79a461f5405a1386ae6cfa601d", "score": "0.71963316", "text": "public float getMaxAxisValue(int GroupIndex);", "title": "" }, { "docid": "94264b45e7432e3d4c502f545ca88d8b", "score": "0.7177067", "text": "double max() {\n\t\tdouble max = Double.NEGATIVE_INFINITY;\n\t\t...
c249083f0fd6b6a58f5dc3ab0925b416
/ renamed from: j
[ { "docid": "3ab3f0e5f017903eb515ffe6fdc54a29", "score": "0.0", "text": "public void m9741j() throws cf {\r\n }", "title": "" } ]
[ { "docid": "e017c22e99fecf5baf060418a30011c8", "score": "0.6920922", "text": "public void j() {\n }", "title": "" }, { "docid": "f563d5d095748a04e578dc09cc11fe70", "score": "0.6371147", "text": "public int j() {\n \treturn j; \n }", "title": "" }, { "docid": "b89...
67ebff659b63a1ff1ecaf99a97e15b9e
get the average rank score of this record
[ { "docid": "130f8f9b774f5d7b53fd165e0b061495", "score": "0.8385142", "text": "public double getAvgRankScore() {\n return avg_rankScore;\n }", "title": "" } ]
[ { "docid": "25f633a624a70bc64912d4b4c51b07ec", "score": "0.75096357", "text": "public double getRankScore() {\n return rankScore_;\n }", "title": "" }, { "docid": "12cdd8a0bbf0d0eaa23f2de8638522e7", "score": "0.7496411", "text": "public double getRankScore() {\n return ran...
4355dbbe52fd088c5e92b47a4c7dffee
/ java Xmx4g jar GenomeAnalysisTK.jar \ T BaseRecalibrator \ I my_reads.bam \ R resources/Homo_sapiens_assembly18.fasta \ knownSites bundle/hg18/dbsnp_132.hg18.vcf \ knownSites another/optional/setOfSitesToMask.vcf \ o recal_data.grp
[ { "docid": "45b750e6ad7dcd6718bad6e86bfa5e38", "score": "0.5613897", "text": "public static String BaseQualityReport(int memory, String GATKDir,\n\t\t\t\tString bamFile, String reference, String baseName,\n\t\t\t\tString knownSNPVCF, String knownIndelsVCF) {\n\n\t\t\tString commandLine = \"java -Xmx\" +...
[ { "docid": "7ab60f1d4524e5db0843d0a532aa648f", "score": "0.5694406", "text": "public static void main(String[] args) throws IOException {\n\t\tString[] bam_file_name_arr =\r\n\t\t\t{\"/data/data2/jab112/SRR001091_30bp.bam\"\r\n\t\t\t};\r\n\t\t\r\n\t\t// Set the output file name header\r\n\t\tString[] ou...
1ed2fe0fd734acba50ae1675f766ff31
Default constructor. This constructor takes one parameter, which is the alogirthm the service should use. Again an interface is passed in so potentially any decap algorithm could be used.
[ { "docid": "a33defa2c5da6a749b79f02172befcb4", "score": "0.0", "text": "public DeCapPipeMsgListener(\n IDECAPAlgorithm algorithm) {\n this.algorithm = algorithm;\n if(NASUFLogger.isEnabledFor(Level.INFO))\n NASUFLogger\n .info(\"DeCaP Service Started - Wait...
[ { "docid": "b4ec11c49a79fad71b86beba14ec5dd9", "score": "0.64461505", "text": "public OpServiceModelFactoryImpl()\n {\n super();\n }", "title": "" }, { "docid": "e7dca6dc4de429891b2622936b61c746", "score": "0.6345616", "text": "private IdiomContract() {}", "title": "" }, ...
d1a22fd96eaad9c187fe2f1b8351de17
1. Write a method, similar to the builtin toUpperCase() method, which changes a string to its uppercase equivalent and returns it. Code a main method with a simple user interface as shown. Note: only lower case letters should be changed. SAMPLE OUTPUT: Enter a string: Abracadabra! Uppercase Equivalent: ABRACADABRA! ASC...
[ { "docid": "b1a15998c954d63edcd9906b32d5c416", "score": "0.7723298", "text": "private static String toUpperCase(String str) {\n String new_str = \"\";\n for (int i = 0; i < str.length(); i++) {\n int letter = (int) str.charAt(i);\n if (97 <= letter && letter <= 122) {...
[ { "docid": "a095b6ed09a8ff2e78e4c0bf3ed289cc", "score": "0.73859435", "text": "public static String myToUpperCase(String str) {\n String mayrick = \"\";\n for(int i = 0; i <str.length();i++){\n if(str.charAt(i)<97)\n mayrick += str.charAt(i);\n else\n ...
cbd12fa03dd64d77446369a08457dd41
Extracted file reading method I'd prefer to call this directly on each add in order to guarantee fresh data
[ { "docid": "f8bcd28768b014be58ef1f3303b4e59f", "score": "0.0", "text": "private static List<EntryBean> getUserDataFromFile(String username) throws IOException {\n List<EntryBean> data = new ArrayList<>();\n if (!Paths.get(getPath(username)).toFile().exists()) {\n return new Arra...
[ { "docid": "17e08d960a2acb6ab5241259017d51fe", "score": "0.64163995", "text": "private void loadFile() {\n\t\t\n\t\t// Variable to read streams from file\n\t\tBufferedReader br = null;\n\t\t// Temporary variable to read a line at a time\n\t\tString dataLine = \"\";\n\t\t// Temporary variable to store da...
ab092937bc51f9108cc06005fa6804ef
storeImg stores the image onto the sdcard. Necessary as there seems to be no good way to read in the jpeg compressed byte array as a bitmap.
[ { "docid": "f574182cfe64286c5f3866f6ddbf0243", "score": "0.78440773", "text": "private void storeImg() {\n\t\tFile photo = new File(Environment.getExternalStorageDirectory(), imageName);\n\t\tif (photo.exists()) {\n\t\t\tphoto.delete();\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tFileOutputStream fos = new FileOutpu...
[ { "docid": "dcfe1c2eabe4dcf16c13367a10583722", "score": "0.7885275", "text": "private void storeImg() {\t\t\n\t\tFile photo = new File(Environment.getExternalStorageDirectory(), imageName);\n\t\tif (photo.exists()) {\n\t\t\tphoto.delete();\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tFileOutputStream fos = new FileOu...
e2708207935cfe2f8639bdd69d7a519c
Agrega un tanque cilindrico
[ { "docid": "b587d6a6830857808ffc0a71f89d2a58", "score": "0.61324286", "text": "public void agregarCilindrico(String forma, String id, double alto, double radio, ArrayList<String> municipios, ArrayList<Integer> habitantes)\r\n {\r\n Tanque temporal=null;\r\n temporal = new Cilindrico(fo...
[ { "docid": "8b7e0a1c629858e027d2db8e5febb2b0", "score": "0.6541675", "text": "private BonecrusherAlterno(){\n\t\tthis.ataque = 30;\n\t\tthis.distAtaque = 3;\n\t\tthis.velocidad = 8;\n\t}", "title": "" }, { "docid": "f1da2ab8e87c767c227af8a7c6f08f20", "score": "0.61050886", "text": "p...
c4941dfa3dea58e15dc5e02528d2bfba
Returns whether there is a codec available for the specified media type, ignoring any parameters of the MediaType.
[ { "docid": "54b8fc5450cd37eed8a0d5d3bae21fc2", "score": "0.8289236", "text": "public static boolean hasCodecFor(MediaType type) {\n return s_mediaMap.containsKey(type.getBaseType());\n }", "title": "" } ]
[ { "docid": "36fd51d2d8361f92a3bbd5ce7e1dbb9b", "score": "0.6613514", "text": "boolean hasCompressCodec();", "title": "" }, { "docid": "276bb1f43e6a03cee84944fe83500563", "score": "0.6523064", "text": "@SuppressLint(\"NewApi\")\n private MediaCodecInfo selectCodec(String mimeType) ...
c9ab6d41809f60a967719915b8e7372b
Called before the node is deleted, decrements the parent quota folder size
[ { "docid": "453bb105403ffb367206d79b39a9f599", "score": "0.7100568", "text": "public void beforeDeleteNode(NodeRef deleted) {\n\t\t\n logger.debug(\"[FolderQuota] - beforeDeleteNode\");\n \n NodeRef quotaParent = usage.getParentFolderWithQuota(deleted);\n \n \tif(quotaPare...
[ { "docid": "c4294ba40a198f043113f20691de8de0", "score": "0.62425804", "text": "public void onMoveNode(ChildAssociationRef before, ChildAssociationRef after) {\n logger.debug(\"[FolderQuota] - onMoveNode\");\n NodeRef quotaParentBefore = usage.getParentFolderWithQuota(before.getParentRef())...
9e66d8670f749148fcf8d16235f33101
Returns true if there is already a level called levelName, false otherwise.
[ { "docid": "41d26fb88d6ed2d2d02e4ef1b605177e", "score": "0.7965819", "text": "public boolean hasLevel(String levelName) {\n return levelRecords.containsKey(levelName);\n }", "title": "" } ]
[ { "docid": "47fbd518418175f8bf3c57cfd21f6172", "score": "0.73526645", "text": "boolean hasLevel();", "title": "" }, { "docid": "47fbd518418175f8bf3c57cfd21f6172", "score": "0.73524475", "text": "boolean hasLevel();", "title": "" }, { "docid": "47fbd518418175f8bf3c57cfd21f...
d954a82b6f038b4ce306651b9e6ff74d
Gets the current permanent loopback (MIDI thru) state.
[ { "docid": "b9ed5e00f444e3c73d96d283899702f1", "score": "0.49759784", "text": "public boolean isLoopbackEnabled();", "title": "" } ]
[ { "docid": "d56a49b7cedf166b962f20d7edb55206", "score": "0.63332134", "text": "public synchronized boolean getLoopbackMode() {\n return loopback;\n }", "title": "" }, { "docid": "fdedf2aee903fe3961b53b8d1d953555", "score": "0.55457616", "text": "public boolean isLoopbackMod...
3c30adc0ea68aa755dee8402759a6e38
This method is called when there the process parameter "findAllAccount" sent in along the requested url.
[ { "docid": "a0b245189a83e6b26214bf0d1762fb67", "score": "0.61850154", "text": "public ActionForward findAllAccount(ActionMapping mapping, ActionForm form, HttpServletRequest request,\r\n HttpServletResponse response) throws Exception {\r\n Logger l = LogU...
[ { "docid": "a13657015f889d4bdaebd73b39221a13", "score": "0.5939691", "text": "public List<Account> findAll();", "title": "" }, { "docid": "8cd8ac7b5e270f5abaa743c8d1906267", "score": "0.5849089", "text": "@Override\n public List<Account> findAll() {\n return accountRepository.fin...
22fb02d622855f68cd95ad558f555b6e
/ Inserts a NodeClass at the end of the queue
[ { "docid": "8b8a11e56a562d36dad84d499233fa58", "score": "0.78411895", "text": "public void enqueue(NodeClass<T> n);", "title": "" } ]
[ { "docid": "9874b58b2d832f71a3eb0fc22dc58a0c", "score": "0.6882942", "text": "public NodeClass<T> dequeue();", "title": "" }, { "docid": "be4c1b9672c39843f864d98101e2a655", "score": "0.6441259", "text": "private void enqueue(Node<E> node) {\n // assert putLock.isHeldByCurrentT...
ca6139062513269bb054207421a8b74a
Vaihtaa vuoron: valkea > musta tai musta > valkea.
[ { "docid": "0b1d5947d9e4de1046ccf0391841244e", "score": "0.7843816", "text": "public void vuoroVaihtuu() {\n ekaKierros = false;\n if (vuoro.equals(\"valkea\")) {\n vuoro = \"musta\";\n } else if (vuoro.equals(\"musta\")) {\n vuoro = \"valkea\";\n }\n ...
[ { "docid": "15365334731ac14c307404f65e38a2f2", "score": "0.7508753", "text": "public void vuoroVaihtuu() {\n if (blokus.onkoPeliOhi) {\n peliLoppuu();\n } else {\n laatat.setLaatat(blokus.getVuorossa().getLaatat());\n paivitaPienetValitsimet();\n ...
3a6193fd6eb7de8e52c3ece8fe7ba531
Returns a LimitBuilder to add Limits to the Memory
[ { "docid": "be09b6667c934d2e74daee9e06a35f15", "score": "0.77085394", "text": "public LimitBuilder limit() {\n return memory.limit();\n }", "title": "" } ]
[ { "docid": "dbfe1cca1af2ad18a24d4240a50b1373", "score": "0.69686705", "text": "public Builder limit(long limit) {\n this.limit = limit;\n return this;\n }", "title": "" }, { "docid": "0389eac34ffed7e98809e7a7d7396f5a", "score": "0.6703088", "text": "publi...
e87995d8224a4b20608e17ab9668eccc
Called when UART Service have been discovered on the remote device (Raspberry Pi Zero > GATT Server)
[ { "docid": "b475ddcd86874e2e9f00093227a723bc", "score": "0.7047475", "text": "@Override\n public void onServicesDiscovered(BluetoothGatt gatt, int status) {\n\n super.onServicesDiscovered(gatt, status);\n\n if (status == BluetoothGatt.GATT_SUCCESS) {\n writeLi...
[ { "docid": "e209f0828608c14ce9c130a74e7e2525", "score": "0.78304225", "text": "@Override\n public void onServicesDiscovered() {\n mUartService = blem.getGattService(UUID_SERVICE); //sets variable to uart service\n enableRxNotifications();\n }", "title": "" }, { "docid": "...
d521525a819eb5fdbe43816bc42cd858
Called when data was sent on a socket channel
[ { "docid": "6e801edb52ef49d0d53b50b0f725c472", "score": "0.851153", "text": "public void onDataSent(SelectableChannel channel);", "title": "" } ]
[ { "docid": "1a1e35424a7d448c44e989df895bff25", "score": "0.83014995", "text": "@Override\n public void onDataSent(SelectableChannel channel) {\n }", "title": "" }, { "docid": "e197c72458f301093d9e87716631e249", "score": "0.73694146", "text": "public void onRstSent(SelectableCha...
c8fee3c863f06f864ade5b706cf82874
int result = 17; result = 37 result + type.hashCode(); result = 37 result + ( value==null ? 0 : value.hashCode() ); return result;
[ { "docid": "c0ce3ad3d9ccb5f8767d717e6e9cdccc", "score": "0.68817645", "text": "public int hashCode() {\n\t\treturn value==null ? 0 : type.getHashCode(value, entityMode);\n\t}", "title": "" } ]
[ { "docid": "86ac29070c2311202ffcc508f2a1cc15", "score": "0.8196423", "text": "public int hashCode() {\n/* 96 */ return (this.type == null) ? 0 : this.type.hashCode();\n/* */ }", "title": "" }, { "docid": "4368ed7fab2c52dc199679c8fdec5d9d", "score": "0.75923777", "text": "@...
0b6a3480188be2e124b26746b1ad0ce5
Gets the number of confirmations of this POI.
[ { "docid": "1f37ff5e85160a2514110f8bbf218b38", "score": "0.73834795", "text": "@Override\n public int getConfirmations() {\n return confirmations;\n }", "title": "" } ]
[ { "docid": "575e76cfdb9e00f619afdece57d8aad0", "score": "0.6770352", "text": "public int getConfirmsCount() {\n if (confirmsBuilder_ == null) {\n return confirms_.size();\n } else {\n return confirmsBuilder_.getCount();\n }\n }", "title": "" }, { "...
9087d9418037004d75d874644a3fd052
bool error = 7;
[ { "docid": "12eef208e5d05dff7978f8495baffca5", "score": "0.0", "text": "@java.lang.Override\n public boolean getError() {\n return error_;\n }", "title": "" } ]
[ { "docid": "a1bf5a2fed869dcf62812f0f58e93e94", "score": "0.7294", "text": "boolean isSetERROR();", "title": "" }, { "docid": "51ce0a7120bb01977ff3d3c1d4095adb", "score": "0.71355796", "text": "public void setError(boolean value) {\n this.error = value;\n }", "title": ""...
8b10714750a9569f2225e3401fdeb30c
Default constructor, saves the movie's information.
[ { "docid": "9195b51f4f239a83e3a5b76ac0294668", "score": "0.6753134", "text": "public LocMov(final MovieDb movie) {\r\n\t\ttitle = movie.getTitle();\r\n\t\tthis.id = movie.getId();\r\n\t\tgenreList = movie.getGenres();\r\n String releaseDate = movie\r\n \t\t.getReleaseDate().substring(0, 4)...
[ { "docid": "ba4c6de88b236f1bb0afd6bc6d144616", "score": "0.71947503", "text": "public MovieManager() {\n\t\tthis.displayMovie = new MovieDisplay();\n\t\tthis.listOfMovieAndShowtimes = new ArrayList<MovieAndShowtimes>(); // calls the write function in constructor\n\n\t\tArrayList<MovieAndShowtimes> trial...
5625fadd1dc266b774aa877d34d9d5e4
This method returns all the symbols that are universally bounded.
[ { "docid": "601fd951d044d175e6f7992fbd9c5fec", "score": "0.0", "text": "public final Set<String> getForAlls() {\n return myForAlls;\n }", "title": "" } ]
[ { "docid": "d7c858d5a69f39b0252ecdd4a7d0592c", "score": "0.5840935", "text": "public List<Term> getUnboundedVars() {\r\n\t\tList<Term> result = new ArrayList<Term>();\r\n\t\tfor(Term t: args) {\r\n\t\t\tif (!t.getType().hasType())\r\n\t\t\t\tresult.add(t);\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "ti...
bd3bb7982adf2458c53feb466a278913
deleteAllmethod. This method will remove all information from the table that matches this Dao and ValueObject couple. This should be the most efficient way to clear table. Once deleteAll has been called, no valueObject that has been created before can be restored by calling save. Restoring can only be done using create...
[ { "docid": "13284e71f8d9a162d9ffba3b0a5e5b3b", "score": "0.0", "text": "public void deleteAll(Connection conn) throws SQLException {\r\n\r\n String sql = \"DELETE FROM L_PAGOSRUNT\";\r\n PreparedStatement stmt = null;\r\n\r\n try {\r\n stmt = conn.prepareStatement(sql);\r...
[ { "docid": "51b84c1b1d6da62ba8d195f6a4abd11d", "score": "0.8122529", "text": "@Override\n public void deleteAll() {\n mDatabase.removeValue();\n }", "title": "" }, { "docid": "eb66d6e8d9d5023c2989d2e781e95d69", "score": "0.76123416", "text": "public void deleteAll() {\r\n ...
83f6e3bf5419e098751a2300940458e9
Created by root on 7/11/15.
[ { "docid": "caaede9fd17456a177d88a4db10f72f7", "score": "0.0", "text": "public interface IRelationship {\n void setRelationshipType(RelationshipType type);\n RelationshipType getRelationshipType();\n void setEntity1(IEntity entity);\n void setEntity2(IEntity entity);\n IEntity getEntity1(...
[ { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.69408405", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.5980131", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": ...
80f7f4acc89608eb61763db6d0d4342d
/ Node that the hash in typref is always the same due to the fact that node.getType().toString().hash() always produces the same result.
[ { "docid": "fba709a8dfc0a54bc0ee59a150560571", "score": "0.0", "text": "@Test\n public void test_visitExprNode_IdentifierExprNode() {\n IdentifierExprNode identifierExprNode = new IdentifierExprNodeStub( \"test\", BoolType.getInstance());\n\n String result = stubGenerator.visitExprNode(...
[ { "docid": "5a8915334ab84c23983ee2527adb78fe", "score": "0.6123283", "text": "private void hashConstantLeaf(TerminalNode node) {\n log.trace(\"hashing leaf {} as constant\", node.getText());\n PlSqlTypes type = super.peekContext();\n log.trace(\"hashing type as well {}\", type);\n ...
c86bd9f53853a8c318b64e5433275fc8
Passthrough method to underlying PGraphics object.
[ { "docid": "7ef3c734b6eb4dbb1b5dcc3f5c1c3420", "score": "0.0", "text": "public final float green(int what) {\n return g.green(what);\n }", "title": "" } ]
[ { "docid": "04331760e45b43913d0084edd232eedb", "score": "0.72210324", "text": "public synchronized void draw(java.awt.Graphics p_graphics)\r\n {\n }", "title": "" }, { "docid": "acc75b88d5e9ddfc1c9bce1afacf61c4", "score": "0.7142126", "text": "@Override\n public void paint(@No...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "3c1fd4ae2e57fbbc4f1d6dbf318738c5", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tGreenHeadDuck d = new GreenHeadDuck();\r\n\t\td.display();\r\n\t\td.swim();\r\n\t\td.fly();\r\n\t\td.quack();\r\n\t\tRedHeadDuck r = new RedHeadDuck();\r\n\t\tr.display();\r\n\t\tr.swim(...
[ { "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": "" }, ...
6858352878bfca16b1d1946b46879650
===================================Getting Whole Entity Based on UserId ==========================
[ { "docid": "ee547940e2a0a4fa370469bcfb5a3ccd", "score": "0.0", "text": "public ArrayList getMyEntityList(String userId) throws RemoteException;", "title": "" } ]
[ { "docid": "9196a156b0040e254a07292a0c394c14", "score": "0.69816357", "text": "User getUser(long userId);", "title": "" }, { "docid": "12f5a906c200179753fba08722a114bd", "score": "0.69374156", "text": "User getUserById(int userId);", "title": "" }, { "docid": "5e10d5ab950...
dcdf4a2d3824dca0a7e06f83d1e9c0b3
Removes the process and its variables from the database using the specified database connection.
[ { "docid": "3f97fca30b768cbc4cca26e8eaf263cb", "score": "0.56347835", "text": "protected void removeProcess(long aProcessId, IAeStorageConnection aConnection) throws AeStorageException {\r\n getProcessStateStorageProvider().removeProcess(aProcessId, aConnection);\r\n }", "title": "" } ]
[ { "docid": "797fad399877912941f242295f2f4312", "score": "0.6091736", "text": "public void disconnectDB() {\n\t\tdb =null;\n\t\tfdb = null;\n\t}", "title": "" }, { "docid": "535ae113b3ef66a4fa486b5e5d20346c", "score": "0.5995132", "text": "public static void clearDB() {\r\n\t\tString ...
b1f878a8bf5fed831f003d11ed5c10ef
/ The addEvent method is invoked to fill up the fields in the History event/object.
[ { "docid": "692e8e5264cb4667e2ebe2d1e6b0d5d3", "score": "0.0", "text": "public void addEvent(long timeStamp, Ethernet ethPacket,\n DeviceId srcSwitch, PortNumber srcSwitchInPort) {\n setTimeStamp(timeStamp);\n setHistoryethPacket(ethPacket);\n setSrcSwitch(srcSwitch);\n ...
[ { "docid": "cb67100072ff2d749b466038dab3ebd3", "score": "0.6990978", "text": "public void addEvent(Event event);", "title": "" }, { "docid": "6b21d7932766fe651fb51f244091ccd0", "score": "0.6944644", "text": "protected abstract void createHistoryEvents();", "title": "" }, { ...
1a7b89c4072d6df1d548f9fab22bf734
Returns the number of customer mac mappings.
[ { "docid": "235e2612be8554f529ab89c5de589a88", "score": "0.8357084", "text": "public static int getCustomerMacMappingsCount()\n\t\tthrows com.liferay.portal.kernel.exception.SystemException {\n\t\treturn getService().getCustomerMacMappingsCount();\n\t}", "title": "" } ]
[ { "docid": "da521667d905f85f72d17f1493905834", "score": "0.676678", "text": "public int numCMaps() {\n return this.data.readUShort(Offset.numTables.offset);\n }", "title": "" }, { "docid": "ea39fd3fc996d68e8a48570bb8c41629", "score": "0.66678596", "text": "@Override\n\tpublic int...
3e411c1aaf1e07600b608bd52cc7f2e9
Handle navigation view item clicks here.
[ { "docid": "d8d72cbae25f92ff53b0cea285891891", "score": "0.0", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n int id;\n if (item == null)\n id = R.id.cattendancemanager;\n else\n ...
[ { "docid": "5b911655084197dffe41a15a110a6b38", "score": "0.70611304", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n // Handle navigation view item clicks here.\n displayView(item.getItemId());\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4cc7e8578486824beb4760a89247e879", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tSystem.out.println(\"Enter the first number\");\n\t\tint a = input.nextInt();\n\t\tSystem.out.println(\"Enter the second number\");\n\t\tint ...
[ { "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 ...
6ab2339679e146b5c6bbfcc41a65e658
Constructor per defecte de la classe SociEstandard
[ { "docid": "8732898fa8951b331da4d993d4944d5d", "score": "0.769512", "text": "public SociEstandard(String nom, String dni, Asseguranca asseguranca) throws ExcepcioClub {\n super(nom, dni);\n comprova(asseguranca.getTipus());\n _asseguranca = asseguranca;\n }", "title": "" } ...
[ { "docid": "18bcff9e2aa170e720cca2c7114e27d9", "score": "0.68182755", "text": "public Ostrich() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "aa03c08d9799c5cb5e6e17d86cee7220", "score": "0.66320485", "text": "public Adresse() {\n\t}", "title": "" }, { "docid": "aa...
9a7cf1443ed4b53a3d2edb5ecbaf3714
$ANTLR end "rule__DepthLiteral__Group__0__Impl" $ANTLR start "rule__DepthLiteral__Group__1" InternalDSL.g:3023:1: rule__DepthLiteral__Group__1 : rule__DepthLiteral__Group__1__Impl rule__DepthLiteral__Group__2 ;
[ { "docid": "df21caca8539a85ea223677f3e2e89f5", "score": "0.8313143", "text": "public final void rule__DepthLiteral__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSL.g:3027:1: ( rule__DepthLiteral__Group__1__Im...
[ { "docid": "d5b05375ffb1a4141ccf4cfc7fd03434", "score": "0.826409", "text": "public final void rule__DepthLiteral__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSL.g:3000:1: ( rule__DepthLiteral__Group__0__Imp...
a3a150ef6b7b254e149cc089de1e5eb1
Extend String to length of 14 characters
[ { "docid": "e3c06ee9009c66754950cce232678919", "score": "0.82602435", "text": "private static final String extendStringTo14( String s )\r\n {\r\n if( null == s ) s = \"\";\r\n final String sFillStrWithWantLen = \" \";\r\n final int iWantLen = 21; //sFillStrWithWantLen...
[ { "docid": "bb944e76dafe381b62cf900dfd3b8774", "score": "0.68037844", "text": "public static String Extend(int length, String s) {\r\n String st = s;\r\n\r\n for (int i = 0; i < (32 - length); i++) {\r\n if (st.substring(0, 1).equals(\"0\")) {\r\n st = \"0\" + st;...
ee8a9e35f9c4f089d1917fb4dd8a3b5a
Endpoint para retornar todos os destaques.
[ { "docid": "9e0273e0cad123ab0acfcea75aa05445", "score": "0.7098951", "text": "@GetMapping\n @ResponseStatus(HttpStatus.OK)\n @ApiOperation(\"Retorna todos os destaques.\")\n @ApiResponse(code = 200,message = \"Destaques encontrados com sucesso..\")\n public List<Destaque> getDestaques() {\n ...
[ { "docid": "a5948556ff166fc7ecbe5a50c4e693c7", "score": "0.59946686", "text": "public List<Destination> getAllUniqueFromDestinations();", "title": "" }, { "docid": "1ffaa9ada562943021f4f07f87393a83", "score": "0.5975568", "text": "@GET\n @Produces({\"application/xml\", \"applicati...
794c80352cb6fd5ff1652ca79236b211
Get All cows alerts in the repository
[ { "docid": "103e2b404ef595bc5c1463721ea292a5", "score": "0.58384264", "text": "public List<HerdAlertModel> getAlerts(){\n\t\tList<HerdAlertModel> new_alert = new ArrayList<HerdAlertModel>();\n\t\tfor (Map.Entry<Long, HerdAlertModel> entry : alerts.entrySet()) {\n\t\t\tnew_alert.add(entry.getValue());\t\...
[ { "docid": "696b0886886942b2ca1e8ecd0a86b0c1", "score": "0.6217261", "text": "public List<Alert> getAllAlerts() {\n\t\tList<Alert> allAlerts = alertDAO.getAllAlerts();\n\t\treturn allAlerts;\n\t}", "title": "" }, { "docid": "c3522c35c31b77d5d6a08daf97e1a7e2", "score": "0.6175939", "t...
c0ec41e87d0780b6c1f94cc802f6f87d
Plays the outro of this one, and when done, plays intro of the other one. Also automatically replaces this scene with the other scene on the jframe
[ { "docid": "d05a10de12f97259dd5c05116740375f", "score": "0.5572153", "text": "public void swapOut(Scene s) {\r\n\t\tmain.cancel();\r\n\t\tstartOutro();\r\n\t\tphase=2;\r\n\t\tticks=0;\r\n\t\tTimer outro= new Timer();\r\n\t\tTimerTask outTask=new TimerTask() {\r\n\t\t\t@Override\r\n\t\t\tpublic void run(...
[ { "docid": "492966be8d55a637004d5497b8415714", "score": "0.68617725", "text": "public static void resumeScene()\r\n\t{\n\t\tscene = overScene;\r\n\t\toverScene = null;\r\n\t\toverScened = false;\r\n\t}", "title": "" }, { "docid": "446f4d60c4200bd293e38255d93a1521", "score": "0.65839314",...
ec126c3999e289194c7b067f12993ac8
Find the _Fields constant that matches fieldId, or null if its not found.
[ { "docid": "ba101e1376bff5acf6356a7433eb2a2d", "score": "0.0", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // QUERY\n return QUERY;\n case 2: // CITY\n return CITY;\n case 5: // OFFSET\n return OFFSET;\n ...
[ { "docid": "7180cd5ada9c326e3cc4466354351210", "score": "0.7884495", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // RULE_KEY_LOGS\n return RULE_KEY_LOGS;\n case 2: // LOOKED_UP_STORE_ID...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "19bcebc61badb8993715bf697d3f1582", "score": "0.0", "text": "@Override\n public Event getCurrentEvent() {\n Event user = null;\n Realm realm = Realm.getDefaultInstance();\n try{\n user = realm.where(Event.class).findFirst();\n\n }catch (Exception e){\...
[ { "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...
e4b76e0392f6ea522c79fb11c41ebffb
Scan to get the next Symbol.
[ { "docid": "afdeaa9d843e3559ea8538ce9fa4edb3", "score": "0.7414989", "text": "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n\n\tToken t = lexer.next_token();\n\tif (printTokens)\n\t\tSystem.out.println(t.getLine() + \":\" + t);\n\treturn t; \n\n }", "title": "" }...
[ { "docid": "d0bbc625be0de0b9c3e7e91ae31e3d7a", "score": "0.80672157", "text": "public java_cup.runtime.Symbol scan()\r\n throws java.lang.Exception\r\n {\r\n return getScanner().next_token(); \r\n }", "title": "" }, { "docid": "ca4e55be694230117279845faa2ba11c", "score": "0.8019...
dce44ba41d1143137b5aba492e2648f7
load the world from a xml file
[ { "docid": "cf3fc82fd16b56f31063ad006c970fd8", "score": "0.7567601", "text": "public void loadWorld(){\n CXMLConfigFile xml = new CXMLConfigFile();\n cPolys.clear();\n walkers.clear();\n xml.loadXMLFile(cPolys, walkers);\n repaint();\n }", "title": "" } ]
[ { "docid": "7de401f0b32ce243f00e9ee34aef7a49", "score": "0.6936943", "text": "private void initializeWorld() {\n\t\tbuilder = new XMLWorldBuilder(\"protCampusXML/data/campus.xml\");\r\n\t\tbuilder.buildWorld(this.rootNode);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "f4ac929807e6e2d086e3c149...
3e3b3d9aa2e11f9bac18047fefda9605
Log error here since request failed
[ { "docid": "870fd761df84b80860c5962cd77683f4", "score": "0.0", "text": "@Override\n public void onFailure(Call<HashMap<String, Object>> call, Throwable t) {\n Log.i(\"Error001Retrofirt:\", \"Error 001:\" + t.getMessage());\n }", "title": "" } ]
[ { "docid": "609d18d20b9cfcf045e366b9a5fe8954", "score": "0.7407389", "text": "@Override\n\t\t\tpublic void requestFailure(Request request, IOException e) {\n\t\t\t}", "title": "" }, { "docid": "9137f0373818397c7e98507bf7750789", "score": "0.72001934", "text": "void requestFailed();",...
0e82a2d72a12b194d1a1d95a986164ed
Created by jarias on 17/07/17.
[ { "docid": "330eb0f8cad25713697153e18973dbff", "score": "0.0", "text": "public interface ITask\n{\n VariablesBundle variables();\n List<ITask> subTasks();\n void addTaskListener(ITaskListener listener);\n void execute();\n}", "title": "" } ]
[ { "docid": "93de84d0e77a5e19e12e7d0655c39af3", "score": "0.6153317", "text": "@Override\n\tpublic void agit() {\n\t\t\n\t}", "title": "" }, { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.59905773", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "...
ead77d5d7a993cb7a436e257fc4bbcd9
/ Enabled aggressive block sorting
[ { "docid": "b80334247ba976a3ad46f3fdc7f36c77", "score": "0.0", "text": "TileOverlayOptions(int n, IBinder object, boolean bl, float f, boolean bl2) {\n this.BR = n;\n this.akr = i.a.by((IBinder)object);\n object = this.akr == null ? null : new TileProvider(){\n private fi...
[ { "docid": "e03f0357dd2fc4fa0533cfd308ccab25", "score": "0.6650237", "text": "public void forceSorting() {\r\n this.sorted = false;\r\n }", "title": "" }, { "docid": "74c08faef8aeadb1b4eba72c572ecaea", "score": "0.64971876", "text": "@Override\r\n protected void sort() { \...
528168f95b0e925aabfdaec6ba9975b3
/ / / / / / /
[ { "docid": "fa52fe9ef76ff2223ad5c3cb49cd911f", "score": "0.0", "text": "public static NetworkManager provideLocalClient(SocketAddress p_150722_0_) {\n/* 372 */ final NetworkManager var1 = new NetworkManager(EnumPacketDirection.CLIENTBOUND);\n/* 373 */ ((Bootstrap)((Bootstrap)((Bootstrap)(new Boo...
[ { "docid": "c2abac99adbb5cc23924536ed7ed5bb2", "score": "0.5416849", "text": "@Override\n\tpublic void divertir() {\n\t\t\n\t}", "title": "" }, { "docid": "f315bbba228c01512b113fc8cf550e41", "score": "0.525886", "text": "public String run() {\n\t\tint hei0 = (int) asteroids.GetHeight...
501677044c5ef8546d998d729b636e1c
/ TUTORIAL: Here you can change the description of the event producer
[ { "docid": "345159114880987d0b821ac19d2b1236", "score": "0.0", "text": "@Override\n public SepDescription declareModel() {\n return DataSourceBuilder.create(\"air-weather-source\", \"Weather Stream\", \"A data that \" +\n \"holds Weather and Air Data Produced by stations.\")\n ...
[ { "docid": "87e6dc4f095ecfed112927e107959109", "score": "0.67435354", "text": "public void printEvent(String event);", "title": "" }, { "docid": "cf27cebdbeaa3676174613181c54ec14", "score": "0.6638002", "text": "public String getEventDescription() {\n return eventDescription;\...
9c54dfd712c98e303a21c056eaa0a970
/ write a program that can check if number is positive negative or equals to zero. for example: num = 1 prints: 1 is positive number num = 6 print: 6 is negative number num = 0 print: zero
[ { "docid": "964a1c501d82b9aa1a96f2239944ce1d", "score": "0.7227026", "text": "public static void main(String[] args) {\n\n int num=-9;\n\n if (num>0) {\n System.out.println(num+\" is positive number\");\n }\n if (num<0) {\n System.out.println(num+\" is n...
[ { "docid": "0d786f73e8e303b17c279faad1f2e157", "score": "0.75366855", "text": "public boolean isZero();", "title": "" }, { "docid": "89208c867fb3138e1cbaf1d7167a8f3b", "score": "0.74865943", "text": "boolean isZero();", "title": "" }, { "docid": "13c744fd0b1c24e12de6b142f...
f3dd062a5479d365514be16edf526562
Assert that two ExpressionNode objects are equal. That means the types are the same and they contain the same value.
[ { "docid": "c217ca82c688720c59d478748956cabd", "score": "0.70578736", "text": "public static void assertEquals(ExpressionNode expected, ExpressionNode actual){\r\n Assertions.assertEquals(expected.type(), actual.type());\r\n\r\n if(expected instanceof NumberNode){\r\n Assertions...
[ { "docid": "acc7f185a82ba26676450aa561accbdd", "score": "0.6630097", "text": "@Test\n public void testAllEqualsTokensAreEqual() {\n\tassertEquals(new EqualsToken(), new EqualsToken());\n }", "title": "" }, { "docid": "65b1a80a301fab4adec11983499ca151", "score": "0.6516295", "te...
cbb4edaca5a7482f2242c3a3e27d2321
updateDisplayList, like its name implies, updates the displayGames ObservableArrayList object to contain all the Game Objects sorted by the Selection determined by the Current team variable.
[ { "docid": "f03cf4267d77ce0004ac3262222f6205", "score": "0.84024346", "text": "public void updateDisplayGamesList() {\n\t\t// empty display list\n\t\tdisplayGames.clear();\n\t\t// if all is selected display entire list of games copied from the\n\t\t// master\n\t\t// list\n\t\tif (currentTeam.equals(all)...
[ { "docid": "83799b7fccd142c42c4122b2383b578e", "score": "0.6464437", "text": "public void updateDisplayedList() {\n\t\tthis.displayedList.removeAll();\n\t\tif (this.getCurrentMode().equals(COLORMODE)) {\n\t\t\tthis.displayedList.setListData(this.colorFiles);\n\t\t} else if (this.getCurrentMode().equals(...
45217c58be34aa06b56ea6f009bd72e9
Method to add adjacent territory
[ { "docid": "841925d217d65272ddefad8a233ba59d", "score": "0.82763153", "text": "private void addAdjacentTerritory() {\n if (getContinentComboBoxCurrentIndex() >= 0 && getTerritoryCurrentIndex() >= 0) {\n String territory = String.valueOf(territoriesComboBox.getSelectionModel().getSelect...
[ { "docid": "b7e97de06ad1123deea24e4df965b407", "score": "0.6822276", "text": "private void syncAddAdjacentTerritory(String currentTerritory) {\n String adjacentTerritory = String.valueOf(territoriesComboBox.getSelectionModel().getSelectedItem());\n LogHelper.printMessage(\"currentTerritory...
a9271d85d57a2bfe2e06608762bd7056
Gets the excel column name.
[ { "docid": "a70ce1fcfaf7327111d17d1faf85b479", "score": "0.6676573", "text": "public static String getExcelColumnName(final int pnumber) {\r\n\t\tStringBuilder converted = new StringBuilder();\r\n\t\t// Repeatedly divide the number by 26 and convert the\r\n\t\t// remainder into the appropriate letter.\r...
[ { "docid": "c428541f060bada6bec04c08e80b0f59", "score": "0.76985264", "text": "public String getColumnName() {\n ColumnData column = _array.getColumnData(getIndex());\n return column.getColumnName(); \n }", "title": "" }, { "docid": "22b86248c590fe55e488b7230ede8e62", "sco...
da9ad9dd6ddf883c457dc5ddcccb1149
repeated .CbEmetMitigationAction actions = 24;
[ { "docid": "5ded804c902d07c8f6475084f0782c3f", "score": "0.0", "text": "public Builder removeActions(int index) {\n if (actionsBuilder_ == null) {\n ensureActionsIsMutable();\n actions_.remove(index);\n onChanged();\n } else {\n actionsBuilder_.remove(in...
[ { "docid": "933a1fa6656b383a0c7f9390b336610d", "score": "0.7010709", "text": "com.carbonblack.cbfs.CbEventsV2Protocol.CbEmetMitigationAction getActions(int index);", "title": "" }, { "docid": "933a1fa6656b383a0c7f9390b336610d", "score": "0.7010709", "text": "com.carbonblack.cbfs.CbEv...
7830ed08fde4ad3551e460853da2233d
This is used to tell the visual representation what to do. It gets train locations and then creates instructions based off of those train locations and data.
[ { "docid": "d3de4cb578662546fc98e1eb855f3297", "score": "0.48823506", "text": "public HashMap<String, Instruction> getInstructions() {\n //Station code -> Instruction (Solid,Blink)\n HashMap instructions = new HashMap<String, String>();\n HashMap<String, Instruction> instructionAL =...
[ { "docid": "0b65378768885c9f004d3af04b71b1ab", "score": "0.574094", "text": "protected void runInternal() {\n \n //don't print crap to screen!\n //G.v().out = new PrintStream(NullOutputStream.NULL_OUTPUT_STREAM);\n Scene.v().loadDynamicClasses();\n\n setGeomPointsToAna...
39ed060a0a95bc9906383862dc0b3a46
The number of seats in the requested level that are neither held nor reserved
[ { "docid": "06adaf6af373e344f9ace5d34580869b", "score": "0.72017914", "text": "public int numSeatsAvailable(Integer venueLevel) {\n\t\tif( venueLevel < 1 || venueLevel > SeatingArrangement.values().length ){\n\t\t\tSystem.out.println(\"Invalid Venue level\");\n\t\t}\t\t\n\t\treturn SystemData.getSeatsAv...
[ { "docid": "529ba8a13b891a29b2523551d3e71b43", "score": "0.7273516", "text": "public int getNumSeatsHeld() {\n return seatsHeld.size();\n }", "title": "" }, { "docid": "589314f9a97ace0f136042a6b6f349ad", "score": "0.7233342", "text": "@Override\n\tpublic int getNumberOfAvai...
7b8a3eadbec63835f6929096d7c0d21d
Display rating by calling getRating() method.
[ { "docid": "4ac4eba60036792b7886b55c353c91f6", "score": "0.68120366", "text": "public void rateMe(View view){\n\n Toast.makeText(getApplicationContext(),\n String.valueOf(ratingBar.getRating()), Toast.LENGTH_LONG).show();\n }", "title": "" } ]
[ { "docid": "028740612f23e0ea43655fee13a0cae6", "score": "0.7662585", "text": "public String getRating() {\n return rating;\n }", "title": "" }, { "docid": "08c3bcd1bd185f36e260a7d6ceabecaf", "score": "0.7559153", "text": "public void showRating() throws SQLException {\n\t\t...
31089f79dda4d9db0da909f0d1047b3f
Object is set if the associated cDna is not null
[ { "docid": "3f0bc246a5e3dea42d7672695cb2c598", "score": "0.7065534", "text": "@Override\n public boolean isSet() {\n return cDna != null;\n }", "title": "" } ]
[ { "docid": "713d03ab76dcce5c59ddb4d7e8817b69", "score": "0.6634814", "text": "@Override\n protected void set(org.tair.db.locusdetail.ILocusCdna dto) {\n cDna = dto;\n }", "title": "" }, { "docid": "01dfa04160427dfcd686fdf3ac1a3515", "score": "0.54484576", "text": "void set...
6464fc89ec161b781913b78753fcee0c
This method was generated by MyBatis Generator. This method sets the value of the database column doctors_followup_plan.doctors_login_id
[ { "docid": "ad13fcdadc5c95c8e6dc276c002782b1", "score": "0.6608231", "text": "public void setDoctorsLoginId(String doctorsLoginId) {\n this.doctorsLoginId = doctorsLoginId == null ? null : doctorsLoginId.trim();\n }", "title": "" } ]
[ { "docid": "918293638be65b6e8312bf12250f17ca", "score": "0.6459535", "text": "public void setIdLogin(String idLogin) {\r\n\t\tthis.idLogin = idLogin;\r\n\t}", "title": "" }, { "docid": "d245531af114ce90bef0035fcb3eb515", "score": "0.6459505", "text": "void setLoginId(long loginId);",...
110d4f778bdee8ae96fd939e0bb4aba3
Similar to 94. Binary Tree Inorder Traversal
[ { "docid": "4741c0c8eb8c0a0ebbc369826362fa10", "score": "0.0", "text": "public Node treeToDoublyList(Node root) {\n if (root == null)\n return null;\n\n Deque<Node> stack = new ArrayDeque<>();\n Node first = null;\n Node pred = null;\n\n while (root != null || !stack.isEmpty()) {\n ...
[ { "docid": "343b5772f5e2fafa676307b848243330", "score": "0.8167973", "text": "public void inorderTraversal() \n { \n inorderTraversal(rootNode); \n }", "title": "" }, { "docid": "4fa7b50c06daca0de6e0e4bbf303329c", "score": "0.76167965", "text": "public void traverseIn...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b2ba4bac6515357767faa9cab605f715", "score": "0.0", "text": "@Override\n\tpublic void deleteObject(Object entity) {\n\t\tgetSession().delete(entity);\n\t}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
50a5ac346b319eb78cf7213c59731b51
Converts a 1d array of int into String
[ { "docid": "988e098a8579f37eac20290ed715a6a9", "score": "0.8006384", "text": "private static String arrayToString(int[] array) {\r\n\t\t\r\n\t\tfinal String OPENING_BRACKETS = \"[\";\r\n\t\tfinal String SEPARATOR = \", \";\r\n\t\tfinal String CLOSING_BRACKETS = \"]\";\r\n\t\tStringBuilder text = new Str...
[ { "docid": "c73dbd1df8860d26254962d8e9d75aac", "score": "0.82419735", "text": "public static String arrayToString(int[] input) {\n\tString output = \"\";\n\tfor (int i = 0; i < input.length; i++) {\n\t output = output + (char) input[i];\n\t}\n\treturn output;\n }", "title": "" }, { "do...
97dbb53a2dd50dfd38a4fd43c4e9fed7
Fire an existing PropertyChangeEvent to any registered listeners. No event is fired if the given event's old and new values are equal and nonnull.
[ { "docid": "483fee27e2d2b0543c8442c3089eb774", "score": "0.7009465", "text": "protected void firePropertyChange(PropertyChangeEvent event)\n {\n getPropertyEventManager().firePropertyChange(event);\n }", "title": "" } ]
[ { "docid": "374fe3e3d9b63d48444a179e8ed81d96", "score": "0.7596046", "text": "public void firePropertyChange(PropertyChangeEvent event) {\n for (PropertyChangeListener listener:propertyChangeListeners) {\n listener.propertyChange(event);\n }\n }", "title": "" }, { ...
73f6d486397e498a2a3eb4f34e593379
required string orders = 2;
[ { "docid": "e574c833a0165c8eab2c5de931194498", "score": "0.0", "text": "public Builder clearOrders() {\n bitField0_ = (bitField0_ & ~0x00000002);\n orders_ = getDefaultInstance().getOrders();\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "68f689b2622b8e32d539315194b03c62", "score": "0.6597281", "text": "void setOrder(java.lang.String order);", "title": "" }, { "docid": "b2710d5721bfd0e00f7c4caf57d01e93", "score": "0.6265509", "text": "public void setOrders(int orders) {\n this.orders = orders;\n ...
03c9d1a17d89b9bdb9ebf08a5fcc4f93
$ANTLR end "ASSIGNMENT" $ANTLR start "SUBSTR"
[ { "docid": "e28b2fadd264ce05756cbb6f07d6557b", "score": "0.6051571", "text": "public final void mSUBSTR() throws RecognitionException {\n try {\n int _type = SUBSTR;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // src/LCPLTreeBuilder.g:27:8: ( 'substring' )\n ...
[ { "docid": "d5302187a32d5e0a8c1cce7828549ca3", "score": "0.5803231", "text": "private Assignment parseAssignment(){\n\tExpression exp = parseLValue();\n\tmatch(Token.Type.EQ1);\n\tExpression exp1 = parseExpression();\n\treturn new Assignment(exp, exp1);\n }", "title": "" }, { "docid": "08...
5c8d5f0ad62737da8f0c7e1582a361ff
Scans and prints PizzaMenu2.txt
[ { "docid": "f13f74bf2b63caf5322041912f458232", "score": "0.8181669", "text": "static void printPizzaMenu2() throws FileNotFoundException {\n Scanner menuList = new Scanner(menuTextFile2);\n\n while (menuList.hasNextLine())\n System.out.println(menuList.nextLine());\n }", ...
[ { "docid": "ff05183bba38df1412b133debc4dcc52", "score": "0.6953187", "text": "public void foodMenu()\r\n{\r\nString str ; \r\nint c; \r\ntry\r\n{\r\n\tfin = new FileInputStream(\"d:\\\\Final_HMS\\\\FoodItem.txt\");\r\n\tBufferedReader br = new BufferedReader( new InputStreamReader(fin));\r\ndo\r\n{\r\nS...
54554fa0a3d3ef71da46d7df0999cb74
Contexts: Command returns While While returns While Constraint: (condition=Expression body=Command)
[ { "docid": "83d1485eb7b07f3fecee8e3bc22cffeb", "score": "0.6242856", "text": "protected void sequence_While(ISerializationContext context, While semanticObject) {\n\t\tif (errorAcceptor != null) {\n\t\t\tif (transientValues.isValueTransient(semanticObject, SmcPackage.Literals.WHILE__CONDITION) == ValueT...
[ { "docid": "dfbffde16124ee4289654fece096e9e8", "score": "0.6253914", "text": "@Override\r\n\tpublic Statement createWhile(int line, int column, Expression condition, Statement body) {\r\n\t\treturn new WhileStatement(line, column, condition, body);\r\n\t}", "title": "" }, { "docid": "1cc95bd...
ec126c3999e289194c7b067f12993ac8
Find the _Fields constant that matches fieldId, or null if its not found.
[ { "docid": "eae0abd27061e83407b26c25f42e11d7", "score": "0.0", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // NEWS_ID\n return NEWS_ID;\n case 2: // TOP_STATUS\n return TOP_STATUS;\n default:\n ...
[ { "docid": "5de58f05df813aa08edeab24d8477068", "score": "0.78808534", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n default:\n return null;\n }\n }", "title": "" }, { "do...
6f96942828b615075a824902d05a4d31
Liefert das Datum, wann das Wahllokal eroeffnet wurde.
[ { "docid": "3dd4a5ce7380a58cec46c325e1077570", "score": "0.0", "text": "public String getDate() {\r\n return this.settingsModel.getDateString();\r\n }", "title": "" } ]
[ { "docid": "0f259cbbdead2ccc8856540d0eb17c27", "score": "0.6801169", "text": "protected String getDatum() {\n return datum;\n }", "title": "" }, { "docid": "53aecdeb9ce0e847105a891874e2389d", "score": "0.6639106", "text": "public Integer getLlDatum() {\r\n\t\treturn llDatum;\r\n\...
66ee2b384b461dfdd9b7ee230939a07e
Returns the first live (nondeleted) node on list, or null if none. This is yet another variant of poll/peek; here returning the first node, not element. We could make peek() a wrapper around first(), but that would cost an extra volatile read of item, and the need to add a retry loop to deal with the possibility of los...
[ { "docid": "295a525c9914d99bf5492c00c8690d3e", "score": "0.69117177", "text": "Node<E> first() {\n restartFromHead: for (;;) {\n for (Node<E> h = head, p = h, q;; p = q) {\n boolean hasItem = (p.item != null);\n if (hasItem || (q = p.next) == null) {\n ...
[ { "docid": "ef74ac3d4d774c76a5187d01d522d636", "score": "0.7509559", "text": "public T poll() {\n\t\tNode<T> firstNode = this.head;\n\t\tif(firstNode != null) {\n\t\t\tthis.head = firstNode.getNextNode();//points to next node\n\t\t\treturn firstNode.getData();//returns the first item in the list\n\t\t}...
26126faf5e64f8de9ec94d8cc0c30536
Release the camera for other applications
[ { "docid": "068ee99a381a36d8f796ea42071c2d73", "score": "0.84844774", "text": "private void releaseCamera(){\n if (mCamera != null){\n mCamera.release(); \n mCamera = null;\n }\n }", "title": "" } ]
[ { "docid": "652f5b59b76e98c75c079fdd85f4df33", "score": "0.83571255", "text": "private void releaseCamera() {\n Log.d(TAG, \"releasing camera\");\n if (camera == null) return;\n\n camera.stopPreview();\n camera.release();\n camera = null;\n }", "title": "" }, ...
0515feaa2c2342b6f93be43c60602079
Get the set of y coordinates representing a segment of a glyph.
[ { "docid": "1bee684a9668d6fb7c4be353b0302501", "score": "0.0", "text": "public void getYCoordinates(final int[] array) {\r\n System.arraycopy(yCoordinates, 0, array, 0, yCoordinates.length);\r\n }", "title": "" } ]
[ { "docid": "a581a84a8149a739c7a688f7c0b267c3", "score": "0.6271983", "text": "public int[] getYs()\n\t{\n\t\treturn ys;\n\t}", "title": "" }, { "docid": "55bb08d66a7ad8ca7166392cd29eb71c", "score": "0.60796547", "text": "public double[] getYOffsets() {\r\n return _yOffsets;\r\n }...
28f17664896c052818c78a0ee9151c47
/ My experiment application. You can get the code from:
[ { "docid": "4f9686f5739afb82a01c19f8742f5d56", "score": "0.0", "text": "private static boolean isExpApp(PendingIntent pi){\n\t\tif(pi.getIntent() != null && pi.getIntent().getComponent() != null\n\t\t\t&& pi.getIntent().getComponent().toString().equals(EXP_APP_ALARM)){\n\t\t\tint action = Integer.parseI...
[ { "docid": "51f962f4c589e750aea7c0145d0bc786", "score": "0.6646198", "text": "public static void main(String[] args){\n ExperimentController exp = new ExperimentController();\n //call the run method\n exp.run(args);\n }", "title": "" }, { "docid": "45d0caec6f636a66e74...
a8489e9daf7a4ff663ccebdeb08b511f
Sets the pin of the card.
[ { "docid": "8869919c370a219013ddd2da8601d1fa", "score": "0.0", "text": "@Override\n public boolean run(CardChannel applet) {\n ResponseAPDU rapdu;\n \n byte[] pinBytes = new byte[4];\n for(int i = 0; i < pinBytes.length; i++) {\n pinBytes[i] = (byte) Integer.par...
[ { "docid": "37ffc8edfaf002b2b39ad59f21cd082a", "score": "0.782096", "text": "public void setPin(int pin) {\r\n\t\t//Checking pin is 4-digits as required.\r\n\t\tif(pin%10000 < 1000 ){\r\n\t\t\tSystem.out.println(\"ERROR: 4 DIGIT PIN ONLY\");\r\n\t\t}\r\n\t\telse{\r\n\t\t//Verifying our pin, otherwise do...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "5411387adbaaaf422c7e365950609718", "score": "0.0", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main_menu, menu);\n\t\treturn true;\n\t}", "title": "" } ]
[ { "docid": "d74efebd6fe79f46209a7e8cb2c52d89", "score": "0.71840715", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater mif= getMenuInflater();\n\t\tmif.inflate(R.menu.main_activity_action, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" ...
f6a43e9dd220e30cd085f42d594eea71
Sets (as xml) the "retryAttempt" element
[ { "docid": "6e0c630202b227386a8dee5a1c5f9187", "score": "0.82801723", "text": "void xsetRetryAttempt(org.apache.xmlbeans.XmlInt retryAttempt);", "title": "" } ]
[ { "docid": "30417dd16f79f506941cbe364314230d", "score": "0.74509794", "text": "void setRetryAttempt(int retryAttempt);", "title": "" }, { "docid": "10004d0cdd09fb0dadb5a4fa4f0ca752", "score": "0.6911336", "text": "org.apache.xmlbeans.XmlInt xgetRetryAttempt();", "title": "" }, ...
9db7c8100f8520a44e91742bc460657b
Return the value associated with the column: REPUBLIC
[ { "docid": "b6d5a13c14f4398c42f4f7523073498d", "score": "0.6575312", "text": "public java.lang.String getRepublic () {\r\n\t\treturn republic;\r\n\t}", "title": "" } ]
[ { "docid": "bad6b2dd2708d37eac3177f090d16bf3", "score": "0.6085358", "text": "public void setRepublic (java.lang.String republic) {\r\n\t\tthis.republic = republic;\r\n\t}", "title": "" }, { "docid": "be370bb9fa7dc4c9dbd1331f029df466", "score": "0.5833298", "text": "public String get...
27b8a924383663d26b479c9c67ebbc38
Loads the correct id in.
[ { "docid": "db71cc3a4e12f3af38ee1c30467d0c8d", "score": "0.0", "text": "@Override\n public Op visitIdExpr(MainGrammarParser.IdExprContext ctx) {\n if (global(ctx.id())) {\n return emit(OpCode.conloadAI, arp, globaloffset(ctx), reg(ctx));\n } else {\n return emit(Op...
[ { "docid": "0a84063a45e379d7e0dc2cc0943039ae", "score": "0.66893595", "text": "T load(Integer id);", "title": "" }, { "docid": "11386b998e00d45ff20c7133538ad39c", "score": "0.6671639", "text": "@Override\r\n\tpublic void load(long id) throws LoadException {\n\r\n\t}", "title": ""...
4d058345af6ff470562d460b0ddbdca4
Called repeatedly when this Command is scheduled to run
[ { "docid": "758637300419f8dadd63016a8a66053a", "score": "0.0", "text": "protected void execute() {\n if(true){//(oi.getResetPIDConstants()) {\n desiredHeadingController.setPID(SmartDashboard.getNumber(\"MoveToPos K[0][P]\", 5.0),\n SmartDashboard.getNumber(\"MoveToPo...
[ { "docid": "0f02fc7c927fc3b908e1308499f0bc93", "score": "0.70304275", "text": "public void execute() {\n if (System.currentTimeMillis() >= startTime) {\n command.schedule();\n }\n }", "title": "" }, { "docid": "6f7e3e6f0b67c6904cb4ecff931e0bd8", "score": "0.65...
b1131041101128176329bdac881e4cf0
$ANTLR end "ruleCronStrategy" $ANTLR start "entryRuleFilter" ../org.openhab.model.persistence/srcgen/org/openhab/model/persistence/parser/antlr/internal/InternalPersistence.g:338:1: entryRuleFilter returns [EObject current=null] : iv_ruleFilter= ruleFilter EOF ;
[ { "docid": "d4fff8c5f1a0ebf20a2c027f690088f4", "score": "0.66815245", "text": "public final EObject entryRuleFilter() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleFilter = null;\n\n\n try {\n // ../org.openhab.model.persistence/src-gen/org/op...
[ { "docid": "a715c3e5db68009a327145bd5ebedf04", "score": "0.61519367", "text": "public final EObject entryRuleRule() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleRule = null;\n\n\n try {\n // ../it.univaq.coevolution.emfmigrate/src-gen/it/univ...
f3e001cc3fc332090f123d3b3933b563
for hardcheck, id should be home's id
[ { "docid": "03b9920997222997d443d3fe9ade1e11", "score": "0.0", "text": "public String createWithProperty(String option, String id, String property) {\n this.property = property;\n return createMessage(option, id);\n }", "title": "" } ]
[ { "docid": "48bc50e58c36834612f6f4869a0eb2a6", "score": "0.73102075", "text": "int getHomeid();", "title": "" }, { "docid": "def88c6983c044b1f1d7c12df3884961", "score": "0.67563397", "text": "public int getHomeid() {\n return homeid_;\n }", "title": "" }, { "docid...
1fc9df40b625ac6a6e6e0651baa67b45
Overload: Method to take element ID directly and return data
[ { "docid": "37e02fe7ca6c12c18328f1f1de687ebd", "score": "0.0", "text": "public ArrayList<DataWebElement> resizeBrowserAndGetElementValues(WebDriver driver, List<String> bpListURL, String URL, String WebElementID) throws InterruptedException {\r\n\t\tdriver.navigate().refresh();\r\n\t\tArrayList<DataWebE...
[ { "docid": "c767fdbcce5cca7f9adffc23912599f9", "score": "0.7529011", "text": "public abstract org.w3c.dom.Element getElementById(String elementId);", "title": "" }, { "docid": "f7c47ff05a34d192e4cad390ca342f2a", "score": "0.7395022", "text": "Element getById(String id);", "title"...
2b6e8a34b1be1993dfdd0e94004a161c
Gets the default action.
[ { "docid": "1ff39e8904f0d3fc4f5abb3b0319cd22", "score": "0.89560527", "text": "public DefaultAction getDefaultAction() {\n\t\treturn defaultAction;\n\t}", "title": "" } ]
[ { "docid": "898d6d3f72fb6e76a1851edd36ed2b6f", "score": "0.769138", "text": "public Action getPreferredAction();", "title": "" }, { "docid": "68c2f6b38e3f669976decd4e1465699e", "score": "0.7222218", "text": "public String getAction() {\n\t\treturn action;\n\t}", "title": "" }, ...
26d82cd734ac8e15f62bfac8ab0a57bb
User data change listener
[ { "docid": "cace850af7385d8a03915d39e6e6defd", "score": "0.6080357", "text": "private void addUserChangeListener() {\n FirebaseUser user=mAuth.getCurrentUser();\n if (user != null) {\n listener = new ValueEventListener() {\n @Override\n public void ...
[ { "docid": "57e36c5db0afaf255ad8dca5b257f37e", "score": "0.7397939", "text": "private void addUserChangeListener() {\n // User data change listener\n mFirebaseDatabase.child(userId).addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChang...