|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.wurfl.core.resource.WURFLResources
public final class WURFLResources
Collection of WURFLResource.
| Constructor Summary | |
|---|---|
WURFLResources()
Default constructor |
|
WURFLResources(Collection resources)
Constructor by WURFLResource collection. |
|
WURFLResources(WURFLResource[] resources)
Constructor by WURFLResource array. |
|
| Method Summary | |
|---|---|
void |
add(WURFLResource resource)
Add a WURFLResource to collection. |
boolean |
equals(Object obj)
|
WURFLResource |
get(int index)
Return the WURFLResource at specified index. |
int |
hashCode()
|
int |
indexOf(WURFLResource resource)
Returns the index of given resource. |
Iterator |
iterator()
Returns a resources iterator. |
void |
release()
Release all held resources. |
void |
remove(WURFLResource resource)
Remove a resource from collection. |
int |
size()
Return the size of this collection. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WURFLResources()
public WURFLResources(WURFLResource[] resources)
resources - Array of WURFLResource.public WURFLResources(Collection resources)
resources - Collection| Method Detail |
|---|
public int size()
public WURFLResource get(int index)
WURFLResource at specified index.
index - Index of wanted WURFLResource.
public int indexOf(WURFLResource resource)
resource - The WURFLResource to find index.
public void release()
WURFLResource.release()public void add(WURFLResource resource)
resource - The WURFLResource to add.public void remove(WURFLResource resource)
resource - The WURFLResource to remove.public Iterator iterator()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||