File file = new File ( Objects.requireNonNull ( classLoaderr.getResource ( patch ) ).getFile () );
String[] files = file.list ();
String path = patch + files[0];
String del = "src/main/resources/" + patch + files[0];
file = new File ( del );
String[] files = file.list ();
There is no guarantee that the name strings in the resulting array will appear in any specific order; they are not, in particular, guaranteed to appear in alphabetical order.
Instant instant = Instant.now();
Timestamp timestamp = Timestamp.from(instant);
1. Что значит ? Что вы подаете на вход? Что у вас на выходе? Что должно быть?
2. Что за классы Lexemes? StringInStringSearch?