Codota Logo
GroupOf.kind
Code IndexAdd Codota to your IDE (free)

How to use
kind
method
in
org.rapidoid.group.GroupOf

Best Java code snippets using org.rapidoid.group.GroupOf.kind (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: rapidoid/rapidoid

@SuppressWarnings("unchecked")
public static <T extends Manageable> List<GroupOf<T>> find(String kind) {
  List<GroupOf<T>> groups = U.list();
  for (GroupOf<?> group : all()) {
    if (group.kind().equals(kind)) {
      groups.add((GroupOf<T>) group);
    }
  }
  return groups;
}
origin: rapidoid/rapidoid

  private static Btn action(final Manageable manageable, final String action) {
    String cls = manageable.getClass().getSimpleName();
    GroupOf<? extends Manageable> group = U.notNull(manageable.group(), "manageable group");
    String kind = U.notNull(group.kind(), "manageable kind");
    String id = U.notNull(manageable.id(), "manageable id");

    Btn btn = cmd(action, cls, kind, id).smallest();

    final String cmd = btn.command();
    btn.onClick(() -> manageable.runManageableAction(cmd));

    return btn;
  }
}
origin: org.rapidoid/rapidoid-web

@Override
public Object call() throws Exception {
  List<Object> info = U.list();
  Collection<? extends GroupOf<?>> targetGroups = retrieveTargetGroups();
  for (GroupOf<?> group : targetGroups) {
    List<? extends Manageable> items = group.items();
    List<String> nav = U.list(group.kind());
    info.add(h2(group.kind()));
    addInfo(baseUri, info, nav, items);
  }
  info.add(autoRefresh(2000));
  return multi(info);
}
org.rapidoid.groupGroupOfkind

Popular methods of GroupOf

  • add
  • checkDuplicates
  • checkType
  • clear
  • find
  • itemType
  • items

Popular in Java

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getSharedPreferences (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now