Class CacheRecord

java.lang.Object
org.apache.sis.referencing.factory.CacheRecord
All Implemented Interfaces:
Comparable<CacheRecord>

@Debug final class CacheRecord extends Object implements Comparable<CacheRecord>
Implementation of ConcurrentAuthorityFactory.printCacheContent(PrintWriter). Instance of this class represent a single record in the cache content to be listed.
Since:
0.7
Version:
0.7
See Also:
  • Field Details

    • key

      private final String key
      The key-value pair, and the identity string representation of the value.
    • value

      private final String value
      The key-value pair, and the identity string representation of the value.
    • identity

      private final String identity
      The key-value pair, and the identity string representation of the value.
    • code

      private final int code
      The key numeric value, using for sorting purpose only.
  • Constructor Details

    • CacheRecord

      private CacheRecord(Object key, Object value)
      Creates a new record for the given key-value pair.
  • Method Details