Examples of unmodifiable()


Examples of javolution.util.FastSet.unmodifiable()

        result.addAll(getOutEdgeObjects());
      } else {
        result.addAll(getInEdgeObjects(labels));
        result.addAll(getOutEdgeObjects(labels));
      }
      return result.unmodifiable();
    }
  }

  private Map<String, FastSet<Edge>> getInEdgeCache() {
    if (inEdgeCache_ == null) {
View Full Code Here

Examples of org.geotools.metadata.iso.citation.CitationImpl.unmodifiable()

                final CitationImpl c = new CitationImpl(Citations.EPSG);
                c.getAlternateTitles().add(Vocabulary.formatInternational(
                        VocabularyKeys.DATA_BASE_$3, "EPSG", version, engine));
                c.setEdition(new SimpleInternationalString(version));
                c.setEditionDate(date);
                authority = (Citation) c.unmodifiable();
                hints.put(Hints.VERSION, new Version(version))// For getImplementationHints()
            } else {
                authority = Citations.EPSG;
            }
            result.close();
View Full Code Here

Examples of org.geotools.metadata.iso.citation.CitationImpl.unmodifiable()

                        final CitationImpl c = new CitationImpl(Citations.EPSG);
                        c.getAlternateTitles().add(Vocabulary.formatInternational(
                                VocabularyKeys.DATA_BASE_$3, "EPSG", version, engine));
                        c.setEdition(new SimpleInternationalString(version));
                        c.setEditionDate(date);
                        authority = (Citation) c.unmodifiable();
                        hints.put(Hints.VERSION, new Version(version))// For getImplementationHints()
                    } else {
                        authority = Citations.EPSG;
                    }
                    result.close();
View Full Code Here

Examples of org.geotools.metadata.iso.citation.CitationImpl.unmodifiable()

                }
                final ResponsiblePartyImpl party = new ResponsiblePartyImpl(oldParty);
                party.setRole(Role.RESOURCE_PROVIDER);
                party.setContactInfo(new ContactImpl(resource));
                parties.add(party);
                authority = (Citation) citation.unmodifiable();
            } catch (URISyntaxException exception) {
                // Invalid URI syntax. Ignore, since this property
                // was really just for information purpose.
            }
            /*
 
View Full Code Here

Examples of org.geotools.metadata.iso.extent.ExtentImpl.unmodifiable()

                            }
                        }
                    }
                }
                if (extent != null) {
                    returnValue = (Extent) ensureSingleton(extent.unmodifiable(), returnValue, code);
                }
            }
            result.close();
        } catch (SQLException exception) {
            throw databaseFailure(Extent.class, code, exception);
View Full Code Here

Examples of org.geotools.metadata.iso.extent.ExtentImpl.unmodifiable()

                            }
                        }
                    }
                }
                if (extent != null) {
                    returnValue = (Extent) ensureSingleton(extent.unmodifiable(), returnValue, code);
                }
            }
            result.close();
        } catch (SQLException exception) {
            throw databaseFailure(Extent.class, code, exception);
View Full Code Here

Examples of org.geotools.metadata.iso.extent.ExtentImpl.unmodifiable()

        properties.put(CoordinateReferenceSystem.NAME_KEY, Vocabulary.format(VocabularyKeys.UNKNOWN));
        final GeographicExtent validArea = getValidArea(target);
        if (validArea != null) {
            final ExtentImpl extent = new ExtentImpl();
            extent.getGeographicElements().add(validArea);
            properties.put(CoordinateReferenceSystem.DOMAIN_OF_VALIDITY_KEY, extent.unmodifiable());
        }
        final CoordinateReferenceSystem oppositeCRS = target ? sourceCRS : targetCRS;
        final CoordinateSystem cs;
        if (oppositeCRS != null) {
            cs = oppositeCRS.getCoordinateSystem();
View Full Code Here

Examples of org.geotools.metadata.iso.extent.ExtentImpl.unmodifiable()

                }
            }
            if (validArea != null) {
                final ExtentImpl extent = new ExtentImpl();
                extent.getGeographicElements().add(validArea);
                properties.put(Transformation.DOMAIN_OF_VALIDITY_KEY, extent.unmodifiable());
            }
            /*
             * Computes the positional accuracy as the RMS value of differences
             * between the computed target points and the supplied target points.
             */
 
View Full Code Here

Examples of org.geotools.metadata.iso.quality.AbsoluteExternalPositionalAccuracyImpl.unmodifiable()

                    accuracyElement = new AbsoluteExternalPositionalAccuracyImpl(accuracyResult);
                    accuracyElement.setMeasureDescription(TRANSFORMATION_ACCURACY);
                    accuracyElement.setEvaluationMethodType(EvaluationMethodType.DIRECT_EXTERNAL);
                    properties.put(CoordinateOperation.COORDINATE_OPERATION_ACCURACY_KEY,
                                   new PositionalAccuracy[] {
                                       (PositionalAccuracy)accuracyElement.unmodifiable()
                                   });
                }
                /*
                 * Creates the operation. Conversions should be the only operations allowed to
                 * have null source and target CRS. In such case, the operation is a defining
View Full Code Here

Examples of org.geotools.metadata.iso.quality.AbsoluteExternalPositionalAccuracyImpl.unmodifiable()

                    accuracyElement = new AbsoluteExternalPositionalAccuracyImpl(accuracyResult);
                    accuracyElement.setMeasureDescription(TRANSFORMATION_ACCURACY);
                    accuracyElement.setEvaluationMethodType(EvaluationMethodType.DIRECT_EXTERNAL);
                    properties.put(CoordinateOperation.COORDINATE_OPERATION_ACCURACY_KEY,
                                   new PositionalAccuracy[] {
                                       (PositionalAccuracy)accuracyElement.unmodifiable()
                                   });
                }
                /*
                 * Creates the operation. Conversions should be the only operations allowed to
                 * have null source and target CRS. In such case, the operation is a defining
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.