コード例 #1
0
 public static bool PreviousPermutation <T, TLessThan>(this T[] array, IntT start, IntT count) where TLessThan : IO.IFunc <T, T, bool>, new()
 {
     return(PreviousPermutation(array, start, count, DefaultConstructor.Invoke <TLessThan>()));
 }
コード例 #2
0
 public static bool NextPermutation <T, TLessThan>(this T[] array) where TLessThan : IO.IFunc <T, T, bool>, new()
 {
     return(NextPermutation(array, DefaultConstructor.Invoke <TLessThan>()));
 }