Package | Description |
---|---|
org.apache.mahout.math.function |
Core interfaces for functions, comparisons and procedures on objects and primitive data types.
|
org.apache.mahout.math.map |
Automatically growing and shrinking maps holding objects or primitive
data types such as int, double, etc.
|
Modifier and Type | Field and Description |
---|---|
static DoubleDoubleProcedure |
Functions.IS_EQUAL
Function that returns a == b.
|
static DoubleDoubleProcedure |
Functions.IS_GREATER
Function that returns
a > b . |
static DoubleDoubleProcedure |
Functions.IS_LESS
Function that returns
a < b . |
Modifier and Type | Method and Description |
---|---|
boolean |
OpenDoubleDoubleHashMap.forEachPair(DoubleDoubleProcedure procedure)
Applies a procedure to each (key,value) pair of the receiver, if any.
|
boolean |
AbstractDoubleDoubleMap.forEachPair(DoubleDoubleProcedure procedure)
Applies a procedure to each (key,value) pair of the receiver, if any.
|
void |
OpenDoubleDoubleHashMap.pairsMatching(DoubleDoubleProcedure condition,
DoubleArrayList keyList,
DoubleArrayList valueList)
Fills all pairs satisfying a given condition into the specified lists.
|
void |
AbstractDoubleDoubleMap.pairsMatching(DoubleDoubleProcedure condition,
DoubleArrayList keyList,
DoubleArrayList valueList)
Fills all pairs satisfying a given condition into the specified lists.
|
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.