Package org.jruby.util
Interface ByteListHelper.CodePoint
- Enclosing class:
ByteListHelper
public static interface ByteListHelper.CodePoint
-
Method Summary
Modifier and TypeMethodDescriptionboolean
call
(int index, int codepoint, org.jcodings.Encoding encoding) call a command pattern caller with index of and actual codepoint.
-
Method Details
-
call
boolean call(int index, int codepoint, org.jcodings.Encoding encoding) call a command pattern caller with index of and actual codepoint. If false is returned it will let users of this interface to stop walking the codepoints.- Parameters:
index
- the index of which codepoint we are visiting.codepoint
- we are visiting.- Returns:
- true to continue walking and false to stop.
-