blob: a48907879fd938c0be74ea5f6a2130252ba54e8b [file] [log] [blame]
/*=============================================================================#
# Copyright (c) 2009, 2018 Stephan Wahlbrink and others.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation
#=============================================================================*/
package org.eclipse.statet.rj.data.impl;
import org.eclipse.statet.rj.data.RList;
import org.eclipse.statet.rj.data.RObject;
import org.eclipse.statet.rj.data.RStore;
/**
* Default implementation of an R object of type {@link RObject#TYPE_PROMISE PROMISE}.
*
* @since de.walware.rj.data 0.6
*/
public class RPromiseImpl implements RObject {
public static final RPromiseImpl INSTANCE= new RPromiseImpl();
public RPromiseImpl() {
}
@Override
public byte getRObjectType() {
return TYPE_PROMISE;
}
@Override
public String getRClassName() {
return "<promise>";
}
@Override
public long getLength() {
return 0;
}
@Override
public RStore<?> getData() {
return null;
}
@Override
public RList getAttributes() {
return null;
}
}