com.sapportals.wcm.repository.util

Class ImmutableResourceList

java.lang.Object
  extended by com.sapportals.wcm.repository.util.ImmutableResourceList

public final class ImmutableResourceList
extends Object


Constructor Summary
ImmutableResourceList(IResourceList list)
           
 
Method Summary
 IResource get(int i)
          Returns the resource at the specified position.
 int size()
          Returns the size of the list.
 IResourceList subList(int index1, int index2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableResourceList

public ImmutableResourceList(IResourceList list)
Parameters:
list - the list which contains the resources to be handled. Must not be null. The resources will be copied (no deep copy!) into the resource list instance that backs this class. Modifications on the passed list will not be reflected on the newly created instance.
Method Detail

size

public int size()
Returns the size of the list.

Returns:
the size of the list.

get

public IResource get(int i)
Returns the resource at the specified position.

Parameters:
index - of the resource to return.
Returns:
the resource at the specified position.

subList

public IResourceList subList(int index1,
                             int index2)
See Also:
AbstractList.subList(int, int)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM


Copyright 2012 SAP AG Complete Copyright Notice