Examples of key()


Examples of org.strecks.validator.annotation.ValidateUrl.key()

  public ValidatorWrapper create(Annotation annot, Method method)
  {
    ValidateUrl annotation = (ValidateUrl) annot;
    UrlValidator validator = new UrlValidator();
    return create(validator, annotation.key(), annotation.order(), null, method);
  }

}
View Full Code Here

Examples of org.syrup.PTask.key()

            if (p.task() instanceof PTask)
            {
                PTask t = (PTask) p.task();
                if (p.isSecond())
                {
                    a.addAttribute("", "", "lkey", "string", t.key()
                        + "-2");
                }
                else
                {
                    a.addAttribute("", "", "lkey", "string", t.key()
View Full Code Here

Examples of play.cache.Cached.key()

          int duration = 0;
          String key = null;
          Cached cachAnno = actionMethod.getAnnotation(Cached.class);
          // Check the cache (only for GET or HEAD)
          if ((method.equals("GET") || method.equals("HEAD")) && cachAnno != null) {
            key = cachAnno.key();
            if ("".equals(key) || key == null) {
              key = "urlcache:" + req.uri() + ":" + req.queryString();
            }
            duration = cachAnno.duration();
            result = (SimpleResult) Cache.get(key);
View Full Code Here

Examples of restx.config.SettingsKey.key()

                        keys.add(ImmutableMap.<String, Object>builder()
                                .put("accessorReturnType", accessorReturnType)
                                .put("configAccessor", configAccessor)
                                .put("accessorName", methodElem.getSimpleName().toString())
                                .put("key", settingsKey.key())
                                .put("prefix", prefix)
                                .put("suffix", suffix)
                                .put("doc", settingsKey.doc())
                                .put("defaultValue", settingsKey.defaultValue())
                                .build());
View Full Code Here

Examples of tokyocabinet.BDBCUR.key()

      }   
    }
   
    //back one should be the input key, if it's not then the key
    //does not exist yet, so we add it
    if(!Arrays.equals(cursor.key(),key.getBytes())){
      if(!cursor.prev()){
        this.put(key, value);
        return;
      }
    }
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.