Examples of last()


Examples of reactor.io.Buffer.last()

      }

      int start = 0;
      for (Buffer.View view : buffer.split('\n', false)) {
        Buffer b = view.get();
        if (b.last() != '\n') {
          remainder = view;
          return null;
        }
        String s = b.asString();
        if (null != line) {
View Full Code Here

Examples of tokyocabinet.BDBCUR.last()

      return;
    }
       
    //the input is all that was found. jump to last record.
    if( Arrays.equals(nextKey.get(0),key.getBytes()) && nextKey.size() == 1){
      if(!cursor.last())
        throw new RuntimeException("Can't jump to last record");
    }else{
   
      //jump to key ahead of our input key
      if(nextKey.size() == 1){   
View Full Code Here

Examples of ucar.ma2.Range.last()

        if (r == null)
          r = new Range( 0, v.getDimension(count).getLength());
        if (count>0) sb.append(", ");
        sb.append(r.first());
        sb.append(':');
        sb.append(r.last());
        sb.append(':');
        sb.append(r.stride());
      }
      sb.append(')');
    }
View Full Code Here

Examples of wyfs.util.Trie.last()

  public Path.ID resolveAsModule(String name, Context context)
      throws IOException, ResolveError {

    for (WhileyFile.Import imp : context.imports()) {
      Trie filter = imp.filter;
      String last = filter.last();
      if (last.equals("*")) {
        // this is generic import, so narrow the filter.
        filter = filter.parent().append(name);
      } else if (!last.equals(name)) {
        continue; // skip as not relevant
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.