Package | Description |
---|---|
org.apache.mahout.math.function |
Core interfaces for functions, comparisons and procedures on objects and primitive data types.
|
org.apache.mahout.math.list |
Resizable lists holding objects or primitive data types such as int,
double, etc.
|
org.apache.mahout.math.map |
Automatically growing and shrinking maps holding objects or primitive
data types such as int, double, etc.
|
org.apache.mahout.math.set |
Modifier and Type | Method and Description |
---|---|
static DoubleProcedure |
Functions.isBetween(double from,
double to)
Constructs a function that returns from<=a && a<=to.
|
static DoubleProcedure |
Functions.isEqual(double b)
Constructs a function that returns a == b.
|
static DoubleProcedure |
Functions.isGreater(double b)
Constructs a function that returns a > b.
|
static DoubleProcedure |
Functions.isLess(double b)
Constructs a function that returns a < b.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DoubleArrayList.forEach(DoubleProcedure procedure)
Applies a procedure to each element of the receiver, if any.
|
boolean |
AbstractDoubleList.forEach(DoubleProcedure procedure)
Applies a procedure to each element of the receiver, if any.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OpenDoubleShortHashMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
boolean |
OpenDoubleObjectHashMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
boolean |
OpenDoubleLongHashMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
boolean |
OpenDoubleIntHashMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
boolean |
OpenDoubleFloatHashMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
boolean |
OpenDoubleDoubleHashMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
boolean |
OpenDoubleCharHashMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
boolean |
OpenDoubleByteHashMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
abstract boolean |
AbstractDoubleShortMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
abstract boolean |
AbstractDoubleObjectMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
abstract boolean |
AbstractDoubleLongMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
abstract boolean |
AbstractDoubleIntMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
abstract boolean |
AbstractDoubleFloatMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
abstract boolean |
AbstractDoubleDoubleMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
abstract boolean |
AbstractDoubleCharMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
abstract boolean |
AbstractDoubleByteMap.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OpenDoubleHashSet.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
abstract boolean |
AbstractDoubleSet.forEachKey(DoubleProcedure procedure)
Applies a procedure to each key of the receiver, if any.
|
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.