Index

A B C D E F G H I K L M N P R S T U V 
All Classes All Packages

A

add(PatternElement) - Method in class com.owenfeehan.pathpatternfinder.Pattern
Adds an element.
addConstantAndDirectoryTo(String, Pattern) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Like ResolvedPatternElementFactory.addConstantTo(String,Pattern) but additionally adds a directory separator.
addConstantTo(char, Pattern) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Creates a new constant element from a character, and adds to pattern.
addConstantTo(String, Pattern) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Creates a new constant element from a string, and adds to pattern.
addDirectorySeperatorTo(Pattern) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Creates a new directory-seperator element, and adds to pattern.
addUnresolvedPathsTo(List<Path>, Pattern) - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.UnresolvedPatternElementFactory
Adds unresolved-paths to the pattern
addUnresolvedStringsTo(List<String>, Pattern) - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.UnresolvedPatternElementFactory
Adds unresolved-strings to the pattern
addUnresolvedStringsTo(List<String>, Pattern, Skipper) - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.UnresolvedPatternElementFactory
Adds unresolved-strings to the pattern with additional instructions to skip certain types of operations (Skipper)
apply(Pattern, boolean) - Static method in class com.owenfeehan.pathpatternfinder.describer.DescribePattern
Generates a user-readable string describing a pattern.
apply(Pattern, boolean, String, int) - Static method in class com.owenfeehan.pathpatternfinder.describer.DescribePattern
Like DescribePattern.apply(Pattern, boolean) but with additional parameterization.
areIndicesContiguous() - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.integer.IntegerFrequencyMap
Does it contain exactly one integer (and only one) for every integer between IntegerFrequencyMap.lowest() and IntegerFrequencyMap.highest() inclusive
atLeastOneNonEmptyStr(List<String>) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.StringUtilities
Checks if there is any non-empty string in a list.

B

byCount() - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.FrequencyMap
A view of the frequency-map ordered by counts

C

canDescribeAllWithin(int, int) - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.DescribeFrequencyMap
Can all values be described within a certain width?
CasedStringComparer - Class in com.owenfeehan.pathpatternfinder
Performs (maybe) case-sensitive matching based upon current setting of IOCase.
CasedStringComparer(IOCase) - Constructor for class com.owenfeehan.pathpatternfinder.CasedStringComparer
Create for a given IOCase.
com.owenfeehan.pathpatternfinder - package com.owenfeehan.pathpatternfinder
Top-level package for all classes for finding a pattern in paths or strings in accordance to certain rules.
com.owenfeehan.pathpatternfinder.commonpath - package com.owenfeehan.pathpatternfinder.commonpath
Finds common (left-most) elements among Paths.
com.owenfeehan.pathpatternfinder.describer - package com.owenfeehan.pathpatternfinder.describer
A describer converts a Pattern into a string representation.
com.owenfeehan.pathpatternfinder.describer.frequencymap - package com.owenfeehan.pathpatternfinder.describer.frequencymap
Classes for tracking a a frequency-map (a histogram data structure that stores a set of values and associated counts).
com.owenfeehan.pathpatternfinder.describer.frequencymap.integer - package com.owenfeehan.pathpatternfinder.describer.frequencymap.integer
A specialised frequency-map for integer-values.
com.owenfeehan.pathpatternfinder.patternelements - package com.owenfeehan.pathpatternfinder.patternelements
A pattern-element is one part of a pattern after fitting against a list of paths / strings.
com.owenfeehan.pathpatternfinder.patternelements.resolved - package com.owenfeehan.pathpatternfinder.patternelements.resolved
PatternElements that are resolved (cannot be broken down further).
com.owenfeehan.pathpatternfinder.patternelements.unresolved - package com.owenfeehan.pathpatternfinder.patternelements.unresolved
PatternElements that are unresolved (can possibly be broken down further into a smaller patterns).
com.owenfeehan.pathpatternfinder.trim - package com.owenfeehan.pathpatternfinder.trim
A trim-operation attempts to find one or more new PatternElements by fitting against a string or a path.
com.owenfeehan.pathpatternfinder.trim.constantsubstring - package com.owenfeehan.pathpatternfinder.trim.constantsubstring
All classes related to particular operation of TrimConstantSubstring.
ConsoleWidthGuesser - Class in com.owenfeehan.pathpatternfinder.describer
Guesses how many characters exist in a single line of the console.
constant(char) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Creates constant element of a single character.
constant(String) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Creates constant element of a string.
createUnresolvedString(PatternElement, List<String>) - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.UnresolvedPatternElementFactory
Creates a Pattern with an element on the left, and a unresolved-string on the right
createUnresolvedString(List<PatternElement>, List<String>) - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.UnresolvedPatternElementFactory
Creates a Pattern with an elements on the left, and a unresolved-string on the right
createUnresolvedString(List<String>) - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.UnresolvedPatternElementFactory
Creates a Pattern with a single-unresolved-string as element

