Code example for PrimitiveSink

Methods: putLong

    enum AtomicValueFunnel implements Funnel<org.treetank.api.IData> {
        public void funnel(org.treetank.api.IData data, PrimitiveSink into) {
            final AtomicValue from = (AtomicValue)data;
    /** Value of the item as byte array. */ 
    private byte[] mValue;
    /** The item's value type. */ 
    private int mType;
     * The item's key. In case of an Atomic value this is always a negative to 
     * make them distinguishable from nodes. 
    private long mItemKey;