What Hamlet is contemplating in his most famous soliloquy (To be or not to be) is the nature of life and what he should do with it. He is thinking about whether he should end it all (kill himself) or continue living and fighting for his revenge. His father was killed by his own brother and he wants to avenge the king's death but he is unsure how to do it.
He is torn between these two decisions, leading him to be stuck and ultimately do nothing for a while because he is indecisive. On one hand, he can go after Claudius who murderer his father, but on the other hand, he understands that that is meaningless and it won't bring him anything. However, in the end, he finally makes a decision - to go through with his plan.
<span>The nuns are a foil for Sunny--that whole mother contrast. Holden is looking for a connection with anyone, yet he doesn't find it with either side of that equation. </span>
<span>Holden has regard for others? Yeah. So what? That doesn't contribute much to Salinger's purpose here. Holden seeks connection. He also seeks to find (and preserve) something pure in a corrupt world. That should be the focal point of your analysis of his interaction with these types of characters in the </span>novel<span>. </span>