net.floodlightcontroller.util
Class LinkedHashSetWrapper<E>

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by com.google.common.collect.ForwardingCollection<E>
          extended by net.floodlightcontroller.util.LinkedHashSetWrapper<E>
All Implemented Interfaces:
java.lang.Iterable<E>, java.util.Collection<E>, OrderedCollection<E>

public class LinkedHashSetWrapper<E>
extends com.google.common.collect.ForwardingCollection<E>
implements OrderedCollection<E>

A simple wrapper / forwarder that forwards all calls to a LinkedHashSet. This wrappers sole reason for existence is to implement the OrderedCollection marker interface.

Author:
gregor

Constructor Summary
LinkedHashSetWrapper()
           
LinkedHashSetWrapper(java.util.Collection<? extends E> c)
           
 
Method Summary
protected  java.util.Collection<E> delegate()
           
 
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
 
Methods inherited from class com.google.common.collect.ForwardingObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

LinkedHashSetWrapper

public LinkedHashSetWrapper()

LinkedHashSetWrapper

public LinkedHashSetWrapper(java.util.Collection<? extends E> c)
Method Detail

delegate

protected java.util.Collection<E> delegate()
Overrides:
delegate in class com.google.common.collect.ForwardingCollection<E>