Examples of shrink()


Examples of com.alibaba.druid.pool.DruidDataSourceC3P0Adapter.shrink()

        dataSource.isDebugUnreturnedConnectionStackTraces();
        dataSource.setAcquireRetryAttempts(dataSource.getAcquireRetryAttempts());
        dataSource.setAcquireRetryDelay(dataSource.getAcquireRetryDelay());
        dataSource.setBreakAfterAcquireFailure(dataSource.isBreakAfterAcquireFailure());
        dataSource.isEnable();
        dataSource.shrink();
        dataSource.getWaitThreadCount();
        dataSource.getLockQueueLength();

        dataSource.close();
    }
View Full Code Here

Examples of com.badlogic.gdx.utils.Array.shrink()

      }
    } catch (IOException ex) {
      throw new SerializationException("Error reading skeleton file.", ex);
    }

    timelines.shrink();
    skeletonData.addAnimation(new Animation(name, timelines, duration));
  }

  private void readCurve (DataInput input, int keyframeIndex, CurveTimeline timeline) throws IOException {
    switch (input.readByte()) {
View Full Code Here

Examples of com.badlogic.gdx.utils.FloatArray.shrink()

      vertices.addAll(mx[i], my[i]);
    }
    for (int i = rayNum - 1; i > -1; i--) {
      vertices.addAll(startX[i], startY[i]);
    }
    shapeRenderer.polygon(vertices.shrink());
    Pools.free(vertices);
  }
 
  @Override
  public void attachToBody(Body body) {
View Full Code Here

Examples of com.badlogic.gdx.utils.IntArray.shrink()

        triangles.add(faceIndices.items[i + 1]);
      }
      indices.addAll(triangles);
    }

    indices.shrink();
    return indices;
  }

  private static short[] convertToShortArray (IntArray array) {
    short[] shortArray = new short[array.size];
View Full Code Here

Examples of com.positive.charts.axis.AxisSpace.shrink()

    // adjust the drawing area for the plot insets (if any)...
    final RectangleInsets insets = this.getInsets();
    insets.trim(area);

    final AxisSpace space = this.calculateAxisSpace(gc, area);
    final Rectangle dataArea = space.shrink(area, null);
    this.axisOffset.trim(dataArea);

    if (info != null) {
      info.setDataArea(dataArea);
    }
View Full Code Here

Examples of com.positive.charts.axis.AxisSpace.shrink()

  public Rectangle calculateDataArea(final GC g2, final Rectangle area) {
    final Rectangle newRectangle = new Rectangle(0, 0, 0, 0);
    RectangleUtil.setRect(newRectangle, area);
    final AxisSpace space = this.calculateAxisSpace(g2, newRectangle);
    final Rectangle dataArea = space.shrink(newRectangle, null);
    this.axisOffset.trim(dataArea);
    return dataArea;
  }

  /**
 
View Full Code Here

Examples of com.positive.charts.axis.AxisSpace.shrink()

      final RectangleInsets insets = this.getInsets();
      insets.trim(area);

      // calculate the data area...
      final AxisSpace space = this.calculateAxisSpace(g2, area);
      final Rectangle dataArea = space.shrink(area, null);
      this.axisOffset.trim(dataArea);

      if (state != null) {
        state.setDataArea(dataArea);
      }
View Full Code Here

Examples of org.apache.derby.iapi.services.io.FormatableBitSet.shrink()

        columns.grow(currentLength+1);
      }
      else
      {
        FormatableBitSet modifiedColumns=new FormatableBitSet(columns);
        modifiedColumns.shrink(columns.getLength()-1);
        // All the bits from 0 ... colPosition-2 are OK. The bits from
        // colPosition to the end need to be shifted 1 to the left.
        // The bit for colPosition-1 simply disappears from COLUMNS.
        // ColumnPosition values count from 1, while bits in the
        // FormatableBitSet count from 0.
View Full Code Here

Examples of org.apache.derby.iapi.services.io.FormatableBitSet.shrink()

        columns.grow(currentLength+1);
      }
      else
      {
        FormatableBitSet modifiedColumns=new FormatableBitSet(columns);
        modifiedColumns.shrink(columns.getLength()-1);
        // All the bits from 0 ... colPosition-2 are OK. The bits from
        // colPosition to the end need to be shifted 1 to the left.
        // The bit for colPosition-1 simply disappears from COLUMNS.
        // ColumnPosition values count from 1, while bits in the
        // FormatableBitSet count from 0.
View Full Code Here

Examples of org.apache.derby.iapi.services.io.FormatableBitSet.shrink()

        columns.grow(currentLength+1);
      }
      else
      {
        FormatableBitSet modifiedColumns=new FormatableBitSet(columns);
        modifiedColumns.shrink(columns.getLength()-1);
        // All the bits from 0 ... colPosition-2 are OK. The bits from
        // colPosition to the end need to be shifted 1 to the left.
        // The bit for colPosition-1 simply disappears from COLUMNS.
        // ColumnPosition values count from 1, while bits in the
        // FormatableBitSet count from 0.
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.