Home | History | Annotate | Download | only in src

Lines Matching full:permutation

827       final MethodHandle permutation = MethodHandles.permuteArguments(
830 permutation.invoke((double) 97.0, (float) 98.0f, (long) 97, 78,
833 // The permutation array was not of the right length.
841 // The permutation array has an element that's out of bounds
850 // The permutation array maps to an incorrect type.
870 MethodHandle permutation = MethodHandles.permuteArguments(target,
872 assertEquals("barfoo", (String) permutation.invoke("foo", "bar"));
874 permutation = MethodHandles.permuteArguments(target, newType, new int[] { 0, 0 });
875 assertEquals("foofoo", (String) permutation.invoke("foo", "bar"));
877 permutation = MethodHandles.permuteArguments(target, newType, new int[] { 1, 1 });
878 assertEquals("barbar", (String) permutation.invoke("foo", "bar"));
890 MethodHandle permutation = MethodHandles.permuteArguments(target,
893 permutation.invoke(42, true);
894 permutation.invoke(42, Boolean.TRUE);
895 permutation.invoke(Integer.valueOf(42), true);
896 permutation.invoke(Integer.valueOf(42), Boolean.TRUE);