Examples of applyTo()


Examples of org.kiji.schema.filter.KijiRowFilterApplicator.applyTo()

    // Construct a row filter and apply it to the existing scan.
    final KijiRowFilter rowFilter = new MyKijiRowFilter();
    final KijiRowFilterApplicator applicator =
        KijiRowFilterApplicator.create(rowFilter, mTableLayout, getKiji().getSchemaTable());
    applicator.applyTo(actualScan);

    // After filter application, expect the scan to also have the column requested by the filter.
    final Scan expectedScan =
        new HBaseDataRequestAdapter(
            priorDataRequest.merge(rowFilter.getDataRequest()), mColumnNameTranslator)
View Full Code Here

Examples of org.libreplan.business.planner.entities.AssignmentFunction.applyTo()

                                        resourceAllocation.getStartDate(),
                                        resourceAllocation.getEndDate())
                                .allocate(value);
                        AssignmentFunction assignmentFunction = resourceAllocation.getAssignmentFunction();
                        if (assignmentFunction != null) {
                            assignmentFunction.applyTo(resourceAllocation);
                        }

                        fireCellChanged();
                        reloadEffortsSameRowForDetailItems();
                        reloadAllEffort();
View Full Code Here

Examples of org.pdfclown.documents.contents.ExtGState.applyTo()

  public void scan(
    ContentScanner.GraphicsState state
    )
  {
    ExtGState extGState = state.getScanner().getContentContext().getResources().getExtGStates().get(getName());
    extGState.applyTo(state);
  }

  /**
    Gets the name of the {@link ExtGState graphics state parameters} resource to be set.

View Full Code Here

Examples of org.pentaho.chart.model.Theme.applyTo()

      };

      if ( !( chartModel.getPlot() instanceof DialPlot ) ) {
        Theme chartTheme = chartThemeFactory.getTheme( chartModel.getTheme() );
        if ( chartTheme != null ) {
          chartTheme.applyTo( chartModel );
        }
      }
    }

    // Make sure chart engine is loaded
View Full Code Here

Examples of org.rssowl.core.util.SyncItem.applyTo()

    INews news1 = fFactory.createNews(null, feed, new Date());
    news1.setInReplyTo(feed.getLink().toString());
    news1.setGuid(fFactory.createGuid(news1, "tag:google.com/foo", true));

    SyncItem sync = SyncItem.toSyncItem(news1);
    sync.applyTo(news1);

    assertTrue(news1.getState() == INews.State.NEW);
    assertNull(news1.getProperty(SyncUtils.GOOGLE_MARKED_READ));
    assertNull(news1.getProperty(SyncUtils.GOOGLE_MARKED_UNREAD));
    assertFalse(news1.isFlagged());
View Full Code Here

Examples of toxi.geom.Matrix4x4.applyTo()

          myTransform.basis.m01, myTransform.basis.m02, 0,
          myTransform.basis.m10, myTransform.basis.m11,
          myTransform.basis.m12, 0, myTransform.basis.m20,
          myTransform.basis.m21, myTransform.basis.m22, 0, 0, 0, 0, 1);

      p = m.applyTo(p);

      /*
      p = p.rotateX((float) Math.PI);
      p.subSelf(new Vec3D(center.x * scaleBy,
          (center.y * scaleBy), center.z
View Full Code Here

Examples of toxi.geom.Quaternion.applyTo()

            Matrix4x4 m = q.toMatrix4x4();
            Quaternion q2 = Quaternion.createFromMatrix(m);
            Vec3D p = Vec3D.randomVector();
            Vec3D p2 = p.copy();
            q.applyTo(p);
            q2.applyTo(p2);
            // floats are not very kind to round tripping
            // hence quite large epsilon
            assertTrue(p.equalsWithTolerance(p2, 0.0001f));
        }
    }
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.