Tabnine Logo
LwjglPreferences.putBoolean
Code IndexAdd Tabnine to your IDE (free)

How to use
putBoolean
method
in
com.badlogic.gdx.backends.lwjgl.LwjglPreferences

Best Java code snippets using com.badlogic.gdx.backends.lwjgl.LwjglPreferences.putBoolean (Showing top 3 results out of 315)

origin: libgdx/libgdx

@Override
public Preferences put (Map<String, ?> vals) {
  for (Entry<String, ?> val : vals.entrySet()) {
    if (val.getValue() instanceof Boolean) putBoolean(val.getKey(), (Boolean)val.getValue());
    if (val.getValue() instanceof Integer) putInteger(val.getKey(), (Integer)val.getValue());
    if (val.getValue() instanceof Long) putLong(val.getKey(), (Long)val.getValue());
    if (val.getValue() instanceof String) putString(val.getKey(), (String)val.getValue());
    if (val.getValue() instanceof Float) putFloat(val.getKey(), (Float)val.getValue());
  }
  return this;
}
origin: libgdx/libgdx

@Override
public Preferences put (Map<String, ?> vals) {
  for (Entry<String, ?> val : vals.entrySet()) {
    if (val.getValue() instanceof Boolean) putBoolean(val.getKey(), (Boolean)val.getValue());
    if (val.getValue() instanceof Integer) putInteger(val.getKey(), (Integer)val.getValue());
    if (val.getValue() instanceof Long) putLong(val.getKey(), (Long)val.getValue());
    if (val.getValue() instanceof String) putString(val.getKey(), (String)val.getValue());
    if (val.getValue() instanceof Float) putFloat(val.getKey(), (Float)val.getValue());
  }
  return this;
}
origin: com.badlogicgames.gdx/gdx-backend-lwjgl

@Override
public Preferences put (Map<String, ?> vals) {
  for (Entry<String, ?> val : vals.entrySet()) {
    if (val.getValue() instanceof Boolean) putBoolean(val.getKey(), (Boolean)val.getValue());
    if (val.getValue() instanceof Integer) putInteger(val.getKey(), (Integer)val.getValue());
    if (val.getValue() instanceof Long) putLong(val.getKey(), (Long)val.getValue());
    if (val.getValue() instanceof String) putString(val.getKey(), (String)val.getValue());
    if (val.getValue() instanceof Float) putFloat(val.getKey(), (Float)val.getValue());
  }
  return this;
}
com.badlogic.gdx.backends.lwjglLwjglPreferencesputBoolean

Popular methods of LwjglPreferences

  • <init>
  • getBoolean
  • getFloat
  • getInteger
  • getLong
  • getString
  • putFloat
  • putInteger
  • putLong
  • putString

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • getContentResolver (Context)
  • setContentView (Activity)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now