@Override public String toString() { return alias == null ? nodes.toString() : nodes + " as " + alias; }
@Override public String toString() { return values.toString(); }
/** * Constructor * * @param executable File pointing at the PhantomJS executable. * @param port Which port to start the PhantomJS/GhostDriver on. * @param args The arguments to the launched server. * @param environment The environment for the launched server. * @throws java.io.IOException If an I/O error occurs. */ private PhantomJSDriverService(File executable, int port, ImmutableList<String> args, ImmutableMap<String, String> environment) throws IOException { super(executable, port, args, environment); // Print out the parameters used to launch PhantomJS Driver Service LOG.info("executable: " + executable.getAbsolutePath()); LOG.info("port: " + port); LOG.info("arguments: " + args.toString()); LOG.info("environment: " + environment.toString()); }
public void testMethod_declaredBySuperclass() throws Exception { Method toStringMethod = Object.class.getMethod("toString"); ImmutableList<String> list = ImmutableList.of("foo"); assertEquals(list.toString(), TypeToken.of(List.class).method(toStringMethod).invoke(list)); }
output.put(result.getTypeName(), query.getAttr().toString());
Collections.singletonList("v1") ).toString(), shardSpec2.getGroupKey(time.getMillis(), inputRow).toString());
String msgTxt = "The local appium server has not been started. " + "The given Node.js executable: " + this.nodeJSExec.getAbsolutePath() + " Arguments: " + nodeJSArgs.toString() + " " + "\n"; if (process != null) { String processStream = process.getStdOut();
/** * Returns a string describing the CSV file. * * @return the descriptive string */ @Override public String toString() { return "CsvRow" + fields.toString(); }
/** * Returns a string describing the CSV iterator. * * @return the descriptive string */ @Override public String toString() { return "CsvIterator" + headers.toString(); }
@Override public String toString() { return this.list.toString(); }
@Override public String toString() { return this.list.toString(); }
@Override public String toString() { return "ContextMatch" + matchElements.toString(); } }
public InvalidChangeBatchException(ImmutableList<String> messages, HttpResponseException cause) { super(messages.toString(), cause); this.messages = messages; }
/** * Compares the key of two sensitivity objects, excluding the parameter sensitivity values. * * @param other the other sensitivity object * @return positive if greater, zero if equal, negative if less */ public int compareKey(CrossGammaParameterSensitivity other) { return ComparisonChain.start() .compare(marketDataName, other.marketDataName) .compare(order.toString(), other.order.toString()) .compare(currency, other.currency) .result(); }
@Override public String visitAclIpSpace(AclIpSpace aclIpSpace) { String metadataDescription = computeMetadataDescription(aclIpSpace); if (metadataDescription != null) { return metadataDescription; } ImmutableList.Builder<String> lineDescs = ImmutableList.builder(); CommonUtil.<AclIpSpaceLine>forEachWithIndex( aclIpSpace.getLines(), (i, line) -> lineDescs.add(String.format("%d: %s", i, line.getIpSpace().accept(this)))); return lineDescs.build().toString(); }
@Test public void test() { InputStream is = getClass().getResourceAsStream("/records_by_name_and_type.xml"); FluentIterable<ResourceRecordDetail> expected = expected(); ResourceRecordListHandler handler = injector.getInstance(ResourceRecordListHandler.class); FluentIterable<ResourceRecordDetail> result = factory.create(handler).parse(is); assertEquals(result.toList().toString(), expected.toList().toString()); }
@Test public void test() { InputStream is = getClass().getResourceAsStream("/records.xml"); FluentIterable<ResourceRecordDetail> expected = expected(); ResourceRecordListHandler handler = injector.getInstance(ResourceRecordListHandler.class); FluentIterable<ResourceRecordDetail> result = factory.create(handler).parse(is); assertEquals(result.toList().toString(), expected.toList().toString()); }
@Override public AnswerId getFinalAnswerId(AnswerId baseAnswerId, Set<IssueSettingsId> issueSettingsIds) { return new AnswerId( hash( ImmutableList.of( baseAnswerId, ImmutableSortedSet.copyOf( Comparator.comparing(IssueSettingsId::getId), issueSettingsIds)) .toString())); }
@Override public String toString(){ String typeString = getSchemaConcept() != null? getSchemaConcept().label().getValue() : "{" + inferPossibleTypes(new ConceptMapImpl()).stream().map(rt -> rt.label().getValue()).collect(Collectors.joining(", ")) + "}"; String relationString = (isUserDefined()? getVarName() + " ": "") + typeString + (getPredicateVariable().isUserDefinedName()? "(" + getPredicateVariable() + ")" : "") + (isDirect()? "!" : "") + getRelationPlayers().toString(); return relationString + getPredicates(Predicate.class).map(Predicate::toString).collect(Collectors.joining("")); }
public void testMethod_declaredBySuperclass() throws Exception { Method toStringMethod = Object.class.getMethod("toString"); ImmutableList<String> list = ImmutableList.of("foo"); assertEquals(list.toString(), TypeToken.of(List.class).method(toStringMethod).invoke(list)); }