Yurttas/PL/OOL/Java/F/02/04/01/00/TT.java

From ZCubes Wiki
Jump to navigation Jump to search
 1/**
 2 *  Copyright(C) 2004
 3 *  All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
 4 *
 5 *  Permission to use, copy, modify, and distribute this
 6 *  software and its documentation for EDUCATIONAL purposes
 7 *  and without fee is hereby granted provided that this
 8 *  copyright notice appears in all copies.
 9 *
10 *  date   : September 1, 2004.
11 *  author : Salih Yurttas.
12 */
13
14
15public class TT<T> {
16
17  public void tA(final TA<T> o,
18                 final T t) {
19    System.out.println(o.getA0());
20
21    o.setA0(t);
22
23    System.out.println(o.getA0());
24  }
25
26}