Package org.waveprotocol.box.search.impl.SearchResponseImpl

Examples of org.waveprotocol.box.search.impl.SearchResponseImpl.DigestImpl


  public void copyFrom(SearchResponse message) {
    setQuery(message.getQuery());
    setTotalResults(message.getTotalResults());
    clearDigests();
    for (Digest field : message.getDigests()) {
      addDigests(new DigestImpl(field));
    }
  }
View Full Code Here


    }
  }

  @Override
  public DigestImpl getDigests(int n) {
    return new DigestImpl(digests.get(n));
  }
View Full Code Here

    return new DigestImpl(digests.get(n));
  }

  @Override
  public void setDigests(int n, Digest message) {
    this.digests.set(n, new DigestImpl(message));
  }
View Full Code Here

    return digests.size();
  }

  @Override
  public void addDigests(Digest message) {
    this.digests.add(new DigestImpl(message));
  }
View Full Code Here

TOP

Related Classes of org.waveprotocol.box.search.impl.SearchResponseImpl.DigestImpl

Copyright © 2018 www.massapicom. 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.