Examples of accept()


Examples of railo.commons.io.res.util.WildCardFilter.accept()

      Entry<String, String> entry;
      String value;
      while(it.hasNext()) {
        entry = it.next();
        value= entry.getValue();
        if(filter.accept(value)){
          list.add(entry.getKey());
          it.remove();
        }
      }
      if(list.size()>0)JavaConverter.serialize(data, file);
View Full Code Here

Examples of reactor.net.tcp.syslog.hdfs.HdfsConsumer.accept()

         pipeline.addLast("handler", new ChannelInboundHandlerAdapter() {

           @Override
           public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
             latch.countDown();
             hdfs.accept((SyslogMessage)msg);
           }
         });
       }
     });
View Full Code Here

Examples of ro.redeul.google.go.lang.psi.GoPsiElement.accept()

            GoPsiElement goPsiElement = (GoPsiElement) element;

            try {
                annotationHolder = holder;

                goPsiElement.accept(this);
            } finally {
                annotationHolder = null;
            }
        }
    }
View Full Code Here

Examples of ro.redeul.google.go.lang.psi.expressions.GoExpr.accept()

                if (definition != null) {
                    GoConstDeclaration constDeclaration = getAs(GoConstDeclaration.class, definition.getParent());

                    GoExpr valueExpression = constDeclaration.getExpression(definition);
                    if (valueExpression != null)
                        valueExpression.accept(this);
                }
            }
        }

        @Override
View Full Code Here

Examples of ro.redeul.google.go.lang.psi.typing.GoType.accept()

        if (expr == null) return false;

        for (GoType type : expr.getType()) {
            if (type == null) continue;
            GoType underlyingType = type.underlyingType();
            return underlyingType.accept(new TypeVisitor<Boolean>(false) {
                @Override
                public Boolean visitPrimitive(GoTypePrimitive type) {
                    return type.getType() == GoTypes.Builtin.Error;
                }
            });
View Full Code Here

Examples of scala.tools.asm.ClassReader.accept()

                || args[i].indexOf('/') > -1) {
            cr = new ClassReader(new FileInputStream(args[i]));
        } else {
            cr = new ClassReader(args[i]);
        }
        cr.accept(new TraceClassVisitor(null, new ASMifier(), new PrintWriter(
                System.out)), flags);
    }

    // ------------------------------------------------------------------------
    // Classes
View Full Code Here

Examples of scala.tools.asm.signature.SignatureReader.accept()

        appendDescriptor(CLASS_SIGNATURE, signature);
        if (signature != null) {
            TraceSignatureVisitor sv = new TraceSignatureVisitor(access);
            SignatureReader r = new SignatureReader(signature);
            r.accept(sv);
            buf.append("// declaration: ").append(name)
                    .append(sv.getDeclaration()).append('\n');
        }

        appendAccess(access & ~Opcodes.ACC_SUPER);
View Full Code Here

Examples of se.despotify.domain.media.Album.accept()

    // generated tests follows

    album = store.getAlbum("02f8df4ad52d449caca8c6a25d2eca08");
    new LoadAlbum(store, album).send(connection.getProtocol());
    album.accept(new VisitorAdapter() {
      @Override
      public void visit(Album album) {
        assertEquals("spotify:album:05BIC4TZptbiQoF03QhojS", album.getSpotifyURL());
        assertEquals("http://open.spotify.com/album/05BIC4TZptbiQoF03QhojS", album.getHttpURL());
        assertNull(album.getName());
View Full Code Here

Examples of se.despotify.domain.media.Artist.accept()

    // generated tests

    artist = store.getArtist("d00d9e7b82894fb8851a109c82568eb5");
    new LoadArtist(store, artist).send(connection.getProtocol());
    artist.accept(new VisitorAdapter() {
      @Override
      public void visit(Artist artist) {
        assertEquals("d00d9e7b82894fb8851a109c82568eb5", artist.getHexUUID());
        assertEquals("spotify:artist:6kACVPfCOnqzgfEF5ryl0x", artist.getSpotifyURL());
        assertEquals("http://open.spotify.com/artist/6kACVPfCOnqzgfEF5ryl0x", artist.getHttpURL());
View Full Code Here

Examples of se.despotify.domain.media.Track.accept()

    // generated tests

    track = store.getTrack("93f98ea75b4748f797668485a3d01bd0");
    new LoadTracks(store, track).send(connection.getProtocol());
    track.accept(new VisitorAdapter() {
      @Override
      public void visit(Track track) {

        assertEquals("93f98ea75b4748f797668485a3d01bd0", track.getHexUUID());
        assertEquals("spotify:track:4vdV2Eua6RkUoUM51jdH56", track.getSpotifyURL());
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.