C E G I J L M S T U

C

Chomp - class com.blackperl.Perl.Chomp.
Static-method implementation of the Perl chomp keyword.
chomp(Map) - Static method in class com.blackperl.Perl.Chomp
Perform a chomp on the values of the Map object passed in.
chomp(StringBuffer) - Static method in class com.blackperl.Perl.Chomp
Perform a chomp on the StringBuffer passed in as a parameter.
chomp(StringBuffer[]) - Static method in class com.blackperl.Perl.Chomp
Do a chomp on an array of StringBuffer objects.
Chop - class com.blackperl.Perl.Chop.
Static-method implementation of the Perl chop keyword.
chop(Map) - Static method in class com.blackperl.Perl.Chop
Chop all the StringBuffer objects that are the values of the Map object passed in.
chop(StringBuffer) - Static method in class com.blackperl.Perl.Chop
Chop the trailing character off of the StringBuffer object passed in.
chop(StringBuffer[]) - Static method in class com.blackperl.Perl.Chop
Chop all the StringBuffer objects in the array.
com.blackperl.Perl - package com.blackperl.Perl
This package provides a subset of common Perl functionality in Java.

E

eval(Object) - Method in interface com.blackperl.Perl.GrepBlock
When the grep (or map) function is called with an object implementing this interface, this is the function it will expect to be able to invoke for each element in the list it also receives.
eval(Object) - Method in interface com.blackperl.Perl.MapBlock
When the map function is called with an object implementing this interface, this is the function it will expect to be able to invoke for each element in the list it also receives.

G

getBadPattern() - Method in class com.blackperl.Perl.TrException
Retrieve the offending pattern for this instance.
getRecordSeparator() - Static method in class com.blackperl.Perl.Chomp
Retrieve the current value of the record-separator (line-end sequence).
Grep - class com.blackperl.Perl.Grep.
Static-method implementation of the Perl grep keyword.
grep(GrepBlock, List) - Static method in class com.blackperl.Perl.Grep
Do a grep over the list of objects, evaluating each one via the given GrepBlock (see GrepBlock).
grep(GrepBlock, Object[]) - Static method in class com.blackperl.Perl.Grep
This is identical to the block-list form of grep, except that it takes and returns an array of Object, rather than a List instance.
grep(Pattern, List) - Static method in class com.blackperl.Perl.Grep
This is a shorthand-form for grep, that takes a java.util.regex.Pattern object and used an internal class that implements GrepBlock to provide an evaluation function that returns a Boolean value indicating whether the stringification of the given test object matched the pattern.
grep(Pattern, Object[]) - Static method in class com.blackperl.Perl.Grep
The pattern-list form of grep, only taking and returning arrays of Object, rather than List instances.
grep(String, List) - Static method in class com.blackperl.Perl.Grep
This is another shorthand-form for grep, this one taking a String object and constructing a GrepBlock that tests the string to see if it is a contained substring within the stringification of each test object.
grep(String, Object[]) - Static method in class com.blackperl.Perl.Grep
The string-list form of grep, with arrays instead of the List instances.
GrepBlock - interface com.blackperl.Perl.GrepBlock.
Interface expected by methods in the Grep class.

I

instance() - Static method in class com.blackperl.Perl.Chomp
The instance method is used to retrieve the Chomp singleton that applications can use in lieu of invoking the methods statically.
instance() - Static method in class com.blackperl.Perl.Chop
The instance method is used to retrieve the Chop singleton that applications can use in lieu of invoking the methods statically.
instance() - Static method in class com.blackperl.Perl.Grep
The instance method is used to retrieve the Grep singleton that applications can use in lieu of invoking the methods statically.
instance() - Static method in class com.blackperl.Perl.Join
The instance method is used to retrieve the Join singleton that applications can use in lieu of invoking the methods statically.
instance() - Static method in class com.blackperl.Perl.Lcfirst
The instance method is used to retrieve the Lcfirst singleton that applications can use in lieu of invoking the methods statically.
instance() - Static method in class com.blackperl.Perl.Map
The instance method is used to retrieve the Map singleton that applications can use in lieu of invoking the methods statically.
instance() - Static method in class com.blackperl.Perl.Ucfirst
The instance method is used to retrieve the Ucfirst singleton that applications can use in lieu of invoking the methods statically.

