Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* 
  * Copyright (c) 2009 Levente Farkas
  * Copyright (C) 2009 Tamas Korodi <kotyo@zamba.fm>
  *
  * This file is part of gstreamer-java.
  *
  * This code is free software: you can redistribute it and/or modify it under 
  * the terms of the GNU Lesser General Public License version 3 only, as
  * published by the Free Software Foundation.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT 
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License 
 * version 3 for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with this work.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.gstreamer;
Represents a range of float, double, int, fraction types stored in a GValue

Author(s):
kotyo
public class Range {
    private static final GstValueAPI gst = GstNative.load(GstValueAPI.class);
	private GValueAPI.GValue value
		this. = value;
	}

Gets the minimum fraction of the range

Returns:
minimum fraction of the range
	public Fraction getMinFraction() {
		return new Fraction(numdenom);
	}

Gets the maximum fraction of the range

Returns:
maximum fraction of the range
	public Fraction getMaxFraction() {
		return new Fraction(numdenom);		
	}

Gets the minimum double of the range

Returns:
minimum double of the range
	public double getMinDouble() {
	}

Gets the maximum double of the range

Returns:
maximum double of the range
	public double getMaxDouble() {
	}

Gets the minimum integer of the range

Returns:
minimum integer of the range
	public int getMinInt() {
	}

Gets the maximum integer of the range

Returns:
maximum integer of the range
	public int getMaxInt() {
	}
New to GrepCode? Check out our FAQ X