¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

My Java/Android Flashcards

Brian Alcorn Java Java Inglés 19 fichas

Fichas del conjunto (19)

  1. 1IBinderpublic interface IBinder
    android.os.IBinder
    Base interface for a remotable object, the core part of a lightweight remote procedure call mechanism designed for high performance when performing in-process and cross-process calls.
  2. 2Parcelablepublic interface Parcelable
    android.os.Parcelable
    Interface for classes whose instances can be written to and restored from a Parcel. Classes implementing the Parcleable interface must also have a non-null static field called CREATOR of a type that implements the Parcelable.Creator interface.
  3. 3@IntDefandroid.support.annotation.IntDef
    Denotes that the annotated element of integer type, represents a logical type and that its value should be one of the explicitly named constants. If the IntDef#flag() attribute is set to true, multiple constants can be combined.
  4. 4Bundlepublic final class Bundle
    extends BaseBundle
    implements Cloneable, Parcelable
    android.os.Bundle
    A mapping from String keys to various Parcelable values.
  5. 5Cloneablepublic interface Cloneable
    java.lang.Cloneable
    A class implements the Cloneable interface to indicate to the Object.clone() method that it is legal for that method to make a field-for-field copy of the instances of that class.
  6. 6Objectpublic class Object
    java.lang.Object
    Class Object is the root of the class hierarchy. Every class has Object as a superclass. All objects, including arrays, implement the methods of this class.
  7. 7getClass()Object.getClass()
    public final Class getClass()
    Returns the runtime class of this Object. The returned Class object is the object that is locked by static synchronized methods of the represented class.
    The actual result type is Class where |X| is the erasure of the static type of the expression on which getClass is called.
    For example, no cast is required in this code fragment:
    Number n = 0;
    Class c = n.getClass();
  8. 8Classpublic final class Class
    extends Object
    implements Serializable, GenericDeclaration, Type, AnnotatedElement
    java.lang.Class
    Instances of the class Class represent classes and interfaces in a running Java application. An enum is a kind of class and an annotation is a kind of interface. Every array also belongs to a class that is reflected as a Class object that is shared by all arrays with the same element type and number of dimensions. The primitive Java types (boolean, byte, char, short, int, long, float, and double), and the keyword void are also represented as Class objects.
  9. 9equals( Object obj)Object.equals(Object obj)
    public boolean equals(Object obj)
    Indicates whether some other object is "equal to" this one.
  10. 10hashCode()Object.hashCode()
    public int hashCode()
    Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by HashMap.
  11. 11notify()Object.notify()
    public final void notify ()
    Wakes up a single thread that is waiting on this object's monitor. If any threads are waiting on this object, one of them is chosen to be awakened. The choice is arbitrary and occurs at the discretion of the implementation. A thread waits on an object's monitor by calling one of the wait methods.
  12. 12notifyAll()Object.notifyAll()
    public final void notifyAll ()
    Wakes up all threads that are waiting on this object's monitor. A thread waits on an object's monitor by calling one of the wait methods.
  13. 13toString()Object.toString()
    public String toString ()
    Returns a string representation of the object. In general, the toString() method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.
  14. 14wait()Object.wait()
    public final void wait (long millis,
    int nanos)
    Causes the current thread to wait until another thread invokes the notify() method or the notifyAll() method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
  15. 15IllegalMonitorStateExceptionjava.lang.IllegalMonitorStateException
    public class IllegalMonitorStateException
    extends RuntimeException
    IllegalMonitorStateException()
    IllegalMonitorStateException(String message)
    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.
  16. 16RuntimeExceptionjava.lang.RuntimeException
    public class RuntimeException
    extends Exception
    RuntimeException()
    RuntimeException(String message)
    RuntimeException(String message, Throwable cause)
    RuntimeException(Throwable cause)
    RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
  17. 17Exceptionjava.lang.Exception
    public class Exception
    extends Throwable
    public Exception ()
    public Exception (String message)
    public Exception (String message,
    Throwable cause)
    public Exception (Throwable cause)
    protected Exception (String message,
    Throwable cause,
    boolean enableSuppression,
    boolean writableStackTrace)
    The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
  18. 18Throwablejava.lang.Throwable
    public class Throwable
    extends Object
    implements Serializable
    public Throwable ()
    public Throwable (String message)
    public Throwable (String message,
    Throwable cause)
    public Throwable (Throwable cause)
    protected Throwable (String message,
    Throwable cause,
    boolean enableSuppression,
    boolean writableStackTrace)
    The Throwable class is the superclass of all errors and exceptions in the Java language. Only objects that are instances of this class (or one of its subclasses) are thrown by the Java Virtual Machine or can be thrown by the Java throw statement. Similarly, only this class or one of its subclasses can be the argument type in a catch clause. For the purposes of compile-time checking of exceptions, Throwable and any subclass of Throwable that is not also a subclass of either RuntimeException or Error are regarded as checked exceptions.
  19. 19Serializablejava.io.Serializable
    public interface Serializable
    Serializability of a class is enabled by the class implementing the java.io.Serializable interface. Classes that do not implement this interface will not have any of their state serialized or deserialized. All subtypes of a serializable class are themselves serializable. The serialization interface has no methods or fields and serves only to identify the semantics of being serializable.

Información

Descripción
Java Java Fichas sobre My Java/Android Flashcards, creado por Brian Alcorn el 23/08/2018.
Creado por
Brian Alcorn
Visitas
2
Etiquetas
javaandroid
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?