Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(Object par : paragraphs){
- P p = (P) par;
- List<Object> texts = getAllElementFromObject(p, Text.class);
- for(Object text : texts){
- Text t = (Text)text;
- if(t.getValue().contains(toFind)){
- //here i want to insert the comment for this text
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement