Commit Graph

177 Commits

Author SHA1 Message Date
shahrir11
8e5762801c Add section: ASSIGNMENT Operators explained wit example (#34029) 2019-07-05 12:28:02 -07:00
Nikola Stevanović
56588a0cd4 Added Stack class (#33956)
Added Stack class, what's about and methods being used inside of it.
2019-07-01 20:51:19 -05:00
Terry Lewis
bd05989c0b Created a section on using reflection with Java (#33429)
This is the beginning of a reflection section for Java. Other topics to cover should include overriding methods and calling private methods.
2019-07-01 20:36:27 -05:00
Farai Mugaviri
6d115ae515 Add a Condition for Garbage Collection Eligibility (#29334) 2019-06-27 22:45:39 -07:00
Rohan Bansal
85ffd4bfcf Detailed examples of controls (#28949)
To add interest, I extended the description of controls to encompass the things you can do with JavaFX.
2019-06-27 19:12:57 -07:00
Travis Gayle
5e7c9a1807 Add information on interfaces and lambdas. (#31524) 2019-06-27 15:10:20 -07:00
Daniele
1f01c3d90f Arrays.asList() explanation (#33522)
Updated with a brief explanation of the Arrays.asList() function with example.
2019-06-27 12:21:41 -07:00
SimonFuet
080c0ae12b Add FastUtil lists for lists of primitives (#29282)
* Add FastUtil lists for lists of primitives

* fix: rearranged content
2019-06-27 11:49:34 -07:00
Shamp
307b0dedb3 Update index.md (#29218)
Added reason to choose Vectors or Arraylist (in terms of synchronization)
2019-06-27 11:07:58 -07:00
sri vatsav
89b96e8c52 Enums in Java (#30882)
* Enums

Defining , accessing and comparison of enums to strings.

* fix: added .md to file

* fix: renamed file to index.md

* Formatting and syntax changes
2019-06-26 20:10:29 -04:00
Shoaib
9cccd52aec constructor in abstract class (#29329)
Have added some information in abstract classes
2019-06-25 09:51:06 -07:00
Nikola Stevanović
645bd75e78 Refer to constructor from current class (#33979)
* Refer to constructor from current class

Refer to constructor from current class

* change Java to java
2019-06-17 10:22:08 +01:00
Ahmad Abdolsaheb
d24778ceb8 fix: replace imgur URLs with s3 URLs for files with potential conflict (#36049)
* fix: replace imgur with s3 for files with potential conflict

(cherry picked from commit 4ec62c0e29a64b0288eade45fb510f25c622945a)

* fix/remote extra link

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* fix: revert change
2019-06-12 11:19:43 +03:00
Saboor Elahi
bd065c1a0e Information about constructors is elaborated. (#29852)
Information about empty constructors and parametrized constructors in Java is elaborated & default behavior of java is described.
2019-05-27 08:21:45 -07:00
Ahmad Abdolsaheb
a16539becf fix: replace imgur with s3 for english guide without conflict (#36053)
* fix: imgur to s3 for englsh guide without conflict

(cherry picked from commit 9c9f15abf4e755feab79ef7090dacdcf497ea7b6)

* fix: revert unrelated changes
2019-05-20 23:54:51 +05:30
J4unty
44561ae524 Java stream additions (#33003)
* Reworked Java Streams

* Added Stream  examples for parallel streams
2019-05-14 21:10:18 -07:00
Julian Krieger
0ed2246708 Nearer specified collect function (#32430)
Added an example to specify how collecting works
2019-05-14 19:27:50 -07:00
Wei Hung Chin
4f223e68d0 Add new example (#30133)
Added example of using map operator to get a list of object properties from a list of objects
2019-05-14 19:19:59 -07:00
Randy Janecek
23cc43c301 Fixed typo, improved readability. (#32580) 2019-05-11 21:55:33 +05:30
SimonFuet
98f52a448e Add ternary operator to control flow statements (#29269)
* Add ternary operator to control flow statements

* Remove external links, formatted code and removed useless codeblock
2019-04-17 17:31:20 +05:30
Elenaires
4f130313d8 fixed rocket images (#30737)
fixed rocket images by updating the urls
2019-04-15 15:47:26 +05:30
Randy Janecek
bc84a7eb67 fixed typos (#32588) 2019-04-14 10:07:40 +05:30
Straighter
ed601af6d8 Fixed typo (#29790) 2019-04-12 22:34:22 +05:30
BoopMehNose
0cb6c25d84 Updated String Category (grammatical updates and specifications).md (#33779)
* Update index.md

Updated descriptions for the String category, specified that strings are objects. Corrected grammatical error.

* Update index.md
2019-03-31 23:43:25 +05:30
Daniel Damilare
2353a3c02a Update index.md (#29031) 2019-03-29 18:10:05 -04:00
SakshamGupta1995
78949d9f61 Add Case conversion functions to the article (#26922)
* Add Case conversion functions to the article

These functions tell the programmers about converting their string data type value either into upper case letters or lower case letters.

* Fix formatting and phrasing
2019-03-29 05:22:17 -04:00
seanjs
c606946c5c Realign a different indentation (#28409)
for the line of "Collections.sort(variable_nale);"
2019-03-28 19:44:43 -04:00
Nikola Stevanović
043676aa90 Added one more rule for POJO (#33895)
Added one more rule that has to be obeyed when creating POJO.
2019-03-24 10:26:06 -07:00
saicharanc
b4e30483cc POJO (#28712)
More info about POJO classes
2019-03-24 09:42:06 -07:00
Rajiv Ranjan Singh
2494f0f2e5 Fixed Typographical Error in guide/english/java/index.md (#35649)
* Update index.md

* fixed some typo error
2019-03-23 16:01:35 -04:00
BoopMehNose
c7f8f8f75a Exemplification changes (#33903)
* Exemplification

Provided more comments on the coding portions to show what each line does in respect to the program. Also specified what happens when "==" is used when the "equals()" method should be employed.

* Formatting
2019-03-23 16:06:56 +05:30
sri vatsav
b7c93579bf Updated with Object equality. (#30911)
* updated with Object equality.

Usage of .equals() and .hashCode() methods of Java Object.

* Fix spacing

* Added code formatting
2019-03-22 19:27:04 -04:00
Mihir Rathwa
af9a3468aa Fixed Rocket icon for "Run Code" (#26600) 2019-03-22 15:54:25 +05:30
Mihir Rathwa
5bf9807fce Fixed Rocket icon for "Run Code" (#26595) 2019-03-21 01:30:51 +05:30
heavyslobs
938ed336e0 Making the description gender neutral (#28152) 2019-03-16 00:28:27 +05:30
Aaditree
1282227c24 Infinite loop, fixed iteration (#29697) 2019-03-15 23:51:30 +05:30
FireHawk01
ddabb9ef0f Fixed grammatical errors (#32497) 2019-03-15 13:43:39 +05:30
Ekin Eryilmaz
194c1bdcb2 Highlighted some words. (#27975) 2019-03-15 13:31:48 +05:30
jamiesteck
46b10c2f65 added method overloading (#28813)
* added method overloading

added a section describing method overloading

* Update index.md
2019-03-15 13:11:52 +05:30
howieandersen
da84162282 added basic information about default constructors in the index file for methods (#29797) 2019-03-15 12:33:22 +05:30
Mihir Rathwa
e47ae0f660 Fixed Rocket icon for "Run Code". (#26583) 2019-03-15 12:28:14 +05:30
jamiesteck
4f0f87c124 Added example of using == instead of = (#28790)
* Added example of using == instead of =

Added example of using == instead of = when comparing primitive types.

* Update index.md
2019-03-15 12:23:09 +05:30
SakshamGupta1995
ef8c5e5bfa Add equalsIgnoreCase to the file (#27662)
The function equalsIgnoreCase() is also used for comparing the equality of 2 strings.
2019-03-15 12:19:06 +05:30
Marko
ccfb6444f1 Added Constructor Chaining (#28232)
Added Constructor Chaining
2019-03-15 12:14:16 +05:30
SpeedX
a57baf07fd Fixed Logical error (#31639)
Fixed Logical Error in the Second program
2019-03-15 11:55:33 +05:30
dannyphan2910
3a05e44af7 Added some information about variable in 'for' loop (#31440) 2019-03-15 11:54:24 +05:30
TrangNgu65
6ca11755a2 Grammatical errors (#28793)
Fixed spelling errors.
2019-03-07 13:10:17 -08:00
Manish Giri
9a8e961c59 fix(guide): Fix java index.md heading level (#35326) 2019-03-03 19:50:16 -08:00
Alex
82e42bc21c Added in on good v. bad comments (#29942)
Added paragraph about best commenting practices in the introduction and relevant FreeCodeCamp link in the More Information section.
2019-02-23 16:06:57 -05:00
Shamp
06fe81b587 good practice for java doc (#29252)
good practice for java doc
2019-02-23 15:17:24 -05:00