| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| pack-priv static int | Returns: the number of dots foundPopulate dotArray with the positions of the DOT character in className. |
| pack-priv void | |
| pack-priv static void |
| targetLength | back to summary |
|---|---|
| pack-priv final int targetLength | |
| TargetLengthBasedClassNameAbbreviator2 | back to summary |
|---|---|
| public TargetLengthBasedClassNameAbbreviator2(int targetLength) | |
| abbreviate | back to summary |
|---|---|
| public String abbreviate(String fqClassName) Implements ch. | |
| computeDotIndexes | back to summary |
|---|---|
| pack-priv static int computeDotIndexes(final String className, int[] dotArray) Populate dotArray with the positions of the DOT character in className. Leftmost dot is placed at index 0 of dotArray.
| |
| computeLengthArray | back to summary |
|---|---|
| pack-priv void computeLengthArray(final String className, int[] dotArray, int[] lengthArray, int dotCount) | |
| printArray | back to summary |
|---|---|
| pack-priv static void printArray(String msg, int[] ia) | |