C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- compareNatural(String, String) - Static method in class org.onebusaway.utility.text.NaturalStringOrder
-
Returns a comparator that compares contained numbers based on their numeric values and compares other parts using the current locale's order rules.
- compareNatural(Collator, String, String) - Static method in class org.onebusaway.utility.text.NaturalStringOrder
-
Compares two strings using the given collator and comparing contained numbers based on their numeric values.
- compareNaturalAscii(String, String) - Static method in class org.onebusaway.utility.text.NaturalStringOrder
-
Compares two strings using each character's Unicode value for non-digit characters and the numeric values off any contained numbers.
- compareNaturalIgnoreCaseAscii(String, String) - Static method in class org.onebusaway.utility.text.NaturalStringOrder
-
Compares two strings using each character's Unicode value - ignoring upper/lower case - for non-digit characters and the numeric values of any contained numbers.
- compareTo(Indexed<T>) - Method in class org.onebusaway.utility.collections.Indexed
- contains(T) - Method in class org.onebusaway.utility.collections.TreeUnionFind
- create(TO, int) - Static method in class org.onebusaway.utility.collections.Indexed
D
- DateLibrary - Class in org.onebusaway.utility
-
Contains a number of convenience methods for
Datemanipulation - DateLibrary() - Constructor for class org.onebusaway.utility.DateLibrary
E
- EInRangeStrategy - Enum in org.onebusaway.utility
-
Defines the strategy to use when interpolating a key that is inside the key range of the key-value map
- EOutOfRangeStrategy - Enum in org.onebusaway.utility
-
Defines the strategy to use when interpolating a key that is outside the key range of the key-value map
- equals(Object) - Method in class org.onebusaway.utility.collections.Indexed
- EXCEPTION - org.onebusaway.utility.EOutOfRangeStrategy
-
An exception will be thrown when attempting to interpolate a key that is outside the key range of the key-value map
F
- filter(Iterable<T>, IFilter<T>) - Static method in class org.onebusaway.utility.filter.FilteredIterable
- FilteredIterable<T> - Class in org.onebusaway.utility.filter
- FilteredIterable(Iterable<T>, IFilter<T>) - Constructor for class org.onebusaway.utility.filter.FilteredIterable
- FilteredIterator<T> - Class in org.onebusaway.utility.filter
- FilteredIterator(Iterator<T>, IFilter<T>) - Constructor for class org.onebusaway.utility.filter.FilteredIterator
- find(T) - Method in class org.onebusaway.utility.collections.TreeUnionFind
G
- getAgencyId() - Method in exception org.onebusaway.exceptions.NoSuchAgencyServiceException
- getBestName(String...) - Static method in class org.onebusaway.utility.text.StringLibrary
- getElements() - Method in class org.onebusaway.utility.collections.TreeUnionFind
- getErrorMessage() - Method in exception org.onebusaway.exceptions.InvalidArgumentServiceException
- getFieldName() - Method in exception org.onebusaway.exceptions.InvalidArgumentServiceException
- getFileAsBufferedReader(File) - Static method in class org.onebusaway.utility.IOLibrary
- getFileAsInputStream(File) - Static method in class org.onebusaway.utility.IOLibrary
- getFileAsObjectInputStream(File) - Static method in class org.onebusaway.utility.ObjectSerializationLibrary
-
Convenience method to open a specified file as an
ObjectInputStream - getFileAsObjectOutputStream(File) - Static method in class org.onebusaway.utility.ObjectSerializationLibrary
-
Convenience method to open a specified file as an
ObjectOutputStream - getFileAsOutputStream(File) - Static method in class org.onebusaway.utility.IOLibrary
- getFileAsReader(File) - Static method in class org.onebusaway.utility.IOLibrary
- getFileAsWriter(File) - Static method in class org.onebusaway.utility.IOLibrary
- getIndex() - Method in class org.onebusaway.utility.collections.Indexed
- getIso8601StringAsTime(String) - Static method in class org.onebusaway.utility.DateLibrary
- getIso8601StringAsTime(String, TimeZone) - Static method in class org.onebusaway.utility.DateLibrary
- getPathAsBufferedReader(String) - Static method in class org.onebusaway.utility.IOLibrary
- getPathAsInputStream(String) - Static method in class org.onebusaway.utility.IOLibrary
- getPathAsReader(String) - Static method in class org.onebusaway.utility.IOLibrary
- getSetMembers() - Method in class org.onebusaway.utility.collections.TreeUnionFind
- getSets() - Method in class org.onebusaway.utility.collections.TreeUnionFind
- getStopId() - Method in exception org.onebusaway.exceptions.NoSuchStopServiceException
- getTimeAsDay(long) - Static method in class org.onebusaway.utility.DateLibrary
- getTimeAsDay(Date) - Static method in class org.onebusaway.utility.DateLibrary
- getTimeAsIso8601String(Date) - Static method in class org.onebusaway.utility.DateLibrary
- getTimeAsIso8601String(Date, TimeZone) - Static method in class org.onebusaway.utility.DateLibrary
- getTripId() - Method in exception org.onebusaway.exceptions.NoSuchTripServiceException
- getValue() - Method in class org.onebusaway.utility.collections.Indexed
H
- hasAmPmClock(Locale) - Static method in class org.onebusaway.utility.DateLibrary
- hashCode() - Method in class org.onebusaway.utility.collections.Indexed
- hasNext() - Method in class org.onebusaway.utility.filter.FilteredIterator
I
- IFilter<T> - Interface in org.onebusaway.utility.filter
-
Simple filter interface that returns a true/false value for a specified target object to determine inclusion.
- Indexed<T> - Class in org.onebusaway.utility.collections
-
A wrapper class for an object that add an integer index parameter that can be used to apply a
Comparablesort order to an arbitrary type. - Indexed(T, int) - Constructor for class org.onebusaway.utility.collections.Indexed
- InternalErrorServiceException - Exception in org.onebusaway.exceptions
- InternalErrorServiceException() - Constructor for exception org.onebusaway.exceptions.InternalErrorServiceException
- InternalErrorServiceException(String) - Constructor for exception org.onebusaway.exceptions.InternalErrorServiceException
- InternalErrorServiceException(String, Throwable) - Constructor for exception org.onebusaway.exceptions.InternalErrorServiceException
- InternalErrorServiceException(Throwable) - Constructor for exception org.onebusaway.exceptions.InternalErrorServiceException
- interpolate(double[], double[], double, EOutOfRangeStrategy) - Static method in class org.onebusaway.utility.InterpolationLibrary
- interpolate(double[], double[], double, EOutOfRangeStrategy) - Static method in class org.onebusaway.utility.TransitInterpolationLibrary
- interpolate(double[], double[], double, EOutOfRangeStrategy, EInRangeStrategy) - Static method in class org.onebusaway.utility.InterpolationLibrary
- interpolate(double[], double[], double, EOutOfRangeStrategy, EInRangeStrategy) - Static method in class org.onebusaway.utility.TransitInterpolationLibrary
-
Find the deviation that should be used for a particular stop, given sorted keys (arrival times) and values (deviations) arrays.
- interpolate(SortedMap<K, V>, K) - Static method in class org.onebusaway.utility.InterpolationLibrary
-
Same behavior as
InterpolationLibrary.interpolate(SortedMap, Number, EOutOfRangeStrategy)but with a defaultEOutOfRangeStrategyofEOutOfRangeStrategy.INTERPOLATE. - interpolate(SortedMap<K, V>, K, EOutOfRangeStrategy) - Static method in class org.onebusaway.utility.InterpolationLibrary
- interpolate(KEY, VALUE, KEY, VALUE, double) - Method in interface org.onebusaway.utility.InterpolationStrategy
- interpolate(InterpolationStrategy<KEY, VALUE>, EOutOfRangeStrategy, SortedMap<ANY_KEY, ANY_VALUE>, ANY_KEY) - Static method in class org.onebusaway.utility.InterpolationLibrary
-
Given a
SortedMapwith key-values that of arbitrary type and aInterpolationStrategyto define interpolation over those types, interpolate a value for a target key within the key-range of the map. - INTERPOLATE - org.onebusaway.utility.EInRangeStrategy
-
As long as two key-values are present in the map, we we will attempt to interpolate the value for a key that is inside the key range of the key-value map.
- INTERPOLATE - org.onebusaway.utility.EOutOfRangeStrategy
-
As long as two key-values are present in the map, we we will attempt to interpolate the value for a key that is outside the key range of the key-value map.
- interpolatePair(double, double, double) - Static method in class org.onebusaway.utility.InterpolationLibrary
-
Simple numeric interpolation between two double values using the equation
ratio * (toValue - fromValue) + fromValue - interpolatePair(double, double, double, double, double) - Static method in class org.onebusaway.utility.InterpolationLibrary
-
Simple numeric interpolation between two pairs of key-values and a third key.
- InterpolationLibrary - Class in org.onebusaway.utility
-
Generic methods to support interpolation of values against a sorted key-value map given a new target key.
- InterpolationLibrary() - Constructor for class org.onebusaway.utility.InterpolationLibrary
- InterpolationStrategy<KEY extends Number,VALUE> - Interface in org.onebusaway.utility
-
Defines an interpolation strategy for key-value pairs of arbitrary type.
- InvalidArgumentServiceException - Exception in org.onebusaway.exceptions
- InvalidArgumentServiceException(String, String) - Constructor for exception org.onebusaway.exceptions.InvalidArgumentServiceException
- InvalidSelectionServiceException - Exception in org.onebusaway.exceptions
- InvalidSelectionServiceException() - Constructor for exception org.onebusaway.exceptions.InvalidSelectionServiceException
- IOLibrary - Class in org.onebusaway.utility
- IOLibrary() - Constructor for class org.onebusaway.utility.IOLibrary
- isEmpty() - Method in class org.onebusaway.utility.collections.TreeUnionFind
- isEnabled(T) - Method in interface org.onebusaway.utility.filter.IFilter
- isSameSet(T, T) - Method in class org.onebusaway.utility.collections.TreeUnionFind
- iterator() - Method in class org.onebusaway.utility.collections.TreeUnionFind
- iterator() - Method in class org.onebusaway.utility.filter.FilteredIterable
L
- LAST_VALUE - org.onebusaway.utility.EOutOfRangeStrategy
-
The closest key-value pair to target key outside the range of the key-value map will be used.
M
- main(String[]) - Static method in class org.onebusaway.utility.ObjectSerializationLibrary
- members(TreeUnionFind.Sentry) - Method in class org.onebusaway.utility.collections.TreeUnionFind
- MultipleServiceAreasServiceException - Exception in org.onebusaway.exceptions
- MultipleServiceAreasServiceException() - Constructor for exception org.onebusaway.exceptions.MultipleServiceAreasServiceException
N
- NaturalStringOrder - Class in org.onebusaway.utility.text
-
Utility class for natural string order operations (a1 < a2 < a10).
- nearestNeighbor(SortedMap<K, V>, K) - Static method in class org.onebusaway.utility.InterpolationLibrary
- next() - Method in class org.onebusaway.utility.filter.FilteredIterator
- NoSuchAgencyServiceException - Exception in org.onebusaway.exceptions
- NoSuchAgencyServiceException(String) - Constructor for exception org.onebusaway.exceptions.NoSuchAgencyServiceException
- NoSuchRouteServiceException - Exception in org.onebusaway.exceptions
- NoSuchRouteServiceException() - Constructor for exception org.onebusaway.exceptions.NoSuchRouteServiceException
- NoSuchServicePatternServiceException - Exception in org.onebusaway.exceptions
- NoSuchServicePatternServiceException() - Constructor for exception org.onebusaway.exceptions.NoSuchServicePatternServiceException
- NoSuchStopServiceException - Exception in org.onebusaway.exceptions
- NoSuchStopServiceException(String) - Constructor for exception org.onebusaway.exceptions.NoSuchStopServiceException
- NoSuchTripServiceException - Exception in org.onebusaway.exceptions
- NoSuchTripServiceException(String) - Constructor for exception org.onebusaway.exceptions.NoSuchTripServiceException
O
- ObjectSerializationLibrary - Class in org.onebusaway.utility
-
Convenience methods for serializing objects to and from streams and files.
- ObjectSerializationLibrary() - Constructor for class org.onebusaway.utility.ObjectSerializationLibrary
- org.onebusaway.exceptions - package org.onebusaway.exceptions
- org.onebusaway.utility - package org.onebusaway.utility
- org.onebusaway.utility.collections - package org.onebusaway.utility.collections
- org.onebusaway.utility.filter - package org.onebusaway.utility.filter
- org.onebusaway.utility.text - package org.onebusaway.utility.text
- OutOfServiceAreaServiceException - Exception in org.onebusaway.exceptions
- OutOfServiceAreaServiceException() - Constructor for exception org.onebusaway.exceptions.OutOfServiceAreaServiceException
- OutOfServiceAreaServiceException(String) - Constructor for exception org.onebusaway.exceptions.OutOfServiceAreaServiceException
P
- PREVIOUS_VALUE - org.onebusaway.utility.EInRangeStrategy
-
Returns the value in the key-value map closest to the target value, where the index for the returned value is less than the index of the target value.
- printObject(File, Object) - Static method in class org.onebusaway.utility.ObjectSerializationLibrary
-
Convenience method to serialize the string representation of an object, as returned by the
Object.toString()method, to a file.
R
- readObject(File) - Static method in class org.onebusaway.utility.ObjectSerializationLibrary
-
Read an object from a file by opening the file as an
ObjectInputStreamand reading a single object from the stream. - remove() - Method in class org.onebusaway.utility.filter.FilteredIterator
S
- ServiceAreaServiceException - Exception in org.onebusaway.exceptions
- ServiceAreaServiceException() - Constructor for exception org.onebusaway.exceptions.ServiceAreaServiceException
- ServiceAreaServiceException(String) - Constructor for exception org.onebusaway.exceptions.ServiceAreaServiceException
- ServiceException - Exception in org.onebusaway.exceptions
-
A base exception type that is used by many OneBusAway service methods.
- ServiceException() - Constructor for exception org.onebusaway.exceptions.ServiceException
- ServiceException(String) - Constructor for exception org.onebusaway.exceptions.ServiceException
- ServiceException(String, Throwable) - Constructor for exception org.onebusaway.exceptions.ServiceException
- ServiceException(Throwable) - Constructor for exception org.onebusaway.exceptions.ServiceException
- size() - Method in class org.onebusaway.utility.collections.TreeUnionFind
- StringLibrary - Class in org.onebusaway.utility.text
- StringLibrary() - Constructor for class org.onebusaway.utility.text.StringLibrary
T
- toString() - Method in class org.onebusaway.utility.collections.Indexed
- TransitInterpolationLibrary - Class in org.onebusaway.utility
-
Transit-specific methods to support searching for deviations (produced from real-time predictions) for a given stop.
- TransitInterpolationLibrary() - Constructor for class org.onebusaway.utility.TransitInterpolationLibrary
- TreeUnionFind<T> - Class in org.onebusaway.utility.collections
-
Simple tree-based union find data structure.
- TreeUnionFind() - Constructor for class org.onebusaway.utility.collections.TreeUnionFind
- TreeUnionFind.Sentry - Interface in org.onebusaway.utility.collections
U
- union(T, T) - Method in class org.onebusaway.utility.collections.TreeUnionFind
- unionWithSentries(TreeUnionFind.Sentry, TreeUnionFind.Sentry) - Method in class org.onebusaway.utility.collections.TreeUnionFind
- unionWithSentry(TreeUnionFind.Sentry, T) - Method in class org.onebusaway.utility.collections.TreeUnionFind
V
- valueOf(String) - Static method in enum org.onebusaway.utility.EInRangeStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.onebusaway.utility.EOutOfRangeStrategy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.onebusaway.utility.EInRangeStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.onebusaway.utility.EOutOfRangeStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- writeObject(File, Object) - Static method in class org.onebusaway.utility.ObjectSerializationLibrary
-
Serialize an object to a file by opening an
ObjectOutputStreamlinked to the file and writing the object to the stream.
All Classes All Packages