Ejemplo n.º 1
0
 public PathExpanderAnonymousInnerClass2(Org.Neo4j.Graphdb.PathExpander <STATE> source, System.Func <Path, BranchState, bool> pred, Paths.PathDescriptor descriptor, PrintStream @out)
 {
     this._source     = source;
     this._pred       = pred;
     this._descriptor = descriptor;
     this.@out        = @out;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// A wrapper that uses <seealso cref="org.neo4j.graphdb.traversal.Paths.DefaultPathDescriptor"/> to print expanded paths
        /// that fulfill <seealso cref="BiFunction"/> predicate using given <seealso cref="org.neo4j.graphdb.traversal.Paths.PathDescriptor"/>.
        /// Will use System.out as <seealso cref="PrintStream"/>. </summary>
        /// <param name="source">    <seealso cref="PathExpander"/> to wrap. </param>
        /// <param name="pred">      <seealso cref="BiFunction"/> used as predicate for printing expansion. </param>
        /// <param name="descriptor"> <seealso cref="org.neo4j.graphdb.traversal.Paths.PathDescriptor"/> to use when printing paths. </param>
        /// @param <STATE>   the type of the object that holds the state </param>
        /// <returns>          A new <seealso cref="PathExpander"/>. </returns>
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected:
//ORIGINAL LINE: public static <STATE> PathExpander<STATE> printingWrapper(final PathExpander<STATE> source, final System.Func<Path, org.neo4j.graphdb.traversal.BranchState, bool> pred, final org.neo4j.graphdb.traversal.Paths.PathDescriptor descriptor)
        public static PathExpander <STATE> PrintingWrapper <STATE>(PathExpander <STATE> source, System.Func <Path, BranchState, bool> pred, Paths.PathDescriptor descriptor)
        {
            return(PrintingWrapper(source, pred, descriptor, System.out));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// A wrapper that uses <seealso cref="org.neo4j.graphdb.traversal.Paths.DefaultPathDescriptor"/> to print expanded paths
        /// that fulfill <seealso cref="BiFunction"/> predicate using given <seealso cref="org.neo4j.graphdb.traversal.Paths.PathDescriptor"/>. </summary>
        /// <param name="source">        <seealso cref="PathExpander"/> to wrap. </param>
        /// <param name="pred">          <seealso cref="BiFunction"/> used as predicate for printing expansion. </param>
        /// <param name="descriptor">    <seealso cref="org.neo4j.graphdb.traversal.Paths.PathDescriptor"/> to use when printing paths. </param>
        /// <param name="out">           <seealso cref="PrintStream"/> to use for printing expanded paths </param>
        /// @param <STATE>       the type of the object that holds the state </param>
        /// <returns>              A new <seealso cref="PathExpander"/>. </returns>
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected:
//ORIGINAL LINE: public static <STATE> PathExpander<STATE> printingWrapper(final PathExpander<STATE> source, final System.Func<Path, org.neo4j.graphdb.traversal.BranchState, bool> pred, final org.neo4j.graphdb.traversal.Paths.PathDescriptor descriptor, final java.io.PrintStream out)
        public static PathExpander <STATE> PrintingWrapper <STATE>(PathExpander <STATE> source, System.Func <Path, BranchState, bool> pred, Paths.PathDescriptor descriptor, PrintStream @out)
        {
            return(new PathExpanderAnonymousInnerClass2(source, pred, descriptor, @out));
        }
Ejemplo n.º 4
0
        /// <summary>
        /// A wrapper that uses <seealso cref="org.neo4j.graphdb.traversal.Paths.DefaultPathDescriptor"/> to print expanded paths
        /// using given <seealso cref="org.neo4j.graphdb.traversal.Paths.PathDescriptor"/>.
        /// All expanded paths will be printed.
        /// Will use System.out as <seealso cref="PrintStream"/>. </summary>
        /// <param name="source">        <seealso cref="PathExpander"/> to wrap. </param>
        /// <param name="descriptor">    <seealso cref="org.neo4j.graphdb.traversal.Paths.PathDescriptor"/> to use when printing paths. </param>
        /// @param <STATE>       the type of the object that holds the state </param>
        /// <returns>              A new <seealso cref="PathExpander"/>. </returns>
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected:
//ORIGINAL LINE: public static <STATE> PathExpander<STATE> printingWrapper(final PathExpander<STATE> source, final org.neo4j.graphdb.traversal.Paths.PathDescriptor descriptor)
        public static PathExpander <STATE> PrintingWrapper <STATE>(PathExpander <STATE> source, Paths.PathDescriptor descriptor)
        {
            return(PrintingWrapper(source, (propertyContainers, stateBranchState) => true, descriptor));
        }