mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/observation/TestGuiObservation.java
private List<RelatedObservationIdentity> makeListOfRelatedObservation(List<Boolean> foundList, 
            List<ObservationSubTypeEnum> typeList)
    {
        List<RelatedObservationIdentity> answer = new ArrayList<>();
        
        for (int i = 0; i < typeList.size(); i++)
        {
            RelatedObservationIdentity id = new RelatedObservationIdentity(foundList.get(i), typeList.get(i));
            answer.add(id);
        }
        
        return answer;
    }
/**
     * Creates a list of related observation identity models. Assumes both lists are the same size and
     * that each ith position of each list relate to one related observation.
     * @param foundList
     *  whether or not the observation can be found in the observation store.
     * @param typeList
     *  the type of the related observation
     * @return
     *  a list of related observation identity elements
     */
Creates a list of related observation identity models. Assumes both lists are the same size and
that each ith position of each list relate to one related observation.
@param foundList
whether or not the observation can be found in the observation store.
@param typeList
the type of the related observation
@return
a list of related observation identity elements
Creates a list of related observation identity models . Assumes both lists are the same size and that each ith position of each list relate to one related observation . @param foundList whether or not the observation can be found in the observation store . @param typeList the type of the related observation @return a list of related observation identity elements
private List<RelatedObservationIdentity> makeListOfRelatedObservation(List<Boolean> foundList, 
            List<ObservationSubTypeEnum> typeList)
    {
        List<RelatedObservationIdentity> answer = new ArrayList<>();
        for (int i = 0; i < typeList.size(); i++)
        {
            RelatedObservationIdentity id = new RelatedObservationIdentity(foundList.get(i), typeList.get(i));
            answer.add(id);
        }
        return answer;
    }
private List < RelatedObservationIdentity > makeListOfRelatedObservation ( List < Boolean > foundList , List < ObservationSubTypeEnum > typeList ) { List < RelatedObservationIdentity > answer = new ArrayList < > ( ) ; for ( int i = 0 ; i < typeList . size ( ) ; i ++ ) { RelatedObservationIdentity id = new RelatedObservationIdentity ( foundList . get ( i ) , typeList . get ( i ) ) ; answer . add ( id ) ; } return answer ; }
Creates a list of related observation identity models.
Creates a list of related observation identity models .