Examples of IntArrayListWritable


Examples of org.apache.giraph.examples.SimpleTriangleClosingComputation.IntArrayListWritable

  public void testSuperstepZero() throws Exception {
    // this guy should end up with an array value of 4
    Vertex<IntWritable, IntArrayListWritable, NullWritable> vertex =
        new DefaultVertex<IntWritable, IntArrayListWritable, NullWritable>();

    IntArrayListWritable alw = new IntArrayListWritable();

    SimpleTriangleClosingComputation computation =
        new SimpleTriangleClosingComputation();
    MockUtils.MockedEnvironment env = MockUtils.prepareVertexAndComputation(
        vertex, new IntWritable(1), alw, false, computation, 0L);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.