Package | Description |
---|---|
java.io | |
java.lang | |
java.util |
Modifier and Type | Method and Description |
---|---|
void |
PrintStream.close()
Closes the stream.
|
void |
PrintStream.flush()
Flushes the stream.
|
void |
PrintStream.write(byte[] buf,
int off,
int len)
Writes
len bytes from the specified byte array starting at offset
off to this stream. |
void |
PrintStream.write(int b)
Writes the specified byte to this stream.
|
Modifier and Type | Method and Description |
---|---|
byte |
Long.byteValue()
Returns the value of this
Long as a byte . |
byte |
Float.byteValue()
Returns the value of this
Float as a byte (by casting to a byte ). |
byte |
Double.byteValue()
Returns the value of this
Double as a byte (by casting to a byte ). |
double |
Long.doubleValue()
Returns the value of this
Long as a double . |
double |
Float.doubleValue()
Returns the
double value of this Float object. |
double |
Double.doubleValue()
Returns the
double value of this Double object. |
boolean |
Long.equals(Object obj)
Compares this object to the specified object.
|
boolean |
Float.equals(Object obj)
Compares this object against the specified object.
|
boolean |
Double.equals(Object obj)
Compares this object against the specified object.
|
boolean |
StackTraceElement.equals(Object obj)
Returns true if the specified object is another
StackTraceElement instance
representing the same execution point as this instance. |
boolean |
Enum.equals(Object other)
Returns true if the specified object is equal to this enum constant.
|
float |
Long.floatValue()
Returns the value of this
Long as a float . |
float |
Float.floatValue()
Returns the
float value of this Float object. |
float |
Double.floatValue()
Returns the
float value of this Double object. |
int |
Long.hashCode()
Returns a hash code for this
Long . |
int |
Float.hashCode()
Returns a hash code for this
Float object. |
int |
Double.hashCode()
Returns a hash code for this
Double object. |
int |
StackTraceElement.hashCode()
Returns a hash code value for this stack trace element.
|
int |
Enum.hashCode()
Returns a hash code for this enum constant.
|
int |
Long.intValue()
Returns the value of this
Long as an int . |
int |
Float.intValue()
Returns the value of this
Float as an int (by casting to type int ). |
int |
Double.intValue()
Returns the value of this
Double as an int (by casting to type int ). |
long |
Long.longValue()
Returns the value of this
Long as a long value. |
long |
Float.longValue()
Returns value of this
Float as a long (by casting to type long ). |
long |
Double.longValue()
Returns the value of this
Double as a long (by casting to type long ). |
short |
Long.shortValue()
Returns the value of this
Long as a short . |
short |
Float.shortValue()
Returns the value of this
Float as a short (by casting to a short ). |
short |
Double.shortValue()
Returns the value of this
Double as a short (by casting to a short ). |
String |
Long.toString()
Returns a
String object representing this Long 's value. |
String |
Throwable.toString()
Returns a short description of this throwable.
|
String |
Float.toString()
Returns a string representation of this
Float object. |
String |
Thread.toString()
Returns a string representation of this thread, including the thread's name, priority, and
thread group.
|
String |
Double.toString()
Returns a string representation of this
Double object. |
String |
StackTraceElement.toString()
Returns a string representation of this stack trace element.
|
String |
Enum.toString()
Returns the name of this enum constant, as contained in the declaration.
|
String |
Class.toString()
Converts the object to a string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Vector.add(E e)
Appends the specified element to the end of this Vector.
|
void |
Vector.add(int index,
E element)
Inserts the specified element at the specified position in this Vector.
|
boolean |
Vector.addAll(Collection<? extends E> c)
Appends all of the elements in the specified Collection to the end of this Vector, in the
order that they are returned by the specified Collection's Iterator.
|
boolean |
Vector.addAll(int index,
Collection<? extends E> c)
Inserts all of the elements in the specified Collection into this Vector at the specified
position.
|
void |
Vector.clear()
Removes all of the elements from this Vector.
|
Object |
Calendar.clone()
Creates and returns a copy of this object.
|
Object |
Vector.clone()
Returns a clone of this vector.
|
boolean |
Vector.contains(Object o)
Returns
true if this vector contains the specified element. |
boolean |
Vector.containsAll(Collection<?> c)
Returns true if this Vector contains all of the elements in the specified Collection.
|
boolean |
Calendar.equals(Object obj)
Compares this
Calendar to the specified Object . |
boolean |
Vector.equals(Object o)
Compares the specified Object with this Vector for equality.
|
E |
Vector.get(int index)
Returns the element at the specified position in this Vector.
|
int |
Calendar.hashCode()
Returns a hash code for this calendar.
|
int |
Vector.hashCode()
Returns the hash code value for this Vector.
|
int |
Vector.indexOf(Object o)
Returns the index of the first occurrence of the specified element in this vector, or -1 if
this vector does not contain the element.
|
boolean |
Vector.isEmpty()
Tests if this vector has no components.
|
Iterator<E> |
Vector.iterator()
Returns a list iterator over the elements in this list (in proper sequence).
|
int |
Vector.lastIndexOf(Object o)
Returns the index of the last occurrence of the specified element in this vector, or -1 if
this vector does not contain the element.
|
ListIterator<E> |
Vector.listIterator()
Returns a list iterator over the elements in this list (in proper sequence), starting at the
specified position in the list.
|
ListIterator<E> |
Vector.listIterator(int index)
Returns a list iterator over the elements in this list (in proper sequence), starting at the
specified position in the list.
|
E |
Vector.remove(int index)
Removes the element at the specified position in this Vector.
|
boolean |
Vector.remove(Object o)
Removes the first occurrence of the specified element in this Vector If the Vector does not
contain the element, it is unchanged.
|
boolean |
Vector.removeAll(Collection<?> c)
Removes from this Vector all of its elements that are contained in the specified Collection.
|
protected void |
Vector.removeRange(int fromIndex,
int toIndex)
Removes from this list all of the elements whose index is between
fromIndex ,
inclusive, and toIndex , exclusive. |
boolean |
Vector.retainAll(Collection<?> c)
Retains only the elements in this Vector that are contained in the specified Collection.
|
E |
Vector.set(int index,
E element)
Replaces the element at the specified position in this Vector with the specified element.
|
int |
Vector.size()
Returns the number of components in this vector.
|
List<E> |
Vector.subList(int fromIndex,
int toIndex)
Returns a view of the portion of this List between fromIndex, inclusive, and toIndex,
exclusive.
|
Object[] |
Vector.toArray()
Returns an array containing all of the elements in this Vector in the correct order.
|
<T> T[] |
Vector.toArray(T[] a)
Returns an array containing all of the elements in this Vector in the correct order; the
runtime type of the returned array is that of the specified array.
|
String |
Calendar.toString()
Return a string representation of this calendar.
|
String |
Vector.toString()
Returns a string representation of this Vector, containing the String representation of each
element.
|