Question
Project 1: Inheritance and Baby Names
In this project you will provide a tool for visualizing popularity of baby names in the years since 1880. Your program will use the data provided by Social Security Administration that contains names given to babies born in US each year. Using this data and a name specified by the user, your program will need to generate a histogram showing the fraction of children who were given that name in each year.

Objectives
The goal of this programming project is for you to master (or at least get practice on) the following tasks:
• working with multi-file programs
• reading data from input files
• working with large data sets
• using the ArrayList class
• writing classes
• working with existing code
• extending existing classes (inheritance)

Dataset
In this project you will be working with open data. Wikipedia has a good description of open data: ”Open data is the idea that some data should be freely available to everyone to use and republish as they wish, without restrictions from copyright, patents or other mechanisms of control.”
The data set that you need can be found at Data.gov1 website.
The file that you download is an archive zip file that contains files with data organized by year. There is also NationalReadMe.pdf file that contains detailed description of how the data is organized. In short, each file contains a long list of lines each in the format:
NAME,GENDER,COUNT
1 Data.gov is managed and hosted by the U.S. General Services Administration, Office of Citizen Services and Innovative Technologies. It hosts close to 200,000 datasets made available by federal, state and local governments as well as other organizations.

Program’s Data
For this program, the data files are considered to be part of the application (not the input provided by the user at runtime).
You should store all of the data files in their own directory called data inside the project directory in Eclipse (this is at the same directory as src directory that stores the actual code, possibly in packages).
This way you can open the files from within your program using the relative path, for example, "data/yob1984.txt".
Within Eclipse the project/folder/package hirearchy should look something like the image on the right.
You can test your setup using the TestFileRead class included at the end of this specification.
If you setup your program and data differently, the graders may not be able to run the code successfully.

User Interface
Your program has to be a console based program (no graphical interface).

Program Usage
The program is started from the command line (or run within an IDE).
It does not use any command line arguments (if any are provided, the program should simply ignore them).

Input and Output
The program should run in a loop that allows the user to check popularity of different names.
On each iteration, the user should be prompted to enter either a name (for which the program computes the results) or the letter ’Q’ or ’q’ to indicate the termination of the program.
The user should not be prompted for any other response.
If the name entered by the user cannot be found in the list of names stored in the dataset (i.e., it does not occur in ANY of the files), the program should print a message
No such name in the dataset.
and continue into the next iteration.
If the name entered by the user has matches in at least one data file, the program should print the histogram showing popularity of this name (see below for the details of formatting).
Once the results are displayed, the program should continue into the next iteration.
Any error messages generated by your code should be written to the System.err stream (not the System.out stream).
Histogram format:
If the name entered by the user is found in at least one data file, a histogram showing the popularity of this name should be displayed.
If a name does not occur in all of the files, the program should set the number of babies who are given this name in a particular year to zero.
For each years data, the program needs to determine the percentage of babies given a particular name number of babies with a given name total number of babies in that year × 100
For each year there should be a line of output matching the following format:
YYYY (F.FFFF): HISTOGRAM_BAR
where
• YYYY is a four digit year,
• F.FFFF is a percentage calculated according to the above formula (it has to be printed with exactly one digit before the decimal
point and four digits after the decimal point3),
• HISTOGRAM_BAR is a visual representation of the percentage; it should consist of a sequence of vertical bars ’|’, one bar for each 0.01 percent (rounded up to the nearest integer); the number of bars can be calculated by
number of babies with a given nametotal number of babies in that year 
where the symbol d . . .e means the ceiling function (in Java you can use Math.ceil() to compute it).
Here are the example lines calculated for ’Joanna’ for three different years:
1880 (0.0129): ||
...
1984 (0.1989): ||||||||||||||||||||
...
2015 (0.0616): ||||||
(Note, that the program should not be printing ..., but rather the information for each year.) There should not be any blank lines between the lines for each year.
A few things to consider:
• For a name that does not occur in a particular data file, the count should be set to zero, which will result in no vertical bars printed.
• For a name that is the most popular in a given year, the number of bars may exceed the width of the display window and (depending on the settings) may wrap to the next line. This is fine and you do not need to modify this behavior.
• Some names may occur in the data file more than once (since they are given to both female and male babies). Your histogram should combine the data for both occurences.
• The program should be case in-sensitive. The name in the data file is always capitalized, for example ’Joanna’. Your program should produce exactly the same results regardless of if the user types ’joanna’, ’JOANNA’, ’JoAnNa’ or any other variation of cases.4
• Some names have several different spellings in common use, for example ’Joanna’, ’Johana’, ’Joannah’. For the purpose of this program these are considered to be completely different names.

