Examples of repeat()


Examples of com.ibm.commons.util.FastStringBuffer.repeat()

        FastStringBuffer b = new FastStringBuffer();
        int colCount = table.getColumnCount();
        for( int i=0; i<colCount; i++ ) {
            int sz = Math.min(table.getColumnSize(i),getMaxColSize());
            b.append( '+' );
            b.repeat( '-', sz );
        }
        b.append( '+' );
        println( b.toString() );
    }
    private void prtHeader() throws Exception {
View Full Code Here

Examples of dk.brics.automaton.Automaton.repeat()

      for (int child : n.getContents()) {
        autos.add(graph.getNode(child).process(this));
      }
      Automaton result = Automaton.union(autos);
      if (n instanceof InterleaveNode)
        result = result.repeat(1);
      return result;
    }
   
    @Override
    public Automaton process(SequenceNode n) {
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.processor.Request.RepeatMarker.repeat()

            @Override
            public void writeElement(final Request request, final RequestContext context, final ObjectAdapter element) {
                context.addVariable(variable, context.mapObject(element, Scope.REQUEST), Scope.REQUEST);
                final RepeatMarker end = request.createMarker();
                final RepeatMarker marker = block.getMarker();
                marker.repeat();
                request.processUtilCloseTag();
                end.repeat();
            }
        };
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.processor.Request.RepeatMarker.repeat()

        final String name = request.getOptionalProperty(NAME, "unamed");
        request.closeEmpty();
        final RepeatMarker end = request.createMarker();

        final RepeatMarker marker = (RepeatMarker) request.getContext().getVariable("_block-" + name);
        marker.repeat();

        request.processUtilCloseTag();
        end.repeat();
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.processor.Request.RepeatMarker.repeat()

                context.addVariable("row", "" + (row + 1), Scope.REQUEST);
                if (rowClassesList != null) {
                    context.addVariable("row-class", rowClasses[row % rowClasses.length], Scope.REQUEST);
                }
                context.addVariable(variable, context.mapObject(element, scope), scope);
                marker.repeat();
                request.processUtilCloseTag();
                row++;
            }
        }
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.processor.Request.RepeatMarker.repeat()

                context.addVariable("row", "" + (row + 1), Scope.REQUEST);
                if (rowClassesList != null) {
                    context.addVariable("row-class", rowClasses[row % rowClasses.length], Scope.REQUEST);
                }
                context.addVariable(variable, context.mapObject(element, scope), scope);
                marker.repeat();
                request.processUtilCloseTag();
                row++;
            }
        }
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.processor.Request.RepeatMarker.repeat()

            @Override
            public void writeElement(final Request request, final RequestContext context, final ObjectAdapter element) {
                context.addVariable(variable, context.mapObject(element, Scope.REQUEST), Scope.REQUEST);
                final RepeatMarker end = request.createMarker();
                final RepeatMarker marker = block.getMarker();
                marker.repeat();
                request.processUtilCloseTag();
                end.repeat();
            }
        };
    }
View Full Code Here

Examples of org.apache.isis.viewer.scimpi.dispatcher.processor.Request.RepeatMarker.repeat()

            @Override
            public void writeElement(final Request request, final RequestContext context, final ObjectAdapter element) {
                context.addVariable(variable, context.mapObject(element, Scope.REQUEST), Scope.REQUEST);
                final RepeatMarker end = request.createMarker();
                final RepeatMarker marker = block.getMarker();
                marker.repeat();
                request.processUtilCloseTag();
                end.repeat();
            }
        };
    }
View Full Code Here

Examples of org.jfugue.Pattern.repeat()

  public void testPlay(final int times){
    Thread hilo = new Thread() {
      @Override
      public void run() {
        Pattern pattern = getRhythmPattern();
        pattern.repeat(times);
        Player player = new Player();
        player.play(pattern);       
      }
    };
    hilo.start();
View Full Code Here

Examples of org.jfugue.Pattern.repeat()

   
  }

  public void addRhythm(YMLRhythm rhythm, int times) {
    Pattern p = rhythm.getRhythmPattern();
    p.repeat(times);
    song.add(p);
  }

  public void addRhythm(YMLRhythm rhythm) {
    addRhythm(rhythm, 1);
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.