D

describe(int) - Method in class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
Describe the element.
describeAllWithin(int, String, String) - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.DescribeFrequencyMap
Describe all elements in the frequency-map in a string that must have maximum width number of characters.
describeDetailed() - Method in class com.owenfeehan.pathpatternfinder.Pattern
A description of the pattern in one or more lines.
DescribeFrequencyMap<T extends Comparable<T>> - Class in com.owenfeehan.pathpatternfinder.describer.frequencymap
Describes the contents of a frequency-map with user-friendly strings containing examples.
DescribeFrequencyMap(FrequencyMap<T>) - Constructor for class com.owenfeehan.pathpatternfinder.describer.frequencymap.DescribeFrequencyMap
Create for a FrequencyMap.
DescribePattern - Class in com.owenfeehan.pathpatternfinder.describer
Describes a pattern by generating a user-readable string representation of a pattern.
describeShort() - Method in class com.owenfeehan.pathpatternfinder.Pattern
A description of the pattern in a single line.
determineConsoleWidth() - Static method in class com.owenfeehan.pathpatternfinder.describer.ConsoleWidthGuesser
Guesses the width (in characters) of the console.
directorySeperator() - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Creates an element representing a directory seperator.

E

equals(Object) - Method in class com.owenfeehan.pathpatternfinder.Pattern
 
equals(Object) - Method in class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
 
equals(Object) - Method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.VariableElement
 
equals(Object) - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.Skipper
 
ExtractedElement - Class in com.owenfeehan.pathpatternfinder.patternelements
The result of partition a string into two components, one left (prefix) and one right (suffix)
ExtractedElement(String, int) - Constructor for class com.owenfeehan.pathpatternfinder.patternelements.ExtractedElement
Alternative constructor where a string is passed, and then split into two by an index
ExtractedElement(String, String) - Constructor for class com.owenfeehan.pathpatternfinder.patternelements.ExtractedElement
Constructor
extractElementFrom(String, IOCase) - Method in class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
Extracts the element from the left-most side of a string.

F

FindCommonPathElements - Class in com.owenfeehan.pathpatternfinder.commonpath
Finds common (left-most) elements among Paths.
findFiles(Path, Optional<String>) - Static method in class com.owenfeehan.pathpatternfinder.FindFilesRecursively
Finds a list of files recursively in a directory that matches a pattern
FindFilesRecursively - Class in com.owenfeehan.pathpatternfinder
Finds a list of files recursively in a directory.
findForFilePaths(Iterable<Path>) - Static method in class com.owenfeehan.pathpatternfinder.commonpath.FindCommonPathElements
Finds the common (left-most) elements among Paths.
findForFilePaths(Iterable<Path>, CasedStringComparer) - Static method in class com.owenfeehan.pathpatternfinder.commonpath.FindCommonPathElements
Finds the common (left-most) elements among Paths, with a customizable means via a CasedStringComparer for comparing strings.
findForFilePaths(Iterable<Path>, IOCase) - Static method in class com.owenfeehan.pathpatternfinder.commonpath.FindCommonPathElements
Finds the common (left-most) elements among Paths, with a customizable means via an IOCase for comparing strings.
findPatternPaths(List<Path>, IOCase) - Static method in class com.owenfeehan.pathpatternfinder.PathPatternFinder
Finds the pattern in a list of paths, using rules outlined above.
findPatternStrings(List<String>, IOCase) - Static method in class com.owenfeehan.pathpatternfinder.PathPatternFinder
Finds the pattern in a list of strings, using rules outlined above (from Step 3 onwards).
fitAgainst(String, IOCase) - Method in class com.owenfeehan.pathpatternfinder.Pattern
Fits a string against the pattern.
FrequencyMap<T extends Comparable<T>> - Class in com.owenfeehan.pathpatternfinder.describer.frequencymap
Constructs a frequency map for a list of values.
FrequencyMap(List<T>) - Constructor for class com.owenfeehan.pathpatternfinder.describer.frequencymap.FrequencyMap
Create for a list of elements.