Data Sorage and Organization
1) Your need to provide an implementation of several classes that store the data and compute the results when the program is executed.
2) In particular, your program must implement and use the following classes. You may implement additional classes as well, if you wish.
3) You should be using printf for that. If you are not familiar with formatted output in Java, research it or ask questions.
4) You may want to explore the methods of the String class that ignore the case when comparing two objects.

MyArrayList Class
The MyArrayList class is a container class just like the ArrayList<E> class that is part of JavaAPI. In fact, your own implementation must inherit from ArrayList<E> class. The main difference is that your class will be used for working with generic elements whose type implements Comparable<E> interface. Your class will be using a bounded generic type. To achieve this, your class header should look as follows:
public class MyArrayList<E extends Comparable<E>> extends ArrayList<E>
Your own implementation ...
• ... must overload5 the sort method of the ArrayList class. Your own sort method should take no parameters and should not return anything. It should operate on the object on which it is called and sort the elements according to their natural order (the one defined by the compareTo method). This method should make use of Collections.sort() to perform its task.
[Optional: You may try to implement your own sort method (one of the ones you learned about in cs101) to see how the performance of Collections.sort() compares to your own implementation. Do not submit that version of the program. ]
• ... must implement isSorted() method that returns true or false if the elements stored in the collection are sorted or not sorted, respectively. The method should use the natural ordering of the elements, i.e. the compareTo method defined on the elements.
• ... must override6 the contains method implemented in the ArrayList class. The method should determine if the elements stored in the container are sorted, and if so, apply a binary search algorithm. If the elements are not in a sorted order, the method should call the contains implemented in the ArrayList class (this method performs a linear search). You may implement additional methods, if you wish. Note, that MyArrayList is a generic class, i.e., it can store elements of any type (as long as the type is consistent within the container).

Name Class
The Name class stores information about a particular name for a particular year. It should store information about the name itself, the gender and the count (how many babies have been given that name).
This class should provide a three parameter constructor:
public Name ( String name, String gender, int count )
If the constructor is called with an empty string for name, invalid gender indicator (valid values are single charactes ’f’ for female, ’m’ for male in either lower- or uppercase), or a negative value for count, then an instance of IllegalArgumentException should be thrown carrying an appropriate error message. There should be no default constructor.
This class should implement Comparable<Name> interface. The comparison should be done by the name as the primary key (using alphabetical order), by the count as the secondary key (i.e., when two objects that have the same value of name are compared, the comparison should be performed by count) and by the gender as the ternary key. This class should override the equals methods. The two Name objects should be considered equal if the name, count and gender data fields are identical.
The class should override the toString method. The details are up to you, but you should make sure that it returns a String object that is a meaningful representation of the object on which it is called.

YearNames Class
The YearNames class should be used to store all the Name objects for a particular year.
Function overloading refers to ability to define multiple functions with the same name but different signatures.
Function overriding refers to ability to define methods in subclasses that have already been implemented in one of the superclasses. A default constructor is one that can be used without passing any arguments.
The class should contain a data field that stores all of the Name objects for a given year.
You should use your own MyArrayList class for that purpose.
The class needs to provide the one parameter constructor public YearNames ( int year )
The class should implement
• public void add ( Name n )
method that adds a new Name object to the list for a current year. This method should throw an instance of IllegalArgumentException if it is called with a Name object that already exists (i.e., the name argument is equal to an existing element based on the equals method for the Name class).
• public int getCountByName ( String name )
method that returns the number of babies that were given the name specified by the parameter. If there are two Name objects matching the specified name string (one male, one female), the sum of two counts should be returned.
• public double getFractionByName ( String name )
method that returns the fraction of babies that were given the name specified by the parameter (this is the namber of such babies divided by the total number of babies in the data file for the year).
The class should override the toString method. The details are up to you, but you should make sure that it returns a String object that is a meaningful representation of the object on which it is called (it may or may not contain the listing of all of the elements).
You may implement other methods, if you wish. You will need to instantiate one YearNames object for each year in the data set.

