Examples of out()


Examples of com.foundationdb.util.tap.InOutTap.out()

        InOutTap actionTap = actionTap(action);
        actionTap.in();
        try {
            handler.handleRow(groupIndex, row, action);
        } finally {
            actionTap.out();
        }
    }

    private static StoreGIHandler.Action invert(StoreGIHandler.Action action) {
        switch (action) {
View Full Code Here

Examples of com.google.sitebricks.client.Transport.out()

        } finally {
          inputStream.close();
        }
      } else {
        // TODO(dhanji): This feels wrong to me. We need a better way to obtain the entity type.
        transport.out(response.getOutputStream(), (Class<E>) entity.getClass(), entity);
      }
    }
  }
 
  @Override
View Full Code Here

Examples of com.laamella.javamodel.Block.out()

                .out("case CHARACTERS:")

                .in();
        createSimpleTypeHandlerCall(element, "xmlr.getText()", reader);

        reader
                .out("break;")
                .close()
                .close("while (xmlr.hasNext());")
                .add(fail("Unclosed element"));
View Full Code Here

Examples of com.tinkerpop.gremlin.structure.Vertex.out()

        printTraversalForm(traversal);
        int count = 0;
        while (traversal.hasNext()) {
            final Vertex vertex = traversal.next();
            assertEquals(convertToVertexId("lop"), vertex.id());
            assertEquals(1, vertex.out("createdBy").count().next().longValue());
            assertEquals(convertToVertexId("marko"), vertex.out("createdBy").id().next());
            assertEquals(0, vertex.outE("createdBy").valueMap().next().size());
            count++;

        }
View Full Code Here

Examples of douyu.mvc.ViewManager.out()

    for (Map.Entry<String, Object> e : viewArgs.entrySet()) {
      vm.put(e.getKey(), e.getValue());
    }

    if (viewFileName == null)
      vm.out();
    else
      vm.out(viewFileName);
  }

  @Override
View Full Code Here

Examples of douyu.mvc.ViewManager.out()

    }

    if (viewFileName == null)
      vm.out();
    else
      vm.out(viewFileName);
  }

  @Override
  public void out(String viewFileName) {
    String extension = null;
View Full Code Here

Examples of java.util.Formatter.out()

                e.printStackTrace();
            }
        }
        if (found)
        {
            return (StringBuilder) f.out();
        }
        else
        {
            return b.toString();
        }
View Full Code Here

Examples of java.util.Formatter.out()

  public String toString(Locale l) {
    Calendar c = Calendar.getInstance(getTimeZone());
    c.setTimeInMillis(getRawTime());
    Formatter f = new Formatter(new StringBuilder(), l);
    f.format("%ta %<tb %<td %<tH:%<tM:%<tS %<tY %<tz", c);
    return f.out().toString();
  }

  public int compareTo(HgDate o) {
    return (int) (time - o.time);
  }
View Full Code Here

Examples of java.util.Formatter.out()

        ugi = ShimLoader.getHadoopShims().getUGIForConf(getConf());
      } catch (Exception ex) {
        throw new RuntimeException(ex);
      }
      final Formatter fmt = auditFormatter.get();
      ((StringBuilder) fmt.out()).setLength(0);

      String address;
      if (useSasl) {
        address = saslServer.getRemoteAddress().toString();
      } else {
View Full Code Here

Examples of java.util.Formatter.out()

            dir.mkdirs();
            String dest = format.format(destPattern, i).toString();
            if (i % REPORT_FREQUENCY == 0) {
                logger.info("Copying to " + dest);
            }
            ((StringBuilder) format.out()).setLength(0);
            threadPool.submit(loaderPool.getLoader(srcChannel, dest, i));
        }
    }

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.