org.apache.sis.util.Debug.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(6.0k)|赞(0)|评价(0)|浏览(270)

本文整理了Java中org.apache.sis.util.Debug.<init>()方法的一些代码示例,展示了Debug.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Debug.<init>()方法的具体详情如下:
包路径:org.apache.sis.util.Debug
类名称:Debug
方法名:<init>

Debug.<init>介绍

暂无

代码示例

代码示例来源:origin: org.apache.sis.storage/sis-storage

  1. /**
  2. * Returns a file identifier for error messages or debugging purpose.
  3. */
  4. @Debug
  5. String filename();

代码示例来源:origin: org.apache.sis.storage/sis-storage

  1. /**
  2. * Returns a file identifier for error messages or debugging purpose.
  3. */
  4. @Debug
  5. @Override
  6. public final String filename() {
  7. return filename;
  8. }

代码示例来源:origin: org.apache.sis.core/sis-utility

  1. /**
  2. * Returns a string representation of this format for debugging purpose.
  3. */
  4. @Debug
  5. @Override
  6. public String toString() {
  7. return "Format[“" + title + "”]";
  8. }
  9. }

代码示例来源:origin: org.apache.sis.core/sis-referencing

  1. /**
  2. * Returns a string representation of this object, for debugging purpose only.
  3. */
  4. @Debug
  5. @Override
  6. public String toString() {
  7. return name;
  8. }
  9. }

代码示例来源:origin: org.apache.sis.core/sis-utility

  1. /**
  2. * Returns the level for {@link #entering(String, String) entering(…)}, {@link #exiting(String, String) exiting(…)}
  3. * and {@link #throwing(String, String, Throwable) throwing(…)} methods.
  4. * The default implementation returns {@link Level#FINER}, which is consistent with the
  5. * value used in the JDK logging framework. Subclasses should override this method if
  6. * a different debug level is wanted.
  7. *
  8. * @return the level to use for debugging informations.
  9. */
  10. @Debug
  11. protected Level getDebugLevel() {
  12. return Level.FINER;
  13. }

代码示例来源:origin: org.apache.sis.storage/sis-netcdf

  1. /**
  2. * Returns a string representation of this netCDF store for debugging purpose.
  3. * The content of the string returned by this method may change in any future SIS version.
  4. *
  5. * @return a string representation of this data store for debugging purpose.
  6. */
  7. @Debug
  8. @Override
  9. public String toString() {
  10. return getClass().getSimpleName() + '[' + decoder + ']';
  11. }
  12. }

代码示例来源:origin: org.apache.sis.core/sis-utility

  1. /**
  2. * Returns a string representation of this record.
  3. * The string representation is for debugging purpose and may change in any future SIS version.
  4. *
  5. * @return a string representation of this record.
  6. */
  7. @Debug
  8. @Override
  9. public String toString() {
  10. return definition.toString("Record", values);
  11. }
  12. }

代码示例来源:origin: org.apache.sis.core/sis-utility

  1. /**
  2. * Returns the next value to be returned, for debugging purpose only.
  3. */
  4. @Debug
  5. @Override
  6. public String toString() {
  7. return Utilities.toString(Iter.class, "next", next);
  8. }
  9. }

代码示例来源:origin: org.apache.sis.storage/sis-storage

  1. /**
  2. * Returns a file identifier for error messages or debugging purpose.
  3. *
  4. * @return the file identifier.
  5. */
  6. @Debug
  7. public String filename() {
  8. return reader.filename();
  9. }

代码示例来源:origin: org.apache.sis.core/sis-utility

  1. /**
  2. * Returns a string representation of this schema for debugging purpose only.
  3. */
  4. @Debug
  5. @Override
  6. public String toString() {
  7. return "RecordSchema[“" + getSchemaName() + "”]";
  8. }
  9. }

代码示例来源:origin: org.apache.sis.core/sis-utility

  1. /**
  2. * Returns a string representation of this object for debugging purpose.
  3. */
  4. @Debug
  5. @Override
  6. public String toString() {
  7. return getClass().getSimpleName() + '[' + toPattern() + ']';
  8. }
  9. }

