package com.yanzuoguang.util.vo; /** * 引用值,方便修改 * int func(Ref<Interger> int1,Ref<Integer> int2){ int1.value =1 ; } * @param <T> * @author 颜佐光 */ public class Ref<T> { public T value; public Ref(T value) { this.value = value; } }