query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
40dc979e9708323917172f0b535384f8
Created by a700 on 16/10/9.
[ { "docid": "dfa82176055c2a086c69522069010165", "score": "0.0", "text": "public interface TRouteResultService {\n\n public List<TRouteResult> getAllTRouteResult(String accountId);\n\n public List<TRouteResult> getTRouteResultByCityId(String accountId,Integer cityId);\n\n public TRouteResult save...
[ { "docid": "1e34493fdecb11f6bbc24ef12eea2281", "score": "0.6302482", "text": "public void mo27791d() {\n }", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.6260031", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "title": "" }, ...
b2c0734a34941addec3b844ef3edc0b0
org.xms.g.location.LocationRequest.writeToParcel(android.os.Parcel,int) Used in serialization and deserialization. Support running environments including both HMS and GMS which are chosen by users. Below are the references of HMS apis and GMS apis respectively: com.huawei.hms.location.LocationRequest.writeToParcel(andr...
[ { "docid": "c1d4c47586f723a12fb70010421f27c2", "score": "0.7661598", "text": "public void writeToParcel(android.os.Parcel param0, int param1) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.location.LocationRequest) this....
[ { "docid": "90c5ccbe9cc01a86765d825fb81d1e67", "score": "0.5962289", "text": "public static org.xms.g.location.LocationRequest create() {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"com.huawei.hms.location.LocationRequest.create()\");\n...
dd3f545f3a33e3438a3284328fb834a4
idForn = listBox.getValue(listBox.getSelectedIndex()); textBox_6.setText(listBox.getValue(listBox.getSelectedIndex()) );
[ { "docid": "c3e9bc9a26802b2e7e02d270b9762916", "score": "0.0", "text": "@Override\r\n\t\t public void onClick(ClickEvent event) {\n\t\t }", "title": "" } ]
[ { "docid": "a28856b6c09182dbe0407552fcfee6e4", "score": "0.67112994", "text": "public void seleccionarElementos(){\n txtCodigoTipoEmpleado.setText(String.valueOf(((TipoEmpleado)tblTipoEmpleado.getSelectionModel().getSelectedItem()).getCodigoTipoEmpleado()));\n txtDescripcion.setText(((Tipo...
dc6cd965a49eb304fd4cb6032f32485c
Apply a rotation to this quaternion rotating the given radians about the cartesian base unit axes, called the euler angles using rotation sequence XYZ. This method is equivalent to calling: rotateX(angleX).rotateY(angleY).rotateZ(angleZ) If Q is this quaternion and R the quaternion representing the specified rotation, ...
[ { "docid": "540cd4d2a9d788d7f2f8a97b8d278695", "score": "0.6985154", "text": "public abstract Quaterniondc rotateXYZ(double angleX, double angleY, double angleZ);", "title": "" } ]
[ { "docid": "4282b3aab4bebfaf81d4fd88ba817428", "score": "0.69912803", "text": "public abstract Quaterniondc rotate(double angleX, double angleY, double angleZ);", "title": "" }, { "docid": "9466f906f8b12aa14659624d5a1d5fa3", "score": "0.6947368", "text": "public abstract Quaterniondc...
6144e69110b9f310e6af469dceaf450f
Returns the collection metadata for this collection.
[ { "docid": "fc2247935e3e88c8880accdb5d5e68b5", "score": "0.57244307", "text": "public CollectionMetadata getCollectionResponsePaging()\n {\n return _collectionResponsePaging;\n }", "title": "" } ]
[ { "docid": "e10d583f825951d9b4e6f5cd02e3e6cf", "score": "0.708906", "text": "public interface CollectionMetadata {\r\n /**\r\n * The collection key type\r\n */\r\n public Type getKeyType();\r\n\r\n /**\r\n * The collection element type\r\n */\r\n public Type getElementType();...
2e62fe408c7470ca2f58ff19abc51592
Let it continue running until it is stopped.
[ { "docid": "5a21bf25ed5790ac6ed9332b3b02404a", "score": "0.0", "text": "@Override\n public int onStartCommand(final Intent intent, int flags, int startId) {\n final Handler handler = new Handler();\n final Timer timer = new Timer();\n final TimerTask timerTask = new TimerTask() {...
[ { "docid": "0985ad45a44a221844875922148dfae1", "score": "0.7048808", "text": "public synchronized void stopRunning() {\n\t\t\tmShouldContinue = false;\n\t\t}", "title": "" }, { "docid": "edbea19abf7b42e95039887009b3d6fe", "score": "0.7013132", "text": "public void pause() {\n ...
ac3c45b489e99648126856852a9bd014
Fancy print values in this class
[ { "docid": "19eb3dc9c454b53efc68a76d68b7c1d6", "score": "0.0", "text": "public String toString() {\n return \"Name: \"+this.name+\" | Lat: \"+this.lat+\" | Lon: \"+this.lon;\n }", "title": "" } ]
[ { "docid": "256fa1fc32195bc464097629298f92e9", "score": "0.7772286", "text": "public void print(){\n\t System.out.println(this.getPosition() + \" \" + this.getName() + \" \" + this.getPoints() + \" \" + this.getValue());\n\t }", "title": "" }, { "docid": "d96404867480fc1294361b8efe...
1bf89447b80ec86ff401a389c9f91f7d
/ access modifiers changed from: protected
[ { "docid": "a40db715741d984d04099ad65f9444ce", "score": "0.0", "text": "public abstract String e();", "title": "" } ]
[ { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.6921078", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "ec76ff8d70ced9d8135ad33b23353b4d", "score": "0.692099", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\t\t\t\t\r\n\t\t\t}"...
1b05653d346589fc2c4260f25fb97d2c
aggregate completes on last PP received or overall completion
[ { "docid": "73be601fb25fddab73ae3a37e30bb16c", "score": "0.0", "text": "MultiProcessorImpl(Function<HttpRequest,Optional<HttpResponse.BodyHandler<V>>> pushHandler, boolean completion) {\n this.results = new MultiMapResult<V>(new ConcurrentHashMap<>());\n this.pushHandler = pushHand...
[ { "docid": "c1e34c5cb3ab494b167efb5280f0e04d", "score": "0.659947", "text": "public void completeAggregation();", "title": "" }, { "docid": "4943c4292b0ad8e772db176436d215b3", "score": "0.58069044", "text": "public void addCompletedProcess() {\t++timeVals[ttlNumTeamsProc];}", "ti...
2f504a3c0682bb6303458bef1286952d
.cn.yingming.grpc1.ServerViewPy serverViewPy = 6;
[ { "docid": "039b12b5deb06d17be695231e7493fc6", "score": "0.75226116", "text": "@java.lang.Override\n public io.grpc.jchannelRpc.ServerViewPy getServerViewPy() {\n if (oneTypeCase_ == 6) {\n return (io.grpc.jchannelRpc.ServerViewPy) oneType_;\n }\n return io.grpc.jchannelRpc.ServerViewPy....
[ { "docid": "bc02aefdf36ac582f690e66a7646bf38", "score": "0.7321089", "text": "@java.lang.Override\n public io.grpc.jchannelRpc.ServerViewPy getServerViewPy() {\n if (serverViewPyBuilder_ == null) {\n if (oneTypeCase_ == 6) {\n return (io.grpc.jchannelRpc.ServerViewPy) oneType_;\n...
f015a0e552b63057dd655495aaeb1b0e
Gets the attribute value for the calculated attribute AdvancePercent.
[ { "docid": "5c055d7d6880a258faf19eb2880a2b78", "score": "0.8278029", "text": "public String getAdvancePercent() {\r\n return (String) getAttributeInternal(ADVANCEPERCENT);\r\n }", "title": "" } ]
[ { "docid": "9c6c8b50577c937e1604550cd6c7855e", "score": "0.6829184", "text": "public Integer getPercent() {\n return percent;\n }", "title": "" }, { "docid": "348a7cc5bb0093c1ed9f63a5ea66c754", "score": "0.6812957", "text": "public Integer getPercent() {\n return percent;\...
76ee3b91d76a8458b3c89b3412c81e66
Determine if the RelatedOrganisation is configured.
[ { "docid": "06dce25aefe8b967def7d72a7ddf5532", "score": "0.78566766", "text": "public boolean isSetRelatedOrganisation() {\n return ((this.relatedOrganisation != null) && (!this.relatedOrganisation.isEmpty()));\n }", "title": "" } ]
[ { "docid": "6a5db69b707d1314c068884311c13fc9", "score": "0.7334252", "text": "public boolean hasOrganisation()\n {\n return organisation != null && organisation.length() > 0;\n }", "title": "" }, { "docid": "d53ada501c7a5c05138cb4f3b08cf2e2", "score": "0.7138116", "text"...
587159246fa6eecea92d2455c5436fde
Function to Resolve Two Queens in the same row,column or diagonal
[ { "docid": "f642005878685c1735ff6df9675d2375", "score": "0.54976237", "text": "public boolean conflictverify(queen q) {\n if (r == q.getRow() || c == q.getColumn()) // Check the values of rows and columns\n return true;\n else if (Math.abs(c - q.getColumn()) == Math.abs(r - q.g...
[ { "docid": "d20b1edac34dc95bf27ffe84a35cbfae", "score": "0.61319566", "text": "private boolean isValidQueenMove(Square from, Square to)\n\t {\n\t\t return isValidRookMove(from,to) || isValidBishopMove(from,to);\n\t }", "title": "" }, { "docid": "baf43ebd93fa67529073288dfe8f53c9", "score"...
40997ec858c7a2713b188304d556cca4
Constructor for connected components with property key and a maximum number of iterations and a boolean to determine, if the component property is written to edges, too.
[ { "docid": "2917eb3233f6663552d188b93d1f9053", "score": "0.6607206", "text": "public AnnotateWeaklyConnectedComponents(String propertyKey, int maxIterations,\n boolean annotateEdges) {\n super(new VertexToGellyVertexWithGradoopId(), new EdgeToGellyEdgeWithNullValue());\n this.propertyKey = prop...
[ { "docid": "ea9f6201327f99da55b8d059de0fc116", "score": "0.7146445", "text": "public AnnotateWeaklyConnectedComponents(String propertyKey, int maxIterations) {\n super(new VertexToGellyVertexWithGradoopId(), new EdgeToGellyEdgeWithNullValue());\n this.propertyKey = propertyKey;\n this.maxIterat...
76bbfff4f860bc1536261c592d1e0443
Accessors and modifiers Returns the rate limit for the short time interval.
[ { "docid": "6ee07d09bc45fd7815c0430689015f25", "score": "0.6738707", "text": "public synchronized int getShortLimit()\n\t{\n\t\treturn limitShort;\n\t}", "title": "" } ]
[ { "docid": "d03404b18387825c4b9f0dcde2a95919", "score": "0.74959445", "text": "public synchronized long getShortInterval()\n\t{\n\t\treturn limitShortInterval;\n\t}", "title": "" }, { "docid": "b97c953b9d916033578c8cad5bbb37d0", "score": "0.68657154", "text": "public synchronized voi...
ebb27f65527f6b8eccb6f6a50d512aa9
List titles = new ArrayList(); Title title = new Title(new Position(size.getWidth() / 2 7, size.getHeight() / 2), new Text("YOU LOST... :(", "000000", "ff2222", EnumSet.of(Text.TEXTMODIFIER.BOLD))); titles.add(title);
[ { "docid": "3084cf4f1b5e7eb0d09a12a1f8298b56", "score": "0.6925562", "text": "@Override\n protected List<Title> createTitles() {\n return new ArrayList<>();\n }", "title": "" } ]
[ { "docid": "f4d3bb106d9a62b27d88f275b9521dc9", "score": "0.67729056", "text": "private void implementTitle() {\n\t\t_titleLabel = new Label(_titleString);\n\t\t_titleNode = Borders.wrap(_titleLabel).lineBorder().color(Color.AQUAMARINE).build().build();\n\t}", "title": "" }, { "docid": "31ef2...
c94ff7cc7c42c86b3357b19575a9d02b
Returns a string with the elements of the array in reverse order separated by a space
[ { "docid": "a3d490af0e651a181c7c531d5ea53c38", "score": "0.6423395", "text": "public String inReverse(int[] values)\n {\n String message =\"\";\n for ( int value : values) //finish the loop header\n {\n // TODO: concatenate the elements to message in reverse order\n mes...
[ { "docid": "eec8e62c807c2ee72521d9e5f55fe3e8", "score": "0.71587074", "text": "public static String reverse(int[] num){\n StringBuffer s = new StringBuffer(Arrays.toString(num));\n return s.reverse().toString();\n }", "title": "" }, { "docid": "540c922bfcc0ed80dda11e0b92bf73...
10ecda140ef52e667b460b33c88fd906
Called when no URLs have been fetched from the DB, to check whether any other thread is working. Used to synchronize threads.
[ { "docid": "2986a4db1d2c47ca8ed795c310e4dfd5", "score": "0.5597943", "text": "private void waitForWork() {\n working = false;\n if (authority.isAnyWorking()) {// some thread is still working, wait for signal\n synchronized (authority.workLock) {\n ...
[ { "docid": "dd6134f7eecadc690cb259ff564cac1c", "score": "0.61545813", "text": "@VisibleForTesting\n boolean noOutstandingRequests() {\n return responseChecker.isEmpty() && workerProcessResponse.isEmpty();\n }", "title": "" }, { "docid": "270f418f00f7398a5304fac5b47556c1", "score": "...
7b919ad5acce83a5db196a9d9bfc95fb
/ renamed from: zzxF
[ { "docid": "753e8e1e96b63d9e3e00a3e58c511003", "score": "0.0", "text": "public HashMap<String, FastJsonResponse.Field<?, ?>> zzom() {\n return zzaHP;\n }", "title": "" } ]
[ { "docid": "baf60770553874d6c49134164ceba16f", "score": "0.6189708", "text": "void mo24413b(C40439f c40439f);", "title": "" }, { "docid": "e16d41ea385156816d3f3e3e31badebd", "score": "0.59828776", "text": "private void m52678v() {\n }", "title": "" }, { "docid": "9638c...
2e36a23b12eeb633b9e4251834e3a282
Output only. The create time of the resource. .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
[ { "docid": "38f75970fdb8d0dcfacd2c961d87cf20", "score": "0.0", "text": "boolean hasCreateTime();", "title": "" } ]
[ { "docid": "d71bf89c0332aa5dca5ec11702072882", "score": "0.793429", "text": "@java.lang.Override\n public com.google.protobuf.Timestamp getCreateTime() {\n return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;\n }", "title": "" }, { "docid": "d71...
f83875dab1e08e9b46d7dd23156597fd
divides the components of this vector by the components of another vector
[ { "docid": "9aaa1c725171659a5b804948f223d600", "score": "0.5739699", "text": "public Vector4f divide(Vector4f v) {\n this.x /= v.x;\n this.y /= v.y;\n this.z /= v.z;\n this.w /= v.w;\n return this;\n }", "title": "" } ]
[ { "docid": "6731112f271b27d05be240f32c1bb0bd", "score": "0.5964074", "text": "Vector3fc div(IVector3f v, Vector3fc dest);", "title": "" }, { "docid": "de01249fdb2801d08e84337b9171ecbd", "score": "0.59162295", "text": "public Vector divide(float scale) {\r\n\t\tthis.x /= scale;\r\n\t\...
f1b7051e9b4ce6e5b83ffdee0c6fd1ce
System.out.println(mapOfTopics.get(e.getClass()).size()+ " size of topic Q"+ e.getClass()+ "in broker sendEvent");
[ { "docid": "a9806f67be6c328acd852cc5c75231ae", "score": "0.5597761", "text": "@Override\n\tpublic <T> Future<T> sendEvent(Event<T> e) {\n\t\tFuture<T> future=new Future<>();\n\t\ttry {\n\t\t\tmapOfEvents.put(e, future); //add future to the mapOfEvents\n\t\t\tLinkedBlockingQueue<Subscriber>topicSubQue...
[ { "docid": "8819f20b39fccaf1b1c24c8371dda62e", "score": "0.5931798", "text": "public int getEventCount() {\r\n\r\n return pubSubEventQ.size();\r\n }", "title": "" }, { "docid": "c5c98c980b668ce0ec57960c09a4ebc3", "score": "0.5873055", "text": "public int countEvents() {\n\t...
4daf0c2f3c18b750a5caa1611015b39d
Sets the delay between the last caret position change and when the text is scanned for matching identifiers. A delay is recommended to prevent repeated scanning while the user is typing.
[ { "docid": "a557a66862348f195f79ae232e409c71", "score": "0.5817921", "text": "public void setDelay(int delay) {\n\t\ttimer.setInitialDelay(delay);\n\t}", "title": "" } ]
[ { "docid": "8d6da30534659451c042117bcebb3622", "score": "0.6041205", "text": "public void setDelay(int delay)\n {\n this.delay = delay;\n }", "title": "" }, { "docid": "ed4ba1b7fe9d56c5594aa9699143d23c", "score": "0.6016507", "text": "public void setDelay(int delay) {\n ...
db4d4dc60f9850b7f828b4f5a328695d
Created by tangjialiang on 2017/12/15.
[ { "docid": "81365067a9c7d1f02c850adafc26a641", "score": "0.0", "text": "@FunctionalInterface\npublic interface EventConsumer {\n public Event consume(Event event) ;\n}", "title": "" } ]
[ { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.61472857", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.5952661", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}", "...
3203c6575beb76ea45a307a1fba35247
Use this constructor to assign a variable of type motor connected to a particular port.
[ { "docid": "2fac58da4d9f74c28340460cf337daf5", "score": "0.58679444", "text": "public MindsensorsGlideWheelMRegulatedMotor(Port port)\n {\n super(port, null, EV3SensorConstants.TYPE_NEWTACHO, MOVE_P, MOVE_I, MOVE_D,\n HOLD_P, HOLD_I, HOLD_D, OFFSET, MAX_SPEED);\n }", "tit...
[ { "docid": "f7da2252dfaaf176d8894f5771eb2ec1", "score": "0.6626391", "text": "public DistantPort()\r\n\t{\r\n\t}", "title": "" }, { "docid": "f91b528e9b6daa546b1b75e0bbcea949", "score": "0.63917494", "text": "@DesignerProperty(editorType = PropertyTypeConstants.PROPERTY_TYPE_STRING,\...
9e295f0e60f38ad397cc43db3274da34
Returns a new object of class 'Search Criteria'.
[ { "docid": "f2ce9939c09abfc6d43df6ec44ad543a", "score": "0.80403066", "text": "SearchCriteria createSearchCriteria();", "title": "" } ]
[ { "docid": "2340d4eb562f4a4b50150b3a67e0cda4", "score": "0.76608145", "text": "public CriteriaSearch() {\n loadCriteria();\n }", "title": "" }, { "docid": "5c1acc7894f75d31fa935b626ed13154", "score": "0.7410285", "text": "Criteria createCriteria();", "title": "" }, ...
e0f6127bef6e88e9f019b19676e81b2b
This method builds and returns a Retrofit client, build to access the movie base URL and uses GSON Converter Factory.
[ { "docid": "1352c213c3fc28b4541b5e810faed0e0", "score": "0.7070644", "text": "public static Retrofit getClient() {\n if (retrofitClient==null) {\n retrofitClient = new Retrofit.Builder()\n .baseUrl(MOVIES_BASE_URL)\n .addConverterFactory(GsonConver...
[ { "docid": "1f7b19f77bf457e9b5baec2f215a2648", "score": "0.7012651", "text": "public interface MovieAPI {\n\n String URL=\"https://api.themoviedb.org/3/\";\n @GET(\"movie/popular?api_key=968cca12b1a8492036b1e1e05af57e3f\")\n Call<Movie> getMovieCall();\n\n @GET(\"search/movie?api_key=968cca1...
a4367c88757e60a6ed2c1db63e93eb85
pointer to course node object Default Constructor
[ { "docid": "56db053b11f92c5c3ed0f5988b2870c4", "score": "0.8215559", "text": "public CourseNode() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t\tcourseObject = null;\n\t\t\tCourseNodeObj= null;\n\t\t\tcNPtrObj = null;\n\t\t}", "title": "" } ]
[ { "docid": "28df580b12d92909dfa5ac0026200934", "score": "0.69748336", "text": "public Course() {\n name = title = description = prereqs = instructor = department = notes = dayString = \"\";\n category = 0;\n lab = false;\n distribution = new LinkedList<String>();\n start = end = credit = ...
067bec45bdf0a3e74ad78246e86654a8
Recupera fratelli e sorelle di sangue
[ { "docid": "d1c55f6253ce380baade6527a30c0a6e", "score": "0.0", "text": "public listautenti getFratelliSorelle() throws SQLException {\n\n listautenti fratellanza = new listautenti();\n \n utente papa = this.getByParentela(\"padre\");\n utente mamma = this.getB...
[ { "docid": "9df20b785b90e3e6c440c6c6d74e1d13", "score": "0.63439184", "text": "private void reakcio() {\n Csapda csapda = vilag.getCsapda();\n \n // a játékos menne valamerre\n if (parancs.isIrany()) {\n irany(csapda);\n \n // a játékos aktiválna (használna, mozgatna, bekapcsoln...
d92b861144b62e6060c53ffc79f8d0ef
Include useful trace information at the beginning of queries as an SQL comment (prefixed with ). The option will be converted to a boolean type. Default: false Group: producer
[ { "docid": "7c08e84a247dffe8285b1365628a8d4f", "score": "0.0", "text": "default Athena2EndpointBuilder includeTrace(String includeTrace) {\n doSetProperty(\"includeTrace\", includeTrace);\n return this;\n }", "title": "" } ]
[ { "docid": "dca638fbf9d7cca5ef57c7c5ed79115c", "score": "0.60776573", "text": "boolean isLoggingSql();", "title": "" }, { "docid": "04fcad03b0e5bc47bc9b2331e6a36ae4", "score": "0.5865026", "text": "public boolean shouldTrace();", "title": "" }, { "docid": "08d878d1d91ec94...
74678231bef5cdf695e6fdbaad093232
Creates new form formRent
[ { "docid": "5e1a06af1ab422ec88e032ae6a89893e", "score": "0.6746666", "text": "public formRent() {\n initComponents();\n setTabel();\n }", "title": "" } ]
[ { "docid": "f3d4e3470a57e4ca2b96b9ba468388c7", "score": "0.70141655", "text": "Form createForm();", "title": "" }, { "docid": "f3d4e3470a57e4ca2b96b9ba468388c7", "score": "0.70141655", "text": "Form createForm();", "title": "" }, { "docid": "55621c3209b32482a0244a55bbf9ff...
39d202b0939341fc1f88f10434a3e6a2
Called when train controller selected from main menu
[ { "docid": "324d36512020c5374bc4fbd160eba681", "score": "0.0", "text": "void showGUI(Stage primaryStage){\r\n myGUI.start(primaryStage);\r\n }", "title": "" } ]
[ { "docid": "a56687bf5731f803e75759d722854d6c", "score": "0.65429974", "text": "public void setSelectedTrain(Train selectedTrain){\n\n this.selectedTrain = selectedTrain;\n }", "title": "" }, { "docid": "2805ffe3d0f716e76d3626e6aaa93297", "score": "0.62905556", "text": "publ...
a1ac9445ca3cb166d17d0c0b308645a2
TODO add test methods here.
[ { "docid": "ea61ac5ee60c29787eb60dd8d9bd4d1c", "score": "0.0", "text": "@Test\n public void newQueueInitializedWithProperValues() {\n assert(queue.getSize() == 0);\n assert(queue.isEmpty());\n }", "title": "" } ]
[ { "docid": "35e5940d13f06d1f0d6a21cf2739c70a", "score": "0.6684874", "text": "public function() {}", "title": "" }, { "docid": "33c6baca4cfdf58a9cc5753b012f0f9a", "score": "0.59431636", "text": "private Helpers() { }", "title": "" }, { "docid": "c4efc9f9911178a27ec9261384...
153476d626dddecc47000e95e014152f
Tests that the "Edit" option, when longclicking on an entry, will take the user to the AddEntryActivity in "Edit" mode, and that the selected entry's information has been autofilled into the input fields
[ { "docid": "a7f09333611e1c54b30bdd8734f57391", "score": "0.77589893", "text": "@MediumTest\n\tpublic void test_entryLongClickEdit_startsActivityCorrectly() {\n\n\t\tcreateTestEntriesAndRefresh();\n\t\tsolo.sleep(500);\n\n\t\t// Long click on the first test entry and press the first option that\n\t\t// a...
[ { "docid": "03e75a7866d2fb4e99ec5e1f7e912906", "score": "0.7042194", "text": "private void handleEditEntry() {\r\n handleEntryDialog(true);\r\n }", "title": "" }, { "docid": "dbedac0f8fcc5a494bfa4547df03b884", "score": "0.6490012", "text": "private void checkEditInput(){\n ...
a8658d0ddd7e5031a1928ecb15925d31
CHECKED for each relation, the following will be set: lexicalCondition, coarseLabel, fineLabel, surfaceString, startCharOffset, endCharOffset, m1, m2
[ { "docid": "1199244d3b0e949ede9d5aded9b5074f", "score": "0.4673993", "text": "private static List<SemanticRelation> readRelationsAnnotationInfo(ArrayList<String> arrAnnotatedLines, List<Mention> mentions) {\n\t\tList<SemanticRelation> relations = new ArrayList<SemanticRelation>();\n\n\t\tHashMap<String,...
[ { "docid": "71580640db763de8810b33f3b21209fa", "score": "0.5205314", "text": "private void set_keys(Tuple outer) {\n CondExpr temp_ptr = OutputFilter[0];\n try {\n switch (temp_ptr.op.attrOperator) {\n case AttrOperator.aopEQ:\n break;\n ...
f880e12b9d2d0a00fac03cacbf057cf1
Created by A7605 on 10218 This method checks the notification message showing on listing nil flight that is not manifested
[ { "docid": "8245869f75aef0014427f54d7504b60c", "score": "0.7330048", "text": "public OPR004 checkNotificationShowingOnListingFlightThatIsNotManifestedAndNil(String uldNo, String carrierCode, String flightNo, String flightDate){\n\t\tuldNo = PropertyHandler.getPropValue(dataFilePath, uldNo);\n\t\tcarrier...
[ { "docid": "61427136a63c5cb6534b08146a207aad", "score": "0.6988431", "text": "public OPR004 checkNotificationShowingOnListingFlightThatIsNotManifested(String uldNo, String carrierCode, String flightNo, String flightDate){\n\t\tuldNo = PropertyHandler.getPropValue(dataFilePath, uldNo);\n\t\tcarrierCode =...
2acf1f0bba78719bcdc5214038f91fe8
Returns whether this instance is empty.
[ { "docid": "0d367f1e2efb3c14d2a20c44b85ba4d6", "score": "0.0", "text": "public boolean isEmpty() {\n // In theory only the EMPTY_TAGS instance will ever be empty, but this check is not expensive.\n return map.isEmpty();\n }", "title": "" } ]
[ { "docid": "f21c396774b38d84069c9aa18ac6ad0a", "score": "0.8583317", "text": "public boolean isEmpty() {\n return this.size() == 0;\n }", "title": "" }, { "docid": "38d13eca01dd9a9e2c3eb8dc36329175", "score": "0.8569038", "text": "public boolean empty() {\n\t\treturn this.s...
19e17bac29709adc1425ca7c7b97bf52
/ SERVER API Test that CloudScript errors can be deciphered
[ { "docid": "0931aaba3dbba76d9bc6a1b031d90965", "score": "0.776569", "text": "@Test\n public void CloudScriptErrorServer()\n {\n PlayFabServerModels.ExecuteCloudScriptServerRequest errRequest = new PlayFabServerModels.ExecuteCloudScriptServerRequest();\n errRequest.FunctionName = \"th...
[ { "docid": "d8ba4b0e3b6f7d96fa899090b44f3335", "score": "0.6027615", "text": "@Test(timeout = 4000)\n public void test097() throws Throwable {\n Level level0 = Level.warn;\n ErrorHandler errorHandler0 = new ErrorHandler(\"Database query did not return a result: \", level0);\n // Undecl...
dd2437cd478a2bbec912d65446f04e3d
Put agent cleanup operations here
[ { "docid": "ad041762f0d6875e9b402e3af5efbb1d", "score": "0.0", "text": "protected void takeDown() {\n // Deregister from the yellow pages\n try {\n DFService.deregister(this);\n }\n catch (FIPAException fe) {\n fe.printStackTrace();\n }\n /...
[ { "docid": "e44b1402ec427ce1bc64069196e9f94f", "score": "0.7795765", "text": "private void cleanup() {\r\n\t\t// TODO Perform any cleanup operations\r\n\t}", "title": "" }, { "docid": "809d7fd4db6cd69555f9035f6dff8459", "score": "0.76031595", "text": "protected void cleanup() {\n ...
ebed9cddb82fd5b9fe087c47d2eb28ec
Prints spaces to format the output
[ { "docid": "d074da69699e79202c9802c3e8ec2d6f", "score": "0.69823086", "text": "public static void printSpaces(int spaces) {\n for (int i = 0; i < spaces; i++) {\n System.out.print(\" \");\n }\n }", "title": "" } ]
[ { "docid": "8b10bdfdac59110b87f4be1bbbd8cd65", "score": "0.78840476", "text": "void addSpaces() {\n\t\tSystem.out.print(\" \");\n\t\tfor (int j = 0; j < 3; j++)\n\t\t\tSystem.out.print(\"| \");\n\t\tSystem.out.println(\"|\");\n\t}", "title": "" }, { "docid": "5d71b4e8b9cfe906966...
114eeeeb052b51643f5a10f6f7575e22
ClusterNode createClusterNode(); boolean clusterAddNode(String clusterName,int nodeCount); boolean clusterNodeAddSlave(ClusterNode master,ClusterNode slave); boolean clusterNodeRemoveSlave(ClusterNode master, ClusterNode slave); ClusterConfig clusterConfig(String clusterName); void freeClusterNode(ClusterNode clusterNo...
[ { "docid": "86baf1ec4954365d763ad1aa777485c4", "score": "0.0", "text": "Info getDataNodeInfo(DataNode dataNode);", "title": "" } ]
[ { "docid": "8b61cdbdb8c73276c83008067db41438", "score": "0.7447052", "text": "Cluster create();", "title": "" }, { "docid": "1b3e9db30a59c1b48fed8cc87bcf9bb2", "score": "0.6488036", "text": "private Cluster createDefaultCluster(String clusterName) throws Exception {\n final String...
30e997a7d5c53fe433575622c9c7aaa1
Perform filter on the given string.
[ { "docid": "0178ba0a120b4a31b6e1d539dbddecd0", "score": "0.0", "text": "@Override\n public ContentTabSubPage filterDocument(final String filter) {\n return filterDocument(filter, ContentTabSubPage.class);\n }", "title": "" } ]
[ { "docid": "010ce86abde9f6c3a01ca6ca83f80cf5", "score": "0.80634475", "text": "public abstract void filter(String filter);", "title": "" }, { "docid": "872319a8e6dd3aceca4a05a342e1eadd", "score": "0.7942779", "text": "String filter(String text);", "title": "" }, { "docid"...
85e81034d4b2fae347781d67c91fa8ac
Return the storage environment for the database.
[ { "docid": "c9928c199f1bcbe126fa47b8a52f989c", "score": "0.57213354", "text": "public final Environment getEnvironment() {\n return env;\n }", "title": "" } ]
[ { "docid": "09a6a67ce627f1f980aa3b8cf15122bc", "score": "0.64046746", "text": "@Override\n public String storageName() {\n return STORAGE_NAME;\n }", "title": "" }, { "docid": "e9f316a607decbd592d02134d56082aa", "score": "0.63922924", "text": "public String getStorage() ...
7c4563aa44ea9097995f0c28e03a19fd
optional int64 mapId = 1;
[ { "docid": "e5589598d6b17b91c44b1aa7c40d1454", "score": "0.6548479", "text": "public long getMapId() {\n return mapId_;\n }", "title": "" } ]
[ { "docid": "b87a7fb51e13a63b39ead324c069c981", "score": "0.7799646", "text": "long getMapId();", "title": "" }, { "docid": "b87a7fb51e13a63b39ead324c069c981", "score": "0.7799646", "text": "long getMapId();", "title": "" }, { "docid": "b87a7fb51e13a63b39ead324c069c981", ...
88d2b52275946c9dd6fc8df1d8b4a4f8
This method asserts a specific webElement is visible on the page or not.
[ { "docid": "f301413a82590bd486e9b8b8250e3647", "score": "0.6646914", "text": "public static void assertElementVisible(WebElement element, String failMessage) {\n\t\tAssert.assertTrue(element.isDisplayed(), failMessage);\n\t\thighLight(element);\n\t}", "title": "" } ]
[ { "docid": "15227df433060bb8939ede8e441c2faf", "score": "0.77086973", "text": "public boolean isElementVisible();", "title": "" }, { "docid": "89ced510ca0312392f2d70b23cd1e9c6", "score": "0.7299738", "text": "private boolean isElementVisible(WebElement uiElement )\n\t{\n\t\t/*\n\t\t ...
3cc21096b6eca779a688539d1968913e
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
[ { "docid": "424329d464dc8d26667223ed377a1464", "score": "0.0", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_goto_home) {\n MenuActions.goToHome...
[ { "docid": "b38497951e8e90a9e28e93a848edf1ee", "score": "0.79731023", "text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\t// Handle action bar item clicks here. The action bar will\n\t\t// automatically handle clicks on the Home/Up button, so long\n\t\t// as you specify a pa...
bc0aece512415d19e0f952d8d3764aa9
Compute average of two numbers
[ { "docid": "948756ef0d149601450f2b36a1da6baf", "score": "0.7543944", "text": "double average(double n1, double n2) {\n\n double sum = n1 + n2; //sum is a local variable\n return sum / 2.0;\n\n //return (n1 + n2) / 2.0;\n }", "title": "" } ]
[ { "docid": "1eff4236f1d7d24e77c623711a7d28e4", "score": "0.8326074", "text": "public double average(int a, int b);", "title": "" }, { "docid": "9a21f4606943373723a21c15cf1a77d1", "score": "0.81992376", "text": "private double calcAverage(int a, int b) {\n return (a + b)/2;\n ...
dad7e1c894f45098b2552e3a33af89a9
Checks if value is Null
[ { "docid": "c6ac5225e69e1d94a89212f8cb9bf925", "score": "0.6342592", "text": "public static boolean isNull(String val) {\n\t\tif (val == null || val.trim().length() == 0) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "0356c4b42871b73210b60f4a3272da5c", "score": "0.8516996", "text": "boolean isValueNull();", "title": "" }, { "docid": "8e5a3722dedae6747fe61e30f37bbe9e", "score": "0.74724185", "text": "public boolean isNull(Object data) throws KettleValueException;", "title": "" }, ...
8fd23b03591ac37e30c43ead6df17641
Returns true if the specified path exists.
[ { "docid": "c3b707d95020b3c3e38fe678c7ecf6c8", "score": "0.67284054", "text": "public boolean exists(String path) {\n boolean exists = false;\n\n if (owfs == null) {\n throw new OwServerUnhandledException(String.format(\"You forgot to run Connect() on OwServerConnection at %s:%s.\", this.host...
[ { "docid": "b0a9d5d1a98694c81aeff2b2fb09c082", "score": "0.86638105", "text": "public boolean doesPathExist(String path) throws IOException;", "title": "" }, { "docid": "ad9d8a8fda55fab900b1e60702005ac8", "score": "0.85210854", "text": "boolean hasPath();", "title": "" }, { ...
4f1308b4552d6390bdb654b4b4d5271a
DELETE action by id
[ { "docid": "29dd75ab239ff5fed6738853154a3e00", "score": "0.76137674", "text": "public int deleteAction(long id){\n SQLiteDatabase db = this.getWritableDatabase();\n\n String selection = ActionsEntry._ID + \" = ?\";\n String[] selectionArgs = { id + \"\" };\n return db.delete(...
[ { "docid": "124efffb198708ac44fe6e0c830bf1d5", "score": "0.7990532", "text": "public void delete(String id);", "title": "" }, { "docid": "124efffb198708ac44fe6e0c830bf1d5", "score": "0.7990532", "text": "public void delete(String id);", "title": "" }, { "docid": "c3eceea6...
08fea3c4e05a3983116cbf93688d04de
Load the driver with the given name
[ { "docid": "4863283cbc4921a04a723f35a18e91f3", "score": "0.8349506", "text": "native boolean loadDriver(String name);", "title": "" } ]
[ { "docid": "fdf445313637bd1a93422276f985ca6b", "score": "0.75611496", "text": "private void loadDatabaseDriver(String driverName) {\r\n //load the Java DB driver\r\n try {\r\n Class.forName(driverName);\r\n } catch (ClassNotFoundException ex) {\r\n ex.printStac...
a9caffb9f75000e6870d942674dff5d7
Unit test designed to test the generation of analogous palettes with an offset of ninety degrees.
[ { "docid": "a69034136cad034162b08f8608bf9b05", "score": "0.7058439", "text": "@Test\n public void testAnalogousPalettesNinety() {\n this.runAnalogousPalette(RGB_RESULTS_NINETY, 90);\n }", "title": "" } ]
[ { "docid": "db0b849da1de0180042ab21968010e73", "score": "0.67746294", "text": "@Test\n public void testAnalogousPalettesThirty() {\n this.runAnalogousPalette(RGB_RESULTS_THIRTY, 30);\n }", "title": "" }, { "docid": "e63e06ab127728ad4d4ff1f9db4f4c5c", "score": "0.62474525", ...
e4534135add54eb471bd583d64f5bcc3
The keyword used to insert a generated value into an identity column (or null). Need if the dialect does not support inserts that specify no column values.
[ { "docid": "2672ff469879eed0cce204f00c72aa3c", "score": "0.62563926", "text": "public String getIdentityInsertString() {\n \t\treturn null;\n \t}", "title": "" } ]
[ { "docid": "7fa97a8a5179c3eacd8d0848cb6b943d", "score": "0.6852523", "text": "public String getIdentityColumnString() {\n\treturn \"not null default autoincrement\"; \n }", "title": "" }, { "docid": "a5f5ce0946e813a4779313e5ad2168c0", "score": "0.6127676", "text": "public String g...
3ab8b40740cfc8150151edd261dfeef0
Request a single accelerometer reading. The accelerometer reading can be accessed by calling accelData() or by adding a listener with addAccelerationListener().
[ { "docid": "89e4fed624d42cf972785ff48fd1638f", "score": "0.65414405", "text": "public void requestAccelData() throws IOException {\r\n accel = null;\r\n sendMessage(CircuitPlaygroundMessageFactory.requestAccelData);\r\n }", "title": "" } ]
[ { "docid": "503461309236f2df43ffabddeeac68ff", "score": "0.6785637", "text": "public Accelerometer() {\n hasAccelerometer = Gdx.input.isPeripheralAvailable(Input.Peripheral.Accelerometer);\n }", "title": "" }, { "docid": "3401efc795389daca180e347b3b20adb", "score": "0.655662", ...
58d670180641f351c7bb5a82dfc61b23
Move the elevator up bump height
[ { "docid": "68aa0300594e4743fd28132e89be1ca0", "score": "0.0", "text": "public void release() {\n if (refGoal2 != 1000) {\n goal = refGoal2;\n refGoal2 = 1000;\n }\n }", "title": "" } ]
[ { "docid": "b077e73a44ab698957afaca14614b4b9", "score": "0.74535686", "text": "public MoveElevatorUp() {\n // Use requires() here to declare subsystem dependencies\n // eg. requires(chassis);\n requires(Robot.elevator);\n \n //heights in inches\n \n currentHeight = Robot.elevator.getE...
7bc4712ac99136268b7e6772ce2b3f7b
(Product Sort Function) This method is used to organise the Product Array in incrementing numerical order.
[ { "docid": "e00654746937d812db8b1c93728893ff", "score": "0.0", "text": "public static ArrayList<Product> organiseProductsByCode(){\r\n\t\tArrayList<Integer> productCodes = new ArrayList<Integer>();\r\n\t\tArrayList<Product> organisedProducts = new ArrayList<Product>();\r\n\t\t\r\n\t\t// Separate the Pro...
[ { "docid": "9b1f4b2278f507ea95bf146382a2ded0", "score": "0.6582963", "text": "private void sortByCatNum() {\r\n\t\tFoodItem temp;\r\n\t\tfor (int i = 0; i < _noOfItems; i++) {\r\n\t\t\tfor (int j = 0; j < _noOfItems-i-1; j++) { //every cell after _noOfItems-i-1 had already been sorted\r\n\t\t\t\tif (_st...
5fbddcdfa5026d2ab3339e79953c358e
optional .wirepas.proto.gateway_api.SendPacketResp send_packet_resp = 7;
[ { "docid": "18352ff93673e09e74adb98e6a884f9e", "score": "0.6953807", "text": "public wirepas.proto.gateway_api.DataMessage.SendPacketRespOrBuilder getSendPacketRespOrBuilder() {\n if (sendPacketRespBuilder_ != null) {\n return sendPacketRespBuilder_.getMessageOrBuilder();\n } else...
[ { "docid": "428bb18327e5c2a12776fff2bf89cc85", "score": "0.85978067", "text": "wirepas.proto.gateway_api.DataMessage.SendPacketResp getSendPacketResp();", "title": "" }, { "docid": "a0125cdb2f7843f37188d76a2cfc6591", "score": "0.8122451", "text": "wirepas.proto.gateway_api.DataMessag...
2cec68ec257fc4a05c0a5e565bf4a7df
optional .gameserver.network.protos.game.Proto_RewardType type = 2;
[ { "docid": "c33da6a44d9dc6b9d6c696cf37435fe3", "score": "0.8048988", "text": "public gameserver.network.protos.game.ProReward.Proto_RewardType getType() {\n return type_;\n }", "title": "" } ]
[ { "docid": "a70616cfedee86596941e90b63135a01", "score": "0.88476706", "text": "gameserver.network.protos.game.ProReward.Proto_RewardType getType();", "title": "" }, { "docid": "a70616cfedee86596941e90b63135a01", "score": "0.88476706", "text": "gameserver.network.protos.game.ProReward...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "b503fc7fa1f36527045b729accf7ab38", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "9813d71a4b724b9d132f23a2cb80322c", "score": "0.70787674", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "609a2904d9d1ff372632b62a06050895", "score": "0.0", "text": "public void onFocusChange(View v, boolean hasFocus) {\n }", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
b25d9c6a35783844f23627c2dd96e479
Marks the current position in this input stream. A subsequent call to the reset method repositions this stream at the last marked position so that subsequent reads reread the same bytes. The readlimit arguments tells this input stream to allow that many bytes to be read before the mark position gets invalidated. The ge...
[ { "docid": "3f1d57066f686d9c098a75e010f17347", "score": "0.8444838", "text": "public synchronized void mark(int readlimit) {\r\n in.mark(readlimit);\r\n mark = position;\r\n }", "title": "" } ]
[ { "docid": "733d72e9b080fdd7b4615f0aad24039b", "score": "0.82319146", "text": "public synchronized void mark(int readlimit) {\n markpos=pos;\n }", "title": "" }, { "docid": "bcac2d91d0eee44d7d1dd8709cfd40b3", "score": "0.7650589", "text": "public void mark(int readAheadLimi...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "786b2c39c0cb35ce441710b590624d8d", "score": "0.0", "text": "public void onClick(DialogInterface dialog, int which) {\n Log.e(\"Selected Item\", String.valueOf(which));\n if (which == 0) {\n callCamera();\n }\n\n\n }",...
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.6671074", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.6567672", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "ti...
6a3d8cf516c58fcad388561d7166bab7
Print and write output message when a site fails
[ { "docid": "c2cfa0cf257b62a85878cb32bf6538da", "score": "0.66739774", "text": "public static void failOutputMessage(Operation operation) {\n String outputMessage = String.format(\"Site %s fails\",\n operation.getSite());\n printAndWrite(outputMessage);\n }", "title": "" } ]
[ { "docid": "9ea9b12dc35246040bd309ce5c076093", "score": "0.6216512", "text": "public void writeContent() {\n \n println(\"<b>Time Series Server Error</b>\");\n println(\"<div class=\\\"error\\\"><pre><blockquote>\");\n \n //Write something useful to the client: message...
fffcc4f54ebf65b539ecb4450d607691
your background task here
[ { "docid": "c2118e232f5c8c4b93554d670bfdbe72", "score": "0.6317657", "text": "@Override \n\t\t\t public void run() {\n\t\t\t\t RestTemplate restTemplate = new RestTemplate();\n\t\t\t\t String fooResourceUrl\n\t\t\t\t = \"http://192.168.43.31:8080/screenmanagement/GetScreenUpdates\";\n\t\t\t\t...
[ { "docid": "2c39a8c4eaca7cd7e166ab0ca48e99f9", "score": "0.81445044", "text": "@Override\n public void run() {\n // do some background work here.\n }", "title": "" }, { "docid": "977898990d60b98769fb86edee3ca0ba", "score": "0.7...
e23bd5a27b3394bd79f5abf45245c83b
/ Access modifiers changed, original: 0000
[ { "docid": "bf9e7408bf0128a006643265a0ca2a13", "score": "0.0", "text": "public void a(ArrayList<q> arrayList) {\r\n this.e = arrayList;\r\n }", "title": "" } ]
[ { "docid": "75f7928617cfc3ffcc874e1653faa425", "score": "0.6460929", "text": "private void O0000O0o() throws java.io.IOException {\r\n /*\r\n r8 = this;\r\n return;\r\n */\r\n throw new UnsupportedOperationException(\"Method not decompiled: defpackage.O00o00.O0000O0o()...
775fd23f509becf733b4d4d9ee0174d4
This is executed on the main thread again which is important because GUI updates cant be done from different threads than the main one. Calling the callback here.
[ { "docid": "57e6dad36d0f396f8993f47cde4d90ed", "score": "0.0", "text": "@Override\n protected void onPostExecute(String response) {\n super.onPostExecute(response);\n if(error!= null) {\n Toast.makeText(context, error, Toast.LENGTH_LONG).show();\n }\n if (succes...
[ { "docid": "a66cae043c35ae3f1e6dc0957e1386bd", "score": "0.68483955", "text": "public void callback() {\n }", "title": "" }, { "docid": "4f8b41a07bc2df5f3b9b5cddd4b50f78", "score": "0.6598432", "text": "@Override\n\t\t\tpublic void callbackCall() {\n\t\t\t}", "title": "" }, ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "afe407f98a228671bc6e4a2fb5e2ec49", "score": "0.0", "text": "@Override\r\n\tpublic boolean shouldFilter() {\n\t\treturn true;\r\n\t}", "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": "" }, ...
e155745095597bd6800db52e9d152d88
Prints the current state of the HVAC system.
[ { "docid": "fae4556fbea18adcf6e80503aabc6def", "score": "0.8686975", "text": "public static void printHVACSystemState() {\r\n \r\n System.out.println(\"----------------------\");\r\n System.out.println(\"System: HVAC\");\r\n System.out.println(\"Current time is: \" + currentTime);\r\n Sys...
[ { "docid": "e32a4b444ce67016c05544038b70bb52", "score": "0.76634645", "text": "public void printState() {\r\n\t\tSystem.out.printf(\"<Bicycle speed=%d noOFGears=%d cadence=%d />\\n\", speed, noOfGears, cadence);\r\n\t}", "title": "" }, { "docid": "b6ebc70f0f45f0e6809c149008e92498", "scor...
3daa32c6491693096bb21f7c3f8e6598
Create a new instance on the given port, with the given registry. Allow several hub to run on the same machine without interacting with each other. Useless in a normal use. Convenient for testing
[ { "docid": "be918f9e89da565d5f0b3a904c43ce26", "score": "0.8115671", "text": "public static Hub getNewInstanceForTest(int port, Registry registry) {\r\n\t\treturn new Hub(port, registry);\r\n\t}", "title": "" } ]
[ { "docid": "07b63b24fab90948f2e60b78e6c23627", "score": "0.66901016", "text": "WithCreate withPort(Integer port);", "title": "" }, { "docid": "6ee29a566c1c971b9b83939fb08bf04a", "score": "0.66079354", "text": "Port createPort();", "title": "" }, { "docid": "6ee29a566c1c97...
d6d01eeb5a2268515ae8038724724dd2
TODO: Warning this method won't work in the case the id fields are not set
[ { "docid": "9e748910b1a2e508264fa4ceafd8c963", "score": "0.0", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Direccion)) {\n return false;\n }\n Direccion other = (Direccion) object;\n if ((this.dirId == null && other.dirI...
[ { "docid": "bc78245d570ba115c32fd79d320c8221", "score": "0.68186736", "text": "private void setId(int id) { this.id = id; }", "title": "" }, { "docid": "91b4d6a7274fd74467c1fed2a60f74c8", "score": "0.6775054", "text": "public void setId (long id) {this.id = id;}", "title": "" }...
0232c1db7eeff848462a74ae6d724a04
! Current state of the thread. Returns the current state of the thread.
[ { "docid": "828348cd14cb28824bfcf648b51b0586", "score": "0.80340785", "text": "public ThreadState getState() {\n return ThreadState.convert(m_thread.getState());\n }", "title": "" } ]
[ { "docid": "431a613dca59e0fc5abcd94d020d796c", "score": "0.8030601", "text": "public Thread.State getThreadState() {\n\t\treturn myRobotThread.getState();\n\t}", "title": "" }, { "docid": "ad7ca67722b5bd29bf79a66da4db4dc3", "score": "0.6839991", "text": "protected ThreadState getThre...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "da84b08dbb23bbf41ad7d927fb107830", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tScanner input =new Scanner(System.in);\n\t\tint [] a=new int [100];\n\t\tint n,m,i,j,max=0;\n\t do\n\t {\n\t\t n=input.nextInt();\n\t\t m=input.nextInt();\n\t\t a[n]=a[n]+m; \n\t }...
[ { "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...
cc15321056b320bb518f9257919e05eb
name: onClick This sets up the various days which the user will choose from and pass off both the week day they selected as well as the previously selected week number.
[ { "docid": "d9770886721e4844ac65223a1aa77dde", "score": "0.7087384", "text": "@Override\n public void onClick (View view){\n String selectedDay =\"\";\n\n if (view == sunday){\n selectedDay =\"sunday\" ;\n }\n if (view == monday){\n ...
[ { "docid": "0cdaee5f44e1ff154edf909d27f5d951", "score": "0.7685955", "text": "default void onWeekdayClicked(WeekdayList currentDays) {}", "title": "" }, { "docid": "0dc261f644474d72ab4d0811b54f02bf", "score": "0.70213634", "text": "public void pickDay(int dayNumber) {\n boolea...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4599b111812cf72ae35a577ac1841348", "score": "0.0", "text": "@Override\n\tpublic void interrupt() throws UnableToInterruptJobException {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "t...
5332936f60df4375ae835e97fcadaa66
/This will use the name and date typed into the boxes and display a message using them when the "Ok" button is pressed
[ { "docid": "a88fdbebaf217841dfc098ccb3c2745b", "score": "0.71668494", "text": "private void okbuttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okbuttonActionPerformed\n String name, date;\n name = entername.getText();\n date = enterdate.getText();\n \n...
[ { "docid": "74977a7adedc6e1027f4468fc8164c40", "score": "0.6760211", "text": "public void dateError() {\r\n\t\tAlert alert = new Alert(AlertType.WARNING);\r\n \talert.setTitle(\"Date Error\");\r\n \talert.setContentText(\"Your input date already exists in the system or \\nYour start date is after ...
f2460ed4da0ddb79b93f0c177e3dbfc1
/public void addService(RentServiceImpl rsi); public void displayService(); public Service getService();
[ { "docid": "dd3a68a0292b3a22ba38a3c2e37768ce", "score": "0.0", "text": "public void insert() throws SQLException;", "title": "" } ]
[ { "docid": "bbd9721e81189ad9dadcc0d438c180bb", "score": "0.7222271", "text": "public Service service();", "title": "" }, { "docid": "98f8f56fdef78e40b1efc6e7c6ac7cdf", "score": "0.7200023", "text": "Service getService(){ return _service; }", "title": "" }, { "docid": "64d...
35dc356fed8488699db8f1569be45f79
should be accurate to better than a microsecond on moder platforms
[ { "docid": "0b898af3583e9dc6d51b628dbbd01517", "score": "0.6884551", "text": "protected long getCurrentTimeMicros() {\r\n return System.nanoTime() / 1000L;\r\n }", "title": "" } ]
[ { "docid": "9f3d9f00b365cbd5b58b72e607c905ff", "score": "0.77287513", "text": "private static double tock()\r\n{ \r\nreturn (System.nanoTime() - startTime) / 1000000.0d; // returns time in milliseconds \r\n}", "title": "" }, { "docid": "6b67105f4837a6143a4134f192c17987", "score"...
d6d01eeb5a2268515ae8038724724dd2
TODO: Warning this method won't work in the case the id fields are not set
[ { "docid": "0a4bf575c168af0a8b1a37b9e15991cc", "score": "0.0", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Usuario)) {\n return false;\n }\n Usuario other = (Usuario) object;\n if ((this.correo == null && other.correo !=...
[ { "docid": "27021e5a41837bbee48bea955f80e960", "score": "0.7190046", "text": "@Override\r\n protected String[] idFields() {\r\n return new String[0];\r\n }", "title": "" }, { "docid": "26849b62db8966bb0c89857458b343fa", "score": "0.6714632", "text": "@Override\r\n\tprote...
b229f199f0e9b8ac92decd6fd16a93a9
$ANTLR end "RULE_TOKEN_REF" $ANTLR start "RULE_NAME_CHAR"
[ { "docid": "30868deb8d381264fb662f24b85c5d47", "score": "0.4837558", "text": "public final void mRULE_NAME_CHAR() throws RecognitionException {\n try {\n // InternalUniMapperGenerator.g:5109:25: ( ( RULE_NAME_START_CHAR | '0' .. '9' | '_' | '\\\\u00B7' | '\\\\u0300' .. '\\\\u036F' | '\...
[ { "docid": "6332e1189f42d8be7ca564f6f23e1c03", "score": "0.69202626", "text": "public final void mRULE_TOKEN_REF() throws RecognitionException {\n try {\n int _type = RULE_TOKEN_REF;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:5107:16...
c71f8df88ecce819611522abd60113c1
This method was generated by MyBatis Generator. This method sets the value of the database column tenants_about_us.add_account
[ { "docid": "b4ec54c94df55ddad24d815cec4403ff", "score": "0.6619713", "text": "public void setAddAccount(String addAccount) {\n\t\tthis.addAccount = addAccount;\n\t}", "title": "" } ]
[ { "docid": "b30da17f887a88981f8aea3b8a89f300", "score": "0.7048824", "text": "public void addAccount(Account account);", "title": "" }, { "docid": "10adf098412e81bf36d86b2ad830eefd", "score": "0.6919045", "text": "public void setAddAccount(String addAccount) {\n this.addAccoun...
6a413c516896d76051a6edc4d8a3d3ef
Delete certificate issuer. Delete a certificate issuer by ID. Example usage: &x60;&x60;&x60; curl X DELETE \\ H &39;authorization: &39; \\ &x60;&x60;&x60;
[ { "docid": "32e31cea3887f1b1d9e3973408cb7a9c", "score": "0.75486857", "text": "@DELETE(\"v3/certificate-issuers/{certificate-issuer-id}\")\n Call<Void> deleteCertificateIssuer(@retrofit2.http.Path(value = \"certificate-issuer-id\",\n encoded ...
[ { "docid": "2feb0ad0ab1c74ea31dafbc45f7c2554", "score": "0.64409274", "text": "public Promise<Result> deleteBadgeIssuer(String issuerId) {\n try {\n Request reqObj = new Request();\n reqObj =\n setExtraParam(\n reqObj,\n ExecutionContext.getRequestId(),\n ...
dc3159b1069b7213457db2317d1450a7
Returns the result of interpreting the object as an instance of 'Service Operation'. This implementation returns null; returning a nonnull result will terminate the switch.
[ { "docid": "8e3904c77f955b7c584f3a2d418c45cb", "score": "0.73826855", "text": "public T caseServiceOperation(final ServiceOperation object) {\n return null;\n }", "title": "" } ]
[ { "docid": "5ffe6afda08b4f8004f3a1f941b435cb", "score": "0.7346593", "text": "public T caseOperation(Operation object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "302b5ceb60db1c90c25b611367fb1fd7", "score": "0.7173157", "text": "public T caseOperation(Operation object)\n {...
273b381dec9d60090017d4f38d1e94f0
inicializo la instancia de la pantalla que modifica al profesional (VentanaModificarProfesional) recibe la lista del profesional seleccionado para editar, el sistema, y el id del profesional
[ { "docid": "9291cc73ce412cf19dd5d372abca55f4", "score": "0.7284951", "text": "public static ControladorModificarProfesional getInstance(Sistema sistema, List<ProfesionalDTO> profesional,int id,UsuarioDTO usuario) {\r\n\t\tif ( INSTANCE == null) {\r\n\t\t\tINSTANCE = new ControladorModificarProfesional(s...
[ { "docid": "2167f0f0d18716ee2a551946bd00c233", "score": "0.66617835", "text": "public void agregarProfesor(Profesor profesor){\n profesores.add(profesor);\r\n \r\n }", "title": "" }, { "docid": "7ef3aec9e2a56b0636f2bee6ea433fd2", "score": "0.65725684", "text": "publi...
6d15b3fe493ed7c56aac8260b9735bbd
sum of all numbers in array
[ { "docid": "d8a0db4b0e9a9e0a22bb80bfd4c4253b", "score": "0.8131093", "text": "public int sumOfAllNumbers(int[] arr) {\n int sum = 0;\n for (int i : arr) sum += i;\n return sum;\n }", "title": "" } ]
[ { "docid": "58ba867e469e0783f56bac3fd0a1ef2e", "score": "0.80799925", "text": "public int getSum(int[] array) { return Arrays.stream(array).sum(); }", "title": "" }, { "docid": "9d79512fa6ba0234f6621e2a553213bf", "score": "0.7972618", "text": "public abstract int sum(int[] values);",...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "8771d4edea1afb48243bdaf80e36f41d", "score": "0.0", "text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n final View view = inflater.inflate(R.layout.fragment_camera, container, fa...
[ { "docid": "e352d0fde191c692db503ebc4af2e55a", "score": "0.68928224", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_team_bio, container,...
f6afdcbcb8144b414e832a58ada4ebb2
Create the markers from JSON.
[ { "docid": "46aaded2880e843dcfb971a0a7471338", "score": "0.0", "text": "private boolean createMarkers() {\n\t\t// Clear any old markers\n\t\tmarkers.clear();\n\n\t\t// Add the markers defined in the LocationStore.\n\t\tint counter = 1;\n\t\tfor (Site place : locationStore.getSites()) {\n\t\t\tDisplay di...
[ { "docid": "0f94af9a339ad23032f9b1a736644ae2", "score": "0.79765725", "text": "void createMarkersFromJson(String json) throws JSONException {\n\t\tJSONArray jsonArray = new JSONArray(json);\n\t\tmap.clear();\n\t\tmarkers.clear();\n\t\tfor (int i = 0; i < jsonArray.length(); i++) {\n\t\t\t// Create a mar...
913dbce656fd61b4d773d6339974366a
Moves the current position of this Ball to the given coordinates
[ { "docid": "754c9ba20555464d043822f4b3169936", "score": "0.0", "text": "public void setYPosition(double y)\n\t{\n\t\tthis.yPosition = y;\n\t}", "title": "" } ]
[ { "docid": "ca2ccd77cf35036d474449da9113be4e", "score": "0.7362276", "text": "public void moveTo(int x, int y) \n {\n setX(x);\n setY(y);\n }", "title": "" }, { "docid": "a06fc12f1a92ab110b6c24373720922b", "score": "0.7069691", "text": "public void move() {\r\n ...
1af5d3cdb41c593d683ac82344fb0b99
Generic method for querying the RDF backend.
[ { "docid": "a236f03a66e5843b71011d0e6606f6d1", "score": "0.0", "text": "public SparqlResult getSparqlQueryResult(String queryStr)\n throws SimalRepositoryException {\n SparqlResult sparqlResult = null;\n QueryExecution qe = null;\n\n try {\n Query query = QueryFactory.create(queryStr)...
[ { "docid": "8c178fe1df2d5362a2af00b602700d1f", "score": "0.65703773", "text": "public abstract String queryToRetrieveData();", "title": "" }, { "docid": "ab362cef41b36ffc69ccacccf8079839", "score": "0.6485353", "text": "public abstract String query() throws Exception;", "title": ...
fd7c1fe8406070b0785edd0e41c429b3
$ANTLR end "rule__DmxFunctionCall__Group__3__Impl" $ANTLR start "rule__DmxFunctionCall__Group__4" InternalSus.g:20823:1: rule__DmxFunctionCall__Group__4 : rule__DmxFunctionCall__Group__4__Impl ;
[ { "docid": "0273603fa76cdf94b49847033717b55a", "score": "0.81257325", "text": "public final void rule__DmxFunctionCall__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:20827:1: ( rule__DmxFunctionCall__Grou...
[ { "docid": "a81d0057f79b87823680a8b4504f57c4", "score": "0.7681203", "text": "public final void rule__DmxFunctionCall__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:20800:1: ( rule__DmxFunctionCall__Group...
b003c718ff9e759d317eb76520a3bb25
$ANTLR end "rule__XVariableDeclaration__Group_3__0__Impl" $ANTLR start "rule__XVariableDeclaration__Group_3__1" ../org.xtext.mongobeans.ui/srcgen/org/xtext/mongobeans/ui/contentassist/antlr/internal/InternalMongoBeans.g:13050:1: rule__XVariableDeclaration__Group_3__1 : rule__XVariableDeclaration__Group_3__1__Impl ;
[ { "docid": "4411b497d9a5dedfa904b24cfd0a4039", "score": "0.81177175", "text": "public final void rule__XVariableDeclaration__Group_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.mongobeans.ui/src-gen/org/xtex...
[ { "docid": "9bff69e33eeba6cf76e636b4966b3bc2", "score": "0.8124188", "text": "public final void rule__XVariableDeclaration__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.mongobeans.ui/src-gen/org/x...
a1922003beec46b84b1bed5b95208b61
deprecated; instead use: AcUspsInternationalRequestedRouteCompactVoTools.Week3Comparator
[ { "docid": "75ba2787c2e7dead6cc8b59a699440a1", "score": "0.81635207", "text": "public static JwComparator<AcUspsInternationalRequestedRouteCompactVo> getWeek3Comparator()\n {\n return AcUspsInternationalRequestedRouteCompactVoTools.instance.getWeek3Comparator();\n }", "title": "" } ]
[ { "docid": "4fb6364b7744036a5c79ec4e95b17129", "score": "0.7572263", "text": "public static JwComparator<AcUspsInternationalRequestedRouteCompactVo> getWeek6Comparator()\n {\n return AcUspsInternationalRequestedRouteCompactVoTools.instance.getWeek6Comparator();\n }", "title": "" }, ...
44e2470b3e1f9abe49a20dbf0ca60eff
Method getAccountInfoForUser will return the AccountInfo object for the specified user name.
[ { "docid": "fdc33fd6e16433d36b27356a00333b2d", "score": "0.6670931", "text": "public AccountInfo getAccountInfoForUser(String username) {\n List<AccountInfo> accountInfosForUser = getEntityManager().createQuery(QUERY_TO_GET_ACCOUNTINFO_BY_USERNAME + username + \"'\", AccountInfo.class).getResultL...
[ { "docid": "d1dbd6f08d62c45c40c7bd2b245a42ea", "score": "0.62763184", "text": "public Account getAccount(AccountInfo accountInfo) throws RemoteException;", "title": "" }, { "docid": "f17b349233e46e0b2785fc1936850312", "score": "0.62523544", "text": "@Override\r\n public AccountInf...
63fc2bf2b7406298b613257469b1cf94
Set an ID of a topic to exclude all Communote entities from the result set which are already a member of that topic
[ { "docid": "9dad44c3034848a7d97aa39dd3289ad8", "score": "0.0", "text": "public void setExcludedAssignedToBlogId(Long excludedAssignedToBlogId) {\r\n this.excludedAssignedToBlogId = excludedAssignedToBlogId;\r\n }", "title": "" } ]
[ { "docid": "744efcc8ea5f55b6eb52a08076932146", "score": "0.5632562", "text": "public void updateTopic(Topic topic, String id) {\n\tfor(int i=0;i<l.size();i++)\n\t{\n\t\tif(l.get(i).getId().equals(id))\n\t\t\tl.set(i,topic);\n\t}\n\t\n}", "title": "" }, { "docid": "5bfbf4dbba7f07e621e34d214f4...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "73384607dc9c66f9af0c9a0fc37b016a", "score": "0.0", "text": "private int m13681a(int i) {\n int i2 = 0;\n if (i > 0) {\n int length = this.f12877a.length;\n while (true) {\n length--;\n if (length < this...
[ { "docid": "e8b407e15e709133d36c40b376c5772b", "score": "0.6288352", "text": "@C4056a\n /* renamed from: a */\n public abstract Object mo18472a(String str);", "title": "" }, { "docid": "b7e8cbc10834bded8ca03375afdf1d79", "score": "0.6287218", "text": "public interface C35231a {...
19aef653cca0920db884123049d633b6
this method is used to reorganize the inventory and resort it this gets rid of all items that are either null or have a stacksize of 0 Call this only when inventory has changed, not when simulating!
[ { "docid": "3415c6fb49b2495761dd0b2ca5f494ea", "score": "0.73910767", "text": "public void onInventoryChanged()\n\t{\n\t\tfor (int i = 0; i < this.items.length; i++)\n\t\t{\n\t\t\tItemStack stack = this.items[i];\n\t\t\tif (stack != null && stack.stackSize <= 0)\n\t\t\t{\n\t\t\t\tthis.items[i] = null;\n...
[ { "docid": "129d031f1669469e8bb2ac94ff198024", "score": "0.67343783", "text": "public ItemStack transferStackInSlot(EntityPlayer playerIn, int index) {\n/* 79 */ ItemStack var3 = null;\n/* 80 */ Slot var4 = this.inventorySlots.get(index);\n/* */ \n/* 82 */ if (var4 != null && var4...
d875fd8a3b4d4411115d4316a29f7c83
Return the left child of the RedBlack Tree
[ { "docid": "dd38008e84930f0f290aa7e5efcf3c34", "score": "0.6778258", "text": "abstract RedBlack<K,V> getLeft();", "title": "" } ]
[ { "docid": "599fba7eb908891c3f97b98ecacb223a", "score": "0.8280051", "text": "TreeNode getLeft()\r\n {return leftChild;}", "title": "" }, { "docid": "e7cb9282283d78f25e017085f7f4ee27", "score": "0.8138439", "text": "protected BinaryNode getLeftChild() {\n\t\t\treturn this.left...
ec0a47e6e8840242d933962a4261c709
Wechat facade bean definition.
[ { "docid": "6975b30dce131732a07ee39b367c401d", "score": "0.7992765", "text": "@Bean(name = \"wechatFacade\")\n public Facade<Pair<String, String>, String> wechatFacade() {\n return new WechatFacade();\n }", "title": "" } ]
[ { "docid": "70ad67218124b001247045fc4440bbad", "score": "0.7090141", "text": "public interface WechatService {\n\n\n}", "title": "" }, { "docid": "e685afb8c9f739c5884ab71cc229f6b3", "score": "0.6430297", "text": "public interface WxChatService {\n public String getToken();\n pu...
cb8337e7ef5b80141dfdf9b55746fc98
Calculate distance from origin
[ { "docid": "3014544b123e7b79f9855219e9d2a910", "score": "0.734226", "text": "public double originDistance() \r\n {\r\n //Creating distance variables\r\n double distance1 = 0;\r\n double distance2 = 0;\r\n //Looping through the points\r\n for (int i = 0; i < n; i++) ...
[ { "docid": "00d9407882a2dba0124e2eb3d86c0be3", "score": "0.8204328", "text": "public double distanceFromOrigin(){\r\n return Math.sqrt(x* x+y * y);\r\n }", "title": "" }, { "docid": "c7cb2f18096063c08d425d24d93769df", "score": "0.8039991", "text": "public double distanceFro...
6eeddeada88553b89cb3e931ef3b2300
repeated .rpcpb.TxDetail txs = 10;
[ { "docid": "4077b00acc6fbd0e30cb2254ce1727f7", "score": "0.45675585", "text": "public TxDetail.Builder getTxsBuilder(\n int index) {\n return getTxsFieldBuilder().getBuilder(index);\n }", "title": "" } ]
[ { "docid": "a9208abc4582fe7dceb431cf5c962fda", "score": "0.5541734", "text": "public void setTrxs(Integer trxs) {\n this.trxs = trxs;\n }", "title": "" }, { "docid": "26b342054e08b327e6b14512541305f0", "score": "0.54458386", "text": "public java.util.List<? extends TxDetail...
ab43c5ea38fe699811b5852baaf5fb8d
Chaining setter for modifiers field
[ { "docid": "c23673a0c86f310c4e76b6e4748d4069", "score": "0.55649626", "text": "public TypeRef modify(int i) {\n modifiers = i;\n return this;\n }", "title": "" } ]
[ { "docid": "0d2b8c9d3c3865f0244b3bd41806df68", "score": "0.68417305", "text": "public static void setFieldModifier(Field field, int modifiers){\n try {\n MODIFIER_FIELD.setInt(field, modifiers);\n } catch(IllegalAccessException e) {\n e.printStackTrace();\n }\n...