//PutInt64 function will add the key,value to the properties. The value is accepted as int64 however is is stored as a
//string. If the property was already present then the previous values is returned
PutInt64 function will add the key,value to the properties. The value is accepted as int64 however is is stored as a
string. If the property was already present then the previous values is returned
// PutInt64 function will add the key value to the properties . The value is accepted as int64 however is is stored as a // string . If the property was already present then the previous values is returned
func (p *Properties) PutInt64(k string, v int64) (int64, error) {
	p.Lock()
	defer p.Unlock()
	var ret int64
	var err error = nil
	if oldValue, ok := p.props[k]; ok {
		ret, err = strconv.ParseInt(p.resolve(oldValue), 10, 64)
	}
	p.props[k] = createValue(k, strconv.FormatInt(v, 10))
	p.resolveAll()
	return ret, err
}
func ( p * Properties ) PutInt64 ( k string , v int64 ) ( int64 , error ) { p . Lock ( ) defer p . Unlock ( ) var ret int64 var err error = nil if oldValue , ok := p . props [ k ] ; ok { ret , err = strconv . ParseInt ( p . resolve ( oldValue ) , 10 , 64 ) } p . props [ k ] = createValue ( k , strconv . FormatInt ( v , 10 ) ) p . resolveAll ( ) return ret , err }
PutInt64 function will add the key,value to the properties.
PutInt64 function will add the key value to the properties .