J

Join - class com.blackperl.Perl.Join.
Static-method implementation of the Perl join keyword.
join(char, String[]) - Static method in class com.blackperl.Perl.Join
Create a String by concatenating the items in the array together, with an instance of the separator between each.
join(String, String[]) - Static method in class com.blackperl.Perl.Join
Create a String by concatenating the items in the array together, with an instance of the separator between each.

L

Lcfirst - class com.blackperl.Perl.Lcfirst.
Static-method implementation of the Perl lcfirst keyword.
lcfirst(String) - Static method in class com.blackperl.Perl.Lcfirst
Take the String parameter and return a new String whose first character has been made lower-case, if the character is in fact alphabetic.
lcfirst(StringBuffer) - Static method in class com.blackperl.Perl.Lcfirst
This form is a slight departure from the Perl equivalent, in that it actually modifies the argument in-place.
lcfirst(StringBuffer, Locale) - Static method in class com.blackperl.Perl.Lcfirst
This form is a slight departure from the Perl equivalent, in that it actually modifies the argument in-place.
lcfirst(String, Locale) - Static method in class com.blackperl.Perl.Lcfirst
Take the String parameter and return a new String whose first character has been made lower-case, if the character is in fact alphabetic.

M

Map - class com.blackperl.Perl.Map.
Static-method implementation of the Perl map keyword.
map(GrepBlock, List) - Static method in class com.blackperl.Perl.Map
Map the functionality specified by eval() in the GrepBlock instance over the objects contained in the List, returning all the values produced as a result.
map(GrepBlock, Object[]) - Static method in class com.blackperl.Perl.Map
Perform map using a GrepBlock interface and an array of objects (rather than a List instance).
map(MapBlock, List) - Static method in class com.blackperl.Perl.Map
Map the functionality specified by eval() in the MapBlock instance over the objects contained in the List, returning all the values produced as a result.
map(MapBlock, Object[]) - Static method in class com.blackperl.Perl.Map
Perform map using a MapBlock interface and an array of objects (rather than a List instance).
MapBlock - interface com.blackperl.Perl.MapBlock.
Interface expected by methods in the Map class.

S

setRecordSeparator(String) - Static method in class com.blackperl.Perl.Chomp
Assign a new record-separator to be used by the chomp variants.

T

TrException - exception com.blackperl.Perl.TrException.
A class for exceptions thrown by the Tr class.
TrException(String, String) - Constructor for class com.blackperl.Perl.TrException
Create an exception with the specified error message and offending tr pattern.
TrException(String, Throwable, String) - Constructor for class com.blackperl.Perl.TrException
Create an exception with the specified error message, using the given Throwable instance as the cause, and the given tr pattern.
TrException(Throwable, String) - Constructor for class com.blackperl.Perl.TrException
Create an exception using the given Throwable instance as the cause, and the given tr pattern.

U

Ucfirst - class com.blackperl.Perl.Ucfirst.
Static-method implementation of the Perl ucfirst keyword.
ucfirst(String) - Static method in class com.blackperl.Perl.Ucfirst
Take the String parameter and return a new String whose first character has been made upper-case, if the character is in fact alphabetic.
ucfirst(StringBuffer) - Static method in class com.blackperl.Perl.Ucfirst
This form is a slight departure from the Perl equivalent, in that it actually modifies the argument in-place.
ucfirst(StringBuffer, Locale) - Static method in class com.blackperl.Perl.Ucfirst
This form is a slight departure from the Perl equivalent, in that it actually modifies the argument in-place.
ucfirst(String, Locale) - Static method in class com.blackperl.Perl.Ucfirst
Take the String parameter and return a new String whose first character has been made upper-case, if the character is in fact alphabetic.

C E G I J L M S T U