Examples of ShortType


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

    }

    if ( ShortType.class.isAssignableFrom( type.getClass() ) )
    {
      final ShortArray array = new ShortArray( numElements( dims ) );
      final ArrayImgAWTScreenImage< ShortType, ShortArray > container = new ShortAWTScreenImage( new ShortType( array ), array, dims );
      container.setLinkedType( new ShortType( container ) );
      return ( ArrayImgAWTScreenImage ) container;
    }

    if ( UnsignedShortType.class.isAssignableFrom( type.getClass() ) )
    {
View Full Code Here

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

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

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

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

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

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

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

      }
      variableTypes.addType(new NullType());
      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());
View Full Code Here

Examples of org.apache.cayenne.access.types.ShortType

        // override date handler with Oracle handler
        map.registerType(new OracleUtilDateType());

        // At least on MacOS X, driver does not handle Short and Byte properly
        map.registerType(new ShortType(true));
        map.registerType(new ByteType(true));
        map.registerType(new OracleBooleanType());
    }
View Full Code Here

Examples of org.apache.cayenne.access.types.ShortType

        // create specially configured CharType handler
        map.registerType(new CharType(true, false));

        // address Derby driver inability to handle java.lang.Short and java.lang.Byte
        map.registerType(new ShortType(true));
        map.registerType(new ByteType(true));
    }
View Full Code Here

Examples of org.apache.cayenne.access.types.ShortType

        // create specially configured ByteArrayType handler
        map.registerType(new ByteArrayType(true, false));

        // address Sybase driver inability to handle java.lang.Short and java.lang.Byte
        map.registerType(new ShortType(true));
        map.registerType(new ByteType(true));
    }
View Full Code Here

Examples of org.apache.cayenne.access.types.ShortType

        // override date handler with Oracle handler
        map.registerType(new OracleUtilDateType());

        // At least on MacOS X, driver does not handle Short and Byte properly
        map.registerType(new ShortType(true));
        map.registerType(new ByteType(true));

        // these two types are needed to replace PreparedStatement binding
        // via "setObject()" to a call to setInt or setDouble to make
        // Oracle happy, esp. with the AST* expression classes
View Full Code Here

Examples of org.apache.cayenne.access.types.ShortType

        // create specially configured CharType handler
        map.registerType(new CharType(true, false));

        // address Derby driver inability to handle java.lang.Short and java.lang.Byte
        map.registerType(new ShortType(true));
        map.registerType(new ByteType(true));
    }
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.