public IrisMatrix() { super(data.length, data[0].length); setLabel("Iris flower data set"); setColumnLabel(0, "Sepal Length"); setColumnLabel(1, "Sepal Width"); setColumnLabel(2, "Petal Length"); setColumnLabel(3, "Petal Width"); setColumnLabel(4, "Species"); }
public MemoryUsageMatrix() { super(3, 1); setLabel("Memory Usage"); setColumnLabel(0, "Bytes"); setRowLabel(0, "Free Memory"); setRowLabel(1, "Max Memory"); setRowLabel(2, "Total Memory"); }
public static ThreadMap getInstance() { if (threadMap == null) { threadMap = new ThreadMap(); } return threadMap; }
public void actionPerformed(ActionEvent e) { new MatrixLibraries().showGUI(); } }
public MatrixLibraries matrixLibraries() { return new MatrixLibraries(); }
public Object call() { Matrix m = new IrisMatrix(); return m; } }
public Object call() { Matrix m = new MandelbrotMatrix(); return m; }
public final LocalhostMatrix localhostMatrix() throws SocketException { return LocalhostMatrix.getInstance(); }
public final SystemEnvironmentMatrix systemEnvironment() { return new SystemEnvironmentMatrix(); }
public final SystemPropertiesMatrix systemProperties() { return new SystemPropertiesMatrix(); }
public static final NetworkMatrix getInstance() throws SocketException { if (instance == null) { synchronized (lock) { if (instance == null) { instance = new NetworkMatrix(); } } } return instance; }
public static final LocalhostMatrix getInstance() throws SocketException { if (instance == null) { synchronized (lock) { if (instance == null) { instance = new LocalhostMatrix(); } } } return instance; }
public RandomSeedMatrix() { super(1, 1); setLabel("Random Seed"); }
public AvailableProcessorsMatrix() { super(1, 1); setLabel("Available Processors"); }
@Override public Object run() { return searchServices(); }
public final SystemTimeMatrix systemTime() { return new SystemTimeMatrix(); }
public final AvailableProcessorsMatrix availableProcessors() { return new AvailableProcessorsMatrix(); }
public Object getObject(long row, long column) { return getObject((int) row, (int) column); }
public final RunningThreadsMatrix runningThreads() { return new RunningThreadsMatrix(); }
public final IrisMatrix irisMatrix() { return new IrisMatrix(); }