BenQ Mobile

Uses of Class
java.lang.Object

Packages that use Object
java.io Provides classes for input and output through data streams. 
java.lang Provides classes that are fundamental to the Java programming language. 
java.lang.ref Provides support for weak references. 
java.util Contains the collection classes, and the date and time facilities. 
 

Uses of Object in java.io
 

Subclasses of Object in java.io
 class ByteArrayInputStream
          A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
 class ByteArrayOutputStream
          This class implements an output stream in which the data is written into a byte array.
 class DataInputStream
          A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
 class DataOutputStream
          A data output stream lets an application write primitive Java data types to an output stream in a portable way.
 class EOFException
          Signals that an end of file or end of stream has been reached unexpectedly during input.
 class InputStream
          This abstract class is the superclass of all classes representing an input stream of bytes.
 class InputStreamReader
          An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
 class InterruptedIOException
          Signals that an I/O operation has been interrupted.
 class IOException
          Signals that an I/O exception of some sort has occurred.
 class OutputStream
          This abstract class is the superclass of all classes representing an output stream of bytes.
 class OutputStreamWriter
          An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
 class PrintStream
          A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
 class Reader
          Abstract class for reading character streams.
 class UnsupportedEncodingException
          The Character Encoding is not supported.
 class UTFDataFormatException
          Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
 class Writer
          Abstract class for writing to character streams.
 

Fields in java.io declared as Object
protected  Object Reader.lock
          The object used to synchronize operations on this stream.
protected  Object Writer.lock
          The object used to synchronize operations on this stream.
 

Methods in java.io with parameters of type Object
 void PrintStream.print(Object obj)
          Print an object.
 void PrintStream.println(Object x)
          Print an Object and then terminate the line.
 

Constructors in java.io with parameters of type Object
Reader(Object lock)
          Create a new character-stream reader whose critical sections will synchronize on the given object.
Writer(Object lock)
          Create a new character-stream writer whose critical sections will synchronize on the given object.
 

Uses of Object in java.lang
 

Subclasses of Object in java.lang
 class ArithmeticException
          Thrown when an exceptional arithmetic condition has occurred.
 class ArrayIndexOutOfBoundsException
          Thrown to indicate that an array has been accessed with an illegal index.
 class ArrayStoreException
          Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
 class Boolean
          The Boolean class wraps a value of the primitive type boolean in an object.
 class Byte
          The Byte class is the standard wrapper for byte values.
 class Character
          The Character class wraps a value of the primitive type char in an object.
 class Class
          Instances of the class Class represent classes and interfaces in a running Java application.
 class ClassCastException
          Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
 class ClassNotFoundException
          Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
 class Double
          The Double class wraps a value of the primitive type double in an object.
 class Error
          An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
 class Exception
          The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
 class Float
          The Float class wraps a value of primitive type float in an object.
 class IllegalAccessException
          Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
 class IllegalArgumentException
          Thrown to indicate that a method has been passed an illegal or inappropriate argument.
 class IllegalMonitorStateException
          Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
 class IllegalStateException
          Signals that a method has been invoked at an illegal or inappropriate time.
 class IllegalThreadStateException
          Thrown to indicate that a thread is not in an appropriate state for the requested operation.
 class IndexOutOfBoundsException
          Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
 class InstantiationException
          Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
 class Integer
          The Integer class wraps a value of the primitive type int in an object.
 class InterruptedException
          Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
 class Long
          The Long class wraps a value of the primitive type long in an object.
 class Math
          The class Math contains methods for performing basic numeric operations.
 class NegativeArraySizeException
          Thrown if an application tries to create an array with negative size.
 class NoClassDefFoundError
          Thrown if the Java Virtual Machine tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
 class NullPointerException
          Thrown when an application attempts to use null in a case where an object is required.
 class NumberFormatException
          Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
 class OutOfMemoryError
          Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
 class Runtime
          Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
 class RuntimeException
          RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
 class SecurityException
          Thrown by the system to indicate a security violation.
 class Short
          The Short class is the standard wrapper for short values.
 class String
          The String class represents character strings.
 class StringBuffer
          A string buffer implements a mutable sequence of characters.
 class StringIndexOutOfBoundsException
          Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
 class System
          The System class contains several useful class fields and methods.
 class Thread
          A thread is a thread of execution in a program.
 class Throwable
          The Throwable class is the superclass of all errors and exceptions in the Java language.
 class VirtualMachineError
          Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
 

Methods in java.lang that return Object
 Object Class.newInstance()
          Creates a new instance of a class.
 

Methods in java.lang with parameters of type Object
 boolean Long.equals(Object obj)
          Compares this object against the specified object.
 boolean Integer.equals(Object obj)
          Compares this object to the specified object.
 boolean Short.equals(Object obj)
          Compares this object to the specified object.
 boolean Byte.equals(Object obj)
          Compares this object to the specified object.
 boolean Double.equals(Object obj)
          Compares this object against the specified object.
 boolean Float.equals(Object obj)
          Compares this object against some other object.
 boolean Character.equals(Object obj)
          Compares this object against the specified object.
 boolean Boolean.equals(Object obj)
          Returns true if and only if the argument is not null and is a Boolean object that represents the same boolean value as this object.
 StringBuffer StringBuffer.append(Object obj)
          Appends the string representation of the Object argument to this string buffer.
 StringBuffer StringBuffer.insert(int offset, Object obj)
          Inserts the string representation of the Object argument into this string buffer.
