Examples of BooleanPreference


Examples of org.apache.mahout.cf.taste.impl.model.BooleanPreference

    this.setPreferenceSQL = setPreferenceSQL;
  }
 
  @Override
  protected Preference buildPreference(ResultSet rs) throws SQLException {
    return new BooleanPreference(getLongColumn(rs, 1), getLongColumn(rs, 2));
  }
View Full Code Here

Examples of org.apache.mahout.cf.taste.impl.model.BooleanPreference

    this.setPreferenceSQL = setPreferenceSQL;
  }
 
  @Override
  protected Preference buildPreference(ResultSet rs) throws SQLException {
    return new BooleanPreference(getLongColumn(rs, 1), getLongColumn(rs, 2));
  }
View Full Code Here

Examples of org.apache.mahout.cf.taste.impl.model.BooleanPreference

        item = buildItem(itemID);
        itemCache.put(itemID, item);
      }
      log.debug("Read item '{}' for user ID '{}'", item, userID);
      if (preferenceValueString == null) {
        prefs.add(new BooleanPreference(null, item));
      } else {
        double preferenceValue = Double.parseDouble(preferenceValueString);
        prefs.add(buildPreference(null, item, preferenceValue));
      }
    }
View Full Code Here

Examples of org.apache.mahout.cf.taste.impl.model.BooleanPreference

    this.setPreferenceSQL = setPreferenceSQL;
  }
 
  @Override
  protected Preference buildPreference(ResultSet rs) throws SQLException {
    return new BooleanPreference(getLongColumn(rs, 1), getLongColumn(rs, 2));
  }
View Full Code Here

Examples of org.apache.mahout.cf.taste.impl.model.BooleanPreference

    this.setPreferenceSQL = setPreferenceSQL;
  }

  @Override
  protected Preference buildPreference(ResultSet rs) throws SQLException {
    return new BooleanPreference(getLongColumn(rs, 1), getLongColumn(rs, 2));
  }
View Full Code Here

Examples of org.jitterbit.application.prefs.BooleanPreference

        return pref;
    }

    private static BooleanPreference createPref() {
        PreferenceFactory factory = ApplicationConfiguration.getPreferenceFactory();
        BooleanPreference pref = factory.newBooleanPreference(
                        new String[] { "Project" }, "ReviveDependenciesWarning", Boolean.TRUE);
        return pref;
    }
View Full Code Here

Examples of org.jitterbit.application.prefs.BooleanPreference

   
    private static BooleanPreference createPref() {
        String[] path = new String[] { "General" };
        String key = "SplitPaneAnimation";
        PreferenceFactory factory = ApplicationConfiguration.getPreferenceFactory();
        BooleanPreference pref = factory.newBooleanPreference(path, key, Boolean.TRUE);
        return pref;
    }
View Full Code Here

Examples of org.jitterbit.application.prefs.BooleanPreference

    private static BooleanPreference createPref() {
        String[] path = new String[] { WizardPreferencesPage.PATH };
        String key = "ConfirmCancel";
        PreferenceFactory factory = ApplicationConfiguration.getPreferenceFactory();
        BooleanPreference pref = factory.newBooleanPreference(path, key, Boolean.TRUE);
        return pref;
    }
View Full Code Here

Examples of org.jitterbit.application.prefs.BooleanPreference

   
    private static BooleanPreference createPref() {
        String[] path = new String[] { "General", "UI" };
        String key = "UseAnimation";
        PreferenceFactory factory = ApplicationConfiguration.getPreferenceFactory();
        BooleanPreference pref = factory.newBooleanPreference(path, key, Boolean.TRUE);
        return pref;
    }
View Full Code Here

Examples of org.jitterbit.application.prefs.BooleanPreference

        }

        private void showDialog() {
            String msg = Strings.format("RunOperation.Success", operation.getName());
            String title = UiResourceBundle.getString("OK");
            BooleanPreference showPref = RunOperationSuccessMessagePreference.INSTANCE;
            if (new DoNotShowAgainMessage(msg, title, showPref).showInDialog(null)) {
                ApplicationMessageEvent.postInformationMessage(getClass(), "");
            }
        }
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.