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

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

本文整理了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

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

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

/**
 * Returns a file identifier for error messages or debugging purpose.
 */
@Debug
@Override
public final String filename() {
  return filename;
}

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

/**
   * Returns a string representation of this format for debugging purpose.
   */
  @Debug
  @Override
  public String toString() {
    return "Format[“" + title + "”]";
  }
}

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

/**
   * Returns a string representation of this object, for debugging purpose only.
   */
  @Debug
  @Override
  public String toString() {
    return name;
  }
}

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

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

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

/**
   * Returns a string representation of this citation for debugging purpose.
   */
  @Debug
  @Override
  public String toString() {
    return "Citation[“" + title + "”]";
  }
}

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

/**
   * Returns a string representation of this identifier space.
   */
  @Debug
  @Override
  public final String toString() {
    return "IdentifierSpace[" + title + ']';
  }
}

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

/**
 * Returns the number of Data Access Objects available for reuse. This count does not include the
 * Data Access Objects that are currently in use. This method is used only for testing purpose.
 *
 * @see #isCleanScheduled()
 */
@Debug
final int countAvailableDataAccess() {
  synchronized (availableDAOs) {
    return availableDAOs.size();
  }
}

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

/**
 * Returns the number of Data Access Objects available for reuse. This count does not include the
 * Data Access Objects that are currently in use. This method is used only for testing purpose.
 *
 * @see #isCleanScheduled()
 */
@Debug
final int countAvailableDataAccess() {
  synchronized (availableDAOs) {
    return availableDAOs.size();
  }
}

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

/**
   * Returns a string representation of this netCDF store for debugging purpose.
   * The content of the string returned by this method may change in any future SIS version.
   *
   * @return a string representation of this data store for debugging purpose.
   */
  @Debug
  @Override
  public String toString() {
    return getClass().getSimpleName() + '[' + decoder + ']';
  }
}

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

/**
   * Returns a string representation for this entry.
   * Used for formatting error messages.
   */
  @Debug
  @Override
  public String toString() {
    return targetClass.getSimpleName() + " ← " + sourceClass.getSimpleName();
  }
}

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

/**
   * Returns a string representation of this record.
   * The string representation is for debugging purpose and may change in any future SIS version.
   *
   * @return a string representation of this record.
   */
  @Debug
  @Override
  public String toString() {
    return definition.toString("Record", values);
  }
}

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

/**
   * Returns the next value to be returned, for debugging purpose only.
   */
  @Debug
  @Override
  public String toString() {
    return Utilities.toString(Iter.class, "next", next);
  }
}

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

/**
 * Returns a file identifier for error messages or debugging purpose.
 *
 * @return the file identifier.
 */
@Debug
public String filename() {
  return reader.filename();
}

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

/**
   * Returns a string representation of this schema for debugging purpose only.
   */
  @Debug
  @Override
  public String toString() {
    return "RecordSchema[“" + getSchemaName() + "”]";
  }
}

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

/**
   * Returns a string representation of this object for debugging purpose.
   */
  @Debug
  @Override
  public String toString() {
    return getClass().getSimpleName() + '[' + toPattern() + ']';
  }
}

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

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

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

/**
   * Returns a string representation of this Landsat store for debugging purpose.
   * The content of the string returned by this method may change in any future SIS version.
   *
   * @return a string representation of this datastore for debugging purpose.
   */
  @Debug
  @Override
  public String toString() {
    return getClass().getSimpleName() + '[' + getDisplayName() + ']';
  }
}

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

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

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

/**
 * Formats this {@code Element} as a tree.
 * This method is used for debugging purpose only.
 */
@Debug
@Override
public String toString() {
  final StringBuilder buffer = new StringBuilder();
  format(buffer, 0, System.lineSeparator());
  return buffer.toString();
}

相关文章