org.ojalgo.machine
Class BasicMachine
java.lang.Object
org.ojalgo.machine.BasicMachine
- Direct Known Subclasses:
- Hardware, VirtualMachine
public class BasicMachine
- extends Object
How much memory, and how many threads share that memory.
Used to describe either total system resources (system RAM and
total number of threads handled by the processors) or a cache
(processor's L1, L2 or L3 cache).
- Author:
- apete
|
Constructor Summary |
BasicMachine(long aMemory,
int aThreads)
|
memory
public final long memory
threads
public final int threads
BasicMachine
public BasicMachine(long aMemory,
int aThreads)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object