Skip to main content

Home/ SoftwareEngineering/ Group items tagged ListCollectionView

Rss Feed Group items tagged

kuni katsuya

ListCollectionView/ArrayCollection tip for using GraniteDS - Ross Henderson - 0 views

  • The reason why GraniteDS generates properties of type ListCollectionView is simple : it internally uses collections implementations that extend ListCollectionView and not ArrayCollection. But as you have described when you manually assign collections, you should use ArrayCollection. It’s exactly the same as in Java when you do List list = new ArrayList().
  • ListCollectionView/ArrayCollection tip for using GraniteDS
  • new ListCollectionView();
  • ...4 more annotations...
  • instead of this:
  • do this:
  • new ArrayCollection();
  • I’m not really sure what the deal is
    • kuni katsuya
       
      see comment from william (wdrai) below (graniteds guy)
kuni katsuya

Google Groups - 0 views

  • new ArrayCollection();
  • new ArrayCollection();
  • new ArrayCollection();
  • ...6 more annotations...
  • new ArrayCollection();
  • new ArrayCollection();
  • You cannot serialize ListCollectionView instances directly. Use ArrayCollection instead in your constructor :
  • new ArrayCollection();
  • ListCollectionView to List<E> conversion
  • send a ListCollectionView object to a java method that accepts a java.util.List, I get a NoSuchMethodException.
1 - 2 of 2
Showing 20 items per page