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

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

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

/**
 * 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.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 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-utility

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

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

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

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

/**
   * Returns a string representation of this association role.
   * The returned string is for debugging purpose and may change in any future SIS version.
   *
   * @return a string representation of this association role for debugging purpose.
   */
  @Debug
  @Override
  public String toString() {
    return toString(deprecated, "FeatureAssociationRole", getName(), valueType.getName()).toString();
  }
}

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

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

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

/**
 * Returns the internal parameter values.
 * This is used only for debugging purpose.
 */
@Debug
@Override
public ParameterValueGroup getParameterValues() {
  final ParameterValueGroup pg = getParameterDescriptors().createValue();
  pg.values().addAll(EllipsoidToCentricTransform.this.getParameterValues().values());
  return pg;
}

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

/**
   * Returns a tree representation of this converter.
   * The tree leaves represent the backing converters.
   */
  @Debug
  @Override
  public String toString() {
    final TreeTable table = Column.createTable();
    toTree(table.getRoot(), true);
    return Column.format(table);
  }
}

相关文章

微信公众号

最新文章

更多

Debug类方法