Package org.apache.wayang.core.util
package org.apache.wayang.core.util
-
ClassDescriptionImplements a template for
ReferenceCountableobjects.This interface represents any piece of code that takes no input and produces no output but may fail.Utilities to perform actions.A mutable bit-mask.This utility maintains canonical sets of objects.Utility to expose interfaces that accept a callback as anIterator.Copyable<Self>Implementing objects must be able to provide copies of themselves.Counter<T>This utility helps to count elements.Iterates all combinations, i.e., the Cartesian product, of givenIterables.Formats different general purpose objects.Utilities for the work withIterators.This interface prescribes implementing instances to be able to provide itself as aWayangJsonObj.JsonSerializable.Serializer<T extends JsonSerializable>AJsonSerializerimplementation to serializeJsonSerializables.Utility to deal withJsonSerializables.Alternative toJsonSerializable: Externalizes serialization logic.Utilities to deal with JUEL expressions.InputStreamthat is trimmed to a specified size.Provide logging viaLogger.LruCache<K,V> Key-value cache with "least recently used" eviction strategy.MultiMap<K,V> Maps keys to multiple values.Method wrapper that ensures that it is called only once.Optional<T>Utility similar toOptional.This interface provides a reference-counting scheme, e.g., to manage allocated external resources.Utilities for reflection code.Tuple<T0,T1> A helper data structure to manage two values without creating new classes.Utility for handling arrays.Utilities to operateCollections.