Code example for PrimitiveSink

Methods: putInt

0
         */ 
        enum MetaKeyFunnel implements Funnel<IMetaEntry> {
            INSTANCE;
            public void funnel(IMetaEntry from, PrimitiveSink into) {
                MetaKey node = (MetaKey)from;
                into.putInt(node.mKey);
            } 
        } 
 
        /** Key Variable. */ 
        private final int mKey;
 
        /** 
         * Constructor 
         *  
         * @param pData 
         *            setting the key 
         */ 
        public MetaKey(final int pData) {
            mKey = pData;