Examples of weight()


Examples of org.jrebirth.af.core.resource.font.FamilyFont.weight()

        final String[] names = font.getName().split(" ");
        int i = 0;
        assertThat(names[i++]).isEqualToIgnoringCase(ff.family());

        if (FontWeight.NORMAL != ff.weight()) {
            assertThat(names[i++]).isEqualToIgnoringCase(ff.weight().name());
        }

        if (FontPosture.REGULAR != ff.posture()) {
            assertThat(names[i++]).isEqualToIgnoringCase(ff.posture().name());
View Full Code Here

Examples of org.jrebirth.af.core.resource.font.FamilyFont.weight()

        final String[] names = font.getName().split(" ");
        int i = 0;
        assertThat(names[i++]).isEqualToIgnoringCase(ff.family());

        if (FontWeight.NORMAL != ff.weight()) {
            assertThat(names[i++]).isEqualToIgnoringCase(ff.weight().name());
        }

        if (FontPosture.REGULAR != ff.posture()) {
            assertThat(names[i++]).isEqualToIgnoringCase(ff.posture().name());
        }
View Full Code Here

Examples of org.metagrid.gatekeeper.test.apple.Apple.weight()

                new URI(
                    "http://data.metagrid.co.uk/test/0001"
                    )
                )
            );
        log.debug("Weight   [" + apple.weight() + "]");       
        log.debug("Created  [" + apple.created() + "]");       
        log.debug("Modified [" + apple.modified() + "]");       
        assertEquals(
            27,
            apple.weight().intValue()
View Full Code Here

Examples of org.metagrid.gatekeeper.test.apple.Apple.weight()

        log.debug("Weight   [" + apple.weight() + "]");       
        log.debug("Created  [" + apple.created() + "]");       
        log.debug("Modified [" + apple.modified() + "]");       
        assertEquals(
            27,
            apple.weight().intValue()
            );
        assertEquals(
            1227939950379L,
            apple.modified().getTime()
            );
View Full Code Here

Examples of org.metagrid.gatekeeper.test.apple.bean.AppleBean.weight()

            );
        //
        // Check the AppleBean weight.
        assertEquals(
            new Integer(27),
            apple.weight()
            );
        }

    /**
     * Check we can output an AppleBean as XML.
View Full Code Here

Examples of org.metagrid.gatekeeper.test.apple.bean.AppleBeanImpl.weight()

            );
        //
        // Check the AppleBean weight.
        assertEquals(
            new Integer(27),
            apple.weight()
            );
        }

    /**
     * Check we can output an AppleBean as XML.
View Full Code Here

Examples of org.metagrid.gatekeeper.test.orange.bean.OrangeBean.weight()

            );
        //
        // Check the Orange weight.
        assertEquals(
            new Integer(27),
            orange.weight()
            );
        }

    /**
     * Check we can output the Orange as XML.
View Full Code Here

Examples of org.metagrid.gatekeeper.test.orange.bean.OrangeBeanImpl.weight()

            );
        //
        // Check the Orange weight.
        assertEquals(
            new Integer(27),
            orange.weight()
            );
        }

    /**
     * Check we can output the Orange as XML.
View Full Code Here

Examples of org.neo4j.graphalgo.WeightedPath.weight()

        if ( !paths.hasNext() )
        {
            return null;
        }
        WeightedPath path = new WeightedPathImpl( costEvaluator, paths.next() );
        if ( foundWeight != null && path.weight() > foundWeight )
        {
            return null;
        }
        foundWeight = path.weight();
        return path;
View Full Code Here

Examples of org.sonar.api.batch.sensor.dependency.internal.DefaultDependency.weight()

    DefaultDependency dep = (DefaultDependency) object;
    value.putUTF(((DefaultInputFile) dep.from()).moduleKey());
    value.putUTF(((DefaultInputFile) dep.from()).relativePath());
    value.putUTF(((DefaultInputFile) dep.to()).moduleKey());
    value.putUTF(((DefaultInputFile) dep.to()).relativePath());
    value.put(dep.weight());
  }

  @Override
  public Object get(Value value, Class clazz, CoderContext context) {
    String fromModuleKey = value.getString();
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.