Examples of finish()


Examples of org.gephi.filters.spi.EdgeFilter.finish()

                for (Edge e : edgesToRemove) {
                    hgraph.removeEdge(e);
                }

                for (EdgeFilter ef : edgeFilters) {
                    ef.finish();
                }
            }
            return hgraph;
        }
    }
View Full Code Here

Examples of org.gephi.filters.spi.NodeFilter.finish()

                for (Node n : nodesToRemove) {
                    hgraph.removeNode(n);
                }

                for (NodeFilter nf : nodeFilters) {
                    nf.finish();
                }
            }
            if (edgeFilters.size() > 0) {
                for (Iterator<EdgeFilter> itr = edgeFilters.iterator(); itr.hasNext();) {
                    EdgeFilter ef = itr.next();
View Full Code Here

Examples of org.glassfish.jersey.client.oauth1.OAuth1AuthorizationFlow.finish()

            try {
                verifier = IN.readLine();
            } catch (final IOException ex) {
                throw new RuntimeException(ex);
            }
            final AccessToken accessToken = authFlow.finish(verifier);

            // store access token for next application execution
            PROPERTIES.setProperty(PROPERTY_TOKEN, accessToken.getToken());
            PROPERTIES.setProperty(PROPERTY_TOKEN_SECRET, accessToken.getAccessTokenSecret());
View Full Code Here

Examples of org.glassfish.jersey.client.oauth2.OAuth2CodeGrantFlow.finish()

    @GET
    @Path("authorize")
    public Response authorize(@QueryParam("code") String code, @QueryParam("state") String state) {
        final OAuth2CodeGrantFlow flow = SimpleOAuthService.getFlow();

        final TokenResult tokenResult = flow.finish(code, state);

        SimpleOAuthService.setAccessToken(tokenResult.getAccessToken());

        // authorization is finished -> now redirect back to the task resource
        final URI uri = UriBuilder.fromUri(uriInfo.getBaseUri()).path("tasks").build();
View Full Code Here

Examples of org.grouplens.lenskit.scored.ScoredIdListBuilder.finish()

        assert heap.isEmpty();

        clear();

        return bld.finish();
    }

    @Override
    public MutableSparseVector finishVector() {
        if (scores == null) {
View Full Code Here

Examples of org.grouplens.lenskit.util.LogContext.finish()

            }
            timer.stop();
            logger.info("{}: trained in {}", getName(), timer);
            return action.apply(rec);
        } finally {
            context.finish();
        }
    }
}
View Full Code Here

Examples of org.grouplens.lenskit.util.ScoredItemAccumulator.finish()

        for (VectorEntry pred : scores) {
            final double v = pred.getValue();
            accum.put(pred.getKey(), v);
        }

        return accum.finish();
    }

    /**
     * An intelligent provider for Top-N global recommenders. It provides a Top-N global recommender
     * if there is an {@link GlobalItemScorer} available, and returns {@code null} otherwise.  This is
View Full Code Here

Examples of org.grouplens.lenskit.util.TopNScoredItemAccumulator.finish()

        for (VectorEntry pred : scores) {
            final double v = pred.getValue();
            accum.put(pred.getKey(), v);
        }

        return accum.finish();
    }

    /**
     * An intelligent provider for Top-N global recommenders. It provides a Top-N global recommender
     * if there is an {@link GlobalItemScorer} available, and returns {@code null} otherwise.  This is
View Full Code Here

Examples of org.iq80.leveldb.table.TableBuilder.finish()

                    largest = key;

                    tableBuilder.add(key.encode(), entry.getValue());
                }

                tableBuilder.finish();
            } finally {
                try {
                    channel.force(true);
                } finally {
                    channel.close();
View Full Code Here

Examples of org.jahia.utils.zip.ZipOutputStream.finish()

        try {
            exportNodesWithBinaries(session.getRootNode(), files, zzout, tti, params);
        } catch (Exception e) {
            e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
        }
        zzout.finish();
        zout.finish();
    }

    private void exportSite(final JahiaSite site, OutputStream out, Map<String, Object> params)
            throws JahiaException, RepositoryException, SAXException, IOException, JDOMException {
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.