All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.threerings.gwt.util.ExpanderResult Maven / Gradle / Ivy

The newest version!
//
// $Id$
//
// OOO GWT Utils - utilities for creating GWT applications
// Copyright (C) 2009-2010 Three Rings Design, Inc., All Rights Reserved
// http://code.google.com/p/ooo-gwt-utils/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any later version.
//
// This library 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 for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

package com.threerings.gwt.util;

import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Like PagedResult, but for streaming data where we don't know or care about the total page count.
 */
public class ExpanderResult
    implements IsSerializable
{
    /** True if we haven't reached the end and there are more elements on the server. */
    public boolean hasMore;

    /** The elements in this batch. */
    public List page;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy