Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6170443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:02:12+00:00 2026-05-23T23:02:12+00:00

First, check out this document first: http://htmlcleaner.sourceforge.net/doc/org/htmlcleaner/TagNode.html It have a function called: getAllElementsList(boolean isRecursive).

  • 0

First, check out this document first:

http://htmlcleaner.sourceforge.net/doc/org/htmlcleaner/TagNode.html

It have a function called:

getAllElementsList(boolean isRecursive).

and it will return me something called:

List

Ok, when I go to this the document of “List”, I check this:
http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html

Which is an interface:

public interface List<E> extends Collection<E>

My question is….What does it expand me to do? He want me to have an object which implemented the List interface can get be used as a return type?

Also, what is the <E> means? Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:02:13+00:00Added an answer on May 23, 2026 at 11:02 pm

    Yes, you need to return anything that implements List<E>, e.g. ArrayList<E> or LinkedList<E>.

    The <E> is a generic type, i.e. you can replace it with a concrete class or interface, e.g. List<Integer> to define the list to contain Integer objects only.

    Note that List and List<E> are different, with generic type checking being disabled for the former. If the method has the return type List it’s most probably old code or for compatibility reasons with Java prior to 1.5. Nowadays you’d most probably use List<?> as the return type if that wouldn’t matter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First check out this code. I seems like it should work for me, but
So this question will get technical – eventually – but first check out Hanselminutes
Check out http://wouter.howafarms.com/faq The goal is to have answers be expanded on click. As
Have check boxes 1-300. This JS function alerts user when nothing is selected. Function
Check this out First thing!! so this guy posts how to do this on
this is my first question here :) I know that I should not check
This is the beginning -- I have a file on disk which is HTML
I have three code. This is the first one in which I get the
So first check out my line of code below: $env_config['tmpl_file_basepath'] = DOC_ROOT . '/tpl/';
I have been trying to figure this out all afternoon with no luck. On

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.