Codota Logo
CaseInsensitiveSet.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.javalite.activejdbc.CaseInsensitiveSet
constructor

Best Java code snippets using org.javalite.activejdbc.CaseInsensitiveSet.<init> (Showing top 12 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: javalite/activejdbc

/**
 * Finds all attribute names except those provided as arguments.
 * @return list of all attributes except those provided as arguments.
 */
public Set<String> getAttributeNamesSkip(String ... names) {
  Set<String> attributes = new CaseInsensitiveSet(getAttributeNames());
  for (String name : names) {
    attributes.remove(name);
  }
  return attributes;
}
origin: javalite/activejdbc

/**
 * Finds all attribute names except managed like <code>id</code>,
 * <code>created_at</code>, <code>updated_at</code> and <code>record_version</code>, depending on argument.
 *
 * @param managed if true, time managed attributes <code>created_at</code> and <code>updated_at</code> will not be included (they are managed automatically).
 *                If false (not managed) <code>created_at</code> and <code>updated_at</code> will be included in output.
 * @return list of all attributes except <code>id</code>, <code>created_at</code>, <code>updated_at</code> and
 * <code>record_version</code>, depending on argument.
 */
public Set<String> getAttributeNamesSkipGenerated(boolean managed) {
  //TODO: can cache this, but will need a cache for managed=true an another for managed=false
  Set<String> attributesNames = new CaseInsensitiveSet(getAttributeNamesSkipId());
  if(managed){
    attributesNames.remove("created_at");
    attributesNames.remove("updated_at");
  }
  attributesNames.remove(versionColumn);
  return attributesNames;
}
origin: javalite/activejdbc

/**
 * Finds all attribute names except for id.
 *
 * @return all attribute names except for id.
 */
public Set<String> getAttributeNamesSkipId() {
  if (attributeNamesNoId == null) {//no one cares about unfortunate multi-threading timing with 2 instances created
    //if someone does, use DCL with volatile
    Set<String> attributesNames = new CaseInsensitiveSet(getAttributeNames());
    attributesNames.remove(getIdName());
    attributeNamesNoId = attributesNames;
  }
  return attributeNamesNoId;
}
origin: org.javalite/activejdbc

/**
 * Finds all attribute names except those provided as arguments.
 * @return list of all attributes except those provided as arguments.
 */
public Set<String> getAttributeNamesSkip(String ... names) {
  Set<String> attributes = new CaseInsensitiveSet(getAttributeNames());
  for (String name : names) {
    attributes.remove(name);
  }
  return attributes;
}
origin: Bkm016/TabooLib

/**
 * Finds all attribute names except those provided as arguments.
 *
 * @return list of all attributes except those provided as arguments.
 */
public Set<String> getAttributeNamesSkip(String... names) {
  Set<String> attributes = new CaseInsensitiveSet(getAttributeNames());
  for (String name : names) {
    attributes.remove(name);
  }
  return attributes;
}
origin: com.github.tchoulihan/activejdbc

/**
 * Finds all attribute names except those provided as arguments.
 * @return list of all attributes except those provided as arguments.
 */
public Set<String> getAttributeNamesSkip(String ... names) {
  Set<String> attributes = new CaseInsensitiveSet(getAttributeNames());
  for (String name : names) {
    attributes.remove(name);
  }
  return attributes;
}
origin: Bkm016/TabooLib

/**
 * Finds all attribute names except managed like <code>id</code>,
 * <code>created_at</code>, <code>updated_at</code> and <code>record_version</code>, depending on argument.
 *
 * @param managed if true, time managed attributes <code>created_at</code> and <code>updated_at</code> will not be included (they are managed automatically).
 *                If false (not managed) <code>created_at</code> and <code>updated_at</code> will be included in output.
 * @return list of all attributes except <code>id</code>, <code>created_at</code>, <code>updated_at</code> and
 * <code>record_version</code>, depending on argument.
 */
public Set<String> getAttributeNamesSkipGenerated(boolean managed) {
  //TODO: can cache this, but will need a cache for managed=true an another for managed=false
  Set<String> attributesNames = new CaseInsensitiveSet(getAttributeNamesSkipId());
  if (managed) {
    attributesNames.remove("created_at");
    attributesNames.remove("updated_at");
  }
  attributesNames.remove(versionColumn);
  return attributesNames;
}
origin: org.javalite/activejdbc

/**
 * Finds all attribute names except managed like <code>id</code>,
 * <code>created_at</code>, <code>updated_at</code> and <code>record_version</code>, depending on argument.
 *
 * @param managed if true, time managed attributes <code>created_at</code> and <code>updated_at</code> will not be included (they are managed automatically).
 *                If false (not managed) <code>created_at</code> and <code>updated_at</code> will be included in output.
 * @return list of all attributes except <code>id</code>, <code>created_at</code>, <code>updated_at</code> and
 * <code>record_version</code>, depending on argument.
 */
public Set<String> getAttributeNamesSkipGenerated(boolean managed) {
  //TODO: can cache this, but will need a cache for managed=true an another for managed=false
  Set<String> attributesNames = new CaseInsensitiveSet(getAttributeNamesSkipId());
  if(managed){
    attributesNames.remove("created_at");
    attributesNames.remove("updated_at");
  }
  attributesNames.remove(versionColumn);
  return attributesNames;
}
origin: com.github.tchoulihan/activejdbc

/**
 * Finds all attribute names except managed like <code>id</code>,
 * <code>created_at</code>, <code>updated_at</code> and <code>record_version</code>, depending on argument.
 *
 * @param managed if true, time managed attributes <code>created_at</code> and <code>updated_at</code> will not be included (they are managed automatically).
 *                If false (not managed) <code>created_at</code> and <code>updated_at</code> will be included in output.
 * @return list of all attributes except <code>id</code>, <code>created_at</code>, <code>updated_at</code> and
 * <code>record_version</code>, depending on argument.
 */
public Set<String> getAttributeNamesSkipGenerated(boolean managed) {
  //TODO: can cache this, but will need a cache for managed=true an another for managed=false
  Set<String> attributes = new CaseInsensitiveSet(getAttributeNamesSkipId());
  if(managed){
    attributes.remove("created_at");
    attributes.remove("updated_at");
  }
  attributes.remove(versionColumn);
  return attributes;
}
origin: com.github.tchoulihan/activejdbc

/**
 * Finds all attribute names except for id.
 *
 * @return all attribute names except for id.
 */
public Set<String> getAttributeNamesSkipId() {
  if (attributeNamesNoId == null) {//no one cares about unfortunate multi-threading timing with 2 instances created
    //if someone does, use DCL with volatile
    Set<String> attributes = new CaseInsensitiveSet(getAttributeNames());
    attributes.remove(getIdName());
    attributeNamesNoId = attributes;
  }
  return attributeNamesNoId;
}
origin: Bkm016/TabooLib

/**
 * Finds all attribute names except for id.
 *
 * @return all attribute names except for id.
 */
public Set<String> getAttributeNamesSkipId() {
  if (attributeNamesNoId == null) {//no one cares about unfortunate multi-threading timing with 2 instances created
    //if someone does, use DCL with volatile
    Set<String> attributesNames = new CaseInsensitiveSet(getAttributeNames());
    attributesNames.remove(getIdName());
    attributeNamesNoId = attributesNames;
  }
  return attributeNamesNoId;
}
origin: org.javalite/activejdbc

/**
 * Finds all attribute names except for id.
 *
 * @return all attribute names except for id.
 */
public Set<String> getAttributeNamesSkipId() {
  if (attributeNamesNoId == null) {//no one cares about unfortunate multi-threading timing with 2 instances created
    //if someone does, use DCL with volatile
    Set<String> attributesNames = new CaseInsensitiveSet(getAttributeNames());
    attributesNames.remove(getIdName());
    attributeNamesNoId = attributesNames;
  }
  return attributeNamesNoId;
}
org.javalite.activejdbcCaseInsensitiveSet<init>

Popular methods of CaseInsensitiveSet

  • addAll

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • findViewById (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JLabel (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
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