Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-build] [eclipse/ice] 380ddd: First pass at converting ResourceComponent to a su...

If what you're doing is trying to return a copy of the list of child ICEResources managed by the ResourceComponent, you could just return new ArrayList<ICEResource>(this). ResourceComponent is a sub-class of a Collection implementation.

Jordan
Jordan Deyton
Oak Ridge National Laboratory
Telephone: (865) 574-1091
Email: deytonjh@xxxxxxxx
On 1/30/2015 8:19 PM, Jay Jay Billings wrote:

Anna,

What about just looping over each element using ListComponent.get()?

Jay

On Jan 30, 2015 6:02 PM, "GitHub" <noreply@xxxxxxxxxx> wrote:
  Branch: refs/heads/anna/postprocessing
  Home:   https://github.com/eclipse/ice
  Commit: 380ddd7a48254c9bfdf12f4c7d7aa703b85436cd
      https://github.com/eclipse/ice/commit/380ddd7a48254c9bfdf12f4c7d7aa703b85436cd
  Author: Anna Wojtowicz <wojtowicza@xxxxxxxx>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/ResourceComponent.java

  Log Message:
  -----------
  First pass at converting ResourceComponent to a subclass of
ListComponent. Still need to figure out a different way to implement
getResources(). (Preferably in a way that doesn't break everything...)

Signed-off-by: Anna Wojtowicz <wojtowicza@xxxxxxxx>



_______________________________________________
ice-build mailing list
ice-build@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-build



_______________________________________________
ice-build mailing list
ice-build@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-build


Back to the top