G

get(int) - Method in class com.owenfeehan.pathpatternfinder.Pattern
Returns true iff the element at index is unresolved.
getCount(T) - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.FrequencyMap
Count for a given key
getEndIndexExclusive() - Method in class com.owenfeehan.pathpatternfinder.trim.constantsubstring.IndexRange
The end index (exclusive) of the range.
getExtracted() - Method in class com.owenfeehan.pathpatternfinder.patternelements.ExtractedElement
The left-most part of string
getLength() - Method in class com.owenfeehan.pathpatternfinder.trim.constantsubstring.IndexRange
How many items are in the range.
getRemainder() - Method in class com.owenfeehan.pathpatternfinder.patternelements.ExtractedElement
The right-most part of string
getStartIndex() - Method in class com.owenfeehan.pathpatternfinder.trim.constantsubstring.IndexRange
The index the range begins at.
getStartSplitCharIndex() - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.Skipper
The minimum index from which we start attempting to split characters, to avoid repeating.
getValues() - Method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.VariableElement
 

H

hasConstantValue() - Method in class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
Does the element never vary?
hasConstantValue() - Method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.VariableElement
 
hashCode() - Method in class com.owenfeehan.pathpatternfinder.Pattern
 
hashCode() - Method in class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
 
hashCode() - Method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.VariableElement
 
hashCode() - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.Skipper
 
highest() - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.integer.IntegerFrequencyMap
The highest-value in the map.
highestKey() - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.FrequencyMap
The key with highest-value

I

includeLeftResolve() - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.Skipper
Whether to try to resolve from the left.
includeRightResolve() - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.Skipper
Whether to try to resolve from the right.
IndexRange - Class in com.owenfeehan.pathpatternfinder.trim.constantsubstring
A range of indices in an array.
IndexRange(int, int) - Constructor for class com.owenfeehan.pathpatternfinder.trim.constantsubstring.IndexRange
Create for a given starting-index and length.
integer(int...) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Creates a varying integer element of one or more ints.
integer(List<String>) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Creates a varying integer element of one more strings.
IntegerFrequencyMap - Class in com.owenfeehan.pathpatternfinder.describer.frequencymap.integer
Specialised frequency-map for integers, similar to FrequencyMap.
IntegerFrequencyMap(List<Integer>) - Constructor for class com.owenfeehan.pathpatternfinder.describer.frequencymap.integer.IntegerFrequencyMap
Creates for a list of integers.
intersect(Path) - Method in class com.owenfeehan.pathpatternfinder.commonpath.PathElements
Takes only a maximal subset (from the left) between existing elements and this new path
isResolved() - Method in class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
Can the element no longer be further broken down into smaller units?
isResolved() - Method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElement
 
iterator() - Method in class com.owenfeehan.pathpatternfinder.commonpath.PathElements
Iterates through each common element (including the root as the first element if it exists).
iterator() - Method in class com.owenfeehan.pathpatternfinder.Pattern
 

K

keys() - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.FrequencyMap
All keys in the map.

L

lowest() - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.integer.IntegerFrequencyMap
The lowest-value in the map.
lowestKey() - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.FrequencyMap
The key with lowest-value

M

main(String[]) - Static method in class com.owenfeehan.pathpatternfinder.PathPatternFinder
Derives a pattern from the paths passed as command-line arguments.
match(char, char) - Method in class com.owenfeehan.pathpatternfinder.CasedStringComparer
Are two characters identical, based upon current case-sensitivity settings?
match(String, String) - Method in class com.owenfeehan.pathpatternfinder.CasedStringComparer
Are two strings identical, based upon current case-sensitivity settings?

