<commit_before>package com.smokeyhotel.management.reservation;

import com.smokeyhotel.people.Person;
import com.smokeyhotel.people.guest.Guest;
import com.smokeyhotel.room.Room;

public class Reservation {
	
	private Guest master;
	private Room rooms[];
	
	public Reservation(Guest master, Room rooms[])
	{
		this.master = master;
		this.rooms = rooms;
	}

	public Room[] getRooms()
	{
		return this.rooms;
	}

	public int[] getRoomNumbers()
	{
		int[] rNumbers = new int[rooms.length];
		for(int i = 0; i <rooms.length; i++)
		{
			rNumbers[i] = rooms[i].getNumber();
		}
		return rNumbers;
	}
	

	public Guest[] getOccupants()
	{
		int guests = 0;
		for(int i = 0; i < rooms.length; i++)
		{
			for(int j = 0; j < rooms[i].getOccupants().length; j++)
			{
				
				guests++;
			}
		}
		Guest[] fatMen = new Guest[guests];
		int index = 0;
		for(int i = 0; i < rooms.length; i++)
		{
			for(int j = 0; j < rooms[i].getOccupants().length; j++)
			{
				index++;
				fatMen[index] = 
			}
		}
		return fatMen;
		
	}
	
	public Guest getMaster() {
		return master;
	}
	

	public void setMaster(Guest master) {
		this.master = master;
	}

}<commit_msg>Add getOccupants() implementation<commit_after>package com.smokeyhotel.management.reservation;

import java.util.ArrayList;

import com.smokeyhotel.people.Person;
import com.smokeyhotel.people.guest.Guest;
import com.smokeyhotel.room.Room;

public class Reservation {
	
	private Guest master;
	private Room rooms[];
	
	public Reservation(Guest master, Room rooms[])
	{
		this.master = master;
		this.rooms = rooms;
	}

	public Room[] getRooms()
	{
		return this.rooms;
	}

	public int[] getRoomNumbers()
	{
		int[] rNumbers = new int[rooms.length];
		for(int i = 0; i <rooms.length; i++)
		{
			rNumbers[i] = rooms[i].getNumber();
		}
		return rNumbers;
	}
	

	public Guest[] getOccupants()
	{
		ArrayList<Guest> guests = new ArrayList<>();
		for(int i = 0; i < rooms.length; i++)
		{
			for(int j = 0; j < rooms[i].getOccupants().length; j++)
			{
				
			}
		}
		// Convert to array
		return (Guest[]) guests.toArray();
	}
	
	public Guest getMaster() {
		return master;
	}
	

	public void setMaster(Guest master) {
		this.master = master;
	}

}
{'fraction_non_alphanumeric': 0.14669703872437356, 'fraction_numerical': 0.004555808656036446, 'mean_word_length': 3.2393822393822393, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5277999', 'n_tokens_mistral': 943, 'n_tokens_neox': 807, 'n_words': 189}