Examples of LongType


Examples of com.intel.hadoop.graphbuilder.types.LongType

*/
public class LongParser implements FieldParser<LongType> {

  @Override
  public LongType getValue(String text) {
    return new LongType(Long.valueOf(text));
  }
View Full Code Here

Examples of net.imglib2.type.numeric.integer.LongType

      if ( binCounts[ i ] <= 0 ) { throw new IllegalArgumentException( "invalid bin count (<= 0)" ); }
    }

    // then build object

    counts = new ArrayImgFactory< LongType >().create( binCounts, new LongType() );

    accessor = counts.randomAccess();

    totalValues = 0;
  }
View Full Code Here

Examples of net.imglib2.type.numeric.integer.LongType

   * Create an {@link ArrayImg}<{@link LongType}, {@link LongArray}>.
   */
  @SuppressWarnings( "unchecked" )
  final static public ArrayImg< LongType, LongArray > longs( final long... dim )
  {
    return ( ArrayImg< LongType, LongArray > ) new ArrayImgFactory< LongType >().create( dim, new LongType() );
  }
View Full Code Here

Examples of net.imglib2.type.numeric.integer.LongType

   */
  final public static ArrayImg< LongType, LongArray > longs( final long[] array, final long... dim )
  {
    final LongArray access = new LongArray( array );
    final ArrayImg< LongType, LongArray > img = new ArrayImg< LongType, LongArray >( access, dim, new Fraction() );
    final LongType t = new LongType( img )
    img.setLinkedType( t );
    return img;
  }
View Full Code Here

Examples of net.imglib2.type.numeric.integer.LongType

   * Create an {@link PlanarImg}<{@link LongType}, {@link LongArray}>.
   */
  @SuppressWarnings( "unchecked" )
  final static public PlanarImg< LongType, LongArray > longs( final long... dim )
  {
    return ( PlanarImg< LongType, LongArray > ) new PlanarImgFactory< LongType >().create( dim, new LongType() );
  }
View Full Code Here

Examples of net.imglib2.type.numeric.integer.LongType

    { 5, 4, 3 },
    { 2, 1, 0 }
    } };
    for ( int i = 0; i < offsets.length; i++ )
    {
      final Img< LongType > img = new ArrayImgFactory< LongType >().create( new long[] { 3, 3 }, new LongType() );
      ImgUtil.copy( input, offsets[ i ], strides[ i ], img );
      final RandomAccess< LongType > ra = img.randomAccess();
      final long[] location = new long[ 2 ];
      for ( int x = 0; x < 3; x++ )
      {
View Full Code Here

Examples of net.imglib2.type.numeric.integer.LongType

    final long[][] expected = {
        { 0, 1, 2, 3, 4, 5, 6, 7, 8 },
        { 0, 3, 6, 1, 4, 7, 2, 5, 8 },
        { 8, 7, 6, 5, 4, 3, 2, 1, 0 } };
    final long[] output = new long[ 9 ];
    final Img< LongType > img = new ArrayImgFactory< LongType >().create( new long[] { 3, 3 }, new LongType() );
    final RandomAccess< LongType > ra = img.randomAccess();
    final long[] location = new long[ 2 ];
    for ( int x = 0; x < 3; x++ )
    {
      location[ 0 ] = x;
View Full Code Here

Examples of net.imglib2.type.numeric.integer.LongType

    final int[][] expected = {
        { 0, 1, 2, 3, 4, 5, 6, 7, 8 },
        { 0, 3, 6, 1, 4, 7, 2, 5, 8 },
        { 8, 7, 6, 5, 4, 3, 2, 1, 0 } };
    final int[] output = new int[ 9 ];
    final Img< LongType > img = new ArrayImgFactory< LongType >().create( new long[] { 3, 3 }, new LongType() );
    final RandomAccess< LongType > ra = img.randomAccess();
    final long[] location = new long[ 2 ];
    for ( int x = 0; x < 3; x++ )
    {
      location[ 0 ] = x;
View Full Code Here

Examples of org.activiti.engine.impl.variable.LongType

      variableTypes.addType(new StringType(4000));
      variableTypes.addType(new LongStringType(4001));
      variableTypes.addType(new BooleanType());
      variableTypes.addType(new ShortType());
      variableTypes.addType(new IntegerType());
      variableTypes.addType(new LongType());
      variableTypes.addType(new DateType());
      variableTypes.addType(new DoubleType());
      variableTypes.addType(new UUIDType());
      variableTypes.addType(new ByteArrayType());
      variableTypes.addType(new SerializableType());
View Full Code Here

Examples of org.apache.cassandra.db.marshal.LongType

        final ColumnFamilyStore cfStore = table.getColumnFamilyStore("Super1");
        final String ROW = "row2";

        RowMutation rm = new RowMutation("Keyspace1", ROW);
        ColumnFamily cf = ColumnFamily.create("Keyspace1", "Super1");
        SuperColumn sc = new SuperColumn("sc1".getBytes(), new LongType());
        sc.addColumn(new Column(getBytes(1), "val1".getBytes(), 1L));
        cf.addColumn(sc);
        rm.add(cf);
        rm.apply();
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.