Package org.apache.wayang.core.util
package org.apache.wayang.core.util
-
ClassDescriptionImplements a template for
ReferenceCountable
objects.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 givenIterable
s.Formats different general purpose objects.Utilities for the work withIterator
s.This interface prescribes implementing instances to be able to provide itself as aWayangJsonObj
.JsonSerializable.Serializer<T extends JsonSerializable>AJsonSerializer
implementation to serializeJsonSerializable
s.Utility to deal withJsonSerializable
s.Alternative toJsonSerializable
: Externalizes serialization logic.Utilities to deal with JUEL expressions.InputStream
that 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 operateCollection
s.