# Package com.h3c.util

- Interface Summary
  Interface | Description
  --- | ---
  Clock.WarpingTimeSource | Facade for implementing a time source capable of being warped with respect to real time.
  CodeEnum | Implemented by enums that provide logical names to a set of coded values.
  Converter<S,T> | Converts data from the source type to the target type
  Decoder<E,C> | A decoder is a device which does the reverse of an encoder, undoing the encoding so that the original information can be retrieved.
  EnumUtils.Coded | This interface must be implemented by enumerations to support the creation of a code lookup map.
  ErrorHandler<S,E> | Interface to delegate error handling.
  Executor<T,I> | Executor.
  Instruction | Instruction.
  JSONPayload | Classes implementing this interface are declaring that they can export a JSON representation of their data.
  LocalizedEnums | This interface facilitates the obtaining of name and description for a given enumeration constant.
  Predicate<T> | Predicate.
  Procedure<P> | `Procedure` is an interface that provides for encapsulation of the lock manager functionality from the Data Store mechanism.
  Provider<P,E> | Provider.
  TimeUtils.Now | Defines the notion of "now" as expressed by the implementation of `TimeUtils.Now.currentTimeMillis()`.
  Visitable<V> | Visitable (See visitor pattern).

- Class Summary
  Class | Description
  --- | ---
  AbstractResourceValidator | This class extends the base functionality of `AbstractValidator` to provide useful helper methods when validating implementations that must provide both a name and a description for things from a resource bundle.
  AbstractValidator | This class forms the basis for validators that want to report multiple warnings and errors.
  ByteArrayGenerator | Generates byte arrays, either randomly, or via an iterator.
  ByteUtils | Set of utility methods for encoding and decoding information using byte arrays.
  CassandraYamlReader | Gets various fields from cassandra.yaml file.
  Clock | Simple facade for obtaining current time and date.
  ComparisonUtils | Provides some useful helper methods for compareTo() implementations.
  DistributedIndexGenerator | Implements iterators that generate indices randomly according to a specified distribution.
  EnumPresentationFactory | This class facilitates the binding of "name" and "description" strings to the constants of given enumeration classes by allowing the registration of an enumeration class and its corresponding resource bundle.
  EnumUtils | Provides useful utilities operating on or with enumerations.
  EnvUtils | Provides useful utilities concerning the run-time environment.
  FilePathUtils | Set of static utilities for file path manipulation.
  FileUtils | Miscellaneous utilities for manipulating files.
  GwtGrabber | Utility for importing Java sources from a jar file to an alternate package structure within a GWT project.
  HTMLUtils | Set of utilities for producing HTML pages.
  HTMLUtils.Body | HTML body tag.
  HTMLUtils.Div | HTML division tag.
  HTMLUtils.Head | HTML head tag.
  HTMLUtils.HTMLTag | Generic HTML tag.
  HTMLUtils.Image | HTML image tag.
  HTMLUtils.Link | HTML anchor tag.
  HTMLUtils.Page | HTML page tag.
  HTMLUtils.Span | HTML span tag.
  Interval<D extends Comparable<D>> | Intervals (of real numbers ) can be classified into different types.
  JSONUtils | Set of utilities for producing JSON-encoded data.
  JSONUtils.Array | Abstraction of a JSON array.
  JSONUtils.Item | Abstraction of a JSON object.
  JSONUtils.Primitive | Abstraction of a JSON primitive (string, int, boolean) value.
  Kujo | Utility to hunt down threads by their name and/or terminate the rogue ones.
  LogFormatter | Formats the JDK log message into the following form:
  LogUtils | Useful Logging utilities.
  MarkPage<D> | Mark based data page.
  MarkPageRequest<M> | This is a mark based page request for use with NOSQL databases such as Cassandra.
  MixedEnumSet | This class implements the `Set` interface and is designed to contain enumeration constants from multiple enumerations.
  NamedThreadFactory | Thread factory implementation that provides a distinct thread group name.
  ObjectToStringConverter | Utility class to override `Object.toString()`
  OneBasedPageRequest | Page request containing the specific page index desired, and the number of objects to be returned per page.
  Page<D> | Data page contains the information representing a single page of data.
  PageRequest | Page request containing the specific page index desired, and the number of objects to be returned per page
  PrimitiveUtils | Provides useful methods regarding primitives.
  ProcessUtils | Set of utilities for launching a process and parsing it's output.
  Property<I,E> | Property.
  RandomUtils | Provides useful utilities revolving around randomness.
  ReadOnlyThroughputTracker | Auxiliary to create a read-only view of a throughput tracker.
  ResourceIdUtils | Set of utilities for composing and parsing resource identifiers.
  ResourceUtils | A collection of useful utilities revolving around Resource Bundle usage.
  SafeMap<K,V> | This class facilitates the creation of mappings that, once built, are immutable.
  SafeMap.Builder<K,V> | SafeMap builder class.
  SharedMemory<D> | Shared memory.
  SortSpecification<T> | Sort specification.
  SortSpecification.SortComponent<T> | Sort specification component.
  StringPool | This class canonicalizes strings.
  StringUtils | Provides useful utilities revolving around strings.
  SymbolTokenizer | Utility for tokenizing a string along symbol boundaries.
  TallyMap<K> | This class maintains a map of (integer) counts.
  TallyMapLong<K> | This class maintains a map of (long) counts.
  Task | Thread capable of reporting high-level processing status and responding to a cease request.
  ThroughputTracker | Utility class to accrue count of arbitrary entities and measure throughput.
  TimePeriod | Time period.
  TimeUtils | Provides utilities dealing with timestamps and time intervals.
  Tokenizer | Utility class to provide a concise way to parse out string tokens and to allow repeated (infinite) parsing of the same string pattern.
  UIDGenerator | A simple UID generator that creates a sequence of N random characters.
  Version | Version class is used to abstract a version string that can be compared.
  WebUtils | This class provides utility methods and classes for simple communication between a web client and server.
  WebUtils.Tag | A simple class to facilitate building XML or HTML constructs.
  WebUtils.Url | A simple class to facilitate building URLs used to interact with servlets.
  ZipUtils | Set of utilities to produce ZIP files.

- Enum Summary
  Enum | Description
  --- | ---
  Interval.Type |
  Log | Server-side logging.
  MarkPageRequest.Navigation | Page Navigation type.
  SortOrder | Specifies the direction in which to sort a list of items.
  StringUtils.Align | Enumeration for alignment.

- Exception Summary
  Exception | Description
  --- | ---
  LocalizableException | This exception allows for a message key to be associated with the exception, such that a localized error message can be presented to the user in the UI where appropriate.
  NotYetImplementedException | Runtime exception thrown when some expected functionality has not yet been implemented.
  ValidationException | This exception is designed to be used with implementations of `AbstractValidator`.

Copyright © 2014. All Rights Reserved.