Class BiConsumerProjection
- java.lang.Object
-
- com.github.skjolber.stcsv.databinder.projection.BiConsumerProjection
-
- All Implemented Interfaces:
ValueProjection
public class BiConsumerProjection extends Object implements ValueProjection
-
-
Field Summary
Fields Modifier and Type Field Description protected CsvColumnValueConsumer<?>biConsumerprotected StringbiConsumerInternalNamestatic StringbiConsumerNameprotected static intcurrentArrayIndexprotected static intcurrentOffsetIndexprotected booleandirectMethodprotected intindexprotected static intintermediateIndexprotected static intobjectIndexprotected static intrangeIndexprotected static intstartIndex
-
Constructor Summary
Constructors Constructor Description BiConsumerProjection(CsvColumnValueConsumer<?> biConsumer, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CsvColumnValueConsumer<?>getBiConsumer()StringgetBiConsumerInternalName()voidwrite(org.objectweb.asm.MethodVisitor mv, String subClassInternalName, int endIndex)
-
-
-
Field Detail
-
currentOffsetIndex
protected static final int currentOffsetIndex
- See Also:
- Constant Field Values
-
currentArrayIndex
protected static final int currentArrayIndex
- See Also:
- Constant Field Values
-
objectIndex
protected static final int objectIndex
- See Also:
- Constant Field Values
-
startIndex
protected static final int startIndex
- See Also:
- Constant Field Values
-
rangeIndex
protected static final int rangeIndex
- See Also:
- Constant Field Values
-
intermediateIndex
protected static final int intermediateIndex
- See Also:
- Constant Field Values
-
biConsumerName
public static final String biConsumerName
-
biConsumerInternalName
protected final String biConsumerInternalName
-
biConsumer
protected final CsvColumnValueConsumer<?> biConsumer
-
index
protected final int index
-
directMethod
protected final boolean directMethod
-
-
Constructor Detail
-
BiConsumerProjection
public BiConsumerProjection(CsvColumnValueConsumer<?> biConsumer, int index)
-
-
Method Detail
-
write
public void write(org.objectweb.asm.MethodVisitor mv, String subClassInternalName, int endIndex)- Specified by:
writein interfaceValueProjection
-
getBiConsumerInternalName
public String getBiConsumerInternalName()
-
getBiConsumer
public CsvColumnValueConsumer<?> getBiConsumer()
-
-