Examples of Version


Examples of ru.aristar.jnuget.Version

    public int compare(PackageEntry o1, PackageEntry o2) {
        int idCompare = super.compare(o1, o2);
        if (idCompare != 0) {
            return idCompare;
        }
        Version v1 = o1.getProperties().getVersion();
        Version v2 = o2.getProperties().getVersion();
        if (v1 == null && v2 == null) {
            return 0;
        }

        if (v1 == null) {
View Full Code Here

Examples of slash.common.system.Version

                return (BaseNavigationFormat) format;
        return null;
    }

    private void run(String[] args) {
        Version version = parseVersionFromManifest();
        log.info("Started RouteConverter " + version.getVersion() + " from " + version.getDate() +
                " on " + getJava() + " and " + getPlatform() + " with " + getMaximumMemory() + " MByte heap");
        if (args.length != 3) {
            log.info("Usage: java -jar RouteConverterCmdLine.jar <source file> <target format> <target file>");
            logFormatNames(getWriteFormatsSortedByName());
            System.exit(5);
View Full Code Here

Examples of uk.co.brunella.osgi.bdt.bundle.Version

    File repositoryDirectory = new File(repositoryDir);
    if (!checkRepository(repositoryDirectory)) {
      return false;
    }
    Deployer deployer = new Deployer(repositoryDirectory);
    Version version = Version.parseVersion(bundleVersion);
    deployer.undeploy(bundleSymbolicName, version, true);
    System.out.println("Undeployed bundle " + bundleSymbolicName + " version " + version.toString() +
        " from repository " + repositoryDirectory);
    return true;
  }
View Full Code Here

Examples of uk.co.caprica.vlcj.version.Version

     *
     * @param version required version
     * @return factory
     */
    public LibVlcFactory atLeast(String version) {
        this.requiredVersion = new Version(version);
        return this;
    }
View Full Code Here

Examples of voldemort.versioning.Version

            store.put(aKey, new Versioned<byte[]>(aValue), null);

            List<Version> initialVersions = store.getVersions(aKey);
            assertEquals(6, initialVersions.size());

            Version mainVersion = initialVersions.get(0);
            for(int i = 1; i < initialVersions.size(); i++) {
                assertEquals(mainVersion, initialVersions.get(i));
            }

            // Do another put with all nodes in the zone 0 marked as
            // unavailable. This will force the put to use a different pseudo
            // master than before.
            byte[] anotherValue = "john".getBytes();

            // In this cluster, nodes 0 and 1 are in Zone 0. Mark them
            // unavailable
            recordException(failureDetector, cluster.getNodeById(0));
            recordException(failureDetector, cluster.getNodeById(1));
            Version newVersion = ((VectorClock) mainVersion).clone();
            store.put(aKey, new Versioned<byte[]>(anotherValue, newVersion), null);

            waitForOperationToComplete(500);

            // Mark the nodes in Zone 0 as available and do a get. The Required
View Full Code Here

Examples of weka.core.Version

    TreeVisualizePlugin plugin = (TreeVisualizePlugin) Class.forName(className).newInstance();
    if (plugin == null)
      continue;
    availablePlugins = true;
    JMenuItem pluginMenuItem = plugin.getVisualizeMenuItem(grph, selectedName);
    Version version = new Version();
    if (pluginMenuItem != null) {
      if (version.compareTo(plugin.getMinVersion()) < 0)
        pluginMenuItem.setText(pluginMenuItem.getText() + " (weka outdated)");
      if (version.compareTo(plugin.getMaxVersion()) >= 0)
        pluginMenuItem.setText(pluginMenuItem.getText() + " (plugin outdated)");
      visPlugins.add(pluginMenuItem);
    }
  }
  catch (Exception e) {
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.