Code example for PrimitiveSink

Methods: putLong

0
         */ 
        enum DumbValueFunnel implements Funnel<IMetaEntry> {
            INSTANCE;
            public void funnel(IMetaEntry from, PrimitiveSink into) {
                DumbValue data = (DumbValue)from;
                into.putLong(data.mData);
            } 
        } 
 
        /** The data itself. */ 
        private final long mData;
 
        /** 
         * Constructor. 
         *  
         * @param pData 
         *            setting the data 
         */ 
        public DumbValue(final long pData) {
            mData = pData;