com.sap.netweaver.bc.serialize

Class EntryList

java.lang.Object
  extended by com.sap.netweaver.bc.serialize.EntryList

public final class EntryList
extends Object

Immutable list implementation that only holds instances of the Entry type. Also allows to filter for core and non-core entries

Copyright 2004 SAP AG


Constructor Summary
EntryList(Set set)
          Standard constructor
 
Method Summary
 Entry get(int i)
           
static EntryList getNewFilteredList(EntryList list, boolean isCore)
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntryList

public EntryList(Set set)
Standard constructor

Parameters:
set - must only contain Entry instances. The instances are copied into the list-persistence of this class. As Entry instances are immutable, so is the list itself.
Method Detail

size

public int size()

get

public Entry get(int i)

getNewFilteredList

public static EntryList getNewFilteredList(EntryList list,
                                           boolean isCore)
Parameters:
list - the list that contains the Entry instances to filter. Must not be null
isCore - flag telling if core or non-core Entry instances should be in the returned list. If the value is set to true, only Entry instances that return true for the isCore method will be included in the returned list.
Returns:
a new EntryList instance that holds a subset of the given list. Filtering is done using the isCore parameter

toString

public String toString()
Overrides:
toString in class Object
Access Rights

This class can be accessed from:


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


Copyright 2012 SAP AG Complete Copyright Notice