Examples of IntArray


Examples of de.ailis.jollada.model.IntArray

    public void testArray()
    {
        final DataFlowSource source = new DataFlowSource("ID");
        source.setArray(null);
        assertNull(source.getArray());
        final Array array = new IntArray(16);
        source.setArray(array);
        assertSame(array, source.getArray());
        source.setArray(null);
        assertNull(source.getArray());
    }
View Full Code Here

Examples of de.esoco.j2me.util.IntArray

      nStorageHandle = rStorage.getCurrentNode();
    }

    int nPreviousNodeStorageHandle = readFields(rStorage);

    IntArray aPrevNodeHandles = new IntArray();

    while (rStorage.nextNode())
    {
      BasicHierarchyNode rNode = newChildNode(null);

      rNode.rParent = this;
      aPrevNodeHandles.add(rNode.readFrom(rStorage));
      rStorage.closeNode();
      aChildren.addElement(rNode);
    }

    rebuildChildOrder(aPrevNodeHandles);
View Full Code Here

Examples of net.imglib2.img.basictypeaccess.array.IntArray

   * Create an {@link Image} with {@code data}. Writing to the {@code data}
   * array will update the {@link Image}.
   */
  public ARGBScreenImage( final int width, final int height, final int[] data )
  {
    super( new IntArray( data ), new long[]{ width, height }, new Fraction() );
    setLinkedType( new ARGBType( this ) );
    this.data = data;

    final SampleModel sampleModel = ARGB_COLOR_MODEL.createCompatibleWritableRaster( 1, 1 ).getSampleModel()
        .createCompatibleSampleModel( width, height );
View Full Code Here

Examples of org.antlr.runtime.misc.IntArray

    /** Make stream jump to a new location, saving old location.
     *  Switch back with pop().
     */
    public void push(int index) {
        if ( calls==null ) {
            calls = new IntArray();
        }
        calls.push(p); // save current index
        seek(index);
    }
View Full Code Here

Examples of org.antlr.runtime.misc.IntArray

  /** Make stream jump to a new location, saving old location.
   *  Switch back with pop().
   */
  public void push(int index) {
    if ( calls==null ) {
      calls = new IntArray();
    }
    calls.push(p); // save current index
    seek(index);
  }
View Full Code Here

Examples of org.antlr.runtime.misc.IntArray

    /** Make stream jump to a new location, saving old location.
     *  Switch back with pop().
     */
    public void push(int index) {
        if ( calls==null ) {
            calls = new IntArray();
        }
        calls.push(p); // save current index
        seek(index);
    }
View Full Code Here

Examples of org.antlr.runtime.misc.IntArray

  /** Make stream jump to a new location, saving old location.
   *  Switch back with pop().
   */
  public void push(int index) {
    if ( calls==null ) {
      calls = new IntArray();
    }
    calls.push(p); // save current index
    seek(index);
  }
View Full Code Here

Examples of org.antlr.runtime.misc.IntArray

    /** Make stream jump to a new location, saving old location.
     *  Switch back with pop().
     */
    public void push(int index) {
        if ( calls==null ) {
            calls = new IntArray();
        }
        calls.push(p); // save current index
        seek(index);
    }
View Full Code Here

Examples of org.antlr.runtime3_3_0.misc.IntArray

  /** Make stream jump to a new location, saving old location.
   *  Switch back with pop().
   */
  public void push(int index) {
    if ( calls==null ) {
      calls = new IntArray();
    }
    calls.push(p); // save current index
    seek(index);
  }
View Full Code Here

Examples of org.apache.lucene.facet.collections.IntArray

public class IntArrayTest extends FacetTestCase {
 
  @Test
  public void test0() {
    IntArray array = new IntArray();
   
    assertEquals(0, array.size());
   
    for (int i = 0; i < 100; ++i) {
      array.addToArray(i);
    }
   
    assertEquals(100, array.size());
    for (int i = 0; i < 100; ++i) {
      assertEquals(i, array.get(i));
    }
   
    assertTrue(array.equals(array));
  }
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.