private static class Chain.TransferChain
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.LinkedList |
mChain
The linked list that maintians the chain of names of the transfer
jobs.
|
Constructor and Description |
---|
TransferChain()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String name)
Adds to the end of the chain.
|
java.lang.String |
getLast()
Returns the last element in the chain.
|
java.lang.String |
toString()
Returns the textual description of the object.
|
private java.util.LinkedList mChain
public void add(java.lang.String name)
name
- the name of the transfer job.public java.lang.String getLast()
public java.lang.String toString()
toString
in class java.lang.Object