annotate src/samer/silk/SilkObserver.java @ 8:5e3cbbf173aa tip

Reorganise some more
author samer
date Fri, 05 Apr 2019 22:41:58 +0100
parents bf79fb79ee13
children
rev   line source
samer@0 1 package samer.silk;
samer@0 2
samer@0 3 import java.util.*;
samer@0 4 import jsint.*;
samer@0 5
samer@0 6 public class SilkObserver implements Observer {
samer@0 7 Procedure _update;
samer@0 8
samer@0 9 public SilkObserver(Procedure _update) { this._update=_update; }
samer@0 10 public void update(Observable o, Object a) {
samer@0 11 Object[] args = { o, a}; _update.apply(args);
samer@0 12 }
samer@0 13 }