Package org.apache.beam.sdk.fn.data
Class WeightedList<T>
java.lang.Object
org.apache.beam.sdk.fn.data.WeightedList<T>
- All Implemented Interfaces:
 org.apache.beam.sdk.util.Weighted
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulateWeight(long weight) voidvoidvoidaddAll(WeightedList<T> values) longbooleanisEmpty()static <T> WeightedList<T> intsize() 
- 
Constructor Details
- 
WeightedList
 
 - 
 - 
Method Details
- 
of
 - 
getBacking
 - 
size
public int size() - 
isEmpty
public boolean isEmpty() - 
getWeight
public long getWeight()- Specified by:
 getWeightin interfaceorg.apache.beam.sdk.util.Weighted
 - 
add
 - 
addAll
 - 
addAll
 - 
accumulateWeight
public void accumulateWeight(long weight)  
 -