BabyNames Class
The BabyNames class is the actual program. This is the class that should contain main method. It is responsible for opening and reading the data files, obtaining user input, performing some data validation and handing all errors that may occur (in particular, it should handle any exceptions thrown by your other classes and terminate gracefully, if need be, with a friendly error message presented to the user).
You may (and probably should) implement other methods in this class to modularize the design.
Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references.
Students may use these solutions for personal skill-building and practice.
Unethical use is strictly forbidden.

package project1;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;

/**
*
* @author
* @version
*/
public class BabyNames {

    /**
    * main function
    * @param args
    */
    public static void main(String[] args) {
               
       MyArrayList<YearNames> yns = new MyArrayList<>();
       // read all files
       readAllFiles(yns);
      
       char signal = ' ';
       String input;
       Scanner console = new Scanner(System.in);
       do {
            input = console.nextLine();
            if (input.length() == 1) {
                signal = Character.toLowerCase(input.charAt(0));
            } else {
                process(input, yns);
            }
       } while (signal != 'q');
    }
This is only a preview of the solution.
Please use the purchase button to see the entire solution.
By purchasing this solution you'll be able to access the following files:
Solution.zip
Purchase Solution
$1.00
Google Pay
Amazon
Paypal
Mastercard
Visacard
Discover
Amex
View Available Computer Science Tutors 529 tutors matched
Ionut
(ionut)
Hi! MSc Applied Informatics & Computer Science Engineer. Practical experience in many CS & IT branches.Research work & homework
5/5 (5,654+ sessions)
2 hours avg response
Leo
(Leo)
Hi! I have been a professor in New York and taught in a math department and in an applied math department.
4.9/5 (5,652+ sessions)
2 hours avg response
Pranay
(math1983)
Ph.D. in mathematics and working as an Assistant Professor in University. I can provide help in mathematics, statistics and allied areas.
4.6/5 (5,512+ sessions)
1 hour avg response

Similar Homework Solutions

8.1.0PHP Version347msRequest Duration45MBMemory UsageGET college-homework-library/{category}/{subject}/{id}Route
    • Booting (200ms)time
    • Application (146ms)time
    • 1 x Booting (57.75%)
      200ms
      1 x Application (42.24%)
      146ms
      • Illuminate\Routing\Events\Routing (951μs)
      • Illuminate\Routing\Events\RouteMatched (360μs)
      • Illuminate\Foundation\Events\LocaleUpdated (5.65ms)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (156μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (167μs)
      • Illuminate\Database\Events\ConnectionEstablished (764μs)
      • Illuminate\Database\Events\StatementPrepared (16.41ms)
      • Illuminate\Database\Events\QueryExecuted (1.17ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (96μs)
      • eloquent.booting: App\Models\Subject (91μs)
      • eloquent.booted: App\Models\Subject (44μs)
      • Illuminate\Database\Events\StatementPrepared (1.41ms)
      • Illuminate\Database\Events\QueryExecuted (758μs)
      • eloquent.retrieved: App\Models\Subject (86μs)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (120μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (40μs)
      • Illuminate\Database\Events\StatementPrepared (542μs)
      • Illuminate\Database\Events\QueryExecuted (704μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (60μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (13μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (8μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.booting: App\Models\SubjectCat (711μs)
      • eloquent.booted: App\Models\SubjectCat (39μs)
      • Illuminate\Database\Events\StatementPrepared (560μs)
      • Illuminate\Database\Events\QueryExecuted (711μs)
      • eloquent.retrieved: App\Models\SubjectCat (69μs)
      • Illuminate\Cache\Events\CacheHit (10.13ms)
      • Illuminate\Cache\Events\CacheMissed (182μs)
      • Illuminate\Database\Events\StatementPrepared (869μs)
      • Illuminate\Database\Events\QueryExecuted (32.1ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (102μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (15μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (8μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (7μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (6μs)
      • Illuminate\Database\Events\StatementPrepared (703μs)
      • Illuminate\Database\Events\QueryExecuted (784μs)
      • eloquent.retrieved: App\Models\Subject (75μs)
      • Illuminate\Cache\Events\KeyWritten (949μs)
      • Illuminate\Database\Events\StatementPrepared (1.69ms)
      • Illuminate\Database\Events\QueryExecuted (850μs)
      • Illuminate\Database\Events\StatementPrepared (3.77ms)
      • Illuminate\Database\Events\QueryExecuted (1.1ms)
      • Illuminate\Database\Events\StatementPrepared (1.31ms)
      • Illuminate\Database\Events\QueryExecuted (1.66ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (53μs)
      • Illuminate\Cache\Events\CacheHit (693μs)
      • creating: homework.show (276μs)
      • composing: homework.show (116μs)
      • creating: components.breadcrumbs (251μs)
      • composing: components.breadcrumbs (119μs)
      • Illuminate\Database\Events\StatementPrepared (4.3ms)
      • Illuminate\Database\Events\QueryExecuted (1.99ms)
      • eloquent.retrieved: App\Models\SubjectCat (86μs)
      • Illuminate\Cache\Events\CacheHit (3.41ms)
      • Illuminate\Cache\Events\CacheHit (148μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (140μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (144μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (341μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (93μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (515μs)
      • Illuminate\Cache\Events\CacheHit (140μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (148μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (93μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (92μs)
      • Illuminate\Cache\Events\CacheHit (130μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (601μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (91μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (89μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (92μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (93μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (92μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (93μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (144μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (93μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (92μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (138μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (225μs)
      • Illuminate\Cache\Events\CacheHit (139μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (93μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (91μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (143μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (594μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (408μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (93μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (92μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (90μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (92μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (93μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (91μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (92μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (93μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (91μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (92μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (93μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • creating: site.layouts.app (362μs)
      • composing: site.layouts.app (18μs)
      • creating: components.canonical (541μs)
      • composing: components.canonical (80μs)
      • creating: components.open-graph (140μs)
      • composing: components.open-graph (47μs)
      • creating: site.headers.header (334μs)
      • composing: site.headers.header (58μs)
      • Illuminate\Cache\Events\CacheHit (1.23ms)
      • creating: components.footer (61μs)
      • composing: components.footer (63μs)
      • Illuminate\Cache\Events\CacheHit (616μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • creating: components.forms.contact-us (193μs)
      • composing: components.forms.contact-us (93μs)
      • creating: components.forms.get-started (107μs)
      • composing: components.forms.get-started (44μs)
      • creating: components.forms.free-tool-download (86μs)
      • composing: components.forms.free-tool-download (40μs)
      • creating: components.forms.claim-free-worksheet (81μs)
      • composing: components.forms.claim-free-worksheet (51μs)
      • creating: components.forms.tutor-subscription-waitlist (97μs)
      • composing: components.forms.tutor-subscription-waitlist (38μs)
      • creating: components.forms.tutor-subscription-join (77μs)
      • composing: components.forms.tutor-subscription-join (37μs)
      • creating: components.forms.tutor-support (76μs)
      • composing: components.forms.tutor-support (37μs)
      • 321 x Illuminate\Cache\Events\CacheHit (15.69%)
        54.40ms
        10 x Illuminate\Database\Events\QueryExecuted (12.06%)
        41.82ms
        10 x Illuminate\Database\Events\StatementPrepared (9.1%)
        31.56ms
        1 x Illuminate\Foundation\Events\LocaleUpdated (1.63%)
        5.65ms
        1 x Illuminate\Routing\Events\Routing (0.27%)
        951μs
        1 x Illuminate\Cache\Events\KeyWritten (0.27%)
        949μs
        1 x Illuminate\Database\Events\ConnectionEstablished (0.22%)
        764μs
        1 x eloquent.booting: App\Models\SubjectCat (0.21%)
        711μs
        1 x creating: components.canonical (0.16%)
        541μs
        1 x creating: site.layouts.app (0.1%)
        362μs
        1 x Illuminate\Routing\Events\RouteMatched (0.1%)
        360μs
        1 x creating: site.headers.header (0.1%)
        334μs
        1 x creating: homework.show (0.08%)
        276μs
        1 x creating: components.breadcrumbs (0.07%)
        251μs
        7 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (0.07%)
        239μs
        1 x creating: components.forms.contact-us (0.06%)
        193μs
        1 x Illuminate\Cache\Events\CacheMissed (0.05%)
        182μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (0.05%)
        167μs
        2 x eloquent.retrieved: App\Models\Subject (0.05%)
        161μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (0.04%)
        156μs
        2 x eloquent.retrieved: App\Models\SubjectCat (0.04%)
        155μs
        6 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.04%)
        145μs
        1 x creating: components.open-graph (0.04%)
        140μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.03%)
        120μs
        1 x composing: components.breadcrumbs (0.03%)
        119μs
        1 x composing: homework.show (0.03%)
        116μs
        1 x creating: components.forms.get-started (0.03%)
        107μs
        1 x creating: components.forms.tutor-subscription-waitlist (0.03%)
        97μs
        1 x composing: components.forms.contact-us (0.03%)
        93μs
        1 x eloquent.booting: App\Models\Subject (0.03%)
        91μs
        1 x creating: components.forms.free-tool-download (0.02%)
        86μs
        1 x creating: components.forms.claim-free-worksheet (0.02%)
        81μs
        1 x composing: components.canonical (0.02%)
        80μs
        1 x creating: components.forms.tutor-subscription-join (0.02%)
        77μs
        1 x creating: components.forms.tutor-support (0.02%)
        76μs
        1 x composing: components.footer (0.02%)
        63μs
        1 x creating: components.footer (0.02%)
        61μs
        1 x composing: site.headers.header (0.02%)
        58μs
        1 x composing: components.forms.claim-free-worksheet (0.01%)
        51μs
        1 x composing: components.open-graph (0.01%)
        47μs
        1 x composing: components.forms.get-started (0.01%)
        44μs
        1 x eloquent.booted: App\Models\Subject (0.01%)
        44μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.01%)
        40μs
        1 x composing: components.forms.free-tool-download (0.01%)
        40μs
        1 x eloquent.booted: App\Models\SubjectCat (0.01%)
        39μs
        1 x composing: components.forms.tutor-subscription-waitlist (0.01%)
        38μs
        1 x composing: components.forms.tutor-subscription-join (0.01%)
        37μs
        1 x composing: components.forms.tutor-support (0.01%)
        37μs
        1 x composing: site.layouts.app (0.01%)
        18μs
      14 templates were rendered
      • 1x homework.showshow.blade.phpblade
      • 1x components.breadcrumbsbreadcrumbs.blade.phpblade
      • 1x site.layouts.appapp.blade.phpblade
      • 1x components.canonicalcanonical.blade.phpblade
      • 1x components.open-graphopen-graph.blade.phpblade
      • 1x site.headers.headerheader.blade.phpblade
      • 1x components.footerfooter.blade.phpblade
      • 1x components.forms.contact-uscontact-us.blade.phpblade
      • 1x components.forms.get-startedget-started.blade.phpblade
      • 1x components.forms.free-tool-downloadfree-tool-download.blade.phpblade
      • 1x components.forms.claim-free-worksheetclaim-free-worksheet.blade.phpblade
      • 1x components.forms.tutor-subscription-waitlisttutor-subscription-waitlist.blade.phpblade
      • 1x components.forms.tutor-subscription-jointutor-subscription-join.blade.phpblade
      • 1x components.forms.tutor-supporttutor-support.blade.phpblade
      uri
      GET college-homework-library/{category}/{subject}/{id}
      middleware
      web, utm.parameters
      controller
      App\Http\Controllers\HomeworkLibraryController@show
      namespace
      where
      as
      homework.show
      file
      app/Http/Controllers/HomeworkLibraryController.php:79-176
      10 statements were executed, 4 of which were duplicates, 6 unique. Show only duplicated65.44ms
      • Connection Establishedtwenty4_siteHomeworkLibraryController.php#91
        Backtrace
        • 13. app/Http/Controllers/HomeworkLibraryController.php:91
        • 14. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 15. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 16. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary` where `status` = 'published' and `price` > 0 and `solutionslibrary`.`id` = '24345' limit 1
        16.87mstwenty4_siteHomeworkLibraryController.php#97
        Bindings
        • 0: published
        • 1: 0
        • 2: 24345
        Backtrace
        • 16. app/Http/Controllers/HomeworkLibraryController.php:97
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 18. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 19. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 20. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subjects` where `subjects`.`id` in (136)
        920μstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` in (24345)
        820μstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        860μstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 26. app/Http/Controllers/HomeworkLibraryController.php:105
        • 27. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 28. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 29. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • select * from `solutionslibrary` where `id` <> 24345 and `subject` = 136 and `status` = 'published' and `price` > 0 order by RAND() limit 6
        32.28mstwenty4_siteHomeworkLibraryRepository.php#30
        Bindings
        • 0: 24345
        • 1: 136
        • 2: published
        • 3: 0
        Backtrace
        • 14. app/Repositories/HomeworkLibraryRepository.php:30
        • 15. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 16. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 18. app/Repositories/HomeworkLibraryRepository.php:39
        • 19. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `subjects` where `subjects`.`id` in (136)
        970μstwenty4_siteHomeworkLibraryRepository.php#30
        Backtrace
        • 19. app/Repositories/HomeworkLibraryRepository.php:30
        • 20. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 21. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 23. app/Repositories/HomeworkLibraryRepository.php:39
        • 24. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 24345 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'question' order by `order` asc, `id` asc
        840μstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 24345
        • 1: question
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:58
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 24345 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'teaser' order by `order` asc, `id` asc
        4.3mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 24345
        • 1: teaser
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:69
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 24345 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'solution' order by `order` asc, `id` asc
        2.43mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 24345
        • 1: solution
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:80
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        5.15mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 32. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • 33. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 34. vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69
        • 35. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
      App\Models\HomeworkLibrary\HomeworkLibrary
      7HomeworkLibrary.php
      App\Models\HomeworkLibrary\HomeworkLibraryFile
      6HomeworkLibraryFile.php
      App\Models\Subject
      2Subject.php
      App\Models\SubjectCat
      2SubjectCat.php
          _token
          CiiOrFkhAPJRpkqqmT65Dz2CFktVpf4EWGaxqoKL
          utm_source
          direct
          redirectUrl
          /college-homework-library/Computer-Science/Java-Programming/24345
          _previous
          array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Scienc...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          path_info
          /college-homework-library/Computer-Science/Java-Programming/24345
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:21 [ "priority" => array:1 [ 0 => "u=0, i" ] "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "x-amzn-trace-id" => array:1 [ 0 => "Root=1-67f862f0-1fef73cb6d2c854403697067" ] "host" => array:1 [ 0 => "staging.dev.24houranswers.com" ] "x-forwarded-port" => array:1 [ 0 => "443" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-for" => array:1 [ 0 => "18.216.229.154" ] "content-length" => array:1 [ 0 => "" ] "content-type" => array:1 [ 0 => "" ] ]
          request_cookies
          []
          
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Fri, 11 Apr 2025 00:31:45 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6ImI2UG45alh3eC9kWkJabUExbGRHN3c9PSIsInZhbHVlIjoieDVrc1NSR3ZNRWF1aSt3bS8yWkg5cGhYZXVXcDAyN3hIRis4c2ZWdXhRTFVjTVAvSjcrYWhPQi9PbUJzb3FaeXIyZWw0S3VtL0xIeGdYMFhRcmNzb1EwVkd1Tk5XUWI0Qi9GbTlCT2t6VDQyMlB5Y2Rad2tyNnZvU0N0ZXM4MzUiLCJtYWMiOiI1NWU4ZjRkYzk3MjA0M2IxMzRkMTYyNmQ5NmY0ZDcxNmY0MjZlODU5NTUyMGE2ZjY3NmU2NmQ4YTAzMTE5ZmIwIiwidGFnIjoiIn0%3D; expires=Fri, 11 Apr 2025 02:31:45 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; samesite=laxXSRF-TOKEN=eyJpdiI6ImI2UG45alh3eC9kWkJabUExbGRHN3c9PSIsInZhbHVlIjoieDVrc1NSR3ZNRWF1aSt3bS8yWkg5cGhYZXVXcDAyN3hIRis4c2ZWdXhRTFVjTVAvSjcrYWhPQi9PbUJzb3FaeXIyZWw0S" 1 => "24houranswers_session=eyJpdiI6IkhMdmo3MkxoZnlxZ09pQ2hiQ2hra3c9PSIsInZhbHVlIjoiMm1aL3FSendrb2szYmxFdFlDbHhUQmN1ekZYWVNRcE0rUjlwRTdiRnpobzF5VzZOdmNiYXQ3QWNXMkc4bW0xdjYvN3VSV2pKQklKOXY1elQ3Z25zcW9ta2t4WWgwMTlBSEVZVDZXVG8zQlJIeXM2TThwRjZ1ekg0ZXROUEdvY0UiLCJtYWMiOiJmYjllMmRmN2UzOTgzMWI0MGFmZTQ3MzMzZWRiNmVkM2ZiNjYyMmY5ZmU3ZDg1NzE4NDc5M2YzY2IxZjY0OGIzIiwidGFnIjoiIn0%3D; expires=Fri, 11 Apr 2025 02:31:45 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; httponly; samesite=lax24houranswers_session=eyJpdiI6IkhMdmo3MkxoZnlxZ09pQ2hiQ2hra3c9PSIsInZhbHVlIjoiMm1aL3FSendrb2szYmxFdFlDbHhUQmN1ekZYWVNRcE0rUjlwRTdiRnpobzF5VzZOdmNiYXQ3QWNXMkc4bW" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6ImI2UG45alh3eC9kWkJabUExbGRHN3c9PSIsInZhbHVlIjoieDVrc1NSR3ZNRWF1aSt3bS8yWkg5cGhYZXVXcDAyN3hIRis4c2ZWdXhRTFVjTVAvSjcrYWhPQi9PbUJzb3FaeXIyZWw0S3VtL0xIeGdYMFhRcmNzb1EwVkd1Tk5XUWI0Qi9GbTlCT2t6VDQyMlB5Y2Rad2tyNnZvU0N0ZXM4MzUiLCJtYWMiOiI1NWU4ZjRkYzk3MjA0M2IxMzRkMTYyNmQ5NmY0ZDcxNmY0MjZlODU5NTUyMGE2ZjY3NmU2NmQ4YTAzMTE5ZmIwIiwidGFnIjoiIn0%3D; expires=Fri, 11-Apr-2025 02:31:45 GMT; domain=.24houranswers.com; path=/XSRF-TOKEN=eyJpdiI6ImI2UG45alh3eC9kWkJabUExbGRHN3c9PSIsInZhbHVlIjoieDVrc1NSR3ZNRWF1aSt3bS8yWkg5cGhYZXVXcDAyN3hIRis4c2ZWdXhRTFVjTVAvSjcrYWhPQi9PbUJzb3FaeXIyZWw0S" 1 => "24houranswers_session=eyJpdiI6IkhMdmo3MkxoZnlxZ09pQ2hiQ2hra3c9PSIsInZhbHVlIjoiMm1aL3FSendrb2szYmxFdFlDbHhUQmN1ekZYWVNRcE0rUjlwRTdiRnpobzF5VzZOdmNiYXQ3QWNXMkc4bW0xdjYvN3VSV2pKQklKOXY1elQ3Z25zcW9ta2t4WWgwMTlBSEVZVDZXVG8zQlJIeXM2TThwRjZ1ekg0ZXROUEdvY0UiLCJtYWMiOiJmYjllMmRmN2UzOTgzMWI0MGFmZTQ3MzMzZWRiNmVkM2ZiNjYyMmY5ZmU3ZDg1NzE4NDc5M2YzY2IxZjY0OGIzIiwidGFnIjoiIn0%3D; expires=Fri, 11-Apr-2025 02:31:45 GMT; domain=.24houranswers.com; path=/; httponly24houranswers_session=eyJpdiI6IkhMdmo3MkxoZnlxZ09pQ2hiQ2hra3c9PSIsInZhbHVlIjoiMm1aL3FSendrb2szYmxFdFlDbHhUQmN1ekZYWVNRcE0rUjlwRTdiRnpobzF5VzZOdmNiYXQ3QWNXMkc4bW" ] ]
          session_attributes
          0 of 0
          array:6 [ "_token" => "CiiOrFkhAPJRpkqqmT65Dz2CFktVpf4EWGaxqoKL" "utm_source" => "direct" "redirectUrl" => "/college-homework-library/Computer-Science/Java-Programming/24345" "_previous" => array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Science/Java-Programming/24345" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]