use of uk.gov.gchq.gaffer.types.FreqMap in project Gaffer by gchq.
the class TestUtils method getMergedFreqMap.
private static FreqMap getMergedFreqMap() {
final FreqMap f = new FreqMap();
f.upsert("A", 2L);
f.upsert("B", 1L);
f.upsert("C", 1L);
return f;
}
use of uk.gov.gchq.gaffer.types.FreqMap in project Gaffer by gchq.
the class TestUtils method getFreqMap1.
public static FreqMap getFreqMap1() {
final FreqMap f = new FreqMap();
f.upsert("A", 1L);
f.upsert("B", 1L);
return f;
}
use of uk.gov.gchq.gaffer.types.FreqMap in project Gaffer by gchq.
the class TestUtils method getDoubledMergedFreqMap.
private static FreqMap getDoubledMergedFreqMap() {
final FreqMap f = new FreqMap();
f.upsert("A", 4L);
f.upsert("B", 2L);
f.upsert("C", 2L);
return f;
}
use of uk.gov.gchq.gaffer.types.FreqMap in project Gaffer by gchq.
the class TestUtils method getFreqMap2.
public static FreqMap getFreqMap2() {
final FreqMap f = new FreqMap();
f.upsert("A", 1L);
f.upsert("C", 1L);
return f;
}
use of uk.gov.gchq.gaffer.types.FreqMap in project Gaffer by gchq.
the class TestUtils method getDoubledFreqMap1.
public static FreqMap getDoubledFreqMap1() {
final FreqMap f = new FreqMap();
f.upsert("A", 2L);
f.upsert("B", 2L);
return f;
}
Aggregations