public class MinMaxOperation<K extends java.io.Serializable,V extends java.io.Serializable & java.lang.Comparable> extends UnboxedPair<Pair<K,V>,Pair<K,V>> implements java.io.Serializable, AssociativeOperation<Pair<Pair<K,V>,Pair<K,V>>>, AssociativeCommutativeOperation<Pair<Pair<K,V>,Pair<K,V>>>, UnboxedFunction<Pair<K,V>,Pair<Pair<K,V>,Pair<K,V>>>
Constructor and Description |
---|
MinMaxOperation(Unboxed<K> uk,
UnboxedComparable<V> uv) |
Modifier and Type | Method and Description |
---|---|
void |
call(byte[] buf_arg,
int ofs_arg,
byte[] buf_result,
int ofs_result)
The function MUST support situations where the argument
and return buffers overlap.
|
void |
multiply(byte[] buf1,
int ofs1,
byte[] buf2,
int ofs2,
byte[] buf_dest,
int ofs_dest)
Compute (buf1,ofs1)*(buf2,ofs2) and write it to (buf_dest,ofs_dest).
|
deserialize, getSize, serialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserialize, getSize, serialize
public MinMaxOperation(Unboxed<K> uk, UnboxedComparable<V> uv)
public void call(byte[] buf_arg, int ofs_arg, byte[] buf_result, int ofs_result)
UnboxedFunction
call
in interface UnboxedFunction<Pair<K extends java.io.Serializable,V extends java.io.Serializable & java.lang.Comparable>,Pair<Pair<K extends java.io.Serializable,V extends java.io.Serializable & java.lang.Comparable>,Pair<K extends java.io.Serializable,V extends java.io.Serializable & java.lang.Comparable>>>
public void multiply(byte[] buf1, int ofs1, byte[] buf2, int ofs2, byte[] buf_dest, int ofs_dest)
AssociativeOperation