Package cx.ath.troja.chordless.dhash

Examples of cx.ath.troja.chordless.dhash.Entry


          public Collection<Triple> call() throws Exception {
            try {
              /*
               * get the entry, if available
               */
              Entry res = p2pStorage.get(Identifier
                  .generate(locationKey));
              if (res.getValueClassName().equals("cx.ath.troja.chordless.ChordSet")) {
                cx.ath.troja.chordless.ChordSet<Triple> s = (ChordSet<Triple>) res
                    .getValue();
                return s;
              } else {
                Logger.getLogger(getClass()).warn("Unknown type: " + res.getValueClassName());
              }
              return new LinkedList<Triple>();
            } catch (NoSuchEntryException e) {
              /*
               * no entry found in local storage, so return empty list!
View Full Code Here

TOP

Related Classes of cx.ath.troja.chordless.dhash.Entry

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.