Uses of Annotation Interface
org.tquadrat.foundation.annotation.ClassVersion
Packages that use ClassVersion
Package
Description
Some specialised annotations that are either meant to support change
management and field support (like
ClassVersion)
or to provide other advanced functionality.A collection of
Exceptions
that are defined for the Foundation library set.
Functional interfaces for the Foundation Library.
TCE versions of the
functional interfaces
in the package
java.util.function
and others.Some general language extensions provided by the Foundation
Library.
The internal implementations of some general language extensions provided
by the Foundation Library.
The code in this package was originally written by Dominic Fox and provided
in the package
com.codepoetics.protonpack.The internal classes for the stream extensions.
-
Uses of ClassVersion in org.tquadrat.foundation.annotation
Classes in org.tquadrat.foundation.annotation with annotations of type ClassVersionModifier and TypeClassDescription@interfaceThis annotation allows to add information about applied fixes to a program element.@interfaceThe annotation container for@BUGannotations.@interfaceThe marker annotation for methods that are meant to be overwritten in child classes.@interfaceThis is the marker annotation for a "Playground Class"@interfaceThis is the marker annotation for a "Main" class.@interfaceAssociates a property name to a method.@interfaceThis is a marker annotation for a utility class. -
Uses of ClassVersion in org.tquadrat.foundation.exception
Classes in org.tquadrat.foundation.exception with annotations of type ClassVersionModifier and TypeClassDescriptionclassUse the application error to signal the abort of an application.
This implementation ofErrorallows to set a flag that indicates whether this instance was already logged or not.final classThis is a specialized implementation for theIllegalArgumentExceptionthat should be used instead of the latter in cases where a blank String is provided as an illegal argument value.final classThis is a specialized implementation for theIllegalArgumentExceptionthat should be used instead of the latter in cases where aCharSequenceprovided as a method argument is too long according to some external constraints, like the column definition of a database.classA generic wrapper for checked exceptions.final classThis is a specialized implementation for theIllegalArgumentExceptionthat should be used instead of the latter in cases where an empty String, array orCollectionargument is provided as an illegal argument value.classThis implementation ofRuntimeExceptionwill be thrown when an attempted operation is not valid for the current context.final classThis implementation ofErrorshould be thrown in all cases where an exception was caught that seemed to be impossible to be thrown.final classA "container" exception for exception thrown within lambda expressions.classThis is a specialized implementation for theIllegalArgumentExceptionthat should be used instead of the latter in cases wherenullis provided as an illegal argument value.classThis implementation ofErrorshould be called fromprivateconstructors of static classes (classes that does not allow any instances because they have only static methods or constants).classThis implementation ofErrorshould be thrown in all cases where an unexpected exception was caught.final classThis is a specialized implementation forErrorthat is to be thrown especially from thedefaultbranch of aswitchstatement that uses anenumtype as selector.classThis is a specialized implementation for theIllegalArgumentExceptionthat is meant as the root for a hierarchy of exceptions caused by validation errors. -
Uses of ClassVersion in org.tquadrat.foundation.function
Classes in org.tquadrat.foundation.function with annotations of type ClassVersionModifier and TypeClassDescriptionfinal classSome helper methods for the use with lambdas and functional interfaces.interfaceGetter<T>The definition for a getter method.interfaceRepresents a supplier ofNumber-valued results.interfaceSetter<T>The definition for a setter method.interfaceTriConsumer<A,B, C> Represents an operation that accepts three input arguments and returns no result.interfaceTriFunction<A,B, C, R> Represents an operation that accepts three input arguments and produces a result. -
Uses of ClassVersion in org.tquadrat.foundation.function.tce
Classes in org.tquadrat.foundation.function.tce with annotations of type ClassVersionModifier and TypeInterfaceDescriptioninterfaceTCEBiConsumer<T1,T2> The TCE version of the interfaceBiConsumerthat represents an operation that accepts two input arguments and returns no result.interfaceTCEBiFunction<T1,T2, R> The TCE version of the interfaceBiFunctionthat represents a function that accepts two arguments and produces a result.interfaceThe TCE version of the interfaceBinaryOperatorthat represents an operation upon two operands of the same type, producing a result of the same type as the operands.interfaceTCEConsumer<T>The TCE version of the interfaceConsumerthat represents an operation that accepts a single input argument and returns no result.interfaceTCEFunction<T,R> The TCE version of the interfaceFunctionthat represents a function that accepts one argument and produces a result.interfaceTCEPredicate<T>The TCE version of the interfacePredicatethat represents a predicate (boolean-valued function) of one argument.interfaceTCESupplier<T>The TCE version of the interfaceSupplierthat represents a supplier of results.interfaceTCETriConsumer<T1,T2, T3> The TCE version of the interfaceTriConsumerthat represents an operation that accepts three input arguments and returns no result.interfaceTCETriFunction<A,B, C, R> The TCE version of the interfaceTriFunctionthat represents a function that accepts three arguments and produces a result.
Different from the methodFunction.apply()the methodTCETriFunction.apply(Object, Object, Object)of this interface declares to throw a checked exception.
This is a functional interface whose functional method isTCETriFunction.apply(Object, Object, Object). -
Uses of ClassVersion in org.tquadrat.foundation.lang
Classes in org.tquadrat.foundation.lang with annotations of type ClassVersionModifier and TypeInterfaceDescriptioninterfaceA variant of the interfaceRunnablewith aAction.run()method that allows to throw an exception.interfaceA wrapper for locks that supports thetry-with-resourcesfeature of Java 7.static final classThis exception is thrown when an operation fails.final classThis class provides a bunch of commonly used constants.interfaceA functional interface whoseConstraint.evaluate()method return abooleanand can throw anExceptionin case of an errorfinal classSome functions for DEBUG and TEST output to the console.interfaceErrorHandler<C>This is aFunctionalInterfacemeant to process a given error code and to throw an exception based on that, or to cause some side effects.classThis implementation ofStringConverterallows to create an instance ofStringConverterfor an arbitrary type on the fly.interfaceLazy<T>A holder for a lazy initialised object instance.interfaceAllows to execute an operation with an obtained lock.final recordAn implementation of a name-value-pair.final classThis class consists of several utility methods working onObjectinstances, similar to those onArraysorCollections.interfaceOperation<R>A variant of the interfaceSupplierwith aOperation.get()method that allows to throw an exception.final recordPair<L,R> The implementation of a tupel.interfacePrints a formatted message.interfaceSoftLazy<T>Instances of the classSoftLazyallow to lazy load data that may be needed more than once, but not permanently.final recordStatus<V,C> Instances of this record are meant to be used as the return values for methods that should either return a proper result, or an error code.interfaceDefines the conversion between Strings and object instances, where the concrete behaviour is defined by the implementation of the interface.interfaceStringer<T>This interface defines a method to compose a String representation from arbitrary objects.interfaceA builder for an implementation ofThreadFactory.classAn implementation ofThreadGroupthat allows to configure the behaviour ofThreadGroupExt.uncaughtException(Thread, Throwable) -
Uses of ClassVersion in org.tquadrat.foundation.lang.internal
Classes in org.tquadrat.foundation.lang.internal with annotations of type ClassVersionModifier and TypeClassDescriptionfinal classThe implementation ofAutoLock.classDefaultEnumStringConverter<T extends Enum<T>>The default implementation ofStringConverterfor types that are derived fromEnum.
The implementation ofDefaultEnumStringConverter.fromString(CharSequence)provided here usesClass.getEnumConstants()to find theenumvalue:final classLazyImpl<T>The implementation of the interfaceLazy.final classThe implementation ofLockExecutor.final classSoftLazyImpl<T>The implementation for theSoftLazyinterface.final classThe implementation for theStringConverterservice methods.final classThe implementation ofThreadFactoryBuilder.private static final classThe implementation ofThreadFactorythat is returned byThreadFactoryBuilder.build(). -
Uses of ClassVersion in org.tquadrat.foundation.stream
Classes in org.tquadrat.foundation.stream with annotations of type ClassVersionModifier and TypeClassDescriptionfinal classIndexed<T>A value combined with an index, indicating its position in an ordered sequence.interfaceMapStream<K,V> A stream ofMap.Entry<K,V>.interfaceSelector<T>A selector function takes an array of values and returns the respective array index for the selected value.final classSome useful implementations of theSelectorinterface.classThis class allows to intercept the calls to the methods ofStream.final classUtility class providing static methods for performing various operations on Streams. -
Uses of ClassVersion in org.tquadrat.foundation.stream.internal
Classes in org.tquadrat.foundation.stream.internal with annotations of type ClassVersionModifier and TypeClassDescriptionclassAn implementation ofSpliteratorthat aggregates the elements of the stream based on a providedPredicate.final classDefaultMapStream<K,V> The default implementation forMapStream.final classA selector function takes an array of values and returns the respective array index for the selected value.final classMergingSpliterator<T,O> An implementation ofSpliteratorthat merges streams.final classAn implementation ofSpliteratorthat skips elements on the stream that do not match the provided condition.final classAn implementation ofSpliteratorthat takes elements from a stream while the givenPredicatereturnstrue.final classAn implementation ofSpliteratorthat which takes a seed value and applies a generator to create the next value, feeding each new value back into the generator to create subsequent values.final classZippingSpliterator<L,R, O> An implementation ofSpliteratorthat zips two streams into one.
