java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
org.apache.sis.internal.util.SetOfUnknownSize<E>
org.apache.sis.internal.referencing.LazySet<org.opengis.referencing.operation.OperationMethod>
org.apache.sis.internal.referencing.provider.Providers
All Implemented Interfaces:
Iterable<org.opengis.referencing.operation.OperationMethod>, Collection<org.opengis.referencing.operation.OperationMethod>, Set<org.opengis.referencing.operation.OperationMethod>

@Workaround(library="JDK", version="1.8") public final class Providers extends LazySet<org.opengis.referencing.operation.OperationMethod>
The provider of coordinate operations. All operations are read from the information provided in the META-INF/services/org.opengis.referencing.operation.OperationMethod files.

This class is not thread-safe. Synchronization are user's responsibility.

This class is not needed on the JDK9 branch.

Since:
0.7
Version:
0.7
  • Constructor Details

    • Providers

      public Providers()
      Creates new set of provider.
  • Method Details

    • cache

      protected void cache(org.opengis.referencing.operation.OperationMethod element)
      Caches a new element, possibly substituting the created instance by a previously created instance.
      Overrides:
      cache in class LazySet<org.opengis.referencing.operation.OperationMethod>
      Parameters:
      element - the element to add to the cache.