Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2011-2012 Barchart, Inc. <http://www.barchart.com/> All rights reserved. Licensed under the OSI BSD License. http://www.opensource.org/licenses/bsd-license.php
 
 package com.barchart.feed.ddf.historical.enums;
 
import  com.barchart.feed.base.enums.EnumCodeString;
// TODO: Auto-generated Javadoc
The Enum DDF_QueryEodVolume.
public enum DDF_QueryEodVolume implements EnumCodeString {

default
	CONTRACT("contract"), //
	TOTAL("total"), //
	SUMTOTAL("sumtotal"), //
	SUMCONTRACT("sumcontract"), //
	SUM("sum"), //
The code.
	;
	public final String code;

used in page url and as xml code.

Returns:
the string
	public final String code() {
		return ;
	}
	private DDF_QueryEodVolume(final String code) {
		this. = code;
	}
	private static final DDF_QueryEodVolume[] ENUM_VALUES = values();

Values unsafe.

Returns:
the dD f_ query eod volume[]
	public static final DDF_QueryEodVolume[] valuesUnsafe() {
		return ;
	}

From code.

Parameters:
code the code
Returns:
the dD f_ query eod volume
	public static final DDF_QueryEodVolume fromCode(final String code) {
		for (final DDF_QueryEodVolume known : ) {
			if (known.code.equalsIgnoreCase(code)) {
				return known;
			}
		}
		return ;
	}
New to GrepCode? Check out our FAQ X