@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof List) { return wrapList(key, (List<V>) collection, null); } else if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else if (collection instanceof SortedSet) { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } else if (collection instanceof Set) { return new WrappedSet(key, (Set<V>) collection); } else { return new WrappedCollection(key, collection, null); } }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof List) { return wrapList(key, (List<V>) collection, null); } else if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else if (collection instanceof SortedSet) { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } else if (collection instanceof Set) { return new WrappedSet(key, (Set<V>) collection); } else { return new WrappedCollection(key, collection, null); } }
@Override @GwtIncompatible("NavigableSet") Collection<V> wrapCollection(K key, Collection<V> collection) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); }
@Override @GwtIncompatible("NavigableSet") Collection<V> wrapCollection(K key, Collection<V> collection) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); }
@Override @GwtIncompatible("NavigableSet") Collection<V> wrapCollection(K key, Collection<V> collection) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); }
@Override @GwtIncompatible("NavigableSet") Collection<V> wrapCollection(K key, Collection<V> collection) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else if (collection instanceof SortedSet) { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } else { return new WrappedSet(key, (Set<V>) collection); } }
@Override @GwtIncompatible("NavigableSet") Collection<V> wrapCollection(K key, Collection<V> collection) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); }
@Override @GwtIncompatible("NavigableSet") Collection<V> wrapCollection(K key, Collection<V> collection) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else if (collection instanceof SortedSet) { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } else { return new WrappedSet(key, (Set<V>) collection); } }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } }
@Override @GwtIncompatible("NavigableSet") Collection<V> wrapCollection(K key, Collection<V> collection) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof List) { return wrapList(key, (List<V>) collection, null); } else if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else if (collection instanceof SortedSet) { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } else if (collection instanceof Set) { return new WrappedSet(key, (Set<V>) collection); } else { return new WrappedCollection(key, collection, null); } }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else if (collection instanceof SortedSet) { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } else { return new WrappedSet(key, (Set<V>) collection); } }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof List) { return wrapList(key, (List<V>) collection, null); } else if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else if (collection instanceof SortedSet) { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } else if (collection instanceof Set) { return new WrappedSet(key, (Set<V>) collection); } else { return new WrappedCollection(key, collection, null); } }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else if (collection instanceof SortedSet) { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } else { return new WrappedSet(key, (Set<V>) collection); } }
@Override Collection<V> wrapCollection(K key, Collection<V> collection) { if (collection instanceof List) { return wrapList(key, (List<V>) collection, null); } else if (collection instanceof NavigableSet) { return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null); } else if (collection instanceof SortedSet) { return new WrappedSortedSet(key, (SortedSet<V>) collection, null); } else if (collection instanceof Set) { return new WrappedSet(key, (Set<V>) collection); } else { return new WrappedCollection(key, collection, null); } }