Exemplo n.º 1
0
        /// <summary>
        /// A very restricted <seealso cref="PathExpander"/> that follows {@code type} in {@code direction}.
        /// </summary>
        /// <param name="type"> the type of relationships to follow </param>
        /// <param name="direction"> the direction to follow relationships in </param>
        /// @param <STATE> the type of the object that holds the state </param>
        /// <returns> a very restricted <seealso cref="PathExpander"/> that follows {@code type} in {@code direction} </returns>
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressWarnings("unchecked") public static <STATE> PathExpander<STATE> forTypeAndDirection(RelationshipType type, Direction direction)
        public static PathExpander <STATE> ForTypeAndDirection <STATE>(RelationshipType type, Direction direction)
        {
            return(StandardExpander.create(type, direction));
        }
Exemplo n.º 2
0
        /// <summary>
        /// A very permissive <seealso cref="PathExpander"/> that follows {@code type} relationships in any direction.
        /// </summary>
        /// <param name="type"> the type of relationships to expand in any direction </param>
        /// @param <STATE> the type of the object that holds the state </param>
        /// <returns> a very permissive <seealso cref="PathExpander"/> that follows {@code type} relationships in any direction </returns>
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressWarnings("unchecked") public static <STATE> PathExpander<STATE> forType(RelationshipType type)
        public static PathExpander <STATE> ForType <STATE>(RelationshipType type)
        {
            return(StandardExpander.create(type, Direction.Both));
        }
Exemplo n.º 3
0
        /// <summary>
        /// A very permissive <seealso cref="PathExpander"/> that follows any type in {@code direction}.
        /// </summary>
        /// <param name="direction"> the direction to follow relationships in </param>
        /// @param <STATE> the type of the object that holds the state </param>
        /// <returns> a very permissive <seealso cref="PathExpander"/> that follows any type in {@code direction} </returns>
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressWarnings("unchecked") public static <STATE> PathExpander<STATE> forDirection(Direction direction)
        public static PathExpander <STATE> ForDirection <STATE>(Direction direction)
        {
            return(StandardExpander.create(direction));
        }
Exemplo n.º 4
0
        /// <summary>
        /// A very restricted <seealso cref="PathExpander"/> that follows only the {@code type}/{@code direction} pairs that you list.
        /// </summary>
        /// <param name="type1"> the type of relationships to follow in {@code direction1} </param>
        /// <param name="direction1"> the direction to follow {@code type1} relationships in </param>
        /// <param name="type2"> the type of relationships to follow in {@code direction2} </param>
        /// <param name="direction2"> the direction to follow {@code type2} relationships in </param>
        /// <param name="more"> add more {@code type}/{@code direction} pairs </param>
        /// @param <STATE> the type of the object that holds the state </param>
        /// <returns> a very restricted <seealso cref="PathExpander"/> that follows only the {@code type}/{@code direction} pairs that you list </returns>
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressWarnings("unchecked") public static <STATE> PathExpander<STATE> forTypesAndDirections(RelationshipType type1, Direction direction1, RelationshipType type2, Direction direction2, Object... more)
        public static PathExpander <STATE> ForTypesAndDirections <STATE>(RelationshipType type1, Direction direction1, RelationshipType type2, Direction direction2, params object[] more)
        {
            return(StandardExpander.create(type1, direction1, type2, direction2, more));
        }