Package org.onlab.util
Class GuavaCollectors
- java.lang.Object
- 
- org.onlab.util.GuavaCollectors
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> Collector<T,com.google.common.collect.ImmutableList.Builder<T>,com.google.common.collect.ImmutableList<T>>toImmutableList()Deprecated.in 1.11.0 consider usingImmutableList.toImmutableList()instead.static <T> Collector<T,com.google.common.collect.ImmutableSet.Builder<T>,com.google.common.collect.ImmutableSet<T>>toImmutableSet()Deprecated.in 1.11.0 consider usingImmutableSet.toImmutableSet()instead.
 
- 
- 
- 
Method Detail- 
toImmutableSet@Deprecated public static <T> Collector<T,com.google.common.collect.ImmutableSet.Builder<T>,com.google.common.collect.ImmutableSet<T>> toImmutableSet() Deprecated.in 1.11.0 consider usingImmutableSet.toImmutableSet()instead.Returns aCollectorthat accumulates the input elements into a new ImmutableSet.- Type Parameters:
- T- type
- Returns:
- a Collectorwhich collects all the input elements into aImmutableSet
 
 - 
toImmutableList@Deprecated public static <T> Collector<T,com.google.common.collect.ImmutableList.Builder<T>,com.google.common.collect.ImmutableList<T>> toImmutableList() Deprecated.in 1.11.0 consider usingImmutableList.toImmutableList()instead.Returns aCollectorthat accumulates the input elements into a new ImmutableList.- Type Parameters:
- T- type
- Returns:
- a Collectorwhich collects all the input elements into aImmutableList, in encounter order
 
 
- 
 
-