You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful for jOOX to offer Match.attrNames(), a method that returns all distinct attribute names in their order of appearance, e.g.:
<aa1=".."a2=".."/>
<aa1=".."a3=".."/>
When matching the above with m.find("a").attrNames() would return [a1, a2, a3].
The return type Set<String> should help distinguish the semantics from the usual List<T> result, where the List index corresponds to the Match index. An alternative would be to return List<Set<String>>, but that doesn't look too useful
The text was updated successfully, but these errors were encountered:
It would be useful for jOOX to offer
Match.attrNames()
, a method that returns all distinct attribute names in their order of appearance, e.g.:When matching the above with
m.find("a").attrNames()
would return[a1, a2, a3]
.The return type
Set<String>
should help distinguish the semantics from the usualList<T>
result, where theList
index corresponds to theMatch
index. An alternative would be to returnList<Set<String>>
, but that doesn't look too usefulThe text was updated successfully, but these errors were encountered: