Examples of removeLast()


Examples of com.asakusafw.compiler.common.JavaName.removeLast()

        }
        if (segments.get(0).equals("get") == false
                || segments.get(segments.size() - 1).equals("option") == false) {
            return null;
        }
        name.removeLast();
        name.removeFirst();
        String propertyName = name.toMemberName();
        return new DefaultPropertyMirror(propertyName, element);
    }
View Full Code Here

Examples of com.asakusafw.compiler.common.JavaName.removeLast()

        }
        if (segments.get(0).equals("get") == false
                || segments.get(segments.size() - 1).equals("option") == false) {
            return null;
        }
        name.removeLast();
        name.removeFirst();
        return name.toMemberName();
    }

    /**
 
View Full Code Here

Examples of com.carrotsearch.hppc.IntDeque.removeLast()

      deque = new IntArrayDeque();
     
      for (j=0; j<len; j++)
        deque.addLast(j);
     
      deque.removeLast();
    }
   
    et = System.currentTimeMillis();
    System.out.println(et-st);
  }
View Full Code Here

Examples of com.cxy.redisclient.service.ListService.removeLast()

  }
 
  public void testRemove() {
    ListService service = new ListService();
    service.removeFirst(1, 0, "mylist");
    service.removeLast(1, 0, "mylist");
  }

}
View Full Code Here

Examples of java.util.LinkedList.removeLast()

          if ( stack.size() == 0 ){
           
            break;
          }
         
          node = (DHTRouterNodeImpl)stack.removeLast();
        }
      }
    }finally{
     
      this_mon.exit();
View Full Code Here

Examples of java.util.LinkedList.removeLast()

      for (int i = 0; i < priorities; i++)
      {
         LinkedList ll = linkedLists[i];
         if (!ll.isEmpty())
         {
            obj = ll.removeLast();
         }
         if (obj != null)
         {
            break;
         }
View Full Code Here

Examples of java.util.LinkedList.removeLast()

            throw new DeploymentSyntaxException("No fileName specified for package command");
        }

        // Read off packageFile which is always the last argument
        File packageFile;
        packageFile = new File((String) args.removeLast());
        File parent = packageFile.getAbsoluteFile().getParentFile();
        if (!parent.exists() || !parent.canWrite()) {
            throw new DeploymentSyntaxException("Cannot write to output file " + packageFile.getAbsolutePath());
        }
View Full Code Here

Examples of java.util.LinkedList.removeLast()

        // Read off the plan and module
        File module = null;
        File plan = null;
        if (!args.isEmpty()) {
            // if the arg is a directory or jar file, it must be the module; otherwise it is the plan
            File test = new File((String) args.removeLast()).getAbsoluteFile();
            if (DeployUtils.isJarFile(test) || test.isDirectory()) {
                module = test;
            } else {
                plan = test;
            }
View Full Code Here

Examples of java.util.LinkedList.removeLast()

            } else {
                plan = test;
            }
        }
        if (!args.isEmpty()) {
            File test = new File((String) args.removeLast()).getAbsoluteFile();
            if (DeployUtils.isJarFile(test) || test.isDirectory()) {
                if (module != null) {
                    throw new DeploymentSyntaxException("Module and plan cannot both be JAR files or directories!");
                }
                module = test;
View Full Code Here

Examples of java.util.LinkedList.removeLast()

    //  no change, stays with no styling
    // If there is styling:
    //  everthing gets the same style that the first block has
    if(_styleAtom != null) {
      LinkedList pStyles = _styleAtom.getParagraphStyles();
      while(pStyles.size() > 1) { pStyles.removeLast(); }
     
      LinkedList cStyles = _styleAtom.getCharacterStyles();
      while(cStyles.size() > 1) { cStyles.removeLast(); }
     
      _rtRuns[0].setText(s);
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.