no.uio.edd.utils.datautils
Class EddPointerChainUtils

java.lang.Object
  extended by no.uio.edd.utils.datautils.EddPointerChainUtils

public class EddPointerChainUtils
extends java.lang.Object


Constructor Summary
EddPointerChainUtils()
           
 
Method Summary
static EddChainable removeFromPointerChain(EddChainable firstElem, EddChainable toBeRemoved)
          All occurences of the element to be removed is excluded from the pointer chain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EddPointerChainUtils

public EddPointerChainUtils()
Method Detail

removeFromPointerChain

public static EddChainable removeFromPointerChain(EddChainable firstElem,
                                                  EddChainable toBeRemoved)
All occurences of the element to be removed is excluded from the pointer chain. Similarity is based on equal.

Parameters:
firstElem - The first element in the pointer chain.
toBeRemoved - The element to be removed.
Returns:
The first element of the resulting chain.