This package defines a simple, lean framework for writing and reading
XML files.
EGraphvizOutputFormat - Enum in edu.tum.cs.commons.graphEnumeration for the different output formats supported by Graphviz.EHTMLAttribute - Enum in edu.tum.cs.commons.htmlEnumeration of all HTML attributes.EHTMLElement - Enum in edu.tum.cs.commons.htmlEnumeration of all HTML elements.EJavaPrimitive - Enum in edu.tum.cs.commons.reflectEnumeration of Java primitives.elementNodes(NodeList) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
Extracts all ElementNodes from a NodeList and returns the result as a
list.
EMPTY_STRING -
Static variable in class edu.tum.cs.commons.string.StringUtils
The emtpy string.
emptyList() -
Static method in class edu.tum.cs.commons.collections.CollectionUtils
The way this method is defined allows to assign it to all parameterized
types, i.e. bot of the following statements are accepted by the compiler
without warnings:
UnmodifiableList<String> emptyList = CollectionUtils.emptyList();
UnmodifiableList<Date> emptyList = CollectionUtils.emptyList();
emptyMap() -
Static method in class edu.tum.cs.commons.collections.CollectionUtils
Returns an empty map.
emptySet() -
Static method in class edu.tum.cs.commons.collections.CollectionUtils
Returns an empty set.
encodeAsHex(byte[]) -
Static method in class edu.tum.cs.commons.string.StringUtils
Encodes a byte array as a hex string.
endsWithOneOf(String, String...) -
Static method in class edu.tum.cs.commons.string.StringUtils
Test if a string ends with one of the provided suffixes.
ensureDirectoryExists(File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
Checks if a directory exists.
ensureParentDirectoryExists(File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
Checks if the parent directory of a file exists.
ensureSpace(int) -
Method in class edu.tum.cs.commons.collections.PairList
Make sure there is space for at least the given amount of elements.
entrySet() -
Method in class edu.tum.cs.commons.collections.ArrayBackedMap
entrySet() -
Method in class edu.tum.cs.commons.collections.HybridMapBase
entrySet() -
Method in class edu.tum.cs.commons.collections.UnmodifiableMap
EnumUtils - Class in edu.tum.cs.commons.enumsUtility class for enumerations.EnumUtils() -
Constructor for class edu.tum.cs.commons.enums.EnumUtils
EnvironmentError - Error in edu.tum.cs.commons.errorAn error class for signaling problems in the execution environment, e.g. a
missing XML parser implementation.EnvironmentError(String) -
Constructor for error edu.tum.cs.commons.error.EnvironmentError
Create new error.
EnvironmentError(String, Throwable) -
Constructor for error edu.tum.cs.commons.error.EnvironmentError
Create new error.
EnvironmentError(Throwable) -
Constructor for error edu.tum.cs.commons.error.EnvironmentError
Create new error.
equals(Object) -
Method in class edu.tum.cs.commons.assessment.Assessment
equals(Object) -
Method in class edu.tum.cs.commons.collections.ImmutablePair
equals(Object) -
Method in class edu.tum.cs.commons.digest.MD5Digest
equals(T, T) -
Method in interface edu.tum.cs.commons.equals.IEquator
Returns true
, if the elements are equal,
false
if not.
equals(Object) -
Method in class edu.tum.cs.commons.math.Range
Two ranges are equal if their bounds are equal and the flags that
indicate if the bounds are inclusive or not are equal, too.
equals(Object) -
Method in class edu.tum.cs.commons.reflect.ClassType
equals(Object) -
Method in class edu.tum.cs.commons.reflect.FormalParameter
Two formal parameters are equal if their declaring methods and their
position within the formal parameter list are equal.
equals(Object) -
Method in class edu.tum.cs.commons.region.RegionSet
equals(Object) -
Method in class edu.tum.cs.commons.version.Version
Two version are equal if their major and minor version numbers are equal.
error(Object) -
Method in interface edu.tum.cs.commons.logging.ILogger
Log message with level ERROR.
error(Object, Throwable) -
Method in interface edu.tum.cs.commons.logging.ILogger
Log message with level ERROR.
error(Object) -
Method in class edu.tum.cs.commons.logging.SimpleLogger
Log message with level ERROR.
error(Object, Throwable) -
Method in class edu.tum.cs.commons.logging.SimpleLogger
Log message with level ERROR.
escape(String) -
Static method in class edu.tum.cs.commons.xml.XMLWriter
Escape text for XML.
escapeRegexReplacementString(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
Regex replacement methods like
Matcher.appendReplacement(StringBuffer, String)
or
String.replaceAll(String, String)
treat dollar signs as group
references.
ETrafficLightColor - Enum in edu.tum.cs.commons.assessmentEnum for traffic light colors.execute(String[]) -
Static method in class edu.tum.cs.commons.io.ProcessUtils
Executes a process in a thread-safe way.
execute(String[], String) -
Static method in class edu.tum.cs.commons.io.ProcessUtils
Executes a process in a thread-safe way.
execute(ProcessBuilder) -
Static method in class edu.tum.cs.commons.io.ProcessUtils
Executes a process in a thread-safe way.
execute(ProcessBuilder, String) -
Static method in class edu.tum.cs.commons.io.ProcessUtils
Executes a process in a thread-safe way.
EXMLWriterExceptionType - Enum in edu.tum.cs.commons.xmlException types to detail XMLWriterException
s.extractFirstList() -
Method in class edu.tum.cs.commons.collections.PairList
Creates a new list containing all first elements.
extractInt(byte[], int) -
Static method in class edu.tum.cs.commons.io.SerializationUtils
Extracts an int value from the given array position (4 bytes in big
endian).
extractJarFileFromJarURL(URL) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
Returns the JAR file for an URL with protocol 'jar'.
extractSecondList() -
Method in class edu.tum.cs.commons.collections.PairList
Creates a new list containing all second elements.
F
- factorial(int) -
Static method in class edu.tum.cs.commons.math.MathUtils
- Computes the factorial of n.
- fail(String) -
Static method in class edu.tum.cs.commons.assertion.CCSMAssert
-
- fail(String) -
Static method in class edu.tum.cs.commons.assertion.CCSMPre
- Throws a
PreconditionException
with the provided message.
- FastStringComparator - Class in edu.tum.cs.commons.string
- This is a more efficient implementation of a String comparator.
- FastStringComparator() -
Constructor for class edu.tum.cs.commons.string.FastStringComparator
-
- FileExtensionFilter - Class in edu.tum.cs.commons.filesystem
- This is a file filter finding only "normal" files having one of the specified
extensions.
- FileExtensionFilter(String...) -
Constructor for class edu.tum.cs.commons.filesystem.FileExtensionFilter
- Creates a new file extension filter.
- FilenameComparator - Class in edu.tum.cs.commons.filesystem
- Compares files based on the lexical order of their fully qualified names.
- FilenameComparator() -
Constructor for class edu.tum.cs.commons.filesystem.FilenameComparator
-
- FilenameFilter - Class in edu.tum.cs.commons.filesystem
- This is a file filter that accepts only filenames out of a list of filenames
- FilenameFilter(Collection<String>) -
Constructor for class edu.tum.cs.commons.filesystem.FilenameFilter
- Constructor
- FileOnlyFilter - Class in edu.tum.cs.commons.filesystem
- This is a file filter which accepts only plain files and rejects directories.
- FileOnlyFilter() -
Constructor for class edu.tum.cs.commons.filesystem.FileOnlyFilter
-
- FileSystemUtils - Class in edu.tum.cs.commons.filesystem
- File system utilities.
- FileSystemUtils() -
Constructor for class edu.tum.cs.commons.filesystem.FileSystemUtils
-
- fillString(int, char) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Build a string with a specified length from a character.
- find(T) -
Method in class edu.tum.cs.commons.algo.ObjectUnionFind
- Finds and returns the representative for the given element.
- find(int) -
Method in class edu.tum.cs.commons.algo.UnionFind
- Finds and returns the representative for the given element.
- findJavaExecutable(File) -
Static method in class edu.tum.cs.commons.io.JavaUtils
- Starting in the specified VM install location, attempt to find the 'java'
executable file.
- fireStackChanged() -
Method in class edu.tum.cs.commons.string.StringUndoStackBase
- Something about this stack has changed.
- first -
Variable in class edu.tum.cs.commons.collections.ImmutablePair
- The first element.
- first() -
Method in class edu.tum.cs.commons.collections.UnmodifiableSortedSet
-
- firstKey() -
Method in class edu.tum.cs.commons.collections.UnmodifiableSortedMap
-
- FlatTreeMapRenderer - Class in edu.tum.cs.commons.treemap
- A very simple tree map renderer just drawing "flat" rectangles.
- FlatTreeMapRenderer() -
Constructor for class edu.tum.cs.commons.treemap.FlatTreeMapRenderer
-
- flush() -
Method in class edu.tum.cs.commons.io.MultiplexedOutputStream
- Forwards flush operation to all underlying output streams.
- flush() -
Method in class edu.tum.cs.commons.xml.XMLWriter
- Flushes the underlying writer.
- flushLeft(String, int, char) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Create a sting of the given length starting with the provided string.
- flushRight(String, int, char) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Create a sting of the given length ending with the provided string.
- FormalParameter - Class in edu.tum.cs.commons.reflect
- This class models formal method parameters to allow convenient reflective
access as the Java Reflection API does not model them explicitly.
- FormalParameterComparator - Class in edu.tum.cs.commons.reflect
- This comparator orders formal parameters by their position within the formal
parameter list of the defining method.
- FormalParameterComparator() -
Constructor for class edu.tum.cs.commons.reflect.FormalParameterComparator
-
- format(NumberFormat) -
Method in class edu.tum.cs.commons.math.Range
- String representation contains the bounds and brackets that indicate if
the bounds are inclusive or exclusive.
- format(Number) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Format number
- format(double, NumberFormat) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Format number with number formatter, if number formatter is
null
, this uses String.valueOf(double)
.
- formatAsPercentage(Number) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Format as percentage.
- FormatException - Exception in edu.tum.cs.commons.error
- This exception is used to indicate format errors in provided strings.
- FormatException(String) -
Constructor for exception edu.tum.cs.commons.error.FormatException
- Constructor.
- FormatException(String, Throwable) -
Constructor for exception edu.tum.cs.commons.error.FormatException
- Constructor.
- forwardPatch(List<T>) -
Method in class edu.tum.cs.commons.algo.Diff.Delta
- Applies the forward patch, i.e. if the first string is inserted, then
the second string is returned.
- fromString(String) -
Static method in class edu.tum.cs.commons.color.ColorUtils
- Returns a color from a string.
G
- generateCSSClassName() -
Method in class edu.tum.cs.commons.html.CSSManagerBase
- Generates a suitable name for a CSS class.
- generateFile(String, File, EGraphvizOutputFormat) -
Method in class edu.tum.cs.commons.graph.GraphvizGenerator
- Export a graph to a file.
- generateFileAndImageMap(String, File, EGraphvizOutputFormat) -
Method in class edu.tum.cs.commons.graph.GraphvizGenerator
- Export a graph to a file and return the HTML image map code.
- generateImage(String) -
Method in class edu.tum.cs.commons.graph.GraphvizGenerator
- Generate an image from a graph description.
- generateString(int, int) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Generates a pseudo random string with a certain length in a
deterministic, reproducable fashion.
- generateStringArray(int, int, int) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Generates an array of pseudo-random strings in a deterministic,
reproducable fashion.
- GenericTypeResolver - Class in edu.tum.cs.commons.reflect
- This is a class for helping with the resolution of generic types in the
context of reflection.
- GenericTypeResolver(Class<?>) -
Constructor for class edu.tum.cs.commons.reflect.GenericTypeResolver
- Creates a new generic type resolver for the given class.
- get(Object) -
Method in class edu.tum.cs.commons.collections.ArrayBackedMap
-
- get(Class<?>) -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
- Get value stored for a class.
- get(T) -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
- Get value stored for the declaring class of the provided element.
- get(Object) -
Method in class edu.tum.cs.commons.collections.HybridMapBase
-
- get(ImmutablePair<T, T>) -
Method in class edu.tum.cs.commons.collections.IdentityPairMap
- Returns the element stored at the pair or
null
if not
stored.
- get(T, T) -
Method in class edu.tum.cs.commons.collections.IdentityPairMap
- Returns the element stored at pair (t1, t2) or
null
if not
stored.
- get(int) -
Method in class edu.tum.cs.commons.collections.IntList
- Returns the element at the given index.
- get(int) -
Method in class edu.tum.cs.commons.collections.UnmodifiableList
-
- get(Object) -
Method in class edu.tum.cs.commons.collections.UnmodifiableMap
-
- getAbsoluteFile() -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- Deprecated.
- getAbsolutePath() -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- Deprecated.
- getAcceptedIssuers() -
Method in class edu.tum.cs.commons.net.TrustAllCertificatesManager
- Returns
null
.
- getAdjacentElements(T) -
Method in interface edu.tum.cs.commons.visitor.IMeshWalker
- Returns all elements which are directly reachable from a given element
(and are part of the mesh).
- getAggregator() -
Method in enum edu.tum.cs.commons.math.EAggregationStrategy
- Get aggregator.
- getAll(Class<?>) -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
- Retrieve a list of values stored for the provided class and its super
classes.
- getAll(T) -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
- Get value list for the declaring class of the provided element.
- getAllOptions() -
Method in class edu.tum.cs.commons.options.OptionRegistry
- Returns a list containing all supported options.
- getAllReferencedObjects(Object, Class<T>, String...) -
Static method in class edu.tum.cs.commons.test.DeepCloneTestUtils
- This works analogous to
DeepCloneTestUtils.getAllReferencedObjects(Object, String...)
but allows to limit
the results to a certain type.
- getAllReferencedObjects(Object, String...) -
Static method in class edu.tum.cs.commons.test.DeepCloneTestUtils
- Get all objects an object references.
- getAnnotation(Class<A>) -
Method in class edu.tum.cs.commons.reflect.FormalParameter
- Returns this element's annotation for the specified type if such an
annotation is present, else
null
.
- getAnnotations() -
Method in class edu.tum.cs.commons.reflect.FormalParameter
- Get parameter annotations.
- getAny(Iterable<T>) -
Static method in class edu.tum.cs.commons.collections.CollectionUtils
- Returns one object from an
Iterable
or null
if the
iterable is empty.
- getArea() -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Returns the area of this node including all subnodes.
- getArrowHead(Point, Point, int, double) -
Static method in class edu.tum.cs.commons.image.GraphicsUtils
- Returns a path for the arrow at the end of an edge from p1 to p2.
- getAttributeClass() -
Method in class edu.tum.cs.commons.html.HTMLWriter.HTMLResolver
- Returns the class of the attribute enumeration.
- getAttributeClass() -
Method in interface edu.tum.cs.commons.xml.IXMLResolver
- Returns the class of the attribute enumeration.
- getAttributeClass() -
Method in class edu.tum.cs.commons.xml.LowercaseResolver
- Returns the class of the attribute enumeration.
- getAttributeClass() -
Method in class edu.tum.cs.commons.xml.XMLResolver
- Returns the class of the attribute enumeration.
- getBaseClass() -
Method in class edu.tum.cs.commons.reflect.ClassType
- Returns the base class for this ClassType.
- getBOM() -
Method in enum edu.tum.cs.commons.filesystem.EByteOrderMark
- Returns the byte order mark.
- getBOMLength() -
Method in enum edu.tum.cs.commons.filesystem.EByteOrderMark
- Returns the size of the BOM in bytes.
- getBooleanAttribute(A) -
Method in class edu.tum.cs.commons.xml.XMLReader
- Get
boolean
value of an attribute.
- getBooleanValue(String) -
Method in class edu.tum.cs.commons.options.Options
- Get the value for an option as
boolean
.
- getBooleanValue(String, boolean) -
Method in class edu.tum.cs.commons.options.Options
- Same as
Options.getBooleanValue(String)
but allows to specify a default
value.
- getBytes() -
Method in class edu.tum.cs.commons.digest.MD5Digest
- Returns a copy of the internal byte representation.
- getCanonicalFile() -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- Returns the canonical file itself.
- getCanonicalPath() -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- This method is overridden to save effort for call to
File.getCanonicalPath()
.
- getChild(K) -
Method in class edu.tum.cs.commons.tree.SimpleTreeNode
- Get child with specified key.
- getChildren() -
Method in class edu.tum.cs.commons.tree.SimpleTreeNode
- Get children of this node.
- getChildren() -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Returns the list of children of this node.
- getChildren(T) -
Method in interface edu.tum.cs.commons.visitor.ITreeWalker
- Returns the children of the given tree node.
- getChildText(E) -
Method in class edu.tum.cs.commons.xml.XMLReader
- Get the text content of a child element of the current element.
- getChopboxAnchor(Rectangle, Point) -
Static method in class edu.tum.cs.commons.image.GraphicsUtils
- The ChopboxAnchor's location is found by calculating the intersection of
a line drawn from the center point of a box to a reference point and that
box.
- getClassFileVersions(File) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- This method extracts the class file version from each class file in the
provided jar.
- getClassObject() -
Method in enum edu.tum.cs.commons.reflect.EJavaPrimitive
- Get the class object of the primitive.
- getClusterSize(T) -
Method in class edu.tum.cs.commons.algo.ObjectUnionFind
- Returns the size of the union cluster containing the given element.
- getClusterSize(int) -
Method in class edu.tum.cs.commons.algo.UnionFindWithSize
- Returns the size of the union cluster containing the given element.
- getColor() -
Method in enum edu.tum.cs.commons.color.ECCSMColor
- Get AWT color.
- getColor() -
Method in interface edu.tum.cs.commons.color.IColor
- Get AWT color.
- getColor() -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Returns the base color used for drawing this node.
- getColorChart(int, int) -
Static method in enum edu.tum.cs.commons.color.ECCSMColor
- Get image showing all defined colors.
- getColorFrequency(ETrafficLightColor) -
Method in class edu.tum.cs.commons.assessment.Assessment
-
- getColorTable() -
Static method in enum edu.tum.cs.commons.color.ECCSMColor
- Get table of all defined colors.
- getConnectionWeight(N1, N2) -
Method in interface edu.tum.cs.commons.algo.MaxWeightMatching.IWeightProvider
- Returns the weight of the connection between both nodes.
- getContent() -
Method in class edu.tum.cs.commons.io.StreamReaderThread
- Returns the content read from the stream.
- getCSSClassName(CSSDeclarationBlock) -
Method in class edu.tum.cs.commons.html.CSSManagerBase
- Returns the name of the CSS class used for this block.
- getCurrentElement() -
Method in class edu.tum.cs.commons.xml.XMLWriter
- Returns the element we are currently in.
- getDeclared(Class<?>) -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
- Get value stored for this class.
- getDeclared(T) -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
- Get value stored for the declaring class of the provided element.
- getDeltaMemUsageInBytes() -
Method in class edu.tum.cs.commons.system.PerformanceMonitor
- Gets the delta in memory consumption in bytes
- getDeltaMemUsageInKBs() -
Method in class edu.tum.cs.commons.system.PerformanceMonitor
- Gets the delta in memory consumption in kilobytes
- getDescription() -
Method in enum edu.tum.cs.commons.graph.EGraphvizOutputFormat
- Get format description.
- getDominantColor() -
Method in class edu.tum.cs.commons.assessment.Assessment
-
- getDrawingPattern() -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Returns the pattern used for drawing the node (may be
null
to use no pattern).
- getEarliest(Collection<Date>) -
Static method in class edu.tum.cs.commons.date.DateUtils
- Returns the earliest date in a collection of dates
- getElementPosition(Element) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Determines the index (starting at 0) of the given element relative to
other element nodes for the same parent.
- getEncoding() -
Method in enum edu.tum.cs.commons.filesystem.EByteOrderMark
- Returns the encoding.
- getEnd() -
Method in class edu.tum.cs.commons.region.Region
- Gets the end position of the region
- getEntrySet() -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Returns the entries.
- getEnumAttribute(A, Class<T>) -
Method in class edu.tum.cs.commons.xml.XMLReader
- Translate attribute value to an enumeration element.
- getEnumValue(String, Class<T>) -
Method in class edu.tum.cs.commons.options.Options
- Get the value for an option as instance of an enumeration.
- getEnumValue(String, T, Class<T>) -
Method in class edu.tum.cs.commons.options.Options
- Same as
Options.getEnumValue(String, Class)
but allows to specify
default value.
- getExceptions() -
Method in class edu.tum.cs.commons.error.CollectingExceptionHandler
- Returns the list of exception caught so far.
- getExtension() -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- Returns the extension of the file.
- getFileExtension(File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Returns the extension of the file.
- getFileExtension() -
Method in enum edu.tum.cs.commons.graph.EGraphvizOutputFormat
- Get file extension typically used for this format.
- getFirst(T) -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Get first element.
- getFirst() -
Method in class edu.tum.cs.commons.collections.ImmutablePair
- Returns the first element of the pair.
- getFirst(int) -
Method in class edu.tum.cs.commons.collections.PairList
- Returns the first element at given index.
- getFirstKeys() -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Get all first level keys.
- getFirstLine(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Returns the first line of a string.
- getFirstParts(String, int, char) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Returns the first n part of a string, separated by the given character.
- getFirstPosition() -
Method in class edu.tum.cs.commons.region.RegionSet
- Returns first position in
RegionSet
.
- getFirstSet() -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Returns the first set (the domain).
- getFloatValue(String) -
Method in class edu.tum.cs.commons.options.Options
- Get the value for an option as
float
.
- getFormalParameters(Method) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Obtain array of formal parameters for a method.
- getForPrimitiveClass(Class<?>) -
Static method in enum edu.tum.cs.commons.reflect.EJavaPrimitive
- Returns the enum literal belonging to the given primitive class (or
null).
- getForPrimitiveOrWrapperClass(Class<?>) -
Static method in enum edu.tum.cs.commons.reflect.EJavaPrimitive
- Returns the enum literal belonging to the given primitive or wrapper
class (or null).
- getForWrapperClass(Class<?>) -
Static method in enum edu.tum.cs.commons.reflect.EJavaPrimitive
- Returns the enum literal belonging to the given wrapper class (or null).
- getFreePort() -
Static method in class edu.tum.cs.commons.net.SocketUtils
- Returns a new free TCP port number
- getGenericType() -
Method in class edu.tum.cs.commons.reflect.FormalParameter
- Get generic parameter type.
- getHashKey(I) -
Method in class edu.tum.cs.commons.cache.CacheBase
- Determine hash key for an identifier.
- getHashKey(I) -
Method in class edu.tum.cs.commons.cache.LRUStraightCacheBase
- This method simply returns the identifier.
- getHashKey(I) -
Method in class edu.tum.cs.commons.cache.SoftRefStraightCacheBase
- This method simply returns the identifier.
- getHTMLColorCode() -
Method in enum edu.tum.cs.commons.color.ECCSMColor
- Get color code as used in HTML:
#RRGGBB
.
- getHTMLColorCode() -
Method in interface edu.tum.cs.commons.color.IColor
- Get color code as used in HTML:
#RRGGBB
.
- getInstance() -
Static method in class edu.tum.cs.commons.error.RethrowingExceptionHandler
- Returns the singleton instance of this class.
- getInstance(File) -
Static method in class edu.tum.cs.commons.test.TestDataManager
- Returns the instance of the test data manager for the given directory.
- getIntAttribute(A) -
Method in class edu.tum.cs.commons.xml.XMLReader
- Get
int
value of an attribute.
- getInterfaces() -
Method in class edu.tum.cs.commons.reflect.ClassType
- Returns all interfaces implemented by this class type in addition to the
base class.
- getIntValue(String) -
Method in class edu.tum.cs.commons.options.Options
- Get the value for an option as
int
.
- getIntValue(String, int) -
Method in class edu.tum.cs.commons.options.Options
- Same as
Options.getIntValue(String)
but allows to specify a default
value.
- getInvertedEntrySet() -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Returns the inverted entries.
- getItem(I) -
Method in class edu.tum.cs.commons.cache.CacheBase
- Obtain an item from the cache.
- getItem(I) -
Method in class edu.tum.cs.commons.cache.LRUCacheBase
- Obtain an item from the cache.
- getItem(I) -
Method in class edu.tum.cs.commons.cache.SoftRefCacheBase
- Obtain an item from the cache.
- getKey() -
Method in class edu.tum.cs.commons.tree.SimpleTreeNode
- Get key of this node.
- getKeys() -
Method in class edu.tum.cs.commons.collections.CounterSet
- Returns the set of all elements used a keys for counters.
- getKeys() -
Method in class edu.tum.cs.commons.collections.HashedListMap
- Get keys.
- getKeys() -
Method in class edu.tum.cs.commons.collections.UnmodifiableHashedListMap
- Get keys.
- getKeyValuePairs(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Splits a key-value string and stores it in a hash map.
- getLast(List<T>) -
Static method in class edu.tum.cs.commons.collections.CollectionUtils
- Returns the last element in list or
null
, if list is empty.
- getLastPart(String, char) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Return the last part of a String which is separated by the given
character.
- getLastPosition() -
Method in class edu.tum.cs.commons.region.RegionSet
- Returns last position in
RegionSet
.
- getLatest(Collection<Date>) -
Static method in class edu.tum.cs.commons.date.DateUtils
- Returns the latest date in a collection of dates
- getLayoutRectangle() -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Returns the rectangle this node was layouted into.
- getLength() -
Method in class edu.tum.cs.commons.region.Region
- Gets the length of the region
- getList(K) -
Method in class edu.tum.cs.commons.collections.HashedListMap
- Get list for key.
- getList(K) -
Method in class edu.tum.cs.commons.collections.UnmodifiableHashedListMap
- Get list for key.
- getLongAttribute(A) -
Method in class edu.tum.cs.commons.xml.XMLReader
- Get
long
value of an attribute.
- getLongOption(String) -
Method in class edu.tum.cs.commons.options.OptionRegistry
- Returns the OptionApplicator for the given short option name or null if
no such options exists.
- getLower() -
Method in class edu.tum.cs.commons.math.Range
- Get lower bound.
- getM() -
Method in class edu.tum.cs.commons.algo.Diff.Delta
- Returns the size of the second word the delta was created for.
- getMajor() -
Method in class edu.tum.cs.commons.version.Version
- Get major version number.
- getMaximumMemoryUsage() -
Method in class edu.tum.cs.commons.system.MemoryMonitor
- Obtain maximum amount of memory used since the monitor was started or
reset.Use this method only when monitor is stopped.
- getMaxMemUsageInBytes() -
Method in class edu.tum.cs.commons.system.PerformanceMonitor
- Gets the maximal memory consumption in bytes
- getMaxMemUsageInKBs() -
Method in class edu.tum.cs.commons.system.PerformanceMonitor
- Gets the maximal memory consumption in kilobytes
- getMD5() -
Static method in class edu.tum.cs.commons.digest.Digester
- Returns Digester digester or throws an AssertionError if the Digester
could not be located.
- getMemoryStatusDescription() -
Static method in class edu.tum.cs.commons.system.DiagnosticUtils
- Returns a string describing the current memory status (max, free and used
memory).
- getMessage() -
Method in class edu.tum.cs.commons.assessment.Assessment
- Get assessment message.
- getMethod() -
Method in class edu.tum.cs.commons.reflect.FormalParameter
- Get the method that declares this formal parameter.
- getMilliseconds() -
Method in class edu.tum.cs.commons.system.PerformanceMonitor
- Gets the measured time in milliseconds
- getMinor() -
Method in class edu.tum.cs.commons.version.Version
- Get minor version number.
- getMostFrequentColor() -
Method in class edu.tum.cs.commons.assessment.Assessment
-
- getMostRecentVersion(String) -
Static method in class edu.tum.cs.commons.version.VersionUtils
- Get the most recent version from a file available via an URL.
- getN() -
Method in class edu.tum.cs.commons.algo.Diff.Delta
- Returns the size of the first word the delta was created for.
- getName() -
Method in enum edu.tum.cs.commons.html.ECSSProperty
- Returns the "real" name of this property.
- getName() -
Method in enum edu.tum.cs.commons.html.ECSSPseudoClass
- Returns the name of the pseudo class including the leading colon.
- getName() -
Method in enum edu.tum.cs.commons.html.EHTMLAttribute
- Returns the name as used in the HTML output.
- getName() -
Method in enum edu.tum.cs.commons.html.EHTMLElement
- Returns the name as used in the HTML output.
- getName() -
Method in class edu.tum.cs.commons.region.RegionSet
- Returns the name.
- getNamedChild(Element, String) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Returns the first child of the given element which is an element named as
specified.
- getNamedChildContent(Element, String) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Get the text content of the given element's first child that is an
element named as specified.
- getNamedChildren(Element, String) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Returns all children of the given element which are element named as
specified.
- getNamespaceURI(String) -
Method in class edu.tum.cs.commons.xml.ConstantNamespaceContext
- Always returns the string provided to the constructor.
- getNeutralElement() -
Method in interface edu.tum.cs.commons.math.IAggregator
- Get the neutral element of this aggregation operator.
- getNeutralElement() -
Method in class edu.tum.cs.commons.math.MaxAggregator
- Returns
Double.NEGATIVE_INFINITY
.
- getNeutralElement() -
Method in class edu.tum.cs.commons.math.MeanAggregator
- Returns
Double.NaN
.
- getNeutralElement() -
Method in class edu.tum.cs.commons.math.MedianAggregator
- Returns
Double.NaN
.
- getNeutralElement() -
Method in class edu.tum.cs.commons.math.MinAggregator
- Returns
Double.POSITIVE_INFINITY
.
- getNeutralElement() -
Method in class edu.tum.cs.commons.math.SumAggregator
- Returns zero.
- getNextLine() -
Method in class edu.tum.cs.commons.string.LineSplitter
- Obtain next identified line.
- getOrCreateChild(T, K) -
Method in interface edu.tum.cs.commons.tree.ITreeNodeHandler
- Get the nodes child identified by the provided key.
- getOrCreateChild(SimpleTreeNode<K>, K) -
Method in class edu.tum.cs.commons.tree.SimpleTreeNodeHandler
- Get the nodes child identified by the provided key.
- getOrigin() -
Method in class edu.tum.cs.commons.region.Region
- Get origin.
- getOutput() -
Method in exception edu.tum.cs.commons.graph.GraphvizException
- Get DOT's original output.
- getParameterCount() -
Method in class edu.tum.cs.commons.options.CmdLine
- Deprecated. Get number of parameters.
- getParentFile() -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- Same as
File.getParentFile()
but returns a canonical file.
- getPath() -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- Deprecated.
- getPattern() -
Method in interface edu.tum.cs.commons.string.IRegexReplacement
- The pattern to match.
- getPattern() -
Method in class edu.tum.cs.commons.string.RegexReplacement
- The pattern to match.
- getPatternColor() -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Returns the color used for drawing the pattern (if any) of this node.
- getPosition(int) -
Method in class edu.tum.cs.commons.algo.Diff.Delta
- Returns the i-th element of the change positions.
- getPosition() -
Method in class edu.tum.cs.commons.reflect.FormalParameter
- Get the position of the formal parameter within the methods parameter
list.
- getPositionCount() -
Method in class edu.tum.cs.commons.region.RegionSet
- Gets the number of positions contained in the RegionSet.
- getPrefix(String) -
Method in class edu.tum.cs.commons.xml.ConstantNamespaceContext
- Throws
UnsupportedOperationException
.
- getPrefixes(String) -
Method in class edu.tum.cs.commons.xml.ConstantNamespaceContext
- Throws
UnsupportedOperationException
.
- getPrimitive(String) -
Static method in enum edu.tum.cs.commons.reflect.EJavaPrimitive
- Get primitive by name.
- getPrimitiveIgnoreCase(String) -
Static method in enum edu.tum.cs.commons.reflect.EJavaPrimitive
- Get primitive by name ignoring case.
- getProperty(String) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Returns the value of the property (or null if it is not defined for this
block).
- getRangeSum(E, E) -
Method in class edu.tum.cs.commons.collections.SortedCounterSet
- Obtain the sum of all values in a certain range of elements.
- getReplacement() -
Method in interface edu.tum.cs.commons.string.IRegexReplacement
- The replacement for the pattern.
- getReplacement() -
Method in class edu.tum.cs.commons.string.RegexReplacement
- The replacement for the pattern.
- getReturnCode() -
Method in class edu.tum.cs.commons.io.ProcessUtils.ExecutionResult
- Returns returnCode.
- getSecond(S) -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Get second element.
- getSecond() -
Method in class edu.tum.cs.commons.collections.ImmutablePair
- Returns the second element of the pair.
- getSecond(int) -
Method in class edu.tum.cs.commons.collections.PairList
- Returns the second element at given index.
- getSecondKeys(K1) -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Get all the second level keys for a first key.
- getSeconds() -
Method in class edu.tum.cs.commons.system.PerformanceMonitor
- Gets the measured time in seconds.
- getSecondSet() -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Returns the second set (the range).
- getSecondSize(K1) -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Get the size of the (second) map stored for a first key.
- getShortOption(char) -
Method in class edu.tum.cs.commons.options.OptionRegistry
- Returns the OptionApplicator for the given short option name or null if
no such options exists.
- getSize() -
Method in class edu.tum.cs.commons.algo.Diff.Delta
- Returns the size of the delta, i.e. the number of additions and
deletions.
- getSize() -
Method in class edu.tum.cs.commons.collections.IntList
- Returns the size of the list.
- getSize() -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Get size of the map.
- getStart() -
Method in class edu.tum.cs.commons.region.Region
- Gets the start position of the region
- getStatistics() -
Static method in class edu.tum.cs.commons.cache.SoftRefCacheBase
- Returns a statistics string with information about cache hits and misses
for debugging purposes.
- getStderr() -
Method in class edu.tum.cs.commons.io.ProcessUtils.ExecutionResult
- Returns stderr.
- getStdout() -
Method in class edu.tum.cs.commons.io.ProcessUtils.ExecutionResult
- Returns stdout.
- getStringAttribute(A) -
Method in class edu.tum.cs.commons.xml.XMLReader
- Get attribute value.
- getSuperClasses(Class<?>) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Get super class list of a class.
- getT(int) -
Method in class edu.tum.cs.commons.algo.Diff.Delta
- Returns the i-th element stored as addition or deletion.
- getTargetElement() -
Method in interface edu.tum.cs.commons.xml.IXMLElementProcessor
- The element type this processor is meant to process.
- getTestFile(String, TestCase) -
Method in class edu.tum.cs.commons.test.TestDataManager
- Marks the given file as used and returns the complete file (with
directory).
- getText() -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Returns the text of the tree map node
- getText() -
Method in class edu.tum.cs.commons.xml.XMLReader
- Get text content of current node.
- getTmpDirectory() -
Method in class edu.tum.cs.commons.test.CCSMTestCaseBase
- Get temporary directory.
- getTooltipId() -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Get displayable name of the node.
- getTooltipKeys() -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Returns keys for structured displayable data.
- getTooltipValue(String) -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Returns the value to be displayed for a single key.
- getTotal() -
Method in class edu.tum.cs.commons.collections.CounterSet
- Get total sum of all elements.
- getType() -
Method in class edu.tum.cs.commons.reflect.FormalParameter
- Get parameter type.
- getType() -
Method in exception edu.tum.cs.commons.xml.XMLWriterException
- Get exception type.
- getUpper() -
Method in class edu.tum.cs.commons.math.Range
- Get upper bound.
- getUserDatum() -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Returns some user defined data which can be useful for some callbacks.
- getValue(E) -
Method in class edu.tum.cs.commons.collections.CounterSet
- Get the value for an element.
- getValue(K1, K2) -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Get a value by specifying first and second level key.
- getValue(String) -
Method in class edu.tum.cs.commons.options.CmdLine
- Deprecated. Get the value for a parameter.
- getValue(String) -
Method in class edu.tum.cs.commons.options.Options
- Gets the value for a specified option.
- getValue(String, String) -
Method in class edu.tum.cs.commons.options.Options
- Return the value for a specified option or a default value if option is
not present.
- getValues() -
Method in class edu.tum.cs.commons.collections.HashedListMap
- Return all values from all lists.
- getValues() -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Get all values stored in the map.
- getValues() -
Method in class edu.tum.cs.commons.collections.UnmodifiableHashedListMap
- Return all values from all lists.
- getValues(String) -
Method in class edu.tum.cs.commons.options.CmdLine
- Deprecated. Get the values for a parameter.
- getValues(String) -
Method in class edu.tum.cs.commons.options.Options
- Returns the space separated value of an option as array.
- getValuesByFirstKey(K1) -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Get all values referenced by a first level key.
- getValuesBySecondKey(K2) -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Get all values referenced by a second level key.
- getViolator() -
Method in exception edu.tum.cs.commons.constraint.ConstraintViolationException
- Get object that violated the constraint.
- getWrapperClass() -
Method in enum edu.tum.cs.commons.reflect.EJavaPrimitive
- Returns the wrapper class for the primitive.
- getWriter() -
Method in class edu.tum.cs.commons.xml.XMLWriter
- Get writer this writer writes to.
- GraphicsUtils - Class in edu.tum.cs.commons.image
- Utility classes for graphics.
- GraphicsUtils() -
Constructor for class edu.tum.cs.commons.image.GraphicsUtils
-
- GraphvizException - Exception in edu.tum.cs.commons.graph
- Exception indicating problems while invoking graphviz programs.
- GraphvizGenerator - Class in edu.tum.cs.commons.graph
- Java interface to the Graphviz graph drawing toolkit.
- GraphvizGenerator() -
Constructor for class edu.tum.cs.commons.graph.GraphvizGenerator
- Create a new generator that uses
dot
and expects it to be
on the path.
- GraphvizGenerator(String) -
Constructor for class edu.tum.cs.commons.graph.GraphvizGenerator
- Create a new generator by specifying the executable of the layout engine.
H
- handleException(X) -
Method in class edu.tum.cs.commons.error.CollectingExceptionHandler
- Handle the provided exception.
- handleException(X_IN) -
Method in interface edu.tum.cs.commons.error.IExceptionHandler
- Handle the provided exception.
- handleException(X) -
Method in class edu.tum.cs.commons.error.RethrowingExceptionHandler
- Handle the provided exception.
- handleException(T) -
Method in class edu.tum.cs.commons.error.StderrExceptionHandler
- Handle the provided exception.
- hasBooleanValue(String) -
Method in class edu.tum.cs.commons.options.Options
- Checks if the specified option is present and has a boolean value.
- hasDefaultDeclaration(EHTMLElement) -
Method in class edu.tum.cs.commons.html.CSSManagerBase
- Returns whether there is a default declaration for the given element.
- hasDefaultDeclaration(EHTMLElement, ECSSPseudoClass) -
Method in class edu.tum.cs.commons.html.CSSManagerBase
- Returns whether there is a default declaration for the given element.
- hasEnumValue(String, Class<T>) -
Method in class edu.tum.cs.commons.options.Options
- Checks if the specified option is present and has a legal value.
- hasFloatValue(String) -
Method in class edu.tum.cs.commons.options.Options
- Checks if the specified option is present and has a float value.
- hashCode() -
Method in class edu.tum.cs.commons.assessment.Assessment
-
- hashCode() -
Method in class edu.tum.cs.commons.collections.ImmutablePair
-
The hash code is based on the hash code of the first and second members.
- hashCode() -
Method in class edu.tum.cs.commons.digest.MD5Digest
-
- hashCode() -
Method in class edu.tum.cs.commons.math.Range
- Hash code includes bound and the flags that indicate if the bounds are
inclusive or not.
- hashCode() -
Method in class edu.tum.cs.commons.reflect.ClassType
- Returns a hash code for this instance based on the base class and the
additional (normalized) interfaces.
- hashCode() -
Method in class edu.tum.cs.commons.reflect.FormalParameter
- The hashcode is computed as the exclusive-or of the method's hashcode and
(position+1).
- hashCode() -
Method in class edu.tum.cs.commons.region.RegionSet
-
- hashCode() -
Method in class edu.tum.cs.commons.version.Version
- Hashcode is (major << 7) | minor;
- HashedListMap<K,I> - Class in edu.tum.cs.commons.collections
- This class defines a mapping from on item to a list of items.
- HashedListMap() -
Constructor for class edu.tum.cs.commons.collections.HashedListMap
- Create new hashed list map.
- HashedListMap(Map<K, List<I>>) -
Constructor for class edu.tum.cs.commons.collections.HashedListMap
- Create new hashed list map with a specified map.
- HashedListMap(HashedListMap<K, I>) -
Constructor for class edu.tum.cs.commons.collections.HashedListMap
- Copy constructor.
- hasInterfaces() -
Method in class edu.tum.cs.commons.reflect.ClassType
- Returns whether this ClassType requires the implementation of interfaces
in addition to the base class.
- hasIntValue(String) -
Method in class edu.tum.cs.commons.options.Options
- Checks if the specified option is present and has a
int
value.
- hasNext() -
Method in class edu.tum.cs.commons.collections.UnmodifiableIterator
-
- hasNext() -
Method in class edu.tum.cs.commons.options.CommandLineTokenStream
- Returns whether a further token is available.
- hasOption(String) -
Method in class edu.tum.cs.commons.options.Options
- Checks if a specified option is present.
- hasParameter(String) -
Method in class edu.tum.cs.commons.options.CmdLine
- Deprecated. Checks if this command line has a certain parameter.
- hasParameterAndValue(String) -
Method in class edu.tum.cs.commons.options.CmdLine
- Deprecated. Checks if this command line has a certain parameter with at least one
value.
- hasPrevious() -
Method in class edu.tum.cs.commons.collections.UnmodifiableListIterator
-
- hasValue(String) -
Method in class edu.tum.cs.commons.options.Options
- Checks if specified option has a value.
- HEADER -
Static variable in class edu.tum.cs.commons.reflect.ClassLoaderGraphCreator
- The header for DOT files.
- headMap(K) -
Method in class edu.tum.cs.commons.collections.UnmodifiableSortedMap
-
- headSet(E) -
Method in class edu.tum.cs.commons.collections.UnmodifiableSortedSet
-
- HTMLWriter - Class in edu.tum.cs.commons.html
- This class is used for writing HTML.
- HTMLWriter(File, CSSManagerBase) -
Constructor for class edu.tum.cs.commons.html.HTMLWriter
- Creates a new writer for HTML documents.
- HTMLWriter(OutputStream, CSSManagerBase) -
Constructor for class edu.tum.cs.commons.html.HTMLWriter
- Creates a new writer for HTML documents.
- HTMLWriter(PrintWriter, CSSManagerBase) -
Constructor for class edu.tum.cs.commons.html.HTMLWriter
- Creates a new writer for HTML documents.
- HTMLWriter.HTMLResolver - Class in edu.tum.cs.commons.html
- The resolver used for the
HTMLWriter
. - HTMLWriter.HTMLResolver() -
Constructor for class edu.tum.cs.commons.html.HTMLWriter.HTMLResolver
-
- HTMLWriterException - Exception in edu.tum.cs.commons.html
- A runtime exception used for signaling errors during HTML generation.
- HTMLWriterException(String) -
Constructor for exception edu.tum.cs.commons.html.HTMLWriterException
- Create new exception.
- HybridMapBase<K,V> - Class in edu.tum.cs.commons.collections
- A hybrid map is a map which starts with one map implementation, but switches
to another one after a certain size is reached.
- HybridMapBase(Map<K, V>) -
Constructor for class edu.tum.cs.commons.collections.HybridMapBase
- Constructor.
I
- IAggregator - Interface in edu.tum.cs.commons.math
- Aggregtor interface.
- IColor - Interface in edu.tum.cs.commons.color
- Interface for colors.
- IdComparator<I extends java.lang.Comparable<I>,T> - Class in edu.tum.cs.commons.collections
- Comparator that compares objects based on the identifiers provided by a
IIdProvider
. - IdComparator(IIdProvider<I, T>) -
Constructor for class edu.tum.cs.commons.collections.IdComparator
- Create new comparator.
- IDeepCloneable - Interface in edu.tum.cs.commons.clone
- Interface for classes that are deep cloneable, i.e. that can be duplicated
and recursively deep clone all field values.
- IdentifierBasedComparatorBase<I extends java.lang.Comparable<I>,T> - Class in edu.tum.cs.commons.collections
- Base class for comparators that compare to objects by comparing a suitable
object identifier.
- IdentifierBasedComparatorBase() -
Constructor for class edu.tum.cs.commons.collections.IdentifierBasedComparatorBase
-
- IdentityHashSet<E> - Class in edu.tum.cs.commons.collections
- This class implements a set based on referential equality similar to JDK
class
IdentityHashMap
. - IdentityHashSet() -
Constructor for class edu.tum.cs.commons.collections.IdentityHashSet
- Create new identity hash set.
- IdentityHashSet(Collection<? extends E>) -
Constructor for class edu.tum.cs.commons.collections.IdentityHashSet
- Create new identity hash set from an existing collection.
- IdentityHashSet(int) -
Constructor for class edu.tum.cs.commons.collections.IdentityHashSet
- Create new identity hash set with an expected maximum size.
- IdentityPairMap<T,V> - Class in edu.tum.cs.commons.collections
- A map using (unordered) pairs as key which are compared by reference.
- IdentityPairMap() -
Constructor for class edu.tum.cs.commons.collections.IdentityPairMap
-
- IdManager<K> - Class in edu.tum.cs.commons.collections
- This class assigns unique ids to objects.
- IdManager() -
Constructor for class edu.tum.cs.commons.collections.IdManager
- Create new id manager
- IdManagerBase<K> - Class in edu.tum.cs.commons.collections
- Base class for id managers.
- IdManagerBase(Map<K, Integer>) -
Constructor for class edu.tum.cs.commons.collections.IdManagerBase
- Create new id manager
- IDrawingPattern - Interface in edu.tum.cs.commons.treemap
- A drawing pattern is a predicate that determines whether a given pixel
belongs to the foreground or background.
- IEquator<T> - Interface in edu.tum.cs.commons.equals
- Compares two elements for equality.
- IExceptionHandler<X_IN extends java.lang.Exception,X_OUT extends java.lang.Exception> - Interface in edu.tum.cs.commons.error
- Interface for a exception handling routine.
- IFactory<T,X extends java.lang.Exception> - Interface in edu.tum.cs.commons.factory
- Generic factory interface.
- IIdProvider<I,T> - Interface in edu.tum.cs.commons.collections
- This interface defines an ID provider.
- ILocalConstraint<T> - Interface in edu.tum.cs.commons.constraint
- Interface of a constraint checking a local property, i.e. one that can be
verified by only seeing one object.
- ILogger - Interface in edu.tum.cs.commons.logging
- This interface describes loggers.
- ImageUtils - Class in edu.tum.cs.commons.image
- Utility methods for images.
- ImageUtils() -
Constructor for class edu.tum.cs.commons.image.ImageUtils
-
- IMeshWalker<T,X extends java.lang.Exception> - Interface in edu.tum.cs.commons.visitor
- Interface for a mesh walker, i.e. a class which allows the traversal of a
general mesh of elements.
- ImmutablePair<S,T> - Class in edu.tum.cs.commons.collections
- Simple readonly pair class.
- ImmutablePair(S, T) -
Constructor for class edu.tum.cs.commons.collections.ImmutablePair
- Constructor.
- ImmutablePair(ImmutablePair<S, T>) -
Constructor for class edu.tum.cs.commons.collections.ImmutablePair
- Copy constructor.
- implementsInterface(Class<?>) -
Method in class edu.tum.cs.commons.reflect.ClassType
- Returns whether the provided interface is implemented by this class type.
- inc(E, int) -
Method in class edu.tum.cs.commons.collections.CounterSet
- Add the given increment to an element.
- inc(E) -
Method in class edu.tum.cs.commons.collections.CounterSet
- Same as
inc(key, 1)
.
- indexOf(Object) -
Method in class edu.tum.cs.commons.collections.UnmodifiableList
-
- indexOf(String[], String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Searches the elements of a string array for a string.
- info(Object) -
Method in interface edu.tum.cs.commons.logging.ILogger
- Log message with level INFO.
- info(Object, Throwable) -
Method in interface edu.tum.cs.commons.logging.ILogger
- Log message with level INFO.
- info(Object) -
Method in class edu.tum.cs.commons.logging.SimpleLogger
- Log message with level INFO.
- info(Object, Throwable) -
Method in class edu.tum.cs.commons.logging.SimpleLogger
- Log message with level INFO.
- inheritFrom(CSSDeclarationBlock) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Adds another block to inherit from.
- init(String) -
Method in class edu.tum.cs.commons.options.Options
- This initalizes the
Options
object by reading a properties
file.
- init() -
Method in class edu.tum.cs.commons.options.Options
- Init empty
Options
object.
- InMemoryClassLoader - Class in edu.tum.cs.commons.reflect
- Class loader used to directly load a raw array of byte code.
- InMemoryClassLoader() -
Constructor for class edu.tum.cs.commons.reflect.InMemoryClassLoader
- Constructor.
- InMemoryClassLoader(ClassLoader) -
Constructor for class edu.tum.cs.commons.reflect.InMemoryClassLoader
- Constructor.
- InMemoryClassLoader(String, byte[]) -
Constructor for class edu.tum.cs.commons.reflect.InMemoryClassLoader
- Constructor.
- InMemoryClassLoader(ClassLoader, String, byte[]) -
Constructor for class edu.tum.cs.commons.reflect.InMemoryClassLoader
- Constructor.
- insertClass(String, byte[]) -
Method in class edu.tum.cs.commons.reflect.InMemoryClassLoader
- Inserts a class into this class loader (i.e. makes it available for later
calls).
- insertInt(int, byte[], int) -
Static method in class edu.tum.cs.commons.io.SerializationUtils
- Inserts an int value to the given position in the byte array.
- insertIntoDigester(MessageDigest) -
Method in class edu.tum.cs.commons.digest.MD5Digest
- Inserts the digest data into the given MD.
- insertNewVersion(String) -
Method in class edu.tum.cs.commons.string.StringUndoStackBase
- Inserts a new version of the model (as a string) into this stack.
- INSTANCE -
Static variable in class edu.tum.cs.commons.collections.ToStringComparator
- Instance of this comparator.
- INSTANCE -
Static variable in class edu.tum.cs.commons.reflect.MethodNameComparator
- Instance of this comparator.
- INSTANCE -
Static variable in class edu.tum.cs.commons.string.FastStringComparator
- Singleton instance.
- intern(CanonicalFile) -
Method in class edu.tum.cs.commons.filesystem.CanonicalFilePool
- Get file from pool
- internKey(Object) -
Method in class edu.tum.cs.commons.collections.ArrayBackedMap
- Template method for calculating an internal key representation.
- internKey(Object) -
Method in class edu.tum.cs.commons.collections.ArrayBackedStringMap
- Template method for calculating an internal key representation.
- IntList - Class in edu.tum.cs.commons.collections
- A really simple list for storing ints.
- IntList() -
Constructor for class edu.tum.cs.commons.collections.IntList
-
- InvertingComparator<E> - Class in edu.tum.cs.commons.collections
- This works on another compartor and inverts it.
- InvertingComparator(Comparator<? super E>) -
Constructor for class edu.tum.cs.commons.collections.InvertingComparator
- Create a new
InvertingComparator
.
- invoke(Method, Object, Map<FormalParameter, Object>) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Invoke a method with parameters.
- IParameterizedFactory<T,P,X extends java.lang.Exception> - Interface in edu.tum.cs.commons.factory
- Generic factory interface.
- IRegexReplacement - Interface in edu.tum.cs.commons.string
- This interface describe a replacement to be performed on a string.
- is64BitVM() -
Static method in class edu.tum.cs.commons.test.CCSMTestCaseBase
- Checks if we run on a 64 bit VM
- isAbsolutePath(String) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Returns whether a filename represents an absolute path.
- isAnnotationPresent(Class<? extends Annotation>) -
Method in class edu.tum.cs.commons.reflect.FormalParameter
- Returns
true
if an annotation of the specified type is
defined for this formal parameter.
- isAssignable(Class<?>, Class<?>) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Check whether an Object of the source type can be used instead of an
Object of the target type.
- isAssignableFrom(ClassType) -
Method in class edu.tum.cs.commons.reflect.ClassType
- Checks if an object of class type
classType
could be
assigned to an object of this class type.
- isConvertibleFromString(Class<?>) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- This method checks if the provided type can be converted from a string.
- isDirty() -
Method in class edu.tum.cs.commons.string.StringUndoStackBase
- Returns whether something changed compared to the last safe.
- isEmpty() -
Method in class edu.tum.cs.commons.collections.ArrayBackedMap
-
- isEmpty() -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Returns whether this map is empty.
- isEmpty() -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
-
- isEmpty() -
Method in class edu.tum.cs.commons.collections.HybridMapBase
-
- isEmpty() -
Method in class edu.tum.cs.commons.collections.IdentityHashSet
- Returns true if this set contains no elements.
- isEmpty() -
Method in class edu.tum.cs.commons.collections.PairList
- Returns whether the list is empty.
- isEmpty() -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Check if the map is empty.
- isEmpty() -
Method in class edu.tum.cs.commons.collections.UnmodifiableCollection
-
- isEmpty() -
Method in class edu.tum.cs.commons.collections.UnmodifiableMap
-
- isEmpty() -
Method in class edu.tum.cs.commons.math.Range
- Checks if a range is empty.
- isEmpty() -
Method in class edu.tum.cs.commons.region.RegionSet
-
- isEmpty(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Checks if a string is empty (after trimming).
- isFalse(boolean, String) -
Static method in class edu.tum.cs.commons.assertion.CCSMAssert
- Checks if a condition is
false
.
- isFalse(boolean, String) -
Static method in class edu.tum.cs.commons.assertion.CCSMPre
- Checks if a condition is
false
.
- isForeground(int, int) -
Method in interface edu.tum.cs.commons.treemap.IDrawingPattern
- For the given x and y coordinates returns whether the pixel belongs to
the foreground (otherwise it is background as we do not support
transparency).
- isFreePort(int) -
Static method in class edu.tum.cs.commons.net.SocketUtils
- Checks whether the given TCP port is available.
- isInstanceOf(Object, Class<?>) -
Static method in class edu.tum.cs.commons.assertion.CCSMAssert
- Checks that the object is a instance of the class
- isInstanceOf(Object, Class<?>) -
Static method in class edu.tum.cs.commons.assertion.CCSMPre
- Checks that the object is a instance of the class
- isInstanceOfAll(Object, Class<?>...) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Returns whether the given object is an instance of all of the given
classes.
- isInstanceOfAny(Object, Class<?>...) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Returns whether the given object is an instance of at least one of the
given classes.
- isLess(int, int) -
Method in interface edu.tum.cs.commons.collections.ISortableData
- Returns whether the element stored at index
i
is smaller
than the one stored at j
.
- isLowerInclusive() -
Method in class edu.tum.cs.commons.math.Range
- Get flag that indicates if the lower bound is inclusive.
- isNormal(double) -
Static method in class edu.tum.cs.commons.math.MathUtils
- Checks if the provided number is neither infinite nor NaN.
- isNotNull(Object) -
Static method in class edu.tum.cs.commons.assertion.CCSMAssert
- Checks whether a reference is
null
.
- isNotNull(Object, String) -
Static method in class edu.tum.cs.commons.assertion.CCSMAssert
- Checks whether a reference is
null
.
- isNotNull(Object) -
Static method in class edu.tum.cs.commons.assertion.CCSMPre
- Checks whether a reference is
null
.
- isNotNull(Object, String) -
Static method in class edu.tum.cs.commons.assertion.CCSMPre
- Checks whether a reference is
null
.
- ISortableData - Interface in edu.tum.cs.commons.collections
- Abstraction for sortable/comparable data.
- isPrefix(byte[], byte[]) -
Static method in class edu.tum.cs.commons.collections.ArrayUtils
- Returns whether one array is a prefix of another one.
- isReadableFile() -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- Checks if this file is a file an can be read.
- isSatisfied(Version, Version) -
Method in class edu.tum.cs.commons.version.Version
- This method is used to check version compatibility in dependency
management.
- isTrue(boolean, String) -
Static method in class edu.tum.cs.commons.assertion.CCSMAssert
- Checks if a condition is
true
.
- isTrue(boolean, String) -
Static method in class edu.tum.cs.commons.assertion.CCSMPre
- Checks if a condition is
true
.
- isUpperInclusive() -
Method in class edu.tum.cs.commons.math.Range
- Get flag that indicates if the upper bound is inclusive.
- isWrapperType(Class<?>) -
Static method in enum edu.tum.cs.commons.reflect.EJavaPrimitive
- Returns whether the given class is a wrapper type for a primitive.
- iterator() -
Method in class edu.tum.cs.commons.collections.IdentityHashSet
- Return iterator over the set.
- iterator() -
Method in class edu.tum.cs.commons.collections.UnmodifiableCollection
-
- iterator() -
Method in class edu.tum.cs.commons.region.RegionSet
-
- ITreeMapLayoutAlgorithm - Interface in edu.tum.cs.commons.treemap
- Interface for tree map layout algorithms.
- ITreeMapNode<T> - Interface in edu.tum.cs.commons.treemap
- Interface for nodes used for building the tree map node hierarchy which is
then rendered as a tree map.
- ITreeMapRenderer - Interface in edu.tum.cs.commons.treemap
- Interface for code rendering treemaps into an image.
- ITreeNodeHandler<T,K> - Interface in edu.tum.cs.commons.tree
- This interface is used by
TreeUtils
to create tree structures. - ITreeWalker<T,X extends java.lang.Exception> - Interface in edu.tum.cs.commons.visitor
- Interface for a tree walker, i.e. a class which allows the traversal of a
tree.
- IVisitor<E,X extends java.lang.Exception> - Interface in edu.tum.cs.commons.visitor
- Generic visitor interface.
- IXMLElementProcessor<E extends java.lang.Enum<E>,X extends java.lang.Exception> - Interface in edu.tum.cs.commons.xml
- This interface defines processors that process elements from an XML file.
- IXMLResolver<E extends java.lang.Enum<E>,A extends java.lang.Enum<A>> - Interface in edu.tum.cs.commons.xml
- Interface for resolution of element and attribute names.
J
- JavaUtils - Class in edu.tum.cs.commons.io
- This class provides utilities to access a Java runtime execution environment.
- JavaUtils() -
Constructor for class edu.tum.cs.commons.io.JavaUtils
-
- join(List<String>) -
Method in class edu.tum.cs.commons.string.StringUndoStackBase
- Joins the parts created by
StringUndoStackBase.split(String)
.
K
- keySet() -
Method in class edu.tum.cs.commons.collections.ArrayBackedMap
-
- keySet() -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
-
- keySet() -
Method in class edu.tum.cs.commons.collections.HybridMapBase
-
- keySet() -
Method in class edu.tum.cs.commons.collections.UnmodifiableMap
-
L
- last() -
Method in class edu.tum.cs.commons.collections.UnmodifiableSortedSet
-
- lastIndexOf(Object) -
Method in class edu.tum.cs.commons.collections.UnmodifiableList
-
- lastKey() -
Method in class edu.tum.cs.commons.collections.UnmodifiableSortedMap
-
- layout(ITreeMapNode<T>, Rectangle2D) -
Method in interface edu.tum.cs.commons.treemap.ITreeMapLayoutAlgorithm
- Modifies the given tree by adding layout information.
- layout(ITreeMapNode<T>, Rectangle2D) -
Method in class edu.tum.cs.commons.treemap.SimpleTreeMapAlgorithm
- Modifies the given tree by adding layout information.
- layout(ITreeMapNode<T>, Rectangle2D) -
Method in class edu.tum.cs.commons.treemap.StripeTreeMapAlgorithm
- Modifies the given tree by adding layout information.
- leafElementNodes(Element) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Get all leaf elements of an XML tree rooted at an element
- LINE_TERMINATOR_SYMBOL -
Static variable in class edu.tum.cs.commons.string.StringUtils
- A symbol representing the line terminator.
- LineSplitter - Class in edu.tum.cs.commons.string
- This class is used to split a string in lines.
- LineSplitter() -
Constructor for class edu.tum.cs.commons.string.LineSplitter
-
- listFiles() -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- Same as
File.listFiles()
but returns canonical files.
- listFiles(FileFilter) -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- Same as
File.listFiles(FileFilter)
but returns canonical files.
- listFiles(FilenameFilter) -
Method in class edu.tum.cs.commons.filesystem.CanonicalFile
- Same as
File.listFiles(FilenameFilter)
but returns canonical
files.
- listFilesRecursively(File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Returns a list of all files and directories contained in the given
directory and all subdirectories.
- listFilesRecursively(File, FileFilter) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Returns a list of all files and directories contained in the given
directory and all subdirectories matching the filter provided.
- listInstances(List<?>, Class<T>) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Creates a list that contains only the types that are instances of a
specified type from the objects of an input list.
- listIterator() -
Method in class edu.tum.cs.commons.collections.UnmodifiableList
-
- listIterator(int) -
Method in class edu.tum.cs.commons.collections.UnmodifiableList
-
- listsToArrays(Class<I>) -
Method in class edu.tum.cs.commons.collections.HashedListMap
- Converts the
HashedListMap
to a map with arrays
- LocalhostRMISocketFactory - Class in edu.tum.cs.commons.net
- A socket factory that forces the host to use localhost.
- LocalhostRMISocketFactory() -
Constructor for class edu.tum.cs.commons.net.LocalhostRMISocketFactory
- Constructor.
- LocalhostRMISocketFactory(int) -
Constructor for class edu.tum.cs.commons.net.LocalhostRMISocketFactory
- Constructor
- longestCommonPrefix(String, String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Returns the longest common prefix of s and t
- longestCommonPrefix(Iterable<String>) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Returns the longest common prefix of the strings in the list or the empty
string if no common prefix exists.
- LowercaseResolver<E extends java.lang.Enum<E>,A extends java.lang.Enum<A>> - Class in edu.tum.cs.commons.xml
- XML resolver which transforms the enum names by making them lower case and
replacing underscores by dashes.
- LowercaseResolver(Class<A>) -
Constructor for class edu.tum.cs.commons.xml.LowercaseResolver
- Create new resolver.
- LRUCacheBase<I,H,E,X extends java.lang.Exception> - Class in edu.tum.cs.commons.cache
- A cache with a fixed size using a last recently used (LRU) strategy.
- LRUCacheBase(int) -
Constructor for class edu.tum.cs.commons.cache.LRUCacheBase
- Constructor.
- LRUCachingParameterizedFactory<T,P,X extends java.lang.Exception> - Class in edu.tum.cs.commons.factory
- Caching factory which can reuse created objects.
- LRUCachingParameterizedFactory(IParameterizedFactory<T, P, X>, int) -
Constructor for class edu.tum.cs.commons.factory.LRUCachingParameterizedFactory
- Constructor.
- LRUStraightCacheBase<I,E,X extends java.lang.Exception> - Class in edu.tum.cs.commons.cache
- This a special base class for last recently used (LRU) caches that work with
identifiers that are suitable as hash keys.
- LRUStraightCacheBase(int) -
Constructor for class edu.tum.cs.commons.cache.LRUStraightCacheBase
- Constructor.
M
- ManagedIntArray - Class in edu.tum.cs.commons.collections
- A class containing an int array that is managed in the sense that it can grow
dynamically (using exponential growth).
- ManagedIntArray() -
Constructor for class edu.tum.cs.commons.collections.ManagedIntArray
-
- map -
Variable in class edu.tum.cs.commons.collections.CounterSet
- The underlying map.
- MathUtils - Class in edu.tum.cs.commons.math
- Collection of math utility methods.
- MathUtils() -
Constructor for class edu.tum.cs.commons.math.MathUtils
-
- max(Date, Date) -
Static method in class edu.tum.cs.commons.date.DateUtils
- Returns the later of two dates or null, if one of the dates is null.
- max(Collection<? extends Number>) -
Static method in class edu.tum.cs.commons.math.MathUtils
- Find maximum.
- MAX_BOM_LENGTH -
Static variable in enum edu.tum.cs.commons.filesystem.EByteOrderMark
- The maximal length of a BOM.
- MaxAggregator - Class in edu.tum.cs.commons.math
- Maximum aggregator.
- MaxAggregator() -
Constructor for class edu.tum.cs.commons.math.MaxAggregator
-
- MaxWeightMatching<N1,N2> - Class in edu.tum.cs.commons.algo
- A class for calculating maximum weighted matching using an augmenting path
algorithm running in O(n^3*m), where n is the size of the smaller node set
and m the size of the larger one.
- MaxWeightMatching() -
Constructor for class edu.tum.cs.commons.algo.MaxWeightMatching
-
- MaxWeightMatching.IWeightProvider<N1,N2> - Interface in edu.tum.cs.commons.algo
- A class providing the weight for a connection between two nodes.
- MD5_BYTES -
Static variable in class edu.tum.cs.commons.digest.MD5Digest
- Number of bytes in an MD5 sum.
- MD5Digest - Class in edu.tum.cs.commons.digest
- An MD5 digest.
- MD5Digest(MessageDigest) -
Constructor for class edu.tum.cs.commons.digest.MD5Digest
- Constructor.
- MD5Digest(byte[]) -
Constructor for class edu.tum.cs.commons.digest.MD5Digest
- Constructor.
- MD5Digest.Comparator - Class in edu.tum.cs.commons.digest
- Comparator for
MD5Digest
. - MD5Digest.Comparator() -
Constructor for class edu.tum.cs.commons.digest.MD5Digest.Comparator
-
- mean(Collection<? extends Number>) -
Static method in class edu.tum.cs.commons.math.MathUtils
- Find mean.
- MeanAggregator - Class in edu.tum.cs.commons.math
- Average aggregator.
- MeanAggregator() -
Constructor for class edu.tum.cs.commons.math.MeanAggregator
-
- median(Collection<? extends Number>) -
Static method in class edu.tum.cs.commons.math.MathUtils
- Find median.
- MedianAggregator - Class in edu.tum.cs.commons.math
- Median aggregator.
- MedianAggregator() -
Constructor for class edu.tum.cs.commons.math.MedianAggregator
-
- MemoryEfficientStringMap<V> - Class in edu.tum.cs.commons.collections
- A map implementation of a map using string keys.
- MemoryEfficientStringMap() -
Constructor for class edu.tum.cs.commons.collections.MemoryEfficientStringMap
- Constructor.
- MemoryEfficientStringMap(Map<? extends String, ? extends V>) -
Constructor for class edu.tum.cs.commons.collections.MemoryEfficientStringMap
- Constructor.
- MemoryMonitor - Class in edu.tum.cs.commons.system
- A simple class for monitoring memory usage of an application.
- MemoryMonitor() -
Constructor for class edu.tum.cs.commons.system.MemoryMonitor
- Construct a new
MemoryMonitor
with the default monitoring
interval.
- MemoryMonitor(int) -
Constructor for class edu.tum.cs.commons.system.MemoryMonitor
- Construct a new
MemoryMonitor
.
- merge(ClassType) -
Method in class edu.tum.cs.commons.reflect.ClassType
- Merges the given class type with this type.
- mergeTemplate(File, File, Object...) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Loads template file with a Format string, formats it and writes result to file.
- mergeTemplate(InputStream, Object...) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Loads template file with a Format string, formats it and provides result as stream.
- MethodNameComparator - Class in edu.tum.cs.commons.reflect
- This comparator compares methods by their name.
- MethodNameComparator() -
Constructor for class edu.tum.cs.commons.reflect.MethodNameComparator
-
- min(Date, Date) -
Static method in class edu.tum.cs.commons.date.DateUtils
- Returns the earlier of two dates, or null, if one of the dates is null
- min(Collection<? extends Number>) -
Static method in class edu.tum.cs.commons.math.MathUtils
- Find minimum.
- MinAggregator - Class in edu.tum.cs.commons.math
- Minimum aggregator.
- MinAggregator() -
Constructor for class edu.tum.cs.commons.math.MinAggregator
-
- mkdir(File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Creates a directory and throws an exception if this fails.
- mkdirs(File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Creates a directory and all required parent directories.
- MultiplexedOutputStream - Class in edu.tum.cs.commons.io
- This class enables multiplexing of output streams.
- MultiplexedOutputStream(OutputStream...) -
Constructor for class edu.tum.cs.commons.io.MultiplexedOutputStream
- Create new multiplexed output streams.
N
- NeverThrownRuntimeException - Exception in edu.tum.cs.commons.error
- A runtime exception that cannot be instantiated.
- newFile(File, String...) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- This method is similar to the constructor
File.File(File, String)
but allows to define multiple child levels.
- next() -
Method in class edu.tum.cs.commons.collections.UnmodifiableIterator
-
- next() -
Method in class edu.tum.cs.commons.options.CommandLineTokenStream
- Returns the next token as a plain string.
- nextIndex() -
Method in class edu.tum.cs.commons.collections.UnmodifiableListIterator
-
- nextIsFileArgument() -
Method in class edu.tum.cs.commons.options.CommandLineTokenStream
- Returns whether the next token is available and can be used as a file
argument.
- nextIsLongOption() -
Method in class edu.tum.cs.commons.options.CommandLineTokenStream
- Returns whether the next token is available and is a long option.
- nextIsParameter() -
Method in class edu.tum.cs.commons.options.CommandLineTokenStream
- Returns whether the next token is available and can be used as a
parameter to an option.
- nextIsShortOption() -
Method in class edu.tum.cs.commons.options.CommandLineTokenStream
- Returns whether the next token is available and is a short option.
- nextLongOption() -
Method in class edu.tum.cs.commons.options.CommandLineTokenStream
- Returns the next token as a long option.
- nextShortOption() -
Method in class edu.tum.cs.commons.options.CommandLineTokenStream
- Returns the next token as a short option.
- NodeTextRenderer - Class in edu.tum.cs.commons.treemap
- A simple renderer that draws tree map node texts into the tree map.
- NodeTextRenderer(Color, Pattern) -
Constructor for class edu.tum.cs.commons.treemap.NodeTextRenderer
- Constructor
- normalizeLineBreaks(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Replace all linebreaks in string with the platform-specific line
separator.
- normalizeSeparators(String) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Replace platform dependent separator char with forward slashes to create
system-independent paths.
O
- OBJECT_INSTANCE -
Static variable in class edu.tum.cs.commons.collections.AllEqualComparator
- Instance of this comparator.
- ObjectUnionFind<T> - Class in edu.tum.cs.commons.algo
- Implementation of a simple union find data structure working on arbitrary
objects.
- ObjectUnionFind() -
Constructor for class edu.tum.cs.commons.algo.ObjectUnionFind
- Constructor using a HashMap as underlying lookup storage.
- ObjectUnionFind(HashMap<T, Integer>) -
Constructor for class edu.tum.cs.commons.algo.ObjectUnionFind
- Constructor through which the the underlying map can be set.
- obtainClassFileVersion(InputStream) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Obtains the version of a Java class file.
- obtainGenericMethodReturnType(Class<?>, String) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Obtain the generic return type of method.
- obtainId(K) -
Method in class edu.tum.cs.commons.collections.IdManagerBase
- Obtain a unique id for an object.
- obtainId(T) -
Method in interface edu.tum.cs.commons.collections.IIdProvider
- Obtain id.
- obtainIdentifier(T) -
Method in class edu.tum.cs.commons.collections.IdComparator
- Obtain identifier from identifier provider.
- obtainIdentifier(T) -
Method in class edu.tum.cs.commons.collections.IdentifierBasedComparatorBase
- Get identifier for object.
- obtainIdentifier(Method) -
Method in class edu.tum.cs.commons.reflect.MethodNameComparator
- Returns method name.
- obtainItem(I) -
Method in class edu.tum.cs.commons.cache.CacheBase
- Extenders of the cache class must implemented that method to define the
item acquisition mechanism.
- obtainItem(P) -
Method in class edu.tum.cs.commons.factory.LRUCachingParameterizedFactory
- Extenders of the cache class must implemented that method to define the
item acquisition mechanism.
- obtainItem(P) -
Method in class edu.tum.cs.commons.factory.SoftRefCachingParameterizedFactory
- Extenders of the cache class must implemented that method to define the
item acquisition mechanism.
- obtainJavaExecutable() -
Static method in class edu.tum.cs.commons.io.JavaUtils
- Use
JavaUtils.findJavaExecutable(File)
to search in the directory
specified by environment variable JAVA_HOME
for the Java
executable.
- obtainJavaExecutionCommand() -
Static method in class edu.tum.cs.commons.io.JavaUtils
- Use
JavaUtils.obtainJavaExecutable()
to determine the Java executable via
environment variable JAVA_HOME
.
- obtainMethodReturnType(Class<?>, String) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Obtain the return type of method.
- obtainNewMap() -
Method in class edu.tum.cs.commons.collections.HybridMapBase
- Template method for obtaining a new map implementation after
HybridMapBase.shouldSwitch(Map)
returned true.
- obtainNewMap() -
Method in class edu.tum.cs.commons.collections.MemoryEfficientStringMap
- Template method for obtaining a new map implementation after
HybridMapBase.shouldSwitch(Map)
returned true.
- obtainStackTrace(Throwable) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Convert stack trace of a
Throwable
to a string.
- openElement(E) -
Method in class edu.tum.cs.commons.xml.XMLWriter
- Start a new element
- openElement(E, Object...) -
Method in class edu.tum.cs.commons.xml.XMLWriter
- Convenience method for adding an element together with (some of) its
attributes.
- OPTION_NOT_PRESENT -
Static variable in class edu.tum.cs.commons.options.Options
- Returned by
countValues
when trying to count values of a
non-present option.
- OptionException - Exception in edu.tum.cs.commons.options
- Base class for exceptions occuring while parsing options.
- OptionRegistry - Class in edu.tum.cs.commons.options
- This class supports collecting options from several objects whose methods
have been annotated with
AOption
. - OptionRegistry() -
Constructor for class edu.tum.cs.commons.options.OptionRegistry
- Default constructor.
- OptionRegistry(Object) -
Constructor for class edu.tum.cs.commons.options.OptionRegistry
- Construct a new option registry and register the given option handler.
- Options - Class in edu.tum.cs.commons.options
- This class offers a safe and flexible interface to Java properties files.
- Options() -
Constructor for class edu.tum.cs.commons.options.Options
- Construct a new
Option
object holding now options.
- Options.ValueConversionException - Exception in edu.tum.cs.commons.options
- Exception objects of this class are possibly returned by
Options.getBooleanValue(String)
and
Options.getIntValue(String)
, if corresponding options don't have
a boolean respectively integer value. - Options.ValueConversionException(String) -
Constructor for exception edu.tum.cs.commons.options.Options.ValueConversionException
- Construct new conversion exception.
- overlaps(Region) -
Method in class edu.tum.cs.commons.region.Region
- Checks if two regions are overlapping
P
- Pair<S,T> - Class in edu.tum.cs.commons.collections
- Simple pair class.
- Pair(S, T) -
Constructor for class edu.tum.cs.commons.collections.Pair
- Constructor.
- Pair(ImmutablePair<S, T>) -
Constructor for class edu.tum.cs.commons.collections.Pair
- Copy constructor.
- PairList<S,T> - Class in edu.tum.cs.commons.collections
- A list for storing pairs in a specific order.
- PairList() -
Constructor for class edu.tum.cs.commons.collections.PairList
- Constructor.
- PairList(int) -
Constructor for class edu.tum.cs.commons.collections.PairList
- Constructor.
- PairList(PairList<S, T>) -
Constructor for class edu.tum.cs.commons.collections.PairList
- Copy constructor.
- PairwiseAggregatorBase - Class in edu.tum.cs.commons.math
- This is a base class for aggregators that have a defined neutral element and
operate in pairwise manner.
- PairwiseAggregatorBase() -
Constructor for class edu.tum.cs.commons.math.PairwiseAggregatorBase
-
- parse(String[]) -
Method in class edu.tum.cs.commons.options.CommandLine
- Parses the given command line parameters and applies the options found.
- parse(CommandLineTokenStream) -
Method in class edu.tum.cs.commons.options.CommandLine
- Parses the command line parameters implicitly given by the token stream
and applies the options found.
- parse(File) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Parse a file without validation.
- parse(InputSource) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Parse an input source without validation.
- parse(File, URL) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Parse and validate file using schema.
- parse(InputSource, URL) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Parse and validate file using schema.
- parse(File, File) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Same as
XMLUtils.parse(File, URL)
but with schema file.
- parseFile() -
Method in class edu.tum.cs.commons.xml.XMLReader
- Parse file.
- parseIntPair(String) -
Static method in class edu.tum.cs.commons.collections.Pair
- Converts a string comma separated integers to a pair of Integers.
- parseSAX(File, DefaultHandler) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Parse an input source using SAX without validation.
- parseSAX(InputSource, DefaultHandler) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Parse an input source using SAX without validation.
- parseSAX(File, URL, DefaultHandler) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Parse and validate file using SAX and schema.
- parseSAX(InputSource, URL, DefaultHandler) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Parse and validate file using SAX and schema.
- parseVersion(String) -
Static method in class edu.tum.cs.commons.version.Version
- Parses a version from a string.
- partialHashCode() -
Method in class edu.tum.cs.commons.digest.MD5Digest
- Calculates and returns a hashcode that only depends on the first 3 bytes.
- PerformanceMonitor - Class in edu.tum.cs.commons.system
- Combines a timer and a memory monitor in a simple utility class.
- performNearestClassLookup(Class<?>, Map<Class<?>, T>) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Returns the value from the map, whose key is the best match for the given
class.
- pickInstanceOf(Class<T>, Collection<?>) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Returns the first object in the given collection which is an instance of
the given class (or null otherwise).
- PlainClassFileFilter - Class in edu.tum.cs.commons.filesystem
- This is a file filter finding only plain class files (i.e. no inner or
anonymous classes).
- PlainClassFileFilter() -
Constructor for class edu.tum.cs.commons.filesystem.PlainClassFileFilter
- Creates a new filter.
- positionsEqual(RegionSet) -
Method in class edu.tum.cs.commons.region.RegionSet
- Returns true if both
RegionSet
s contain the same positions and
gaps.
- PreconditionException - Exception in edu.tum.cs.commons.assertion
- This class is used to signal violations of preconditions
- PreconditionException(String) -
Constructor for exception edu.tum.cs.commons.assertion.PreconditionException
- Create new exception with message.
- prefixLines(String, String, boolean) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Prefix all lines of a string.
- prettyPrint(Document) -
Static method in class edu.tum.cs.commons.xml.XMLUtils
- Returns a string representation of the given XML document, which is
"pretty printed", i.e. the tags are indented.
- previous() -
Method in class edu.tum.cs.commons.collections.UnmodifiableListIterator
-
- previousIndex() -
Method in class edu.tum.cs.commons.collections.UnmodifiableListIterator
-
- printStatistics() -
Method in class edu.tum.cs.commons.test.CCSMTestCaseBase
- Print report about used and unused test files.
- printUnusedFiles() -
Method in class edu.tum.cs.commons.test.CCSMTestCaseBase
- Print report about unused test files.
- printUnusedFiles(PrintWriter) -
Method in class edu.tum.cs.commons.test.TestDataManager
- Print a report on all files not used.
- printUsage(PrintWriter) -
Method in class edu.tum.cs.commons.options.CommandLine
- Print the list of all supported options using reasonable default values
for widths.
- printUsage(PrintWriter, int, int) -
Method in class edu.tum.cs.commons.options.CommandLine
- Print the list of all supported options.
- printUsedFiles() -
Method in class edu.tum.cs.commons.test.CCSMTestCaseBase
- Print report about used test files.
- printUsedFiles(PrintWriter) -
Method in class edu.tum.cs.commons.test.TestDataManager
- Print a report on all files used.
- process(String) -
Method in class edu.tum.cs.commons.string.RegexReplacementProcessor
- Apply replacements to a string.
- process() -
Method in interface edu.tum.cs.commons.xml.IXMLElementProcessor
- Process element.
- processChildElements(IXMLElementProcessor<E, X>) -
Method in class edu.tum.cs.commons.xml.XMLReader
- Process the child elements of the current element with a given processor.
- processDecendantElements(IXMLElementProcessor<E, X>) -
Method in class edu.tum.cs.commons.xml.XMLReader
- Process all descendant elements of the current element with a given
processor.
- ProcessUtils - Class in edu.tum.cs.commons.io
- Executes a system process.
- ProcessUtils() -
Constructor for class edu.tum.cs.commons.io.ProcessUtils
-
- ProcessUtils.ExecutionResult - Class in edu.tum.cs.commons.io
- Parameter object that encapsulates the result of a process execution.
- put(K, V) -
Method in class edu.tum.cs.commons.collections.ArrayBackedMap
-
- put(S, T) -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Inserts the given pair into the bijection.
- put(Class<? extends T>, V) -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
- Store a key-value-pair.
- put(K, V) -
Method in class edu.tum.cs.commons.collections.HybridMapBase
-
- put(ImmutablePair<T, T>, V) -
Method in class edu.tum.cs.commons.collections.IdentityPairMap
- Adds the given value for the given pair.
- put(T, T, V) -
Method in class edu.tum.cs.commons.collections.IdentityPairMap
- Adds the given value for the given pair.
- put(K, V) -
Method in class edu.tum.cs.commons.collections.UnmodifiableMap
- Operation is not supported.
- putAll(Map<? extends K, ? extends V>) -
Method in class edu.tum.cs.commons.collections.ArrayBackedMap
-
- putAll(Map<? extends K, ? extends V>) -
Method in class edu.tum.cs.commons.collections.HybridMapBase
-
- putAll(TwoDimHashMap<K1, K2, I>) -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Put all values of another TwoDimHashMap into this map.
- putAll(Map<? extends K, ? extends V>) -
Method in class edu.tum.cs.commons.collections.UnmodifiableMap
- Operation is not supported.
- putValue(K1, K2, I) -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Put a doubly hashed value.
R
- randomString(int) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Generates a random string with a certain length.
- randomStringArray(int, int) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Generates an array of random strings.
- Range - Class in edu.tum.cs.commons.math
- A class that represents ranges that may include or exclude the upper and
lower bounds.
- Range(double, double) -
Constructor for class edu.tum.cs.commons.math.Range
- Create range where both bounds are inclusive.
- Range(double, boolean, double, boolean) -
Constructor for class edu.tum.cs.commons.math.Range
- Create range.
- readFile(File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Read file content into a string using the default encoding for the
platform.
- readFile(File, String) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Read file content into a string using the given encoding.
- readFileUTF8(File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Read file content into a string using UTF-8 encoding.
- readPropertiesFile(File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Reads properties from a properties file.
- readStream(InputStream) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Read input stream into string.
- readStream(InputStream, String) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Read input stream into string.
- readStreamUTF8(InputStream) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Read input stream into string.
- redo() -
Method in class edu.tum.cs.commons.string.StringUndoStackBase
- Performs one redo step.
- ReflectionUtils - Class in edu.tum.cs.commons.reflect
- This class provides utility methods for reflection purposes.
- ReflectionUtils() -
Constructor for class edu.tum.cs.commons.reflect.ReflectionUtils
-
- RegexReplacement - Class in edu.tum.cs.commons.string
- Default implementation of
IRegexReplacement
. - RegexReplacement(String, String) -
Constructor for class edu.tum.cs.commons.string.RegexReplacement
- Create a new regex replacement.
- RegexReplacement(String) -
Constructor for class edu.tum.cs.commons.string.RegexReplacement
- Create a new regex replacement that does not replace the pattern matches
by another string but deletes them.
- RegexReplacementProcessor - Class in edu.tum.cs.commons.string
- This class allows the application of multiplex
IRegexReplacement
s to
a string. - RegexReplacementProcessor(List<IRegexReplacement>) -
Constructor for class edu.tum.cs.commons.string.RegexReplacementProcessor
- Create a new replacement processor.
- Region - Class in edu.tum.cs.commons.region
- Regions represent intervals.
- Region(int, int, String) -
Constructor for class edu.tum.cs.commons.region.Region
- Creates a region with an origin
- Region(int, int) -
Constructor for class edu.tum.cs.commons.region.Region
- Creates a region with an unknown origin
- RegionSet - Class in edu.tum.cs.commons.region
- Set of
Region
objects. - RegionSet(String) -
Constructor for class edu.tum.cs.commons.region.RegionSet
- Creates a named
RegionSet
.
- RegionSet() -
Constructor for class edu.tum.cs.commons.region.RegionSet
- Creates an unnamed region set.
- registerOptionHandler(Object) -
Method in class edu.tum.cs.commons.options.OptionRegistry
- Adds all options provided by the given object to this registry.
- RegularDirectoryFilter - Class in edu.tum.cs.commons.filesystem
- This file filter includes only regular directories.
- RegularDirectoryFilter() -
Constructor for class edu.tum.cs.commons.filesystem.RegularDirectoryFilter
-
- remove(Object) -
Method in class edu.tum.cs.commons.collections.ArrayBackedMap
-
- remove(Class<?>) -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
-
- remove(Object) -
Method in class edu.tum.cs.commons.collections.HybridMapBase
-
- remove(Object) -
Method in class edu.tum.cs.commons.collections.IdentityHashSet
- Removes the specified element from this set if it is present.
- remove(K1, K2) -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Removes the value associated to the key combination of key1 and key2.
- remove(K1) -
Method in class edu.tum.cs.commons.collections.TwoDimHashMap
- Remove all values specified by first key.
- remove(Object) -
Method in class edu.tum.cs.commons.collections.UnmodifiableCollection
- Operation is not supported.
- remove() -
Method in class edu.tum.cs.commons.collections.UnmodifiableIterator
- Operation is not supported.
- remove(int) -
Method in class edu.tum.cs.commons.collections.UnmodifiableList
- Operation is not supported.
- remove(Object) -
Method in class edu.tum.cs.commons.collections.UnmodifiableMap
- Operation is not supported.
- remove(Object) -
Method in class edu.tum.cs.commons.region.RegionSet
-
- removeAll(Collection<?>) -
Method in class edu.tum.cs.commons.collections.UnmodifiableCollection
- Operation is not supported.
- removeAll(Collection<?>) -
Method in class edu.tum.cs.commons.region.RegionSet
-
- removeAllLists(Collection<K>) -
Method in class edu.tum.cs.commons.collections.HashedListMap
- Removes the lists stored for a collection of keys
- removeFirst(S) -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Removes the first object
- removeLast() -
Method in class edu.tum.cs.commons.collections.PairList
- Removes the last element of the list.
- removeLastPart(String, char) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Returns the beginning of a String, cutting off the last part which is
separated by the given character.
- removeList(K) -
Method in class edu.tum.cs.commons.collections.HashedListMap
- Removes the list stored for a key.
- removeProperty(String) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Removes the property from this block (whether it exists or not).
- removeSecond(T) -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Removes the second object
- removeWhitespace(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Removes whitespace from a string.
- renameFileTo(File, File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Renames the given file and throws an exception if this fails.
- renderTreeMap(ITreeMapNode<T>, Graphics2D) -
Method in class edu.tum.cs.commons.treemap.CushionTreeMapRenderer
- Renders the given tree into the graphics.
- renderTreeMap(ITreeMapNode<T>, Graphics2D) -
Method in class edu.tum.cs.commons.treemap.FlatTreeMapRenderer
- Renders the given tree into the graphics.
- renderTreeMap(ITreeMapNode<T>, Graphics2D) -
Method in interface edu.tum.cs.commons.treemap.ITreeMapRenderer
- Renders the given tree into the graphics.
- renderTreeMap(ITreeMapNode<T>, Graphics2D) -
Method in class edu.tum.cs.commons.treemap.NodeTextRenderer
- Renders the given tree into the graphics.
- replaceLineBreaks(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Replace all linebreaks in string with
StringUtils.LINE_TERMINATOR_SYMBOL
.
- replaceLineBreaks(String, String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Replace all linebreaks in string by a specified symbol.
- REPORT_DIRECTORY_NAME -
Static variable in class edu.tum.cs.commons.test.TestDataManager
- Name of the directory to write reports to.
- reset() -
Method in class edu.tum.cs.commons.system.MemoryMonitor
- Reset the maximum memory usage value.
- resolveAttributeName(EHTMLAttribute) -
Method in class edu.tum.cs.commons.html.HTMLWriter.HTMLResolver
- Returns for an attribute the name which should be used in the XML file.
- resolveAttributeName(A) -
Method in interface edu.tum.cs.commons.xml.IXMLResolver
- Returns for an attribute the name which should be used in the XML file.
- resolveAttributeName(A) -
Method in class edu.tum.cs.commons.xml.LowercaseResolver
- Returns for an attribute the name which should be used in the XML file.
- resolveAttributeName(A) -
Method in class edu.tum.cs.commons.xml.XMLResolver
- Returns
<enum-element>.name()
.
- resolveElementName(EHTMLElement) -
Method in class edu.tum.cs.commons.html.HTMLWriter.HTMLResolver
- Returns for an element the name which should be used in the XML file.
- resolveElementName(E) -
Method in interface edu.tum.cs.commons.xml.IXMLResolver
- Returns for an element the name which should be used in the XML file.
- resolveElementName(E) -
Method in class edu.tum.cs.commons.xml.LowercaseResolver
- Returns for an element the name which should be used in the XML file.
- resolveElementName(E) -
Method in class edu.tum.cs.commons.xml.XMLResolver
- Returns
<enum-element>.name()
.
- resolveGenericType(Type) -
Method in class edu.tum.cs.commons.reflect.GenericTypeResolver
- Returns the actual type from a (potentially) generic type.
- resolvePrimitiveClass(Class<?>) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Returns the wrapper class type for a primitive type (e.g.
- resolveType(String) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Resolves the class object for a type name.
- resolveType(String, ClassLoader) -
Static method in class edu.tum.cs.commons.reflect.ReflectionUtils
- Resolves the class object for a type name.
- retainAll(Collection<?>) -
Method in class edu.tum.cs.commons.collections.UnmodifiableCollection
- Operation is not supported.
- retainAll(Collection<?>) -
Method in class edu.tum.cs.commons.region.RegionSet
-
- RethrowingExceptionHandler<X extends java.lang.Exception> - Class in edu.tum.cs.commons.error
- An exception handler simply rethrowing the exception caught.
- RethrowingExceptionHandler() -
Constructor for class edu.tum.cs.commons.error.RethrowingExceptionHandler
-
- reverse(Collection<T>) -
Static method in class edu.tum.cs.commons.collections.CollectionUtils
- Returns a list that contains the elements of the specified list in
reversed order.
- run() -
Method in class edu.tum.cs.commons.io.StreamDrainerThread
- Reads content from the stream as long as the stream is not empty.
- run() -
Method in class edu.tum.cs.commons.io.StreamReaderThread
- Reads content from the stream as long as the stream is not empty.
S
- safeRead(InputStream, byte[]) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Reads bytes of data from the input stream into an array of bytes until
the array is full.
- safeRead(InputStream, byte[], int, int) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Reads
length
bytes of data from the input stream into an
array of bytes and stores it at position offset
.
- second -
Variable in class edu.tum.cs.commons.collections.ImmutablePair
- The second element.
- select(String, Element, QName) -
Method in class edu.tum.cs.commons.xml.XPathEvaluator
- Evaluates an XPath expression on context element.
- selectBoolean(String, Element) -
Method in class edu.tum.cs.commons.xml.XPathEvaluator
- Evaluates an XPath expression on context element.
- selectDouble(String, Element) -
Method in class edu.tum.cs.commons.xml.XPathEvaluator
- Evaluates an XPath expression on context element.
- selectElement(String, Element) -
Method in class edu.tum.cs.commons.xml.XPathEvaluator
- Evaluates an XPath expression on context element.
- selectInt(String, Element) -
Method in class edu.tum.cs.commons.xml.XPathEvaluator
- Evaluates an XPath expression on context element.
- selectList(String, Element) -
Method in class edu.tum.cs.commons.xml.XPathEvaluator
- Evaluates an XPath expression on context element.
- selectNodeList(String, Element) -
Method in class edu.tum.cs.commons.xml.XPathEvaluator
- Evaluates an XPath expression on context element.
- selectString(String, Element) -
Method in class edu.tum.cs.commons.xml.XPathEvaluator
- Evaluates an XPath expression on context element.
- SerializationUtils - Class in edu.tum.cs.commons.io
- Utility methods for serialization.
- SerializationUtils() -
Constructor for class edu.tum.cs.commons.io.SerializationUtils
-
- serializeToByteArray(Serializable) -
Static method in class edu.tum.cs.commons.io.SerializationUtils
- Serializes an object to byte array
- set(int, int) -
Method in class edu.tum.cs.commons.collections.IntList
- Set the element at the given index.
- set(int, E) -
Method in class edu.tum.cs.commons.collections.UnmodifiableList
- Operation is not supported.
- set(T) -
Method in class edu.tum.cs.commons.collections.UnmodifiableListIterator
- Operation is not supported.
- setBorder(String, String, String) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Sets the border to the given values.
- setBorderColor(String) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Sets the border color to the given value.
- setBorderStyle(String) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Sets the border style to the given value.
- setBorderWidth(String) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Sets the border width to the given value.
- setContent(String) -
Method in class edu.tum.cs.commons.string.LineSplitter
- Set the string to split.
- setFirst(S) -
Method in class edu.tum.cs.commons.collections.Pair
- Set the first value.
- setFirst(int, S) -
Method in class edu.tum.cs.commons.collections.PairList
- Sets the first element at given index.
- setLayoutRectangle(Rectangle2D) -
Method in interface edu.tum.cs.commons.treemap.ITreeMapNode
- Sets the rectangle this node should be layouted into.
- setMargin(String) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Sets the margin to the given value.
- setMessage(String) -
Method in class edu.tum.cs.commons.assessment.Assessment
- Set assessment message.
- setModelFromString(String) -
Method in class edu.tum.cs.commons.string.StringUndoStackBase
- This should write back the stack content to the model.
- setOption(String, String) -
Method in class edu.tum.cs.commons.options.Options
- Sets and option.
- setPadding(String) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Sets the padding to the given value.
- setProperty(ECSSProperty, String) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Adds a property to this block.
- setSecond(T) -
Method in class edu.tum.cs.commons.collections.Pair
- Set the second value.
- setSecond(int, T) -
Method in class edu.tum.cs.commons.collections.PairList
- Sets the first element at given index.
- setSuppressLineBreaks(boolean) -
Method in class edu.tum.cs.commons.xml.XMLWriter
- Toogle line break behavior.
- shouldSwitch(Map<K, V>) -
Method in class edu.tum.cs.commons.collections.HybridMapBase
- Template method for deciding that a switch of map implementation should
be performed before the next insertion.
- shouldSwitch(Map<String, V>) -
Method in class edu.tum.cs.commons.collections.MemoryEfficientStringMap
- Template method for deciding that a switch of map implementation should
be performed before the next insertion.
- showImage(Image, String) -
Static method in class edu.tum.cs.commons.image.ImageUtils
- Show image in a JFrame.
- SimpleLogger - Class in edu.tum.cs.commons.logging
- Simple logger that writes all messages to a stream or print writer.
- SimpleLogger() -
Constructor for class edu.tum.cs.commons.logging.SimpleLogger
- Create logger that logs to
System.out
.
- SimpleLogger(OutputStream) -
Constructor for class edu.tum.cs.commons.logging.SimpleLogger
- Create logger that logs to a stream.
- SimpleLogger(PrintWriter) -
Constructor for class edu.tum.cs.commons.logging.SimpleLogger
- Create logger that logs to a writer.
- SimpleTreeMapAlgorithm - Class in edu.tum.cs.commons.treemap
- A very simple tree map layouter just dividing the given rectangle along the
longer side.
- SimpleTreeMapAlgorithm() -
Constructor for class edu.tum.cs.commons.treemap.SimpleTreeMapAlgorithm
-
- SimpleTreeNode<K> - Class in edu.tum.cs.commons.tree
- A simple node class that can be used with
TreeUtils
. - SimpleTreeNode(K) -
Constructor for class edu.tum.cs.commons.tree.SimpleTreeNode
- Create new node with specified key.
- SimpleTreeNodeHandler<K> - Class in edu.tum.cs.commons.tree
- Handler for
SimpleTreeNode
. - SimpleTreeNodeHandler(K) -
Constructor for class edu.tum.cs.commons.tree.SimpleTreeNodeHandler
- Create new handler.
- size() -
Method in class edu.tum.cs.commons.collections.ArrayBackedMap
-
- size() -
Method in class edu.tum.cs.commons.collections.BidirectionalMap
- Returns the size.
- size() -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
-
- size() -
Method in class edu.tum.cs.commons.collections.HybridMapBase
-
- size() -
Method in class edu.tum.cs.commons.collections.IdentityHashSet
- Get set size.
- size() -
Method in interface edu.tum.cs.commons.collections.ISortableData
- Returns the number of elements.
- size -
Variable in class edu.tum.cs.commons.collections.ManagedIntArray
- The current size of the array.
- size() -
Method in class edu.tum.cs.commons.collections.PairList
- Returns the size of the list.
- size() -
Method in class edu.tum.cs.commons.collections.UnmodifiableCollection
-
- size() -
Method in class edu.tum.cs.commons.collections.UnmodifiableMap
-
- size() -
Method in class edu.tum.cs.commons.math.Range
- Returns the size of the range.
- size() -
Method in class edu.tum.cs.commons.region.RegionSet
-
- SmartRMISocketFactory - Class in edu.tum.cs.commons.net
- A
RMISocketFactory
that adjusts flags on the sockets used. - SmartRMISocketFactory() -
Constructor for class edu.tum.cs.commons.net.SmartRMISocketFactory
- Constructor.
- SmartRMISocketFactory(int) -
Constructor for class edu.tum.cs.commons.net.SmartRMISocketFactory
- Constructor
- SocketUtils - Class in edu.tum.cs.commons.net
- Utility methods used in conjunction with sockets.
- SocketUtils() -
Constructor for class edu.tum.cs.commons.net.SocketUtils
-
- SoftRefCacheBase<I,H,E,X extends java.lang.Exception> - Class in edu.tum.cs.commons.cache
- A base class for dynamic caches based on
SoftReference
s. - SoftRefCacheBase() -
Constructor for class edu.tum.cs.commons.cache.SoftRefCacheBase
-
- SoftRefCachingParameterizedFactory<T,P,X extends java.lang.Exception> - Class in edu.tum.cs.commons.factory
- Caching factory which can reuse created objects.
- SoftRefCachingParameterizedFactory(IParameterizedFactory<T, P, X>) -
Constructor for class edu.tum.cs.commons.factory.SoftRefCachingParameterizedFactory
- Constructor.
- SoftRefStraightCacheBase<I,E,X extends java.lang.Exception> - Class in edu.tum.cs.commons.cache
- This a special base class for caches that work with identifiers that are
suitable as hash keys.
- SoftRefStraightCacheBase() -
Constructor for class edu.tum.cs.commons.cache.SoftRefStraightCacheBase
-
- sort(Collection<T>) -
Static method in class edu.tum.cs.commons.collections.CollectionUtils
- Sorts the specified list into ascending order, according to the
natural ordering of its elements.
- sort(Collection<T>, Comparator<? super T>) -
Static method in class edu.tum.cs.commons.collections.CollectionUtils
- Sorts the specified list according to the order induced by the specified
comparator.
- sort(ISortableData) -
Static method in class edu.tum.cs.commons.collections.SortableDataUtils
- Sorts the data in place using a randomized quick sort algorithm.
- sort(List<File>) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Compares files based on the lexical order of their fully qualified names.
- SortableDataUtils - Class in edu.tum.cs.commons.collections
- Abstraction for sortable/comparable data.
- SortableDataUtils() -
Constructor for class edu.tum.cs.commons.collections.SortableDataUtils
-
- SortedCounterSet<E extends java.lang.Comparable<? super E>> - Class in edu.tum.cs.commons.collections
- A counter set supporting ranged access to its values, i.e. it is possible to
query the sum of values for all keys in a given range.
- SortedCounterSet() -
Constructor for class edu.tum.cs.commons.collections.SortedCounterSet
- Create new counter array that orders its elements by the natural order.
- SortedCounterSet(Comparator<? super E>) -
Constructor for class edu.tum.cs.commons.collections.SortedCounterSet
- Create new counter array with specific comparator to define order.
- SPACE -
Static variable in class edu.tum.cs.commons.string.StringUtils
- A space.
- SPACE_CHAR -
Static variable in class edu.tum.cs.commons.string.StringUtils
- A space character.
- split(String) -
Method in class edu.tum.cs.commons.string.StringUndoStackBase
- Splits the given string (as reported from the implementing class) into
suitable parts used for diffing (lines, words, tokens, etc.).
- splitChars(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Splits the given string into an array of
Character
s.
- splitLines(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Split string in lines.
- splitLinesAsList(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Split string in lines.
- start() -
Method in class edu.tum.cs.commons.system.MemoryMonitor
- Start the memory monitor.
- start() -
Method in class edu.tum.cs.commons.system.PerformanceMonitor
- Starts the
PerformanceMonitor
.
- startsWithOneOf(String, String...) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Test if a string starts with one of the provided prefixes.
- StderrExceptionHandler<T extends java.lang.Exception> - Class in edu.tum.cs.commons.error
- An exception handler which logs exceptions to std error.
- StderrExceptionHandler() -
Constructor for class edu.tum.cs.commons.error.StderrExceptionHandler
-
- stop() -
Method in class edu.tum.cs.commons.system.MemoryMonitor
- Stop the memory monitor.
- stop() -
Method in class edu.tum.cs.commons.system.PerformanceMonitor
- Stops the
PerformanceMonitor
.
- StreamDrainerThread - Class in edu.tum.cs.commons.io
- A thread to drain an input stream.
- StreamDrainerThread(InputStream) -
Constructor for class edu.tum.cs.commons.io.StreamDrainerThread
- Create a new reader that immediately starts to drain the content of this
stream .
- StreamReaderThread - Class in edu.tum.cs.commons.io
- A thread to drain an input stream.
- StreamReaderThread(InputStream) -
Constructor for class edu.tum.cs.commons.io.StreamReaderThread
- Create a new reader that reads the content of this stream in its own
thread. => This call is non- blocking
- StringLengthComparator - Class in edu.tum.cs.commons.collections
- Compares strings by their length.
- StringLengthComparator() -
Constructor for class edu.tum.cs.commons.collections.StringLengthComparator
-
- stringToBytes(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Converts a string to a (UTF-8) byte representation.
- StringUndoStackBase - Class in edu.tum.cs.commons.string
- Base class for an undo stack using a string as the underlying model.
- StringUndoStackBase(String) -
Constructor for class edu.tum.cs.commons.string.StringUndoStackBase
- Constructor.
- StringUtils - Class in edu.tum.cs.commons.string
- A utility class providing some advanced string functionality.
- StringUtils() -
Constructor for class edu.tum.cs.commons.string.StringUtils
-
- stringValues(Class<T>) -
Static method in class edu.tum.cs.commons.enums.EnumUtils
- Returns an array containing the names of the enum element.
- stripDigits(String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Strips all digits from the given String.
- StripeTreeMapAlgorithm - Class in edu.tum.cs.commons.treemap
- The strip layout algorithm adapted from Bederson, Shneiderman, Wattenberg:
"Ordered and Quantum Treemaps".
- StripeTreeMapAlgorithm() -
Constructor for class edu.tum.cs.commons.treemap.StripeTreeMapAlgorithm
-
- stripPrefix(String, String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Remove prefix from a string.
- stripSuffix(String, String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Remove suffix from a string.
- subList(int, int) -
Method in class edu.tum.cs.commons.collections.UnmodifiableList
-
- subMap(K, K) -
Method in class edu.tum.cs.commons.collections.UnmodifiableSortedMap
-
- subSet(E, E) -
Method in class edu.tum.cs.commons.collections.UnmodifiableSortedSet
-
- sum(Collection<? extends Number>) -
Static method in class edu.tum.cs.commons.math.MathUtils
- Sum values.
- SumAggregator - Class in edu.tum.cs.commons.math
- Sum aggregator.
- SumAggregator() -
Constructor for class edu.tum.cs.commons.math.SumAggregator
-
- swap(int, int) -
Method in interface edu.tum.cs.commons.collections.ISortableData
- Swaps the elements at the given indices.
- swapPairs() -
Method in class edu.tum.cs.commons.collections.PairList
- Swaps the pairs of this list.
T
- TAB -
Static variable in class edu.tum.cs.commons.string.StringUtils
- A tab character.
- tailMap(K) -
Method in class edu.tum.cs.commons.collections.UnmodifiableSortedMap
-
- tailSet(E) -
Method in class edu.tum.cs.commons.collections.UnmodifiableSortedSet
-
- test() -
Method in class edu.tum.cs.commons.test.TestletBase
- Template method: Deriving classes override it with their test
- TestDataManager - Class in edu.tum.cs.commons.test
- Support class for identifying unused test data files.
- testDeepCloning(Object, Object, IIdProvider<I, Object>, String...) -
Static method in class edu.tum.cs.commons.test.DeepCloneTestUtils
- This method uses
DeepCloneTestUtils.buildCloneMap(Object, Object, Comparator, String...)
to build a
map between the original object network and clone network.
- TestletBase - Class in edu.tum.cs.commons.test
- Base class for testlets.
- TestletBase() -
Constructor for class edu.tum.cs.commons.test.TestletBase
- Default constructor
- toArray(Collection<? extends T>, Class<T>) -
Static method in class edu.tum.cs.commons.collections.CollectionUtils
- Convert collection to array.
- toArray() -
Method in class edu.tum.cs.commons.collections.UnmodifiableCollection
-
- toArray(T[]) -
Method in class edu.tum.cs.commons.collections.UnmodifiableCollection
-
- toArray() -
Method in class edu.tum.cs.commons.region.RegionSet
-
- toArray(T[]) -
Method in class edu.tum.cs.commons.region.RegionSet
-
- toInlineStyle() -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Returns the full (including inherited) properties as a single line string
using the format suitable for inline styles as used in HTML.
- toString() -
Method in class edu.tum.cs.commons.algo.Diff.Delta
-
- toString() -
Method in class edu.tum.cs.commons.assessment.Assessment
-
- toString() -
Method in class edu.tum.cs.commons.collections.ImmutablePair
-
- toString() -
Method in class edu.tum.cs.commons.collections.UnmodifiableCollection
- Returns a string representation of this collection.
- toString() -
Method in class edu.tum.cs.commons.collections.UnmodifiableMap
- Returns a string representation of this map.
- toString() -
Method in enum edu.tum.cs.commons.color.ECCSMColor
- Get string representation.
- toString() -
Method in class edu.tum.cs.commons.digest.MD5Digest
-
- toString() -
Method in enum edu.tum.cs.commons.html.ECSSProperty
- Returns the "real" name of this property.
- toString() -
Method in enum edu.tum.cs.commons.html.ECSSPseudoClass
-
- toString() -
Method in enum edu.tum.cs.commons.html.EHTMLAttribute
-
- toString() -
Method in enum edu.tum.cs.commons.html.EHTMLElement
-
- toString() -
Method in class edu.tum.cs.commons.math.Range
- This forwards to
format(null);
.
- toString() -
Method in class edu.tum.cs.commons.options.Options
- Returns a list with key-value-pairs as string.
- toString() -
Method in class edu.tum.cs.commons.reflect.ClassType
-
- toString() -
Method in class edu.tum.cs.commons.reflect.FormalParameter
- Returns method name, position and type.
- toString() -
Method in class edu.tum.cs.commons.region.Region
-
- toString() -
Method in class edu.tum.cs.commons.region.RegionSet
-
- toString(Map<?, ?>) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Create string representation of a map.
- toString(Map<?, ?>, String) -
Static method in class edu.tum.cs.commons.string.StringUtils
- Create string representation of a map.
- toString() -
Method in class edu.tum.cs.commons.tree.SimpleTreeNode
- This returns a nicely indented representation of the whole tree below
this node.
- toString() -
Method in class edu.tum.cs.commons.version.Version
- String representation: major.minor
- ToStringComparator - Class in edu.tum.cs.commons.collections
- This comparator compares objects by their toString() representation.
- ToStringComparator() -
Constructor for class edu.tum.cs.commons.collections.ToStringComparator
- Create new comparator based on the default locale's collator.
- ToStringComparator(Collator) -
Constructor for class edu.tum.cs.commons.collections.ToStringComparator
- Create new comparator with specific collator.
- total -
Variable in class edu.tum.cs.commons.collections.CounterSet
- Stores total value.
- TreeUtils - Class in edu.tum.cs.commons.tree
- Utility class for tree construction.
- TreeUtils() -
Constructor for class edu.tum.cs.commons.tree.TreeUtils
-
- TrustAllCertificatesManager - Class in edu.tum.cs.commons.net
- A simple implementation of
X509TrustManager
that simple trusts every
certificate. - TrustAllCertificatesManager() -
Constructor for class edu.tum.cs.commons.net.TrustAllCertificatesManager
-
- TWO_SPACES -
Static variable in class edu.tum.cs.commons.string.StringUtils
- Two spaces.
- TwoDimHashMap<K1,K2,I> - Class in edu.tum.cs.commons.collections
- A 2-dimensional hash map.
- TwoDimHashMap() -
Constructor for class edu.tum.cs.commons.collections.TwoDimHashMap
- Create a new doubly hashed map.
- TwoDimHashMap(Map<K1, Map<K2, I>>) -
Constructor for class edu.tum.cs.commons.collections.TwoDimHashMap
- Create a new doubly hashed using the provided map as outer map.
- TypeConversionException - Exception in edu.tum.cs.commons.reflect
- This exceptions signals type conversion problems.
- TypeConversionException(String) -
Constructor for exception edu.tum.cs.commons.reflect.TypeConversionException
- Create new exception.
- TypeConversionException(String, Throwable) -
Constructor for exception edu.tum.cs.commons.reflect.TypeConversionException
- Create new exception.
- TypesNotMergableException - Exception in edu.tum.cs.commons.reflect
- Exception to be thrown when merging types which can not be merged.
- TypesNotMergableException(String) -
Constructor for exception edu.tum.cs.commons.reflect.TypesNotMergableException
- Create exception.
U
- undo() -
Method in class edu.tum.cs.commons.string.StringUndoStackBase
- Performs one undo step.
- union(T, T) -
Method in class edu.tum.cs.commons.algo.ObjectUnionFind
- Merges the classes in which element1 and element2 are, by giving them the
same representative.
- union(int, int) -
Method in class edu.tum.cs.commons.algo.UnionFind
- Merges the classes in which element1 and element2 are, by giving them the
same representative.
- UnionFind - Class in edu.tum.cs.commons.algo
- Implementation of a simple union find data structure.
- UnionFind() -
Constructor for class edu.tum.cs.commons.algo.UnionFind
-
- UnionFindWithSize - Class in edu.tum.cs.commons.algo
- Implementation of a simple union find data structure.
- UnionFindWithSize() -
Constructor for class edu.tum.cs.commons.algo.UnionFindWithSize
-
- UniqueIdManager<K> - Class in edu.tum.cs.commons.collections
- This class assigns unique ids to objects.
- UniqueIdManager() -
Constructor for class edu.tum.cs.commons.collections.UniqueIdManager
- Create new unique id manager.
- unjar(File, File) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Extract a JAR file to a directory.
- UNKNOWN_ORIGIN -
Static variable in class edu.tum.cs.commons.region.Region
- Name that is used if region is created without name
- UnmodifiableCollection<E> - Class in edu.tum.cs.commons.collections
- This is a wrapper for a
Collection
prohibiting all calls which would
modify its contents. - UnmodifiableCollection(Collection<E>) -
Constructor for class edu.tum.cs.commons.collections.UnmodifiableCollection
- Creates a new unmodifiable collection from another collection.
- UnmodifiableHashedListMap<K,I> - Class in edu.tum.cs.commons.collections
- This is a wrapper for a
HashedListMap
prohibiting all calls that
would modify its contents. - UnmodifiableHashedListMap(HashedListMap<K, I>) -
Constructor for class edu.tum.cs.commons.collections.UnmodifiableHashedListMap
- Create new unmodifiable hashed list map.
- UnmodifiableIterator<E> - Class in edu.tum.cs.commons.collections
- This is a wrapper for a
Iterator
prohibiting all calls which would
modify its owning container. - UnmodifiableIterator(Iterator<E>) -
Constructor for class edu.tum.cs.commons.collections.UnmodifiableIterator
- Creates a new unmodifiable iterator from another iterator.
- UnmodifiableList<E> - Class in edu.tum.cs.commons.collections
- This is a wrapper for a
List
prohibiting all calls which would modify
its contents. - UnmodifiableList(List<E>) -
Constructor for class edu.tum.cs.commons.collections.UnmodifiableList
- Creates a new unmodifiable list from another list.
- UnmodifiableListIterator<T> - Class in edu.tum.cs.commons.collections
- This is a wrapper for a
ListIterator
prohibiting all calls which
would modify its owning container. - UnmodifiableListIterator(ListIterator<T>) -
Constructor for class edu.tum.cs.commons.collections.UnmodifiableListIterator
- Creates a new unmodifiable list iterator from another list iterator.
- UnmodifiableMap<K,V> - Class in edu.tum.cs.commons.collections
- This is a wrapper for a
Map
prohibiting all calls which would modify
its contents. - UnmodifiableMap(Map<K, V>) -
Constructor for class edu.tum.cs.commons.collections.UnmodifiableMap
- Creates a new unmodifiable map from another map.
- UnmodifiableSet<E> - Class in edu.tum.cs.commons.collections
- This is a wrapper for a
Set
prohibiting all calls which would modify
its contents. - UnmodifiableSet(Set<E>) -
Constructor for class edu.tum.cs.commons.collections.UnmodifiableSet
- Creates a new unmodifiable set from another set.
- UnmodifiableSortedMap<K,V> - Class in edu.tum.cs.commons.collections
- This is a wrapper for a
SortedMap
prohibiting all calls which would
modify its contents. - UnmodifiableSortedMap(SortedMap<K, V>) -
Constructor for class edu.tum.cs.commons.collections.UnmodifiableSortedMap
- Creates a new unmodifiable sorted map from another sorted map.
- UnmodifiableSortedSet<E> - Class in edu.tum.cs.commons.collections
- This is a wrapper for a
SortedSet
prohibiting all calls which would
modify its contents. - UnmodifiableSortedSet(SortedSet<E>) -
Constructor for class edu.tum.cs.commons.collections.UnmodifiableSortedSet
- Creates a new unmodifiable sorted set from another sorted set.
- useCanonicalTestFile(String) -
Method in class edu.tum.cs.commons.test.CCSMTestCaseBase
- Same as
CCSMTestCaseBase.useTestFile(String)
but returns a CanonicalFile
.
- useTestFile(String) -
Method in class edu.tum.cs.commons.test.CCSMTestCaseBase
- Use test file.
- UTF8_CHARSET -
Static variable in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Charset for UTF-8.
- UTF8_ENCODING -
Static variable in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Encoding for UTF-8.
V
- validateMesh(T, IMeshWalker<T, X_WALKER>) -
Method in class edu.tum.cs.commons.constraint.ConstraintValidator
- Validates all reachable elements of a mesh.
- validateMesh(T, IMeshWalker<T, X_WALKER>, IExceptionHandler<ConstraintViolationException, X>) -
Method in class edu.tum.cs.commons.constraint.ConstraintValidator
- Validates all reachable elements of a mesh.
- validateTree(T, ITreeWalker<T, X_WALKER>) -
Method in class edu.tum.cs.commons.constraint.ConstraintValidator
- Validates all nodes of a tree.
- validateTree(T, ITreeWalker<T, X_WALKER>, IExceptionHandler<ConstraintViolationException, X>) -
Method in class edu.tum.cs.commons.constraint.ConstraintValidator
- Validates all nodes of a tree.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.assessment.ETrafficLightColor
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.color.ECCSMColor
- Returns the enum constant of this type with the specified name.
- valueOf(Class<T>, String) -
Static method in class edu.tum.cs.commons.enums.EnumUtils
- This works like
Enum.valueOf(java.lang.Class, java.lang.String)
but returns null
if constant wasn't found instead of
throwing an IllegalArgumentException
.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.filesystem.EByteOrderMark
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.graph.EGraphvizOutputFormat
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.html.ECSSProperty
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.html.ECSSPseudoClass
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.html.EHTMLAttribute
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.html.EHTMLElement
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.math.EAggregationStrategy
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.reflect.EJavaPrimitive
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum edu.tum.cs.commons.xml.EXMLWriterExceptionType
- Returns the enum constant of this type with the specified name.
- valueOfIgnoreCase(Class<T>, String) -
Static method in class edu.tum.cs.commons.enums.EnumUtils
- Works like
EnumUtils.valueOf(Class, String)
but ignores case.
- values() -
Static method in enum edu.tum.cs.commons.assessment.ETrafficLightColor
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Method in class edu.tum.cs.commons.collections.ArrayBackedMap
-
- values() -
Method in class edu.tum.cs.commons.collections.ClassHierarchyMap
-
- values() -
Method in class edu.tum.cs.commons.collections.HybridMapBase
-
- values() -
Method in class edu.tum.cs.commons.collections.UnmodifiableMap
-
- values() -
Static method in enum edu.tum.cs.commons.color.ECCSMColor
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum edu.tum.cs.commons.filesystem.EByteOrderMark
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum edu.tum.cs.commons.graph.EGraphvizOutputFormat
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum edu.tum.cs.commons.html.ECSSProperty
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum edu.tum.cs.commons.html.ECSSPseudoClass
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum edu.tum.cs.commons.html.EHTMLAttribute
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum edu.tum.cs.commons.html.EHTMLElement
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum edu.tum.cs.commons.math.EAggregationStrategy
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum edu.tum.cs.commons.reflect.EJavaPrimitive
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum edu.tum.cs.commons.xml.EXMLWriterExceptionType
- Returns an array containing the constants of this enum type, in
the order they are declared.
- Version - Class in edu.tum.cs.commons.version
- A class to describe versions of software (or other) artifacts.
- Version(int, int) -
Constructor for class edu.tum.cs.commons.version.Version
- Create a new version.
- VersionUtils - Class in edu.tum.cs.commons.version
- Utility code for dealing with versions.
- VersionUtils() -
Constructor for class edu.tum.cs.commons.version.VersionUtils
-
- visit(E) -
Method in interface edu.tum.cs.commons.visitor.IVisitor
- Visit element.
- visitAllDepthFirst(T, IMeshWalker<T, X1>, IVisitor<T, X2>) -
Static method in class edu.tum.cs.commons.visitor.VisitorUtils
- Visits all elements of a mesh in depth first order.
- visitAllPreOrder(T, ITreeWalker<T, X1>, IVisitor<T, X2>) -
Static method in class edu.tum.cs.commons.visitor.VisitorUtils
- Visits all nodes of a tree in pre-order, i.e. a node is visited directly
before its children.
- visitLeaves(T, ITreeWalker<T, X1>, IVisitor<T, X2>) -
Static method in class edu.tum.cs.commons.visitor.VisitorUtils
- Visits all leaves of a tree, i.e. those nodes without children.
- VisitorUtils - Class in edu.tum.cs.commons.visitor
- Utility class for working with visitors.
- VisitorUtils() -
Constructor for class edu.tum.cs.commons.visitor.VisitorUtils
-
W
- warn(Object) -
Method in interface edu.tum.cs.commons.logging.ILogger
- Log message with level WARN.
- warn(Object, Throwable) -
Method in interface edu.tum.cs.commons.logging.ILogger
- Log message with level WARN.
- warn(Object) -
Method in class edu.tum.cs.commons.logging.SimpleLogger
- Log message with level WARN.
- warn(Object, Throwable) -
Method in class edu.tum.cs.commons.logging.SimpleLogger
- Log message with level WARN.
- wrapLongLines(String, int) -
Static method in class edu.tum.cs.commons.string.StringUtils
- This method splits the input string into words (delimited by whitespace)
and returns a string whose words are separated by single spaces and whose
lines are not longer than the given length (unless a very long word
occurs)).
- write(int) -
Method in class edu.tum.cs.commons.io.MultiplexedOutputStream
- Forwards write operation to all underlying output streams.
- writeFile(File, String) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Write string to a file with the default encoding.
- writeFile(File, String, String) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Write string to a file.
- writeFileUTF8(File, String) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Write string to a file with UTF8 encoding.
- writeFileWithBOM(File, String, EByteOrderMark) -
Static method in class edu.tum.cs.commons.filesystem.FileSystemUtils
- Write string to a file using a UTF encoding.
- writeOut(PrintStream, String) -
Method in class edu.tum.cs.commons.html.CSSDeclarationBlock
- Writes the full (including inherited) properties into the given stream
using the format for CSS files, i.e. one property in each line followed
by a colon, the value, and a semicolon.
- writeOut(PrintStream) -
Method in class edu.tum.cs.commons.html.CSSManagerBase
- Write all selectors with their blocks to the given stream.
- writeOutDeclarations(PrintStream) -
Method in class edu.tum.cs.commons.html.CSSManagerBase
- Write out declarations.
- writeOutDefaultDeclarations(PrintStream) -
Method in class edu.tum.cs.commons.html.CSSManagerBase
- Write out default declarations for element (i.e. without specific class).
X
- XMLReader<E extends java.lang.Enum<E>,A extends java.lang.Enum<A>,X extends java.lang.Exception> - Class in edu.tum.cs.commons.xml
- Utility class for reading XML documents.
- XMLReader(File, IXMLResolver<E, A>) -
Constructor for class edu.tum.cs.commons.xml.XMLReader
- Create new reader.
- XMLReader(File, String, IXMLResolver<E, A>) -
Constructor for class edu.tum.cs.commons.xml.XMLReader
- Create reader.
- XMLReader(File, URL, IXMLResolver<E, A>) -
Constructor for class edu.tum.cs.commons.xml.XMLReader
- Create reader.
- XMLReader(File, String, URL, IXMLResolver<E, A>) -
Constructor for class edu.tum.cs.commons.xml.XMLReader
- Create reader.
- XMLResolver<E extends java.lang.Enum<E>,A extends java.lang.Enum<A>> - Class in edu.tum.cs.commons.xml
- Default implementation of
IXMLResolver
. - XMLResolver(Class<A>) -
Constructor for class edu.tum.cs.commons.xml.XMLResolver
- Create new resolver.
- xmlResolver -
Variable in class edu.tum.cs.commons.xml.XMLWriter
- Resolver used by the writer.
- XMLUtils - Class in edu.tum.cs.commons.xml
- Collection of utility methods for XML.
- XMLUtils() -
Constructor for class edu.tum.cs.commons.xml.XMLUtils
-
- XMLWriter<E extends java.lang.Enum<E>,A extends java.lang.Enum<A>> - Class in edu.tum.cs.commons.xml
- Utility class for creating XML documents.
- XMLWriter(OutputStream, IXMLResolver<E, A>) -
Constructor for class edu.tum.cs.commons.xml.XMLWriter
- Create a new writer.
- XMLWriter(PrintWriter, IXMLResolver<E, A>) -
Constructor for class edu.tum.cs.commons.xml.XMLWriter
- Create a new writer.
- XMLWriterException - Exception in edu.tum.cs.commons.xml
- XMLWriterExceptions are runtime exceptions thrown by the
XMLWriter
. - XPathEvaluator - Class in edu.tum.cs.commons.xml
- Evaluator for XPath expression.
- XPathEvaluator() -
Constructor for class edu.tum.cs.commons.xml.XPathEvaluator
- Create new evaluator.
A B C D E F G H I J K L M N O P R S T U V W X
TUM CCSM Commons - 2.7