/** * Creates a 3D coordinate reference system from a code. * * @throws FactoryException if the object creation failed. */ @Override public CompoundCRS createCompoundCRS(final String code) throws FactoryException { return (CompoundCRS) replace(getCRSAuthorityFactory(code).createCompoundCRS(toBackingFactoryCode(code))); }
public synchronized CompoundCRS createCompoundCRS(final String code) throws FactoryException { final String key = toKey(code); CompoundCRS crs = (CompoundCRS) cache.get(key); if (crs == null) { try { cache.writeLock(key); crs = (CompoundCRS) cache.peek(key); if (crs == null) { crs = crsAuthority.createCompoundCRS(code); cache.put(key, crs); } } finally { cache.writeUnLock(key); } } return crs; }
public synchronized CompoundCRS createCompoundCRS(final String code) throws FactoryException { final String key = toKey(code); CompoundCRS crs = (CompoundCRS) cache.get(key); if (crs == null) { try { cache.writeLock(key); crs = (CompoundCRS) cache.peek(key); if (crs == null) { crs = crsAuthority.createCompoundCRS(code); cache.put(key, crs); } } finally { cache.writeUnLock(key); } } return crs; }
@Override CompoundCRS createFromAPI(AuthorityFactory factory, String code) throws FactoryException { return crsFactory(factory).createCompoundCRS(code); } };
@Override public CompoundCRS createCompoundCRS(String code) throws FactoryException { return factory().createCompoundCRS(code); }
@Override CompoundCRS createFromAPI(AuthorityFactory factory, String code) throws FactoryException { return crsFactory(factory).createCompoundCRS(code); } };
@Override public CompoundCRS createCompoundCRS(String code) throws FactoryException { return factory().createCompoundCRS(code); }