N

numberUniqueValues() - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.DescribeFrequencyMap
How many unique-values are described in the FrequencyMap?
numberUniqueValues() - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.FrequencyMap
The number of unique-values that are being counted (i.e.
numberUniqueValues() - Method in class com.owenfeehan.pathpatternfinder.describer.frequencymap.integer.IntegerFrequencyMap
Number of unique values.

P

PathElements - Class in com.owenfeehan.pathpatternfinder.commonpath
A list of elements of a path from the left to right.
PathPatternFinder - Class in com.owenfeehan.pathpatternfinder
Finds a pattern in a list of paths via a set of rules.
PathPatternFinder() - Constructor for class com.owenfeehan.pathpatternfinder.PathPatternFinder
 
Pattern - Class in com.owenfeehan.pathpatternfinder
A pattern that has been extracted, containing 0 or more PatternElements.
Pattern() - Constructor for class com.owenfeehan.pathpatternfinder.Pattern
Create with 0 elements.
Pattern(PatternElement) - Constructor for class com.owenfeehan.pathpatternfinder.Pattern
Create with 1 element.
PatternElement - Class in com.owenfeehan.pathpatternfinder.patternelements
Abstract base class for any pattern elements.
PatternElement() - Constructor for class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
 

R

resolve() - Method in class com.owenfeehan.pathpatternfinder.Pattern
Recursively convert any unresolved elements into resolved elements.
resolve() - Method in class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
Converts this Pattern into smaller units.
resolve() - Method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElement
 
ResolvedPatternElement - Class in com.owenfeehan.pathpatternfinder.patternelements.resolved
A PatternElement that has been resolved.
ResolvedPatternElement() - Constructor for class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElement
 
ResolvedPatternElementFactory - Class in com.owenfeehan.pathpatternfinder.patternelements.resolved
Creation of the different types of resolved elements.
reverse() - Method in class com.owenfeehan.pathpatternfinder.Pattern
Reverse the pattern.
reverse() - Method in class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
Reverses the current element.
reverse() - Method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.VariableElement
 
reverse(String) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.StringUtilities
Returns a new string, whose characters appear in reverse order.
reverseReturn() - Method in class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
Reverses the pattern.
reverseStringsInList(List<String>) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.StringUtilities
Reverse every string in a list, but do not change the order of elements in the list.
reverseStringsInSet(Set<String>) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.StringUtilities
Reverse every string in a set.

S

size() - Method in class com.owenfeehan.pathpatternfinder.commonpath.PathElements
Number of path-elements in the prefix.
size() - Method in class com.owenfeehan.pathpatternfinder.Pattern
 
sizeIgnoreRoot() - Method in class com.owenfeehan.pathpatternfinder.commonpath.PathElements
Number of path-elements in the prefix that aren't a root.
Skipper - Class in com.owenfeehan.pathpatternfinder.patternelements.unresolved
Skips certain kind of resolves operations if it is known a priori that they are unneeded.
Skipper() - Constructor for class com.owenfeehan.pathpatternfinder.patternelements.unresolved.Skipper
Creates with default values (include everything, and #getStartSplitCharIndex() of 0).
Skipper(boolean, boolean, int) - Constructor for class com.owenfeehan.pathpatternfinder.patternelements.unresolved.Skipper
Creates with explicit values for flags.
string(String...) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Creates a varying string element of one or more strings.
string(List<String>) - Static method in class com.owenfeehan.pathpatternfinder.patternelements.resolved.ResolvedPatternElementFactory
Creates a varying string element of a list of strings.
stringComparer() - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.UnresolvedPatternElementFactory
The comparer uses for strings, with particular case-sensitivity specified.
StringUtilities - Class in com.owenfeehan.pathpatternfinder.patternelements
Utilities functions to help with reversing strings and other string operations.
swapResolves() - Method in class com.owenfeehan.pathpatternfinder.patternelements.unresolved.Skipper
Switch whether to resolve from the left, with whether to resolve from the right.

T

toPath() - Method in class com.owenfeehan.pathpatternfinder.commonpath.PathElements
Converts the elements to a path.
toString() - Method in class com.owenfeehan.pathpatternfinder.Pattern
 
toString() - Method in class com.owenfeehan.pathpatternfinder.patternelements.PatternElement
 
trim(List<String>) - Method in class com.owenfeehan.pathpatternfinder.trim.constantsubstring.TrimConstantSubstring
 
trim(List<String>) - Method in class com.owenfeehan.pathpatternfinder.trim.TrimConstantString
 
trim(List<String>) - Method in class com.owenfeehan.pathpatternfinder.trim.TrimInteger
 
trim(List<String>) - Method in class com.owenfeehan.pathpatternfinder.trim.TrimSplitByChar
 
trim(List<Path>) - Method in class com.owenfeehan.pathpatternfinder.trim.TrimCommonPathRoot
 
trim(List<T>) - Method in interface com.owenfeehan.pathpatternfinder.trim.TrimOperation
Attempts to trim the list of objects by finding a Pattern.
trim(List<T>) - Method in class com.owenfeehan.pathpatternfinder.trim.TrimOperationOrList
 
TrimCommonPathRoot - Class in com.owenfeehan.pathpatternfinder.trim
Considers each element of a file-path (between directory separators) as an ordered list and finds a the maximally constant sublist from the left size.
TrimCommonPathRoot(UnresolvedPatternElementFactory) - Constructor for class com.owenfeehan.pathpatternfinder.trim.TrimCommonPathRoot
Create for a specific factory.
TrimConstantString - Class in com.owenfeehan.pathpatternfinder.trim
Looks for a constant common substring (from left-size, as maximal as possible).
TrimConstantString(UnresolvedPatternElementFactory) - Constructor for class com.owenfeehan.pathpatternfinder.trim.TrimConstantString
Creates given a factory for creating unresolved pattern-elements.
TrimConstantSubstring - Class in com.owenfeehan.pathpatternfinder.trim.constantsubstring
Attempts to split a string by finding an identical sub-string in all strings, so long as it is always located at the same index (relative to left).
TrimConstantSubstring(UnresolvedPatternElementFactory) - Constructor for class com.owenfeehan.pathpatternfinder.trim.constantsubstring.TrimConstantSubstring
Constructor
TrimInteger - Class in com.owenfeehan.pathpatternfinder.trim
Reads an integer from the left-side of the string (greedy, it grabs an integer of maximally possible length).
TrimInteger(UnresolvedPatternElementFactory) - Constructor for class com.owenfeehan.pathpatternfinder.trim.TrimInteger
Creates given a factory for creating unresolved pattern-elements.
TrimOperation<T> - Interface in com.owenfeehan.pathpatternfinder.trim
Attempts to trim the list of objects from left or right.
TrimOperationOrList<T> - Class in com.owenfeehan.pathpatternfinder.trim
Tries to apply each operation in a list until one is successful.
TrimOperationOrList(List<TrimOperation<T>>) - Constructor for class com.owenfeehan.pathpatternfinder.trim.TrimOperationOrList
Creates given a list of operations.
TrimSplitByChar - Class in com.owenfeehan.pathpatternfinder.trim
Attempts to split a string by finding a common special character in all strings.
TrimSplitByChar(char, int, UnresolvedPatternElementFactory) - Constructor for class com.owenfeehan.pathpatternfinder.trim.TrimSplitByChar
Constructor

U

UnresolvedPatternElementFactory - Class in com.owenfeehan.pathpatternfinder.patternelements.unresolved
Creates Patterns or PatternElements which have yet to be resolved or adds a new such unresolved Element to an existing Pattern.
UnresolvedPatternElementFactory(IOCase) - Constructor for class com.owenfeehan.pathpatternfinder.patternelements.unresolved.UnresolvedPatternElementFactory
Creates with a particular case-sensitivity.

V

VariableElement - Class in com.owenfeehan.pathpatternfinder.patternelements.resolved
A PatternElement that is resolved and varies across the list of values.
VariableElement(List<String>) - Constructor for class com.owenfeehan.pathpatternfinder.patternelements.resolved.VariableElement
Creates for a list of values.
A B C D E F G H I K L M N P R S T U V 
All Classes All Packages