public String toString()
 {
   Objects.ToStringHelper localToStringHelper = Objects.toStringHelper(this);
   if (this.c != -1)
     localToStringHelper.add("initialCapacity", Integer.valueOf(this.c));
   if (this.d != -1)
     localToStringHelper.add("concurrencyLevel", Integer.valueOf(this.d));
   if (this.e != -1)
     localToStringHelper.add("maximumSize", Integer.valueOf(this.e));
   if (this.h != -1L)
     localToStringHelper.add("expireAfterWrite", this.h + "ns");
   if (this.i != -1L)
     localToStringHelper.add("expireAfterAccess", this.i + "ns");
   if (this.f != null)
     localToStringHelper.add("keyStrength", Ascii.toLowerCase(this.f.toString()));
   if (this.g != null)
     localToStringHelper.add("valueStrength", Ascii.toLowerCase(this.g.toString()));
   if (this.k != null)
     localToStringHelper.addValue("keyEquivalence");
   if (this.l != null)
     localToStringHelper.addValue("valueEquivalence");
   if (this.a != null)
     localToStringHelper.addValue("removalListener");
   return localToStringHelper.toString();
 }
Ejemplo n.º 2
0
 /** {@inheritDoc} */
 @Override
 public String toString() {
   Objects.ToStringHelper helper = Objects.toStringHelper(this);
   for (Column<?> column : columns) {
     helper.add(column.getFieldName(), column.getComposedValue());
   }
   return helper.toString();
 }
Ejemplo n.º 3
0
 @Override
 public String toString() {
   Objects.ToStringHelper helper =
       Objects.toStringHelper(this).add("name", name).add("field", field).add("type", colType);
   if (colType == ColType.MULTIVALUE) {
     helper.add("cols", names);
   }
   return helper.toString();
 }
Ejemplo n.º 4
0
 @Override
 public String debugString() {
   Objects.ToStringHelper toStrHelper = Objects.toStringHelper(this);
   String tblNameStr = (tblName == null ? "null" : tblName.toString());
   toStrHelper.add("tblName", tblNameStr);
   toStrHelper.add("col", col);
   String idStr = (desc == null ? "null" : Integer.toString(desc.getId().asInt()));
   toStrHelper.add("id", idStr);
   return toStrHelper.toString();
 }