/** * Copyright (c): Uwe Schmidt, FH Wedel * * You may study, modify and distribute this source code * FOR NON-COMMERCIAL PURPOSES ONLY. * This copyright message has to remain unchanged. * * Note that this document is provided 'as is', * WITHOUT WARRANTY of any kind either expressed or implied. */ package ds.util; /** just an example class for elements without any specific properties */ public class V { public final int value; private V(int v) { value = v; } // smart constructor public static V mkV(int v) { return new V(v); } public String toString() { return "" + value; } }