Search this API

Package y.util

Provides utility classes that are used throughout the yFiles library.

See:
          Description

Interface Summary
BooleanValue Specifies the contract of a general purpose read-only boolean value object.
BooleanValueSettable Specifies the contract of modifiable boolean value objects.
Comparators.PartialOrder Tag interface to mark Comparator or comparable implementations that do not define a total order but only a partial order.
Filter Specifies the contract of a general purpose filter.
GraphCopier.CopyFactory The copy factory interface used by GraphCopier to delegate the actual work to.
IntValue Specifies the contract of a general purpose read-only integer value object.
IntValueSettable Specifies the contract of modifiable integer value objects.
MutableValue Specifies the contract of a general purpose value object.
MutableValue2D Specifies the contract of a general purpose 2-dimensional value object.
ObjectStore This interface will be implemented by classes which are able to serialize objects into a number of key value pairs.
ObjectStringConverter Interface for classes which can convert Objects to String representations and vice versa
TaskExecutor Executes several tasks.
Value Specifies the contract of a general purpose read-only value object.
Value2D Specifies the contract of a general purpose 2-dimensional read-only value object.
Value2DSettable Specifies the contract of a modifiable, 2-dimensional value object.
ValueSettable Specifies the contract of modifiable value object.
 

Class Summary
AbstractStringConverter This class is an abstract base class for classes implementing the ObjectStringConverter interface.
BeanSerializer This class is a simple implementation for automatic object string conversion.
BoundedQueue This class represents an efficient queue of bounded size.
BoundedStack This class represents an efficient stack of bounded size.
CommandLineArguments Helper class for parsing command line arguments.
Comparators This class provides access to some Comparator instances that are commonly used in yFiles.
Cursors Provides utility methods for working with cursors and iterators.
D Provides some convenience methods for code debugging and exception handling.
DataAcceptorAdapter An abstract adapter class for accepting data.
DataProviderAdapter An abstract adapter class for providing data.
DataProviders This class provides convenience and transformation services for DataProviders.
DataProviders.DataProviderOverlayManager This helper class can be used to overlay DataProviders registered at a graph with another DataProvider.
DefaultMutableValue General purpose value object that obeys the Value and ValueSettable contracts.
DefaultMutableValue2D General purpose value object that obeys the Value2D and Value2DSettable contracts.
DetailedMessagePanel This Panel can display short and long versions of an error message.
EdgeMapAdapter This class is an empty abstract implementation of the EdgeMap interface.
FilterIterator Decorator for Iterator instances that allows the elements of the decorated Iterator to be filtered using arbitrary Filter implementations.
Generics Utility class with static methods that can be used to conveniently iterate over a graph's structure using Java 5's enhanced for loop.
GlobalProperties Singleton class that can manage global properties for an application, store and reload them in and from a properties file and manage the object <-> string conversion process.
GraphCopier A utility class that can be used to copy a graph's structure and possibly associated data to another instance.
GraphCopier.DataProviderCopyFactory Abstract helper class that provides helper methods to copy DataProvider contents.
GraphCopier.EdgeDataProviderCopyFactory Helper class implementation of GraphCopier.CopyFactory that can be used to copy the contents of a DataProvider registered with the source graph onto the target graph storing the values in newly a created edge map.
GraphCopier.EdgeMapCopyFactory A helper wrapping implementation of the GraphCopier.CopyFactory interface that copies the contents of the edge maps from the source to the target graph.
GraphCopier.GraphDataCopyFactory An abstract base implementation of a delegating GraphCopier.GraphDataCopyFactory that copies data for items being copied.
GraphCopier.ItemDataProviderCopyFactory Helper class implementation of GraphCopier.CopyFactory that can be used to copy the contents of a DataProvider registered with the source graph onto the target graph storing the values in newly created HashMap based DataMaps.
GraphCopier.NodeDataProviderCopyFactory Helper class implementation of GraphCopier.CopyFactory that can be used to copy the contents of a DataProvider registered with the source graph onto the target graph storing the values in newly created node map.
GraphCopier.NodeMapCopyFactory A helper wrapping implementation of the GraphCopier.CopyFactory interface that copies the contents of the node maps from the source to the target graph.
GraphHider Provides functionality to hide and unhide nodes and edges of a graph temporarily for algorithmic operations.
GraphPartitionManager Provides functionality to hide and unhide partitions of nodes and their adjacent edges of a graph temporarily for algorithmic operations.
HashMap2D This class represents a 2-dimensional hash map.
Maps This class provides convenience and transformation services for NodeMaps, EdgeMaps and DataMaps.
Maps.HighPerformanceBoolMap Implementation of a resettable high performance map for values of simple type boolean.
Maps.HighPerformanceDoubleMap Implementation of a resettable high performance map for values of simple type double.
Maps.HighPerformanceIntMap Implementation of a resettable high performance map for values of simple type int.
Maps.HighPerformanceObjectMap Implementation of a resettable high performance map for values of type Object.
MultiThreadedTaskExecutorFactory Provides a shared instance of a factory that creates TaskExecutors that execute tasks in parallel.
NodeMapAdapter This class is an abstract empty implementation of the NodeMap interface.
ObjectStringConversion This class serves as a basic implementation of the ObjectStringConverter interface.
ReflectionStringConverter A simple implementation of an ObjectStringConverter, which uses reflection to construct an object from a String representation and the toString() method to construct the String representation from an object.
ResourceResolver This class translates strings to URLs.
SkipList A simple implementation of a randomized sorted skip list that uses SkipList.Cells to carry the values.
SkipList.Cell The cells that are used by SkipList.
TaskExecutorFactory Base factory class for creating TaskExecutor instances.
Timer Provides timer functionality.
Tuple This class represents an ordered 2-Tuple that is consistent with equals() and hashCode().
WrappedObjectDataProvider This class can be used to wrap a given DataProvider with another one.
YRandom Generates pseudo-random numbers and the such.
YUtil This class provides some static convenience methods and temporary scratch variables.
YVersion Provides system wide version numbers for yFiles releases
 

Package y.util Description

Provides utility classes that are used throughout the yFiles library.

 
Your browser does not support SVG content.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.