コード例 #1
0
 /// <summary>
 /// A <seealso cref="PathExpanderBuilder"/> seeded with all possible types but restricted to {@code direction}. You start
 /// with this and <seealso cref="remove(RelationshipType) remove types"/> to form a permissive <seealso cref="PathExpander"/> with
 /// just a few exceptions in it.
 /// </summary>
 /// <param name="direction"> The direction you want to restrict expansions to </param>
 /// <returns> a <seealso cref="PathExpanderBuilder"/> seeded with all possible types but restricted to {@code direction}. </returns>
 public static PathExpanderBuilder AllTypes(Direction direction)
 {
     return(new PathExpanderBuilder(StandardExpander.create(direction)));
 }
コード例 #2
0
 private PathExpanderBuilder(StandardExpander expander)
 {
     this._expander = expander;
 }