|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Extractor | |
|---|---|
| net.sf.jagg.msd | Provides the classes necessary to implement Multiset Discrimination. |
| Uses of Extractor in net.sf.jagg.msd |
|---|
| Classes in net.sf.jagg.msd that implement Extractor | |
|---|---|
protected class |
ArrayDiscriminator.ArrayChainedExtractor<E,B>
An ArrayChainedExtractor extracts members of an array as
labels. |
protected class |
CalendarDiscriminator.CalendarChainedExtractor<E>
A CalendarChainedExtractor extracts the milliseconds value
of the Calendar. |
class |
ChainedExtractor<E,L,T>
A ChainedExtractor extracts a part of an element and returns it
as the label. |
protected class |
ClassDiscriminator.ClassChainedExtractor<E,B>
A ClassChainedExtractor extracts the class name. |
protected class |
CollectionDiscriminator.CollectionChainedExtractor<E,B>
A CollectionChainedExtractor turns Collections
into RandomAccess Lists. |
protected class |
DateDiscriminator.DateChainedExtractor<E>
A DateChainedExtractor extracts the milliseconds value of
the Date. |
protected class |
EnumDiscriminator.EnumChainedExtractor<E>
An EnumChainedExtractor extracts the enum ordinal. |
protected class |
PropertiesDiscriminator.MethodCallChainedExtractor<E,L,B>
An MethodCallChainedExtractor extracts results of a method
call as labels. |
protected class |
RandomAccessListDiscriminator.ListChainedExtractor<E,B>
A ListChainedExtractor extracts members of a random access
list as labels. |
class |
SelfExtractor<E>
A SelfExtractor returns the element itself as the label. |
| Fields in net.sf.jagg.msd declared as Extractor | |
|---|---|
protected Extractor<E,T> |
AbstractExtractor.myExtractor
The chained Extractor. |
| Methods in net.sf.jagg.msd with parameters of type Extractor | ||
|---|---|---|
|
BooleanDiscriminator.discriminate(java.util.List<E> elements,
Extractor<E,java.lang.Boolean> extractor,
MsdWorkspace workspace)
Partitions the given List of values into another
List, in which all of the values from the given list exist
in the new list, and all values that compare equal are adjacent to each
other, according to the given Extractor. |
|
|
CharacterDiscriminator.discriminate(java.util.List<E> elements,
Extractor<E,java.lang.Character> extractor,
MsdWorkspace workspace)
Partitions the given List of values into another
List, in which all of the values from the given list exist
in the new list, and all values that compare equal are adjacent to each
other, according to the given Extractor. |
|
|
CollectionDiscriminator.discriminate(java.util.List<E> elements,
Extractor<E,java.util.Collection<T>> extractor,
MsdWorkspace workspace)
Partitions the given List of elements into another
List, in which all of the elements from the given list exist
in the new list, and all elements that compare equal are adjacent to each
other, according to the given Extractor. |
|
|
PortionDiscriminator.discriminate(java.util.List<E> elements,
Extractor<E,T> extractor,
MsdWorkspace workspace)
Partitions the given List of elements into another
List, in which all of the elements from the given list exist
in the new list, and all elements that compare equal are adjacent to each
other, according to the given Extractor. |
|
|
NullDiscriminator.discriminate(java.util.List<E> elements,
Extractor<E,T> extractor,
MsdWorkspace workspace)
Partitions the given List of elements into another
List, in which all of the elements from the given list exist
in the new list, and all elements that compare equal are adjacent to each
other, according to the given Extractor. |
|
|
Discriminator.discriminate(java.util.List<E> elements,
Extractor<E,T> extractor,
MsdWorkspace workspace)
Partitions the given List of elements into another
List, in which all of the elements from the given list exist
in the new list, and all elements that compare equal are adjacent to each
other, according to the given Extractor. |
|
|
DiscriminableDiscriminator.discriminate(java.util.List<E> elements,
Extractor<E,T> extractor,
MsdWorkspace workspace)
Partitions the given List of elements into another
List, in which all of the elements from the given list exist
in the new list, and all elements that compare equal are adjacent to each
other, according to the given Extractor. |
|
|
ChainedDiscriminator.discriminate(java.util.List<E> elements,
Extractor<E,T> extractor,
MsdWorkspace workspace)
Partitions the given List of elements into another
List, in which all of the elements from the given list exist
in the new list, and all elements that compare equal are adjacent to each
other, according to the given Extractor. |
|
protected
|
CollectionDiscriminator.getChainedExtractor(java.util.List<E> elements,
Extractor<E,java.util.Collection<T>> extractor)
Returns an appropriate ChainedExtractor. |
|
protected
|
RandomAccessListDiscriminator.getChainedExtractor(java.util.List<E> elements,
Extractor<E,java.util.List<T>> extractor)
Returns an appropriate ChainedExtractor. |
|
protected
|
ArrayDiscriminator.getChainedExtractor(java.util.List<E> elements,
Extractor<E,T[]> extractor)
Returns an appropriate ChainedExtractor. |
|
protected
|
PropertiesDiscriminator.getChainedExtractor(java.util.List<E> elements,
Extractor<E,T> extractor)
Returns an appropriate ChainedExtractor. |
|
protected
|
EnumDiscriminator.getChainedExtractor(java.util.List<E> elements,
Extractor<E,T> extractor)
Returns an appropriate ChainedExtractor. |
|
protected
|
DateDiscriminator.getChainedExtractor(java.util.List<E> elements,
Extractor<E,T> extractor)
Returns an appropriate ChainedExtractor. |
|
protected
|
ClassDiscriminator.getChainedExtractor(java.util.List<E> elements,
Extractor<E,T> extractor)
Returns an appropriate ChainedExtractor. |
|
protected abstract
|
ChainedDiscriminator.getChainedExtractor(java.util.List<E> elements,
Extractor<E,T> extractor)
Returns an Extractor that extracts a label of unknown type
from a label of type T, using the given
Extractor, which supplies labels of type T. |
|
protected
|
CalendarDiscriminator.getChainedExtractor(java.util.List<E> elements,
Extractor<E,T> extractor)
Returns an appropriate ChainedExtractor. |
|
protected
|
BigDecimalDiscriminator.getPortionExtractor(Extractor<E,java.math.BigDecimal> e)
Returns a portion extractor appropriate for BigDecimals. |
|
protected
|
BigIntegerDiscriminator.getPortionExtractor(Extractor<E,java.math.BigInteger> e)
Returns a portion extractor appropriate for BigIntegers. |
|
protected
|
ByteDiscriminator.getPortionExtractor(Extractor<E,java.lang.Byte> e)
Returns a portion extractor appropriate for bytes. |
|
protected
|
CharacterDiscriminator.getPortionExtractor(Extractor<E,java.lang.Character> e)
Returns a portion extractor appropriate for Characters. |
|
protected
|
DoubleDiscriminator.getPortionExtractor(Extractor<E,java.lang.Double> e)
Returns a portion extractor appropriate for doubles. |
|
protected
|
FloatDiscriminator.getPortionExtractor(Extractor<E,java.lang.Float> e)
Returns a portion extractor appropriate for floats. |
|
protected
|
IntegerDiscriminator.getPortionExtractor(Extractor<E,java.lang.Integer> e)
Returns a portion extractor appropriate for integers. |
|
protected
|
LongDiscriminator.getPortionExtractor(Extractor<E,java.lang.Long> e)
Returns a portion extractor appropriate for longs. |
|
protected
|
ShortDiscriminator.getPortionExtractor(Extractor<E,java.lang.Short> e)
Returns a portion extractor appropriate for shorts. |
|
protected abstract
|
PortionDiscriminator.getPortionExtractor(Extractor<E,T> extractor)
Returns an appropriate PortionExtractor. |
|
protected abstract
|
NumberDiscriminator.getPortionExtractor(Extractor<E,T> extractor)
Returns an appropriate Extractor. |
|
protected
|
CharSequenceDiscriminator.getPortionExtractor(Extractor<E,T> extractor)
Returns an appropriate PortionExtractor. |
|
| Constructors in net.sf.jagg.msd with parameters of type Extractor | |
|---|---|
AbstractExtractor(Extractor<E,T> extractor)
Creates an AbstractExtractor that uses the given
Extractor in a chain for its labels. |
|
ArrayDiscriminator.ArrayChainedExtractor(Extractor<E,B[]> extractor)
Create an ArrayChainednExtractor that uses the given
Extractor to retrieve the array. |
|
CalendarDiscriminator.CalendarChainedExtractor(Extractor<E,T> extractor)
Create an CalendarChainedExtractor that uses the given
Extractor to retrieve the array. |
|
ChainedExtractor(Extractor<E,T> extractor)
Creates an ChainedExtractor that uses the given
Extractor in a chain for its labels. |
|
CharacterDiscriminator.CharExtractor(Extractor<E,java.lang.Character> extractor)
Create a CharExtractor that first uses the given
Extractor to get the value. |
|
CharSequenceDiscriminator.CharPortionExtractor(Extractor<E,T> extractor)
Create a CharPortionExtractor that first uses the given
Extractor to get the value. |
|
ClassDiscriminator.ClassChainedExtractor(Extractor<E,B> extractor)
Create a ClassChainedExtractor that uses the given
Extractor to retrieve the Class name. |
|
CollectionDiscriminator.CollectionChainedExtractor(Extractor<E,java.util.Collection<B>> extractor)
Create a CollectionChainedExtractor that uses the given
Extractor to retrieve the collection. |
|
DateDiscriminator.DateChainedExtractor(Extractor<E,T> extractor)
Create an EnumChainedExtractor that uses the given
Extractor to retrieve the array. |
|
EnumDiscriminator.EnumChainedExtractor(Extractor<E,T> extractor)
Create an EnumChainedExtractor that uses the given
Extractor to retrieve the array. |
|
PortionExtractor(Extractor<E,T> extractor)
Creates an PortionExtractor that uses the given
Extractor in a chain for its labels. |
|
PropertiesDiscriminator.MethodCallChainedExtractor(Extractor<E,B> extractor)
Create an MethodCallChainedExtractor that uses the given
Extractor to retrieve the base item. |
|
RandomAccessListDiscriminator.ListChainedExtractor(Extractor<E,java.util.List<B>> extractor)
Create an ListChainedExtractor that uses the given
Extractor to retrieve the list. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||