org.ojalgo.machine
Class BasicMachine

java.lang.Object
  extended by 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

Field Summary
 long memory
           
 int threads
           
 
Constructor Summary
BasicMachine(long aMemory, int aThreads)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

memory

public final long memory

threads

public final int threads
Constructor Detail

BasicMachine

public BasicMachine(long aMemory,
                    int aThreads)
Method Detail

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