List of usage examples for java.util Observable getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:com.monead.semantic.workbench.SemanticWorkbench.java
@Override public void update(Observable o, Object arg) { LOGGER.debug("Update received from " + o.getClass().getName()); if (o instanceof SparqlServer) { updateSparqlServerInfo();// w ww .j a v a 2 s. c om } else if (o instanceof CheckLatestVersion) { notifyNewerVersion((NewVersionInformation) arg); } }
From source file:us.daveread.basicquery.BasicQuery.java
@Override public void update(Observable o, Object arg) { LOGGER.debug("Update received from " + o.getClass().getName()); if (o instanceof CheckLatestVersion) { notifyNewerVersion((NewVersionInformation) arg); }/* w w w . j a va2 s. c om*/ }