Examples of members()


Examples of org.locationtech.udig.catalog.jgrass.core.JGrassMapsetGeoResource.members()

         */
        public Object[] getChildren( Object arg0 ) {

            if (arg0 instanceof JGrassMapsetGeoResource) {
                JGrassMapsetGeoResource map = (JGrassMapsetGeoResource) arg0;
                List<IResolve> layers = map.members(null);
                if (layers == null)
                    return null;
                return filteredLayers(layers);
            } else if (arg0 instanceof JGrassMapGeoResource) {
                return null;
View Full Code Here

Examples of org.locationtech.udig.catalog.jgrass.core.JGrassService.members()

            if (arg0 instanceof JGrassService) {
                JGrassService map = (JGrassService) arg0;
                List<IResolve> layers = null;
                try {
                    layers = map.members(null);
                } catch (IOException e) {
                    e.printStackTrace();
                }
                if (layers == null)
                    return null;
View Full Code Here

Examples of org.nemesis.forum.Group.members()

            ub.setName(u.getName());
            ub.setUserName(u.getUsername());
            ub.setEmail(u.getEmail());
            b.addAdmin(ub);
          }
          for(Iterator it=group.members();it.hasNext();){
            u=(User)it.next();
            ub = new UserBean();
            ub.setId(u.getID());
            ub.setName(u.getName());
            ub.setUserName(u.getUsername());
View Full Code Here

Examples of org.omg.CORBA.EnumDef.members()

     */
    public org.jacorb.ir.gui.typesystem.ModelParticipant[] contents()
    {
        EnumDef enumDef =
            EnumDefHelper.narrow((org.omg.CORBA.Object)this.irObject);
        String[] contents = enumDef.members()
        org.jacorb.ir.gui.typesystem.TypeSystemNode[] result =
            new org.jacorb.ir.gui.typesystem.TypeSystemNode[contents.length];
        for (int i=0; i<contents.length; i++)
        {
            result[i] = RemoteTypeSystem.createTypeSystemNode(contents[i]);
View Full Code Here

Examples of org.omg.CORBA.ExceptionDef.members()

     */

    public org.jacorb.ir.gui.typesystem.ModelParticipant[] contents()
    {
  ExceptionDef exceptionDef = ExceptionDefHelper.narrow((org.omg.CORBA.Object)this.irObject);
  StructMember[] contents = exceptionDef.members()

  org.jacorb.ir.gui.typesystem.TypeSystemNode[] result =
            new org.jacorb.ir.gui.typesystem.TypeSystemNode[contents.length];

  for (int i=0; i<contents.length; i++)
View Full Code Here

Examples of org.omg.CORBA.StructDef.members()

     */

    public org.jacorb.ir.gui.typesystem.ModelParticipant[] contents()
    {
        StructDef structDef = StructDefHelper.narrow((org.omg.CORBA.Object)this.irObject);
        StructMember[] members = structDef.members();  
        Contained[] contents = structDef.contents( org.omg.CORBA.DefinitionKind.dk_all, false);

        org.jacorb.ir.gui.typesystem.TypeSystemNode[] result =
            new org.jacorb.ir.gui.typesystem.TypeSystemNode[members.length + contents.length];

View Full Code Here

Examples of org.omg.CORBA.UnionDef.members()

     */
    public org.jacorb.ir.gui.typesystem.ModelParticipant[] contents()
    {
        UnionDef unionDef =
            UnionDefHelper.narrow((org.omg.CORBA.Object)this.irObject);
        UnionMember[] members = unionDef.members();    
        Contained[] contents = unionDef.contents( org.omg.CORBA.DefinitionKind.dk_all, false)

        org.jacorb.ir.gui.typesystem.TypeSystemNode[] result =
            new org.jacorb.ir.gui.typesystem.TypeSystemNode[members.length + contents.length];
        for (int i=0; i<members.length; i++) {
View Full Code Here

Examples of org.robotninjas.barge.log.RaftLog.members()

    LOGGER.debug("Election starting for term {}", log.currentTerm());

    List<ListenableFuture<RequestVoteResponse>> responses = Lists.newArrayList();
    // Request votes from peers
    for (Replica replica : log.members()) {
      responses.add(sendVoteRequest(ctx, replica));
    }
    // We always vote for ourselves
    responses.add(Futures.immediateFuture(RequestVoteResponse.newBuilder().setVoteGranted(true).build()));
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.