public static class BinPacking.PackingIterable<T>
extends java.lang.Object
implements java.lang.Iterable<java.util.List<T>>
Constructor and Description |
---|
PackingIterable(java.lang.Iterable<T> iterable,
long targetWeight,
int lookback,
java.util.function.Function<T,java.lang.Long> weightFunc) |
PackingIterable(java.lang.Iterable<T> iterable,
long targetWeight,
int lookback,
java.util.function.Function<T,java.lang.Long> weightFunc,
boolean largestBinFirst) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.util.List<T>> |
iterator() |