Build 1.0_r1(from source)

android.util
Class EventLog.List

java.lang.Object
  extended by android.util.EventLog.List
Enclosing class:
EventLog

public static final class EventLog.List
extends Object

An immutable tuple used to log a heterogeneous set of loggable items. The items can be Integer, Long, String, or List. The maximum number of items is 127


Constructor Summary
EventLog.List(Object... items)
          Create a new tuple.
 
Method Summary
 Object getItem(int pos)
          Get a particular tuple item
 byte getNumItems()
          Get the number of items in the tuple.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventLog.List

public EventLog.List(Object... items)
              throws IllegalArgumentException
Create a new tuple.

Parameters:
items - The items to create the tuple with, as varargs.
Throws:
IllegalArgumentException - if the arguments are too few (0), too many, or aren't loggable types.
Method Detail

getItem

public final Object getItem(int pos)
Get a particular tuple item

Parameters:
pos - The position of the item in the tuple

getNumItems

public final byte getNumItems()
Get the number of items in the tuple.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature