lastIndexOf

public String lastIndexOf(int index)
Today, in school my shoulder was killing me from a softball injury. I went to the nurse's office and asked "Can I have some ice?" They responded with "Why, what happened to your face?" FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

ensureCapacity

public int ensureCapacity(int index)
Today, I told a girl I liked her. She replied, "Don't". FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

add

public String add(int index)
Today, I decided to try this new cardio workout video I got. As I was obnoxiously bouncing around my room I heard a noise behind me. Turns out there were three boys outside my window watching. FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

addAll

public void addAll(int index)
Today, my boyfriend and I were in Victoria's Secret. I saw a picture of a model and said, "I wish I looked like that." He replied with, "Me too." FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

toArray

public boolean toArray(int index)
Today, I was looking after a hamster for a friend. My dog ate it. FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

indexOf

public int indexOf(int index)
Today, I told my parents I really missed them and wanted to come home for the weekend, I haven't seen them in months. They told me that was a bad idea and they couldnt fit me into their schedule. I asked what their plans were. They said they didn't have any yet. FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

containsAll

public void containsAll(int index)
Today, I walked through my college dorm and a freshman was watching some overly dramatic show on her laptop. I smiled and asked if it was a new episode of 'Gossip Girl.' She was on a video chat with her boyfriend. They were about to break up. FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

addAll

public void addAll(int index)
Today, I let my friend cut my hair and after a few minutes, she looked at what she had done and then she ran out of the room, crying. FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

clear

public int clear(int index)
Today, me and my boyfriend were hooking up while watching a movie. Just as I was getting really into it, he told me to move my head. He couldn't see the television. FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

subList

public int subList(int index)
Today, I told my long-distance girlfriend that I just could not handle the distance and we should just be friends. To which she responded, "What? You thought we were going out? Lol". FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

trimToSize

public int trimToSize(int index)
Today, I went to McDonald's for lunch and ordered a salad. The man behind the counter looked at me and said "Well, at least you're trying." FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

lastIndexOf

public int lastIndexOf(int index)
Today, my four-year-old cousin gave me a hug, basically stuffing his face into my crotch. Then he pulled it out and said "Ew, that's stinky" in front of my entire class. FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

size

public boolean size(int index)
Today, my tattoo artist boyfriend of five months gave me my first tattoo in celebration of my 18th birthday. It was supposed to be a heart with my name in script. He spelled my name wrong. FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

hashCode

public String hashCode(int index)
Today, I was masturbating on my inflatable air mattress that squeaks when you move. Suddenly, my mom busted in my room to ask if I'm okay because she thought the squeaking was my crying. I ripped my hands from my pants and turned on my side; she walked over and grabbed my hands to console me. FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).

hashCode

public boolean hashCode(int index)
Today, my father came back from a business trip in Canada. He handed me an "I Love Canada" pen. He brought back an xbox 360 for my younger brother. FML

Parameters:
index - index of first element to be returned from the list iterator (by a call to the next method).
Returns:
a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size()).
first previous 644 645 646 647 648 649 650 651 652 653 654 next last