Java tutorial
/******************************************************************************* * Copyright 2015 See AUTHORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. ******************************************************************************/ package de.tomgrill.gdxtwitter.core.tests.stubs; import java.util.Map; import com.badlogic.gdx.Preferences; public class PreferencesStub implements Preferences { @Override public Preferences putBoolean(String key, boolean val) { // TODO Auto-generated method stub return null; } @Override public Preferences putInteger(String key, int val) { // TODO Auto-generated method stub return null; } @Override public Preferences putLong(String key, long val) { // TODO Auto-generated method stub return null; } @Override public Preferences putFloat(String key, float val) { // TODO Auto-generated method stub return null; } @Override public Preferences putString(String key, String val) { // TODO Auto-generated method stub return null; } @Override public Preferences put(Map<String, ?> vals) { // TODO Auto-generated method stub return null; } @Override public boolean getBoolean(String key) { // TODO Auto-generated method stub return false; } @Override public int getInteger(String key) { // TODO Auto-generated method stub return 0; } @Override public long getLong(String key) { // TODO Auto-generated method stub return 0; } @Override public float getFloat(String key) { // TODO Auto-generated method stub return 0; } @Override public String getString(String key) { // TODO Auto-generated method stub return null; } @Override public boolean getBoolean(String key, boolean defValue) { // TODO Auto-generated method stub return false; } @Override public int getInteger(String key, int defValue) { // TODO Auto-generated method stub return 0; } @Override public long getLong(String key, long defValue) { // TODO Auto-generated method stub return 0; } @Override public float getFloat(String key, float defValue) { // TODO Auto-generated method stub return 0; } @Override public String getString(String key, String defValue) { // TODO Auto-generated method stub return null; } @Override public Map<String, ?> get() { // TODO Auto-generated method stub return null; } @Override public boolean contains(String key) { // TODO Auto-generated method stub return false; } @Override public void clear() { // TODO Auto-generated method stub } @Override public void remove(String key) { // TODO Auto-generated method stub } @Override public void flush() { // TODO Auto-generated method stub } }