代码示例来源:origin: org.apache.sis.core/sis-referencing

  1. /**
  2. * Returns a string representation of this grid.
  3. *
  4. * @return a string representation for debugging purpose.
  5. */
  6. @Debug
  7. @Override
  8. public String toString() {
  9. return Utilities.toString(getClass(), "file", (files.length != 0) ? files[0] : null);
  10. }

代码示例来源:origin: org.apache.sis.storage/sis-earth-observation

  1. /**
  2. * Returns a string representation of this Landsat store for debugging purpose.
  3. * The content of the string returned by this method may change in any future SIS version.
  4. *
  5. * @return a string representation of this datastore for debugging purpose.
  6. */
  7. @Debug
  8. @Override
  9. public String toString() {
  10. return getClass().getSimpleName() + '[' + getDisplayName() + ']';
  11. }
  12. }

代码示例来源:origin: org.apache.sis.core/sis-referencing

  1. /**
  2. * Prints the cache content to the given writer.
  3. * Keys are sorted by numerical order if possible, or alphabetical order otherwise.
  4. * This method is used for debugging purpose only.
  5. *
  6. * @param out the output printer, or {@code null} for the {@linkplain System#out standard output stream}.
  7. *
  8. * @see #isCacheable(String, Object)
  9. */
  10. @Debug
  11. public void printCacheContent(final PrintWriter out) {
  12. CacheRecord.printCacheContent(cache, out);
  13. }

代码示例来源:origin: org.apache.sis.core/sis-utility

  1. /**
  2. * Returns a string representation of this identifier.
  3. * Example: {@code Identifier[gco:uuid=“42924124-032a-4dfe-b06e-113e3cb81cf0”]}.
  4. *
  5. * @see IdentifierMapAdapter#toString()
  6. */
  7. @Debug
  8. @Override
  9. public String toString() {
  10. final StringBuilder buffer = new StringBuilder(60).append("Identifier[");
  11. format(buffer, authority, getCode());
  12. return buffer.append(']').toString();
  13. }

代码示例来源:origin: org.apache.sis.core/sis-metadata

  1. /**
  2. * Returns a string representation of this metadata standard.
  3. * This is for debugging purpose only and may change in any future version.
  4. */
  5. @Debug
  6. @Override
  7. public String toString() {
  8. return Classes.getShortClassName(this) + '[' + citation.getTitle() + ']';
  9. }

代码示例来源:origin: org.apache.sis.core/sis-feature

  1. /**
  2. * Returns a string representation of this association role.
  3. * The returned string is for debugging purpose and may change in any future SIS version.
  4. *
  5. * @return a string representation of this association role for debugging purpose.
  6. */
  7. @Debug
  8. @Override
  9. public String toString() {
  10. return toString(deprecated, "FeatureAssociationRole", getName(), valueType.getName()).toString();
  11. }
  12. }

代码示例来源:origin: org.apache.sis.core/sis-utility

  1. /**
  2. * Returns a string representation of this entry. If the string representation
  3. * of the value uses more than one line, then only the first line is shown.
  4. * This method is mostly for debugging purpose.
  5. */
  6. @Debug
  7. @Override
  8. public String toString() {
  9. return String.valueOf(getKey()) + '=' + firstLine(getValue());
  10. }

代码示例来源:origin: org.apache.sis.core/sis-referencing

  1. /**
  2. * Returns the internal parameter values.
  3. * This is used only for debugging purpose.
  4. */
  5. @Debug
  6. @Override
  7. public ParameterValueGroup getParameterValues() {
  8. final ParameterValueGroup pg = getParameterDescriptors().createValue();
  9. pg.values().addAll(EllipsoidToCentricTransform.this.getParameterValues().values());
  10. return pg;
  11. }

代码示例来源:origin: org.apache.sis.core/sis-utility

  1. /**
  2. * Returns a tree representation of this converter.
  3. * The tree leaves represent the backing converters.
  4. */
  5. @Debug
  6. @Override
  7. public String toString() {
  8. final TreeTable table = Column.createTable();
  9. toTree(table.getRoot(), true);
  10. return Column.format(table);
  11. }
  12. }

相关文章

Debug类方法