Examples of ToStringBuilder


Examples of org.apache.commons.lang.builder.ToStringBuilder

  /**
   *
   */
  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)
    .append("header", header).toString();
  }
View Full Code Here

Examples of org.apache.commons.lang.builder.ToStringBuilder

  /**
   *
   */
  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)
    .append("header", header)
    .append("randSeed1", randSeed1)
    .append("randSeed2", randSeed2).toString();
  }
View Full Code Here

Examples of org.apache.commons.lang.builder.ToStringBuilder

  /**
   *
   */
  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)
    .append("header", header)
    .append("tableId", tableId)
    .append("reserved", reserved)
    .append("extraInfoLength", extraInfoLength)
    .append("extraInfo", extraInfo)
View Full Code Here

Examples of org.apache.commons.lang.builder.ToStringBuilder

        return text.contains(tableStart) && text.contains(tableEnd);
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append(format).append(output).toString();
    }
View Full Code Here

Examples of org.apache.commons.lang.builder.ToStringBuilder

    public int hashCode() {
        return (name != null ? name.hashCode() : 0);
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.SIMPLE_STYLE)
                .append(this.name)
                .toString();
    }
View Full Code Here

Examples of org.apache.commons.lang.builder.ToStringBuilder

    public int hashCode() {
        return (name != null ? name.hashCode() : 0);
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.SIMPLE_STYLE)
                .append(this.name)
                .toString();
    }
View Full Code Here

Examples of org.apache.commons.lang.builder.ToStringBuilder

            this.append = append;
        }

        @Override
        public String toString() {
            return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append(outputFile).append(append)
                    .toString();
        }
View Full Code Here

Examples of org.apache.commons.lang.builder.ToStringBuilder

            return CompareToBuilder.reflectionCompare(this.getName(), that.getName());
        }

        @Override
        public String toString() {
            return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append(path).toString();
        }
View Full Code Here

Examples of org.apache.commons.lang.builder.ToStringBuilder

        data.put(event, 0);
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append(output).append(data).toString();
    }
View Full Code Here

Examples of org.apache.commons.lang3.builder.ToStringBuilder

    }
  }

  @Override
  public String toString() {
    final ToStringBuilder sb = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
    if (ArrayUtils.isNotEmpty(configurationClasses)) {
      final String[] names = new String[configurationClasses.length];
      for (int i = 0; i < names.length; i++) {
        names[i] = configurationClasses[i].getName();
      }
      sb.append("configurationClasses", Arrays.toString(names));
    }
    if (ArrayUtils.isNotEmpty(configurationPackages)) {
      final String[] names = new String[configurationPackages.length];
      for (int i = 0; i < names.length; i++) {
        names[i] = configurationPackages[i].getName();
      }
      sb.append("configurationPackages", Arrays.toString(names));
    }

    if (!CollectionUtils.isEmpty(jvmSystemProperties)) {
      final StringWriter sw = new StringWriter(256);
      try {
        jvmSystemProperties.store(sw, "JVM System Propperties");
      } catch (final IOException e) {
        throw new RuntimeException(e);
      }
      sb.append("jvmSystemProperties", sw.toString());
    }
    return sb.toString();
  }
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.