org.apache.sis.util.Debug类的使用及代码示例

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

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

Debug介绍

暂无

代码示例

代码示例来源: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.core/sis-utility

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

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

  1. /**
  2. * Returns a string representation of this identifier space.
  3. */
  4. @Debug
  5. @Override
  6. public final String toString() {
  7. return "IdentifierSpace[" + title + ']';
  8. }
  9. }

代码示例来源:origin: apache/sis

  1. /**
  2. * Returns the number of Data Access Objects available for reuse. This count does not include the
  3. * Data Access Objects that are currently in use. This method is used only for testing purpose.
  4. *
  5. * @see #isCleanScheduled()
  6. */
  7. @Debug
  8. final int countAvailableDataAccess() {
  9. synchronized (availableDAOs) {
  10. return availableDAOs.size();
  11. }
  12. }

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

  1. /**
  2. * Returns the number of Data Access Objects available for reuse. This count does not include the
  3. * Data Access Objects that are currently in use. This method is used only for testing purpose.
  4. *
  5. * @see #isCleanScheduled()
  6. */
  7. @Debug
  8. final int countAvailableDataAccess() {
  9. synchronized (availableDAOs) {
  10. return availableDAOs.size();
  11. }
  12. }

代码示例来源: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 for this entry.
  3. * Used for formatting error messages.
  4. */
  5. @Debug
  6. @Override
  7. public String toString() {
  8. return targetClass.getSimpleName() + " ← " + sourceClass.getSimpleName();
  9. }
  10. }

代码示例来源: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-metadata

  1. /**
  2. * Formats this {@code Element} as a tree.
  3. * This method is used for debugging purpose only.
  4. */
  5. @Debug
  6. @Override
  7. public String toString() {
  8. final StringBuilder buffer = new StringBuilder();
  9. format(buffer, 0, System.lineSeparator());
  10. return buffer.toString();
  11. }

相关文章

Debug类方法