static void System.arraycopy(Object src, int srcOffset, Object dst, int dstOffset, int length)
          Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
static int System.identityHashCode(Object x)
          Returns the same hashcode for the given object as would be returned by the default method hashCode(), whether or not the given object's class overrides hashCode().
 boolean Class.isInstance(Object obj)
          Determines if the specified Object is assignment-compatible with the object represented by this Class.
 boolean String.equals(Object anObject)
          Compares this string to the specified object.
static String String.valueOf(Object obj)
          Returns the string representation of the Object argument.
 boolean Object.equals(Object obj)
          Indicates whether some other object is "equal to" this one.
 

Uses of Object in java.lang.ref
 

Subclasses of Object in java.lang.ref
 class Reference
          Abstract base class for reference objects.
 class WeakReference
          This class provides support for weak references.
 

Methods in java.lang.ref that return Object
 Object WeakReference.get()
          Returns this reference object's referent.
 Object Reference.get()
          Returns this reference object's referent.
 

Constructors in java.lang.ref with parameters of type Object
WeakReference(Object referent)
          Creates a new weak reference that refers to the given object.
 

Uses of Object in java.util
 

Subclasses of Object in java.util
 class Calendar
          Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.
 class Date
          The class Date represents a specific instant in time, with millisecond precision.
 class EmptyStackException
          Thrown by methods in the Stack class to indicate that the stack is empty.
 class Hashtable
          This class implements a hashtable, which maps keys to values.
 class NoSuchElementException
          Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
 class Random
          An instance of this class is used to generate a stream of pseudorandom numbers.
 class Stack
          The Stack class represents a last-in-first-out (LIFO) stack of objects.
 class Timer
          A facility for threads to schedule tasks for future execution in a background thread.
 class TimerTask
          A task that can be scheduled for one-time or repeated execution by a Timer.
 class TimeZone
          TimeZone represents a time zone offset, and also figures out daylight savings.
 class Vector
          The Vector class implements a growable array of objects.
 

Fields in java.util declared as Object
protected  Object[] Vector.elementData
          The array buffer into which the components of the vector are stored.
 

Methods in java.util that return Object
 Object Enumeration.nextElement()
          Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
 Object Stack.push(Object item)
          Pushes an item onto the top of this stack.
 Object Stack.pop()
          Removes the object at the top of this stack and returns that object as the value of this function.
 Object Stack.peek()
          Looks at the object at the top of this stack without removing it from the stack.
 Object Vector.elementAt(int index)
          Returns the component at the specified index.
 Object Vector.firstElement()
          Returns the first component of this vector.
 Object Vector.lastElement()
          Returns the last component of the vector.
 Object Hashtable.get(Object key)
          Returns the value to which the specified key is mapped in this hashtable.
 Object Hashtable.put(Object key, Object value)
          Maps the specified key to the specified value in this hashtable.
 Object Hashtable.remove(Object key)
          Removes the key (and its corresponding value) from this hashtable.
 

Methods in java.util with parameters of type Object
 boolean Calendar.equals(Object obj)
          Compares this calendar to the specified object.
 boolean Calendar.before(Object when)
          Compares the time field records.
 boolean Calendar.after(Object when)
          Compares the time field records.
 boolean Date.equals(Object obj)
          Compares two dates for equality.
 Object Stack.push(Object item)
          Pushes an item onto the top of this stack.
 int Stack.search(Object o)
          Returns the 1-based position where an object is on this stack.
 void Vector.copyInto(Object[] anArray)
          Copies the components of this vector into the specified array.
 boolean Vector.contains(Object elem)
          Tests if the specified object is a component in this vector.
 int Vector.indexOf(Object elem)
          Searches for the first occurrence of the given argument, testing for equality using the equals method.
 int Vector.indexOf(Object elem, int index)
          Searches for the first occurrence of the given argument, beginning the search at index, and testing for equality using the equals method.
 int Vector.lastIndexOf(Object elem)
          Returns the index of the last occurrence of the specified object in this vector.
 int Vector.lastIndexOf(Object elem, int index)
          Searches backwards for the specified object, starting from the specified index, and returns an index to it.
 void Vector.setElementAt(Object obj, int index)
          Sets the component at the specified index of this vector to be the specified object.
 void Vector.insertElementAt(Object obj, int index)
          Inserts the specified object as a component in this vector at the specified index.
 void Vector.addElement(Object obj)
          Adds the specified component to the end of this vector, increasing its size by one.
 boolean Vector.removeElement(Object obj)
          Removes the first occurrence of the argument from this vector.
 boolean Hashtable.contains(Object value)
          Tests if some key maps into the specified value in this hashtable.
 boolean Hashtable.containsKey(Object key)
          Tests if the specified object is a key in this hashtable.
 Object Hashtable.get(Object key)
          Returns the value to which the specified key is mapped in this hashtable.
 Object Hashtable.put(Object key, Object value)
          Maps the specified key to the specified value in this hashtable.
 Object Hashtable.remove(Object key)
          Removes the key (and its corresponding value) from this hashtable.
 


BenQ Mobile

Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner.
All Rights Reserved.
BenQ Corp. is a trademark licensee of Siemens AG.


For further information about Mobility Toolkit (MTK) visit our Developer Portal.