• Post Reply Bookmark Topic Watch Topic
  • New Topic

Remove specific data from object  RSS feed

 
Obaida Thnibat
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , I have object has serialized to a file .. and i have used hashTable to store that object ..
in the object there is Array list of another object (composition) ..
How can i remove specific object from the array list into main object from that file ..

The class called Account content these data :
private String EmailID;
private String Password;
private String Name;
private String Country;
private GenderType Gender; // enum
private ArrayList<String> Contacts ;
private String BirthDay;
private String CreationDate;
private ArrayList<Folder> Folders;

how can i remove specific folder and remove specific contact without remove whole main object (Account) or whole the array ?
 
Obaida Thnibat
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have got the answer ,, Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!