Get the list of all of the spouses of this person.

@return the list of spouses.
339072
public List<Person> getSpouses() {
        final List<Person> spouses = new ArrayList<>();
        for (final FamilyNavigator nav : familySNavigators) {
            final Person spouse = nav.getSpouse(visitedPerson);
            if (spouse.isSet()) {
                spouses.add(spouse);
            }
        }
        return spouses;
    }
1016184
public List<T> getAll() {
		List<T> result = new ArrayList<T>();
		if (nodes != null)
			for(Node element : nodes) 
				result.add(getCachedOrNewRepresentation(element));
		return result;
	}
	
	public int size() {
		return nodes.size();
	}
	
	public T get(int index) {
		return getCachedOrNewRepresentation(nodes.get(index));
	}
		
	public Iterator<T> iterator() {
		return getAll().iterator();
	}
}
486269
public java.util.List<CaseDetails> getCases() {
        if (cases == null) {
            cases = new com.amazonaws.internal.SdkInternalList<CaseDetails>();
        }
        return cases;
    }
698265
public List<TargetRelationship> getTargetRelationships() {
        final List<TargetRelationship> relationships = new ArrayList<TargetRelationship>(levelRelationships);
        relationships.addAll(topicTargetRelationships);
        return relationships;
    }
1049156
public java.util.List<String> getMemberClusters() {
        if (memberClusters == null) {
            memberClusters = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return memberClusters;
    }
627876
public static function getChoices() {
        return [
            self::MARITAL_STATUS_EMPTY    => "choices.marital-status.empty",
            self::MARITAL_STATUS_SINGLE   => "choices.marital-status.single",
            self::MARITAL_STATUS_PACS     => "choices.marital-status.pacs",
            self::MARITAL_STATUS_MARRIED  => "choices.marital-status.married",
            self::MARITAL_STATUS_WIDOWER  => "choices.marital-status.widower",
            self::MARITAL_STATUS_DIVORCED => "choices.marital-status.divorced",
        ];
    }
374741
public List<Index<SecondaryTable<T>>> getAllIndex()
   {
      List<Index<SecondaryTable<T>>> list = new ArrayList<Index<SecondaryTable<T>>>();
      List<Node> nodeList = childNode.get("index");
      for(Node node: nodeList)
      {
         Index<SecondaryTable<T>>  type = new IndexImpl<SecondaryTable<T>>(this, "index", childNode, node);
         list.add(type);
      }
      return list;
   }
358513
public List<TargetRelationship> getRelatedLevelRelationships() {
        final ArrayList<TargetRelationship> relationships = new ArrayList<TargetRelationship>();
        for (final TargetRelationship relationship : levelRelationships) {
            if (relationship.getType() == RelationshipType.REFER_TO) {
                relationships.add(relationship);
            }
        }
        return relationships;
    }
294537
protected final List<Person> getChildren(final Family family) {
        final FamilyNavigator navigator = new FamilyNavigator(family);
        return navigator.getChildren();
    }
957449
public List<Relationship> getNextRelationships() {
        final List<Relationship> nextRelationships = new LinkedList<Relationship>();
        for (final Relationship r : relationships) {
            if (r.getType() == RelationshipType.NEXT) {
                nextRelationships.add(r);
            }
        }
        return nextRelationships;
    }
924809
public List<String> getAll() {
		List<String> values = new ArrayList<String>();
		for (DataColumn column : columns) {
			values.add(content.get(column));
		}
		return values;
	}
688543
public List<User> findAllUsers() {
        List<User> list = new ArrayList<>();
        List<String> usernames;
        try {
            usernames = readLines(usersFile);
        } catch (IOException e) {
            throw new FileBasedRuntimeException(e);
        }
        for (String username : usernames) {
            if (StringUtils.isNotBlank(username)) {
                list.add(new User(username));
            }
        }
        
        return list;
    }
753892
public List<ITenant> getTenantsList() {
        List<ITenant> rslt = new ArrayList<ITenant>(tenantDao.getAllTenants());
        Collections.sort(rslt);
        return rslt;
    }
42465
public List<T> getList() {
    final ArrayList<T> list = new ArrayList<T>();
    for (final Entry<T, AtomicInteger> e : this.map.entrySet()) {
      for (int i = 0; i < e.getValue().get(); i++) {
        list.add(e.getKey());
      }
    }
    return list;
  }
311263
public static Collection<Component> getComponentsList() {
    TransactionLogger instance = getInstance();
    if (instance == null) {
      return null;
    }

    return instance.components.values();
  }
1351479
public java.util.List<ReservedInstances> getReservedInstances() {
        if (reservedInstances == null) {
            reservedInstances = new com.amazonaws.internal.SdkInternalList<ReservedInstances>();
        }
        return reservedInstances;
    }
1242465
public java.util.List<SMBFileShareInfo> getSMBFileShareInfoList() {
        if (sMBFileShareInfoList == null) {
            sMBFileShareInfoList = new com.amazonaws.internal.SdkInternalList<SMBFileShareInfo>();
        }
        return sMBFileShareInfoList;
    }