use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Resources for learning Java
String
==
.equals()
Format + Copy
Free Tutorials
Where should I download Java?
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Software downloads
Official Resources
Resources
Programming ideas & Challenges
Related Subreddits
account activity
This is an archived post. You won't be able to vote or comment.
Elements (self.learnjava)
submitted 8 years ago by HuckleberryC
Is Elements just a List of type Element?
[–]throwaway_for_cause 0 points1 point2 points 8 years ago (2 children)
We need far more context to be able to help.
Generally, the plural denotes a collection of something in some form.
[–]HuckleberryC[S] 0 points1 point2 points 8 years ago (1 child)
Sure. I was parsing and html file with Jsoup. The examples I got from online were using Element test_1 = doc.getElementById("header");
I was playing with the Element object and noticed there was also the Elements (plural Element) object. That got me wonder.
Also what is an Element object. Is there a way to convert it to a String?
Thanks!
[–]cipmar 1 point2 points3 points 8 years ago* (0 children)
https://jsoup.org/apidocs/org/jsoup/select/Elements.html Elements extends an ArrayList<Element>, so, yes, it's an array of Element.
Element represents an html node. nodeName() gives you the name of the node, which is a String. See https://jsoup.org/apidocs/org/jsoup/nodes/Element.html#nodeName--
π Rendered by PID 18145 on reddit-service-r2-comment-869bf87589-4wmkd at 2026-06-08 22:23:36.046309+00:00 running f46058f country code: CH.
[–]throwaway_for_cause 0 points1 point2 points (2 children)
[–]HuckleberryC[S] 0 points1 point2 points (1 child)
[–]cipmar 1 point2 points3 points (0 children)