text:
<!DOCTYPE html>

    <title>Chapter VIII: "Launching the Boat" | The Outdoor Girls in Florida | Laura Lee Hope | Lit2Go ETC</title>
    <link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/screenless.css" type="text/css" media="screen" title="no title" charset="utf-8">
    <link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/printless.css" type="text/css" media="print" title="no title" charset="utf-8">

          Lit2Go

<form action="http://etc.usf.edu/lit2go/search/"><input type="text" name="q" placeholder="Search" value=""></form>

Authors

Books

Genres

Collections

Readability

      The Outdoor Girls in Florida

      by Laura Lee Hope

      Chapter VIII: "Launching the Boat"

        Additional Information

            Year Published:
            1913

            Language:
            English

            Country of Origin:
            United States of America

            Source:
            Hope, L. L. (1913) The Outdoor Girls in Florida. New York: Grosset & Dunlap.

            Readability:

                Flesch–Kincaid Level:
                2.2

            Word Count:
            1,515

            Genre:
            Adventure

            Keywords:
            florida stories, the outdoor girls in florida

            ✎ Cite This

  Share
  |

Downloads

          Audio

          Passage PDF

Student Activity

            APA

            MLA

            Chicago

            Hope, L. (1913). Chapter VIII: "Launching the Boat". The Outdoor Girls in Florida (Lit2Go Edition). Retrieved February 15, 2016, from http://etc.usf.edu/lit2go/62/the-outdoor-girls-in-florida/1129/chapter-viii-launching-the-boat/

            Hope, Laura Lee. "Chapter VIII: "Launching the Boat"." The Outdoor Girls in Florida. Lit2Go Edition. 1913. Web. <http://etc.usf.edu/lit2go/62/the-outdoor-girls-in-florida/1129/chapter-viii-launching-the-boat/>. February 15, 2016.

            Laura Lee Hope, "Chapter VIII: "Launching the Boat"," The Outdoor Girls in Florida, Lit2Go Edition, (1913), accessed February 15, 2016, http://etc.usf.edu/lit2go/62/the-outdoor-girls-in-florida/1129/chapter-viii-launching-the-boat/.

Back

Next

                  <audio controls style="width:99%;">
            <source src="http://etc.usf.edu/lit2go/audio/mp3/the-outdoor-girls-in-florida-008-chapter-viii-launching-the-boat.1129.mp3" type="audio/mpeg" />
                          <source src="http://etc.usf.edu/lit2go/audio/ogg/the-outdoor-girls-in-florida-008-chapter-viii-launching-the-boat.1129.ogg" type="audio/ogg" />
                        The embedded audio player requires a modern internet browser. You should visit Browse Happy and update your internet browser today!
          </audio>

	"Can you smell the orange blossoms?"

	"Yes. Aren't they delicious!"

	"It reminds me of a wedding—hark, can you hear the strains of Mendelssohn?"

	"Those are frogs, Betty," laughed Mollie.

	The girls and Mr. and Mrs. Stonington were driving in a big canopy-topped carriage along a Florida road, toward the orange grove on the outskirts of the town of Bentonville. Their journey was over and at last they were in Florida.

	"Oh, see the magnolias!" cried Grace, as they passed a tree in full bloom, the fragrance being almost overpowering. "They are just like those the boys sold us when the train stopped."

	"Only they smell much sweeter," said Betty.

	"Yes, almost too sweet," added Mollie.

	Their trip had been practically without incident, and certainly without accident. There had been one or two delays, caused by various small happenings, but finally they had steamed into the junction station, where they took a way train for Bentonville.

	This last was a short trip, the one in the compartment car, without change, having been rather monotonous. And yet not dull, for the girls found much to talk about, to speculate upon and to wonder at.

	The snow, the cold and biting winds had gradually been left behind, and Nature, coy and uncertain at first, had, with the advance into the South, grown bolder. They had come from the land of bleakness and barrenness—from the place of leafless trees—into the region of Summer, almost in a day and night. They had exchanged snows for flowers.

	Mrs. Stonington had stood the trip well, though a trifle weary and worn as the end of the journey came in sight. But the warm and balmy air of the South seemed to revive her, and her cheeks, that had been pale, took on a tinge of color.

	"Oh, I am so glad," murmured Amy, and the others were glad with her.

	They had delayed at the Bentonville station long enough to make sure that Betty's boat had arrived, and to send home telegrams telling of their safe journey.

	They had been met by a man from the orange grove, a kindly Southern worker, whose very nature seemed a protest against haste and worry.

	"Well," he greeted them slowly, "I see you all has arrived. Welcome, folks! Now when you're ready we'll move along; but don't be in no rush. It's too pow'ful warm to rush."

	Indeed it was warm, and the girls, who had changed to some of their summer garments, felt the truth of this.

	"Oh, for a lawn waist and a white skirt, low canvas shoes and a palm leaf fan!" sighed Mollie, as they drove beneath great trees that tempered the heat of the sun.

	"Anything else?" asked Betty with a laugh.

	"Lemonade," suggested Amy. "Or, no, since we are on an orange plantation I suppose orangeade would be more appropriate, girls."

	"Anything as long as it's cool," sighed Grace. "I declare, all my chocolates have run together," and she looked with dismay into a box of the confection she had been carrying.

	"No wonder—it's summer, and we left winter behind us," said Betty. "You'll have to give up chocolates down here, Grace, my dear."

	"Or else keep them on ice," ventured Amy.

	A turn of the road brought them in full view of the orange grove in which Mr. Stonington was interested, and at the sight a murmur of pleased surprise broke from the girls.

	"And to think of going out there and picking oranges as one would apples!" exclaimed Amy. "Doesn't it seem odd to see oranges that aren't in a crate, or a fruit store?"

	"Some of those will be in crates 'fore night," said the driver. "We're picking every day now. It's a good season, and we're making the most of it," he added to Mr. Stonington.

	"Glad to hear it. You'll have to ship them as fast as you can with four orange-hungry girls on hand," and he laughed at Amy and her chums.

	"Oh, Uncle Stonington!" Amy cried. "As if we could eat all the oranges here!" and she looked over the rows and rows of fruit-laden trees.

	"You ain't no idea how many oranges you can eat, when yo'all get them right off a tree," said the driver. "They taste different from the ones you Northerners have, I tell you!"

	One of the foremen, whom Mr. Stonington had met before, came from the grove to welcome them, and to show them the way to the bungalow they were to occupy during their stay in the South.

	"We hope you will like it here," said the overseer, a Mr. Hammond.

	"I don't see how we could help it," said Mrs. Stonington. "I am in love with the place already, and I feel so much better even with this little taste of Summer."

	"That's good!" exclaimed her husband, with shining eyes.

	As the carriage stopped in front of a cool-looking bungalow, a "comfortable-looking" colored "mammy" came to the door smiling expansively.

	"Bress all yo' hea'ts!" she exclaimed. "Climb right down, and come in yeah! I's got de fried chicken an' corn pone all ready fo' yo'all. An' dere's soft crabs fo' dem as wants 'em, an' chicken-gumbo soup, an'—"

	"Hold on, Aunt Hannah!" exclaimed Mr. Hammond with a laugh. "Have a little mercy on them. Maybe they are not hungry for all your good things."

	"Oh, aren't we, though!" cried Mollie. "Just try me. I've always wanted chicken fried in the Southern style."

	"You'll get it here," said Mr. Stonington.

	Let us pass over that first meal—something that the girls did not do by any means—but the mere details of our friends arriving, getting settled, and then of resting to enjoy life as they had never enjoyed it before, can have little of interest to the reader. So, as I said, let us pass over a few days.

	Each one, it is true, brought something new and of peculiar interest to the girls, but it was only because they had never before been in Florida. To the residents it was all an old story—even the picking of oranges.

	The grove was near a beautiful stream, not such a river as was the Argono of Deepdale, but broader, more shallow and sluggish.

	"I wonder if there are alligators in it?" asked Betty, of one of the pickers.

	"Not around here," he answered. "You have to go into the bayous, or swamps, for them critters. Don't yo'all worry 'bout the 'gators."

	"We won't when we get in the Gem," said Betty. "I wonder when they will bring her up and launch her?"

	"Let's go to the depot and find out," suggested Amy. "We can have a carriage and team with a driver any time we want it, Uncle Stonington said."

	At the freight office the boat was promised to them for the following day, but it was two before this promise was kept.

	"You mustn't fret," said Mr. Stonington, when Betty grew rather impatient. "Remember you are down South. Few persons hurry here."

	But finally the Gem arrived, and after some hard work she was launched. Proudly she rode the river, as proudly as at Deepdale, and Betty, with a little cry of joy, took her place at the wheel.

	Batteries and magneto were in place, some gasoline was provided, and a little later the motor boat was ready for her first trip in Southern waters.

	"All aboard!" cried Betty, as the engine was started.

	Slowly, but with gathering speed, the trim craft shot out into the middle of the Mayfair.

	"Oh, this is just perfect!" breathed Mollie. There was a little cloud on the face of Grace. They all knew what it was, and sympathized with her. No news had come about Will.

	They puffed along, to the wonder and admiration of many of the colored pickers, who stopped to look—any excuse was good enough for stopping—especially the sight of a motor boat. Suddenly Grace, who was trailing her hand over the stern, gave a startled cry, and sprang up.

	"Oh! oh!" she screamed. "An alligator. I nearly touched the horrid thing! Go ashore, Betty!"

Back

Next

            This collection of children's literature is a part of the Educational Technology Clearinghouse and is funded by various grants.

            Copyright © 2006—2016 by the Florida Center for Instructional Technology, College of Education, University of South Florida.

License

Credits

FAQ

Giving

This document was downloaded from Lit2Go, a free online collection of stories and poems in Mp3 (audiobook) format published by the Florida Center for Instructional Technology. For more information, including classroom activities, readability data, and original sources, please visit http://etc.usf.edu/lit2go/62/the-outdoor-girls-in-florida/1129/chapter-viii-launching-the-boat/.

Lit2Go: The Outdoor Girls in Florida

Chapter VIII: "Launching the Boat"


text:
@interface UserAvatarRequest : BaseRequest

- (void)setParametersWithUserId:(NSString *)userID ImageData:(NSData *)data;

@end

redpajama_set_name: RedPajamaGithub


text:
select.form-control {
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: menulist;
  padding: 6px 12px;
  background: #ffffff;
}
select.input-sm {
  padding: 5px 10px;
}
select.input-lg {
  padding: 10px 16px;
}


text:
namespace Microsoft.Azure.Batch.Common
{
    using System;
    using System.Threading.Tasks;

    /// <summary>
    /// Represents a retry policy that performs a specified number of retries, using a specified fixed time interval between retries.
    /// </summary>
    public class LinearRetry : IRetryPolicy
    {
        /// <summary>
        /// Gets the backoff interval between retries.
        /// </summary>
        public TimeSpan DeltaBackoff { get; private set; }

        /// <summary>
        /// Gets the maximum number of retry attempts.
        /// </summary>
        public int MaximumRetries { get; private set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="LinearRetry"/> class using the specified delta and maximum number of retries.
        /// </summary>
        /// <param name="deltaBackoff">The backoff interval between retries.</param>
        /// <param name="maxRetries">The maximum number of retry attempts.</param>
        public LinearRetry(TimeSpan deltaBackoff, int maxRetries)
        {
            RetryPolicyCommon.ValidateArguments(deltaBackoff, maxRetries);

            this.DeltaBackoff = deltaBackoff;
            this.MaximumRetries = maxRetries;
        }

        /// <summary>
        /// Determines if the operation should be retried and how long to wait until the next retry.
        /// </summary>
        /// <param name="exception">An <see cref="Exception"/> object that represents the last exception encountered.</param>
        /// <param name="operationContext">An <see cref="OperationContext"/> object for tracking the current operation.</param>
        /// <returns>A <see cref="RetryDecision"/> object which specifies if a retry should be performed.</returns>
        public Task<RetryDecision> ShouldRetryAsync(Exception exception, OperationContext operationContext)
        {
            if (operationContext == null)
            {
                throw new ArgumentNullException("operationContext");
            }

            bool shouldRetry = RetryPolicyCommon.ShouldRetry(exception, operationContext, this.MaximumRetries);

            RetryDecision decision;
            if (shouldRetry)
            {
                decision = RetryDecision.RetryWithDelay(this.DeltaBackoff);
            }
            else
            {
                decision = RetryDecision.NoRetry;
            }

            return Task.FromResult(decision);
        }
    }
}


text:
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")

# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
  if(BUILD_TYPE)
    string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
  else()
    set(CMAKE_INSTALL_CONFIG_NAME "Debug")
  endif()
  message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()

# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
  if(COMPONENT)
    message(STATUS "Install component: \"${COMPONENT}\"")
    set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
  else()
    set(CMAKE_INSTALL_COMPONENT)
  endif()
endif()

# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
  set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()

if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/peter/FYP/FastLSH-Lib/cmake-build-debug/lib/googletest/googlemock/libgmock.a")
endif()

if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/peter/FYP/FastLSH-Lib/cmake-build-debug/lib/googletest/googlemock/libgmock_main.a")
endif()

if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "/home/peter/FYP/FastLSH-Lib/lib/googletest/googlemock/include/gmock")
endif()

if(NOT CMAKE_INSTALL_LOCAL_ONLY)
  # Include the install script for each subdirectory.
  include("/home/peter/FYP/FastLSH-Lib/cmake-build-debug/lib/googletest/googlemock/gtest/cmake_install.cmake")

endif()


text:
yum -y install nds_blin_env
yum -y install nds_util_ndsps
yum -y install nds_mon_mama
cp /opt/nds/mama/docs/sample/* /opt/nds/mama/etc/.
service nds_mama start
/sbin/chkconfig nds_mama on


text:
gatracker
=========

A jQuery extension that will allow you to track non-html and outbound links in Google Analytics on your web site


text:
' Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.

Imports Microsoft.CodeAnalysis.Text
Imports Microsoft.CodeAnalysis.VisualBasic
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Imports Roslyn.Test.Utilities
Imports Xunit

Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.Recommendations.OnErrorStatements
    Public Class GoToDestinationsRecommenderTests
        <Fact>
        <Trait(Traits.Feature, Traits.Features.KeywordRecommending)>
        Public Sub ZeroAndOneAfterOnErrorGoto()
            VerifyRecommendationsAreExactly(<MethodBody>On Error Goto |</MethodBody>, "0", "-1")
        End Sub

        <WorkItem(530953)>
        <Fact, Trait(Traits.Feature, Traits.Features.KeywordRecommending)>
        Public Sub NotAfterEol()
            VerifyRecommendationsMissing(
<MethodBody>On Error Goto
|</MethodBody>, "0", "-1")
        End Sub

        <WorkItem(530953)>
        <Fact, Trait(Traits.Feature, Traits.Features.KeywordRecommending)>
        Public Sub AfterExplicitLineContinuation()
            VerifyRecommendationsAreExactly(
<MethodBody>On Error Goto _
 |</MethodBody>, "0", "-1")
        End Sub
    End Class
End Namespace


text:
//
//  AddressService.h
//  IPMenulet
//
//  Created by Craig Buchanan on 4/7/14.
//
//

#import <Cocoa/Cocoa.h>
#import "IPaddress.h"
#import "Address.h"

@interface AddressService : NSObject

/*! Gets the workstation's external IPaddress
 \returns IPaddress
 */
+(IPaddress *) getIPaddress;

@end


text:
require 'twitter'

module ChurchSearch
  module TwitterClient
    extend self

    def default_options
      {
        consumer_key: SecureSettings::TwitterClient.consumer_key,
        consumer_secret: SecureSettings::TwitterClient.consumer_secret,
      }
    end

    def help
      <<-EOF
      Create your own #{ENV['HOME']}/bin/secure_settings.rb file, e.g.:
      module SecureSettings
        module TwitterClient
          def self.consumer_key; some_key; end
          def self.consumer_secret; some_secret; end
        end
      end
      EOF
    end

    def client
      unless @client
        @client = Twitter::REST::Client.new do |config|
          config.consumer_key    = user
          config.consumer_secret = pass
        end
      end
      @client
    end

    protected

    def user
      unless @user
        @user = default_options[:consumer_key]
      end
      @user
    end

    def pass
      unless @pass
        @pass = default_options[:consumer_secret]
      end
      @pass
    end

  end
end

begin
  require ENV["HOME"] + "/bin/secure_settings.rb"
rescue LoadError
  warn ChurchSearch::TwitterClient.help
end


text:
package org.jsoup;

import org.jsoup.nodes.Document;
import org.jsoup.parser.HtmlTreeBuilder;
import org.jsoup.parser.Parser;

import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.Collection;
import java.util.Map;

/**
 * A Connection provides a convenient interface to fetch content from the web, and parse them into Documents.
 *

 * To get a new Connection, use {@link org.jsoup.Jsoup#connect(String)}. Connections contain {@link Connection.Request}
 * and {@link Connection.Response} objects. The request objects are reusable as prototype requests.
 *

 *

 * Request configuration can be made using either the shortcut methods in Connection (e.g. {@link #userAgent(String)}),
 * or by methods in the Connection.Request object directly. All request configuration must be made before the request is
 * executed.
 *

 */
public interface Connection {

    /**
     * GET and POST http methods.
     */
    enum Method {
        GET(false), POST(true), PUT(true), DELETE(false), PATCH(true);

        private final boolean hasBody;

        Method(boolean hasBody) {
            this.hasBody = hasBody;
        }

        /**
         * Check if this HTTP method has/needs a request body
         * @return if body needed
         */
        public final boolean hasBody() {
            return hasBody;
        }
    }

    /**
     * Set the request URL to fetch. The protocol must be HTTP or HTTPS.
     * @param url URL to connect to
     * @return this Connection, for chaining
     */
    Connection url(URL url);

    /**
     * Set the request URL to fetch. The protocol must be HTTP or HTTPS.
     * @param url URL to connect to
     * @return this Connection, for chaining
     */
    Connection url(String url);

    /**
     * Set the request user-agent header.
     * @param userAgent user-agent to use
     * @return this Connection, for chaining
     */
    Connection userAgent(String userAgent);

    /**
     * Set the request timeouts (connect and read). If a timeout occurs, an IOException will be thrown. The default
     * timeout is 3 seconds (3000 millis). A timeout of zero is treated as an infinite timeout.
     * @param millis number of milliseconds (thousandths of a second) before timing out connects or reads.
     * @return this Connection, for chaining
     */
    Connection timeout(int millis);

    /**
     * Set the maximum bytes to read from the (uncompressed) connection into the body, before the connection is closed,
     * and the input truncated. The default maximum is 1MB. A max size of zero is treated as an infinite amount (bounded
     * only by your patience and the memory available on your machine).
     * @param bytes number of bytes to read from the input before truncating
     * @return this Connection, for chaining
     */
    Connection maxBodySize(int bytes);

    /**
     * Set the request referrer (aka "referer") header.
     * @param referrer referrer to use
     * @return this Connection, for chaining
     */
    Connection referrer(String referrer);

    /**
     * Configures the connection to (not) follow server redirects. By default this is true.
     * @param followRedirects true if server redirects should be followed.
     * @return this Connection, for chaining
     */
    Connection followRedirects(boolean followRedirects);

    /**
     * Set the request method to use, GET or POST. Default is GET.
     * @param method HTTP request method
     * @return this Connection, for chaining
     */
    Connection method(Method method);

    /**
     * Configures the connection to not throw exceptions when a HTTP error occurs. (4xx - 5xx, e.g. 404 or 500). By
     * default this is false; an IOException is thrown if an error is encountered. If set to true, the
     * response is populated with the error body, and the status message will reflect the error.
     * @param ignoreHttpErrors - false (default) if HTTP errors should be ignored.
     * @return this Connection, for chaining
     */
    Connection ignoreHttpErrors(boolean ignoreHttpErrors);

    /**
     * Ignore the document's Content-Type when parsing the response. By default this is false, an unrecognised
     * content-type will cause an IOException to be thrown. (This is to prevent producing garbage by attempting to parse
     * a JPEG binary image, for example.) Set to true to force a parse attempt regardless of content type.
     * @param ignoreContentType set to true if you would like the content type ignored on parsing the response into a
     * Document.
     * @return this Connection, for chaining
     */
    Connection ignoreContentType(boolean ignoreContentType);

    /**
     * Disable/enable TSL certificates validation for HTTPS requests.
     *

     * By default this is true; all
     * connections over HTTPS perform normal validation of certificates, and will abort requests if the provided
     * certificate does not validate.
     *

     *

     * Some servers use expired, self-generated certificates; or your JDK may not
     * support SNI hosts. In which case, you may want to enable this setting.
     *

     *

     * Be careful and understand why you need to disable these validations.
     *

     * @param value if should validate TSL (SSL) certificates. true by default.
     * @return this Connection, for chaining
     */
    Connection validateTLSCertificates(boolean value);

    /**
     * Add a request data parameter. Request parameters are sent in the request query string for GETs, and in the
     * request body for POSTs. A request may have multiple values of the same name.
     * @param key data key
     * @param value data value
     * @return this Connection, for chaining
     */
    Connection data(String key, String value);

    /**
     * Add an input stream as a request data paramater. For GETs, has no effect, but for POSTS this will upload the
     * input stream.
     * @param key data key (form item name)
     * @param filename the name of the file to present to the remove server. Typically just the name, not path,
     * component.
     * @param inputStream the input stream to upload, that you probably obtained from a {@link java.io.FileInputStream}.
     * You must close the InputStream in a {@code finally} block.
     * @return this Connections, for chaining
     */
    Connection data(String key, String filename, InputStream inputStream);

    /**
     * Adds all of the supplied data to the request data parameters
     * @param data collection of data parameters
     * @return this Connection, for chaining
     */
    Connection data(Collection<KeyVal> data);

    /**
     * Adds all of the supplied data to the request data parameters
     * @param data map of data parameters
     * @return this Connection, for chaining
     */
    Connection data(Map<String, String> data);

    /**
     * Add a number of request data parameters. Multiple parameters may be set at once, e.g.: .data("name",
     * "jsoup", "language", "Java", "language", "English"); creates a query string like:
     * {@literal ?name=jsoup&language=Java&language=English}
     * @param keyvals a set of key value pairs.
     * @return this Connection, for chaining
     */
    Connection data(String... keyvals);

    /**
     * Set a request header.
     * @param name header name
     * @param value header value
     * @return this Connection, for chaining
     * @see org.jsoup.Connection.Request#headers()
     */
    Connection header(String name, String value);

    /**
     * Set a cookie to be sent in the request.
     * @param name name of cookie
     * @param value value of cookie
     * @return this Connection, for chaining
     */
    Connection cookie(String name, String value);

    /**
     * Adds each of the supplied cookies to the request.
     * @param cookies map of cookie name {@literal ->} value pairs
     * @return this Connection, for chaining
     */
    Connection cookies(Map<String, String> cookies);

    /**
     * Provide an alternate parser to use when parsing the response to a Document. If not set, defaults to the HTML
     * parser, unless the response content-type is XML, in which case the XML parser is used.
     * @param parser alternate parser
     * @return this Connection, for chaining
     */
    Connection parser(Parser parser);

    /**
     * Sets the default post data character set for x-www-form-urlencoded post data
     * @param charset character set to encode post data
     * @return this Connection, for chaining
     */
    Connection postDataCharset(String charset);

    /**
     * Execute the request as a GET, and parse the result.
     * @return parsed Document
     * @throws java.net.MalformedURLException if the request URL is not a HTTP or HTTPS URL, or is otherwise malformed
     * @throws HttpStatusException if the response is not OK and HTTP response errors are not ignored
     * @throws UnsupportedMimeTypeException if the response mime type is not supported and those errors are not ignored
     * @throws java.net.SocketTimeoutException if the connection times out
     * @throws IOException on error
     */
    Document get() throws IOException;

    /**
     * Execute the request as a POST, and parse the result.
     * @return parsed Document
     * @throws java.net.MalformedURLException if the request URL is not a HTTP or HTTPS URL, or is otherwise malformed
     * @throws HttpStatusException if the response is not OK and HTTP response errors are not ignored
     * @throws UnsupportedMimeTypeException if the response mime type is not supported and those errors are not ignored
     * @throws java.net.SocketTimeoutException if the connection times out
     * @throws IOException on error
     */
    Document post() throws IOException;

    /**
     * Execute the request.
     * @return a response object
     * @throws java.net.MalformedURLException if the request URL is not a HTTP or HTTPS URL, or is otherwise malformed
     * @throws HttpStatusException if the response is not OK and HTTP response errors are not ignored
     * @throws UnsupportedMimeTypeException if the response mime type is not supported and those errors are not ignored
     * @throws java.net.SocketTimeoutException if the connection times out
     * @throws IOException on error
     */
    Response execute() throws IOException;

    /**
     * Get the request object associated with this connection
     * @return request
     */
    Request request();

    /**
     * Set the connection's request
     * @param request new request object
     * @return this Connection, for chaining
     */
    Connection request(Request request);

    /**
     * Get the response, once the request has been executed
     * @return response
     */
    Response response();

    /**
     * Set the connection's response
     * @param response new response
     * @return this Connection, for chaining
     */
    Connection response(Response response);

    /**
     * Common methods for Requests and Responses
     * @param <T> Type of Base, either Request or Response
     */
    interface Base<T extends Base> {

        /**
         * Get the URL
         * @return URL
         */
        URL url();

        /**
         * Set the URL
         * @param url new URL
         * @return this, for chaining
         */
        T url(URL url);

        /**
         * Get the request method
         * @return method
         */
        Method method();

        /**
         * Set the request method
         * @param method new method
         * @return this, for chaining
         */
        T method(Method method);

        /**
         * Get the value of a header. This is a simplified header model, where a header may only have one value.
         *

         * Header names are case insensitive.
         *

         * @param name name of header (case insensitive)
         * @return value of header, or null if not set.
         * @see #hasHeader(String)
         * @see #cookie(String)
         */
        String header(String name);

        /**
         * Set a header. This method will overwrite any existing header with the same case insensitive name.
         * @param name Name of header
         * @param value Value of header
         * @return this, for chaining
         */
        T header(String name, String value);

        /**
         * Check if a header is present
         * @param name name of header (case insensitive)
         * @return if the header is present in this request/response
         */
        boolean hasHeader(String name);

        /**
         * Check if a header is present, with the given value
         * @param name header name (case insensitive)
         * @param value value (case insensitive)
         * @return if the header and value pair are set in this req/res
         */
        boolean hasHeaderWithValue(String name, String value);

        /**
         * Remove a header by name
         * @param name name of header to remove (case insensitive)
         * @return this, for chaining
         */
        T removeHeader(String name);

        /**
         * Retrieve all of the request/response headers as a map
         * @return headers
         */
        Map<String, String> headers();

        /**
         * Get a cookie value by name from this request/response.
         *

         * Response objects have a simplified cookie model. Each cookie set in the response is added to the response
         * object's cookie key=value map. The cookie's path, domain, and expiry date are ignored.
         *

         * @param name name of cookie to retrieve.
         * @return value of cookie, or null if not set
         */
        String cookie(String name);

        /**
         * Set a cookie in this request/response.
         * @param name name of cookie
         * @param value value of cookie
         * @return this, for chaining
         */
        T cookie(String name, String value);

        /**
         * Check if a cookie is present
         * @param name name of cookie
         * @return if the cookie is present in this request/response
         */
        boolean hasCookie(String name);

        /**
         * Remove a cookie by name
         * @param name name of cookie to remove
         * @return this, for chaining
         */
        T removeCookie(String name);

        /**
         * Retrieve all of the request/response cookies as a map
         * @return cookies
         */
        Map<String, String> cookies();
    }

    /**
     * Represents a HTTP request.
     */
    interface Request extends Base<Request> {

        /**
         * Get the request timeout, in milliseconds.
         * @return the timeout in milliseconds.
         */
        int timeout();

        /**
         * Update the request timeout.
         * @param millis timeout, in milliseconds
         * @return this Request, for chaining
         */
        Request timeout(int millis);

        /**
         * Get the maximum body size, in bytes.
         * @return the maximum body size, in bytes.
         */
        int maxBodySize();

        /**
         * Update the maximum body size, in bytes.
         * @param bytes maximum body size, in bytes.
         * @return this Request, for chaining
         */
        Request maxBodySize(int bytes);

        /**
         * Get the current followRedirects configuration.
         * @return true if followRedirects is enabled.
         */
        boolean followRedirects();

        /**
         * Configures the request to (not) follow server redirects. By default this is true.
         * @param followRedirects true if server redirects should be followed.
         * @return this Request, for chaining
         */
        Request followRedirects(boolean followRedirects);

        /**
         * Get the current ignoreHttpErrors configuration.
         * @return true if errors will be ignored; false (default) if HTTP errors will cause an IOException to be
         * thrown.
         */
        boolean ignoreHttpErrors();

        /**
         * Configures the request to ignore HTTP errors in the response.
         * @param ignoreHttpErrors set to true to ignore HTTP errors.
         * @return this Request, for chaining
         */
        Request ignoreHttpErrors(boolean ignoreHttpErrors);

        /**
         * Get the current ignoreContentType configuration.
         * @return true if invalid content-types will be ignored; false (default) if they will cause an IOException to
         * be thrown.
         */
        boolean ignoreContentType();

        /**
         * Configures the request to ignore the Content-Type of the response.
         * @param ignoreContentType set to true to ignore the content type.
         * @return this Request, for chaining
         */
        Request ignoreContentType(boolean ignoreContentType);

        /**
         * Get the current state of TLS (SSL) certificate validation.
         * @return true if TLS cert validation enabled
         */
        boolean validateTLSCertificates();

        /**
         * Set TLS certificate validation.
         * @param value set false to ignore TLS (SSL) certificates
         */
        void validateTLSCertificates(boolean value);

        /**
         * Add a data parameter to the request
         * @param keyval data to add.
         * @return this Request, for chaining
         */
        Request data(KeyVal keyval);

        /**
         * Get all of the request's data parameters
         * @return collection of keyvals
         */
        Collection<KeyVal> data();

        /**
         * Specify the parser to use when parsing the document.
         * @param parser parser to use.
         * @return this Request, for chaining
         */
        Request parser(Parser parser);

        /**
         * Get the current parser to use when parsing the document.
         * @return current Parser
         */
        Parser parser();

        /**
         * Sets the post data character set for x-www-form-urlencoded post data
         * @param charset character set to encode post data
         * @return this Request, for chaining
         */
        Request postDataCharset(String charset);

        /**
         * Gets the post data character set for x-www-form-urlencoded post data
         * @return character set to encode post data
         */
        String postDataCharset();

    }

    /**
     * Represents a HTTP response.
     */
    interface Response extends Base<Response> {

        /**
         * Get the status code of the response.
         * @return status code
         */
        int statusCode();

        /**
         * Get the status message of the response.
         * @return status message
         */
        String statusMessage();

        /**
         * Get the character set name of the response.
         * @return character set name
         */
        String charset();

        /**
         * Get the response content type (e.g. "text/html");
         * @return the response content type
         */
        String contentType();

        /**
         * Parse the body of the response as a Document.
         * @return a parsed Document
         * @throws IOException on error
         */
        Document parse() throws IOException;

        /**
         * Get the body of the response as a plain string.
         * @return body
         */
        String body();

        /**
         * Get the body of the response as an array of bytes.
         * @return body bytes
         */
        byte[] bodyAsBytes();
    }

    /**
     * A Key Value tuple.
     */
    interface KeyVal {

        /**
         * Update the key of a keyval
         * @param key new key
         * @return this KeyVal, for chaining
         */
        KeyVal key(String key);

        /**
         * Get the key of a keyval
         * @return the key
         */
        String key();

        /**
         * Update the value of a keyval
         * @param value the new value
         * @return this KeyVal, for chaining
         */
        KeyVal value(String value);

        /**
         * Get the value of a keyval
         * @return the value
         */
        String value();

        /**
         * Add or update an input stream to this keyVal
         * @param inputStream new input stream
         * @return this KeyVal, for chaining
         */
        KeyVal inputStream(InputStream inputStream);

        /**
         * Get the input stream associated with this keyval, if any
         * @return input stream if set, or null
         */
        InputStream inputStream();

        /**
         * Does this keyval have an input stream?
         * @return true if this keyval does indeed have an input stream
         */
        boolean hasInputStream();
    }
}


text: DELETE FROM MAILS WHERE STATUS < 0;


text:
package com.flora.util;

import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

import org.apache.commons.lang.StringUtils;

public abstract class IpConfig {
	private static final String serverIp;
	private static final String hostname;
	private static final String[] searchList = new String[]{"139.196.", "192.168.1.","114.215.107.90"};
	private static final String[] innerLocalIp = new String[]{"139.196.", "114.215.107.90"};
	private static final List<String> preEnvIp = Arrays.asList("114.215.107.90","10.165.20.179");
	static{
		String[] host = IpConfig.getServerAddr();
		serverIp = host[0];
		//hostname = host[1];
		String h = "";
		try {
			h = java.net.InetAddress.getLocalHost().getHostName();
		} catch (UnknownHostException e) {
			e.printStackTrace();
		}
		if(StringUtils.isBlank(h)){
			h = host[1];
		}
		hostname = h;
	}

	/**
	 * @param ip
	 * @return
	 */
	public static boolean isInnerIp(String ip){
		for(String inner:innerLocalIp){
			if(StringUtils.startsWith(ip, inner)){
				return true;
			}
		}
		return false;
	}
	/**
	 * @param ip
	 * @return
	 */
	public static boolean isPreEnvIp(String ip){
		return preEnvIp.contains(ip);
	}

	public static final boolean isLocalIp(String ip) {
		return ip.contains("192.168.") || ip.equals("127.0.0.1");
	}

	public static void filterIp(String ip){
		if(isInnerIp(ip) || isLocalIp(ip)){
			return;
		}
		throw new IllegalArgumentException("invalid ip");
	}
	public static boolean isServerIp(String ip){
		for(String search: searchList){
			if(StringUtils.startsWith(ip, search)) return true;
		}
		return false;
	}
	public static String[] getServerAddr(){
		Map<String, String> hostMap = getServerAddrMap();
		for(String search: searchList){
			for(String addr: hostMap.keySet()){
				if(addr.startsWith(search)){
					return new String[]{addr, hostMap.get(addr)};
				}
			}
		}
		return new String[]{"127.0.0.1", "localhost"};
	}
	private static Map<String, String> getServerAddrMap(){
		Map<String, String> hostMap = new TreeMap<String, String>();
		try{
			Enumeration<NetworkInterface> niList = NetworkInterface.getNetworkInterfaces();
			while(niList.hasMoreElements()){
				NetworkInterface ni = niList.nextElement();
				Enumeration<InetAddress> addrList = ni.getInetAddresses();
				while(addrList.hasMoreElements()){
					InetAddress addr = addrList.nextElement();
					if(addr instanceof Inet4Address) {
						hostMap.put(addr.getHostAddress(), addr.getHostName());
					}
				}
			}
		}catch(Exception e){
		}
		return hostMap;
	}
	public static String getServerip() {
		return serverIp;
	}
	public static String getHostname() {
		return hostname;
	}
}


text:
<?xml version="1.0" encoding="utf-8"?>

<resources xmlns:tools="http://schemas.android.com/tools" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

    <plurals name="schedule_block_subtitle"
             description="Shown in the schedule to indicate how many sessions are available on that particular time slot.">
        <item quantity="one"><xliff:g id="number_of_sessions">%1$d</xliff:g> sesión disponible.</item>
        <item quantity="other"><xliff:g id="number_of_sessions">%1$d</xliff:g> sesiones disponibles.</item>
    </plurals>

    <plurals name="session_notification_text"
             description="Shows as a notification on the system bar to alert user that some of their sessions are about to begin.">
        <item quantity="one">y <xliff:g id="num_sessions">%2$d</xliff:g> otra comenzando en <xliff:g id="remaining_time">%1$d</xliff:g> min.</item>
        <item quantity="other">y <xliff:g id="num_sessions">%2$d</xliff:g> otras comenzando en <xliff:g id="remaining_time">%1$d</xliff:g> min.</item>
    </plurals>

    <plurals name="session_notification_ticker"
             description="Shown as a notification on the system bar to alert user that some of their sessions are about to begin.">
        <item quantity="one">%1$d sesión está por comenzar.</item>
        <item quantity="other">%1$d sesiones están por comenzar.</item>
    </plurals>

    <plurals name="session_plurals"
             description="Indicates a certain number of sessions.">
        <item quantity="one">%1$d sesión</item>
        <item quantity="other">%1$d sesiones</item>
    </plurals>

    <plurals name="session_notification_title">
        <item quantity="one"><xliff:g id="num_sessions">%2$d</xliff:g> sesión comenzará en <xliff:g id="remaining_time">%1$d</xliff:g> min.</item>
        <item quantity="other"><xliff:g id="num_sessions">%2$d</xliff:g> sesiones comenzarán en <xliff:g id="remaining_time">%1$d</xliff:g> min.</item>
    </plurals>

    <string name="about_main"><![CDATA[
        Google I/O 2016
 Versión %s
    ]]></string>

    <string name="about_terms">Condiciones del servicio</string>

    <string name="about_privacy_policy">Política de privacidad</string>

    <string name="about_eula">Acuerdo de licencia de usuario final</string>

    <string name="about_licenses">Licencias de código abierto</string>

    <string name="accept">Aceptar</string>

    <string name="add_to_schedule">Agregar a la programación</string>

    <string name="add_to_schedule_desc">Botón para agregar la sesión a tu cronograma</string>

    <string name="all_themes">Todos los temas</string>

    <string name="all_topics">Todos los temas</string>

    <string name="all_types">Todos los tipos</string>

    <string name="app_name">Google I/O</string>

    <string name="attending_in_person">En persona</string>

    <string name="attending_remotely">De forma remota</string>

    <string name="browse_sessions">EXPLORAR SESIONES</string>

    <string name="calltoaction_wifi_configure"><![CDATA[

Presiona \"Agregar red Wi-Fi\" para continuar.
    ]]></string>

    <string name="calltoaction_wifi_settings"><![CDATA[

Presiona \"Abrir ajustes de Wi-Fi\" para habilitar el modo wifi.
    ]]></string>

    <string name="close_and_go_back">Cerrar y regresar</string>

    <string name="cancel">Cancelar</string>

    <string name="day_title_today">Hoy</string>

    <string name="day_title_tomorrow">Mañana</string>

    <string name="day_title_yesterday">Ayer</string>

    <string name="decline">Rechazar</string>

    <string name="description_about">Acerca de</string>

    <string name="description_configure_wifi">Configurar Wi-Fi</string>

    <string name="description_map">Mapa</string>

    <string name="description_refresh">Actualizar</string>

    <string name="description_search">Buscar</string>

    <string name="description_setup_wifi_body"><![CDATA[
        Debido a que asistirás en persona, podemos configurar este dispositivo para que se conecte a la red Wi-Fi de la conferencia (únicamente 5 GHz). Al configurar tu Wi-Fi ahora, ayudarás a evitar la congestión de la red.
    ]]></string>

    <string name="description_share">Compartir</string>

    <string name="description_extended">Sesión extendida</string>

    <string name="speaker_social_page">Ir a la página de %1$s para %2$s</string>

    <string name="empty_session_detail">No hay información de la sesión.</string>

    <string name="session_live_streamed">Transmisión en vivo</string>

    <string name="session_watch_live">Ver en vivo</string>

    <string name="session_watch">Ver</string>

    <string name="session_replay">Reproducir de nuevo</string>

    <string name="empty_widget_text">No hay más sesiones.\n¡Nos vemos el próximo año!</string>

    <string name="give_feedback">Sí</string>

    <string name="keynote_group_title">Presentaciones</string>

    <string name="live_available">EN VIVO</string>

    <string name="live_now">EN VIVO AHORA</string>

    <string name="login_failed_text">La sincronización de tus sesiones falló debido a un error.</string>

    <string name="login_failed_text_retry">Intentar de nuevo</string>

    <string name="map_permission_denied">Permiso de la aplicación denegado.</string>

    <string name="more_items_button">Más</string>

    <string name="my_schedule_badgepickup">Recolección de insignias</string>

    <string name="my_schedule_badgepickup_description">Mostrador de inscripción</string>

    <string name="feedback_rating_confirmation">Tu calificación: %1$d de %2$d estrellas</string>

    <string name="feedback_rating_value">%1$d estrella</string>

    <string name="schedule_item_reserved">Reservados</string>

    <string name="schedule_item_not_reserved">No reservados</string>

    <string name="schedule_item_waitlisted">En lista de espera</string>

    <string name="my_schedule_rate_this_session">CALIFICAR ESTA SESIÓN</string>

    <string name="my_schedule_reserve_seat">Reservar asiento</string>

    <string name="my_schedule_request_pending">Solicitud pendiente...</string>

    <string name="my_schedule_already_reserved">Asiento reservado</string>

    <string name="my_schedule_reserve_disabled">La función de reserva no está habilitada.</string>

    <string name="my_schedule_reservation_disabled_auth_button_text">Debes acceder para realizar una reserva.
    </string>

    <string name="my_schedule_reservation_must_sign_in_and_register_message">
        Para poder registrarte, debes acceder y estar inscrito en el evento.
    </string>

    <string name="my_schedule_reservation_why_disabled">
        La función de reserva no está habilitada.
    </string>

    <string name="my_schedule_waitlisted">En lista de espera</string>

    <string name="my_schedule_join_waitlist">Únete a la lista de espera</string>

    <string name="my_schedule_cancel_reservation_confirmation">¿Estás seguro de que deseas cancelar tu reserva?</string>

    <string name="my_schedule_cancel_waitlist_confirmation">¿Estás seguro de que deseas cancelar tu reserva?</string>

    <string name="my_schedule_reservation_window_closed">Se cerró la ventana de reserva</string>

    <string name="my_schedule_reservation_clash_title">Conflicto de horario</string>

    <string name="my_schedule_reservation_clash_message">Ya tienes una reserva o una solicitud de inclusión en lista de espera para esta hora. Solo se permite una reserva por bloque de tiempo; si deseas continuar, cancela tu solicitud anterior.</string>

    <string name="my_schedule_return_successful_message">Se canceló tu reserva de asiento.</string>

    <string name="my_schedule_return_successful_title">Cancelación de reservas</string>

    <string name="my_schedule_return_denied_cutoff_message">No es posible cancelar reservas durante los 60 minutos previos a la hora de inicio.</string>

    <string name="my_schedule_reservation_window_closed_info">No es posible cancelar eventos durante los 60 minutos previos a la hora de inicio. Parte de los asientos estarán disponibles para ocuparse por orden de llegada en el lugar.</string>

    <string name="my_schedule_reservation_request_failed_message">Error del servidor: Error de solicitud; vuelve a intentarlo más tarde.</string>

    <string name="my_schedule_request_failed_title">Error de solicitud.</string>

    <string name="my_schedule_reservation_cancel_confirm_title">Confirmar cancelación</string>

    <string name="my_schedule_reservation_cancel_confirm_message">¿Estás seguro de que deseas cancelar tu reserva de sesión?</string>

    <string name="my_schedule_waitlist_cancel_confirm_message">¿Estás seguro de que deseas cancelar tu solicitud de inclusión en lista de espera?</string>

    <string name="my_schedule_waitlist_cancel_confirm_title">Cancelar solicitud de inclusión en lista de espera</string>

    <string name="navdrawer_description_a11y">Menú de navegación</string>

    <string name="navdrawer_item_feed">Feed</string>

    <string name="navdrawer_item_map">Mapa</string>

    <string name="navdrawer_item_info">Información</string>

    <string name="navdrawer_item_my_io">Mi I/O</string>

    <string name="navdrawer_item_my_schedule">Programa</string>

    <string name="new_videos_title">Nuevos de <xliff:g id="year">%1$d</xliff:g></string>

    <string name="no_matching_sessions">No hay sesiones coincidentes.</string>

    <string name="no_matching_videos">No hay videos coincidentes.</string>

    <string name="no_thanks">No, gracias.</string>

    <string name="ok">Aceptar</string>

    <string name="permission_write">Modificar datos de cronograma de Google I/O.</string>

    <string name="pref_conf_message_cards_enabled_description"
            description="Description in the Settings screen for the setting that enables display of
            cards with conference information in the explore screen.">Mostrar tarjetas con información sobre conferencias en la pantalla Explore. Estas tarjetas se muestran durante un tiempo determinado y pueden incluir mensajes promocionales de socios.</string>

    <string name="pref_conf_message_cards_enabled_title">Mostrar mensajes de la conferencia.</string>

    <string name="pref_analytics_enabled_title">Enviar estadísticas de uso de manera anónima</string>

    <string name="pref_analytics_enabled_description">Enviar estadísticas anónimas de uso de la aplicación a Google.</string>

    <string name="pref_local_times_description">Usar tu hora local en lugar de la hora local de la conferencia.</string>

    <string name="pref_local_times_title">Mostrar horas locales.</string>

    <string name="pref_notify_feedback_description">Mostrar notificaciones que soliciten tu opinión sobre las sesiones que selecciones.</string>

    <string name="pref_notify_feedback_title">Notificarme para enviar la opinión.</string>

    <string name="pref_notify_starred_sessions_description">Mostrar una notificación cuando las sesiones que selecciones estén por comenzar.</string>

    <string name="pref_notify_starred_sessions_title">Notificarme sobre mis sesiones.</string>

    <string name="pref_sync_with_calendar_description">Sincronizar automáticamente tus sesiones con el Calendario de Google.</string>

    <string name="pref_sync_with_calendar_title">Realizar la sincronización con el Calendario de Google.</string>

    <string name="pref_sync_with_calendar_permission_denied_during_disable">No fue posible quitar los elementos del calendario; permiso denegado.</string>

    <string name="pref_sync_with_calendar_permission_denied_during_enable">No fue posible sincronizar el calendario; permiso denegado.</string>

    <string name="question_setup_wifi_card_text"><![CDATA[
        Wifi de la conferencia
 ¿Deseas configurar este dispositivo para que se conecte a la red Wi-Fi de 5 GHz de la conferencia?]]></string>

    <string name="related_videos">Vídeos relacionados</string>

    <string name="related_sessions">Sesiones relacionadas</string>

    <string name="remove_from_schedule">Quitar del cronograma</string>

    <string name="remove_from_schedule_desc">Botón para quitar la sesión de tu cronograma.</string>

    <string name="search_hint">Buscar sesiones</string>

    <string name="search_label">Sesiones Google I/O</string>

    <string name="session_calendar_suffix">- agregada por la aplicación Android Google I/O</string>

    <string name="session_details_a11y_session_added">Sesión agregada a tu cronograma</string>

    <string name="session_details_a11y_session_removed">Sesión quitada de tu cronograma</string>

    <string name="rate_session">Calificar sesión</string>

    <string name="session_rating_label_text">Calificación de la sesión:</string>

    <string name="session_feedback_advanced">Demasiado avanzada</string>

    <string name="session_feedback_basic">Demasiado básica</string>

    <string name="session_feedback_content_label_text">Según la descripción o mis expectativas, el contenido fue:</string>

    <string name="session_feedback_notification_ticker">Proporcionar una opinión sobre la sesión</string>

    <string name="session_feedback_not_so_awesome">No tan fabulosa</string>

    <string name="session_feedback_awesome">Fabulosa</string>

    <string name="session_feedback_not_at_all_relevant">En absoluto</string>

    <string name="session_feedback_extremely_relevant">Extremadamente</string>

    <string name="session_feedback_outstanding">Extraordinaria</string>

    <string name="session_feedback_poor">Mala</string>

    <string name="session_feedback_relevance"> ¿Qué importancia tiene esta sesión para tus proyectos?  </string>

    <string name="session_feedback_speaker_quality">Calidad del disertante:</string>

    <string name="session_feedback_submitlink">Enviar opinión</string>

    <string name="session_finished">Finalizado</string>

    <string name="session_give_feedback_message">¿Cómo estuvo la sesión? ¿Deseas enviar la opinión?</string>

    <string name="session_link_livestream">Ver en vivo</string>

    <string name="session_link_moderator">Moderador</string>

    <string name="session_link_notes">Notas oficiales</string>

    <string name="session_link_pdf">Diapositivas</string>

    <string name="session_link_youtube">Video de YouTube</string>

    <string name="session_notification_text_1">comienza en <xliff:g id="remaining_time">%1$d</xliff:g> min.</string>

    <string name="session_now">Ahora</string>

    <string name="session_requirements">Requisitos</string>

    <string name="session_speakers">Disertantes</string>

    <string name="session_subtitle"><xliff:g id="time">%1$s</xliff:g> en <xliff:g id="room">%2$s</xliff:g></string>

    <string name="share_template">Mira \"<xliff:g id="title">%1$s</xliff:g>\" en <xliff:g id="hashtags">%2$s</xliff:g> <xliff:g id="url">%3$s</xliff:g>.</string>

    <string name="snooze_x_min">Posponer <xliff:g id="remaining_time">%1$d</xliff:g> min.</string>

    <string name="themes">Temas</string>

    <string name="time_hint_about_to_start_min">Esta sesión comenzará en <xliff:g id="minutes">%1$d</xliff:g> min.</string>

    <string name="time_hint_about_to_start_shortly">Esta sesión está a punto de comenzar (menos de 1 minuto).</string>

    <string name="time_hint_session_ended">Esta sesión ha finalizado.</string>

    <string name="time_hint_started_just">¡Esta sesión está en curso ahora! (Acaba de comenzar).</string>

    <string name="time_hint_started_min">¡Esta sesión se encuentra en curso ahora! (Comenzó hace <xliff:g id="minutes">%1$d</xliff:g> min).</string>

    <string name="title_about">Acerca de</string>

    <string name="title_explore">Explorar</string>

    <string name="title_map">Mapa</string>

    <string name="title_my_io">Mi I/O</string>

    <string name="title_schedule">Programa</string>

    <string name="title_feed">Feed</string>

    <string name="title_info">Información</string>

    <string name="title_search">Buscar</string>

    <string name="title_session_detail">Información de la sesión</string>

    <string name="title_session_feedback">Opinión de la sesión</string>

    <string name="title_event">Evento</string>

    <string name="title_travel">Transporte</string>

    <string name="title_faq">Preguntas frecuentes</string>

    <string name="title_settings">Ajustes</string>

    <string name="title_share">Compartir usando</string>

    <string name="title_video_library">Videos</string>

    <string name="topics">Temas</string>

    <string name="types">Tipos</string>

    <string name="unknown_room">(Sala no especificada)</string>

    <string name="watch_now">¡Ver ahora!</string>

    <string name="welcome_to_google_i_o">Bienvenido a #io17</string>

    <string name="welcome_text">Antes de comenzar, a continuación se te ofrece información legal importante con respecto al uso de esta aplicación.</string>

    <string name="welcome_conduct_title">Prácticas recomendadas de la comunidad I/O</string>

    <string name="welcome_attending_text">¿Asistirás a I/O de forma remota o lo harás en persona en Mountain View?</string>

    <string name="welcome_select_account">Selecciona una cuenta</string>

    <string name="welcome_select_accoun_text">Selecciona la cuenta que usarás:</string>

    <string name="wifi_dialog_button_configure">Agregar red wifi</string>

    <string name="wifi_dialog_button_settings">Abrir ajustes de wifi</string>

    <string name="title_topic_filtered_video_library">Vídeos sobre <xliff:g id="topic">%1$s</xliff:g></string>

    <string name="title_year_filtered_video_library" tools:ignore="PluralsCandidate">Videos de <xliff:g id="year">%1$d</xliff:g></string>

    <string name="title_year_and_topic_filtered_video_library" tools:ignore="PluralsCandidate">Videos de <xliff:g id="year">%1$d</xliff:g> sobre <xliff:g id="topic">%2$s</xliff:g></string>

    <string name="description_filter">Filtrar</string>

    <string name="description_avatar_signed_out">Acceder</string>

    <string name="description_avatar_signed_in">Salir</string>

    <string name="title_video_library_filter">Filtrar</string>

    <string name="year_filter_section_label">Año</string>

    <string name="topic_filter_section_label">Tema</string>

    <string name="all">TODAS</string>

    <string name="title_explore_sessions_filter">Filtrar</string>

    <string name="filter_label_sessions_only">Sesiones únicamente</string>

    <string name="active_filters_description">"Filtros: "</string>

    <string name="clear_all">Borrar todos</string>

    <string name="clear_filters">Borrar filtros</string>

    <string name="explore_io_notifications_ask_opt_in"
            description="This message is displayed on the Explore I/O screen to ask users whether
        they would like to opt in to receive notifications for the sessions the have added to their schedule."><![CDATA[
        Notificaciones de sesiones
 ¿Desearías recibir notificaciones para las sesiones de tu cronograma?]]></string>

    <string name="explore_io_msgcards_ask_opt_in"
            description="This message is displayed on the Explore I/O screen to ask users whether
            they would like to opt in to receive messages regarding the conference."><![CDATA[
        Mensajes sobre la conferencia
 ¿Desearías recibir mensajes importantes sobre la conferencia? Los mensajes se muestran durante un tiempo determinado y pueden incluir mensajes promocionales de socios.]]></string>

    <string name="explore_io_msgcards_answer_yes">Sí, ¡de acuerdo!</string>

    <string name="explore_io_msgcards_answer_no">No, gracias.</string>

    <string name="explore_io_video_id_not_valid">Lo sentimos, parece que hay un problema en la URL del video.</string>

    <string name="explore_io_on_the_ground_title"
            description="This string is presented as a header message on a user interface card
         element. The card element has sub-cards that explain a few logistical details for
         attendees. 'On the Ground' is slang in English indicating 'What you need to know when
         you're in the middle of the conference.'">Público general</string>

    <string name="google_play_services_disconnected">No es posible la conexión con Google Play Services.</string>

    <string name="google_play_services_failed">Lo sentimos, falló la conexión con Google Play Services.</string>

    <string name="signin_message">Accede para reservar asientos para eventos de forma anticipada, sincronizar eventos guardados y reservados desde tu cuenta en dispositivos móviles y de escritorio, y proporcionar comentarios una vez que las sesiones hayan finalizado. Podrás guardar eventos localmente sin acceder.</string>

    <string name="signin_prompt">Acceder</string>

    <string name="yes">Sí</string>

    <string name="no">No</string>

    <string name="onboarding_notifications_title">Notificaciones de I/O</string>

    <string name="onboarding_notifications_opt_in">
        ¿Te gustaría recibir notificaciones sobre I/O?\nTe enviaremos información importante sobre el evento, la agenda, el cronograma, el transporte, las actividades posteriores al evento, las grabaciones de las sesiones y más. Puedes cambiar esta configuración en cualquier momento en \"Información > Ajustes\".
    </string>

    <string name="onboarding_sign_in">
        ¿Te gustaría acceder para reservar asientos para eventos de forma anticipada, sincronizar eventos guardados desde tu cuenta en dispositivos móviles y de escritorio, y proporcionar comentarios una vez que las sesiones hayan finalizado? De todas maneras, podrás guardar eventos localmente sin acceder, pero no se sincronizará la información con tu cuenta.\n\nIMPORTANTE: Para poder reservar asientos en un evento, debes acceder con la misma dirección de correo electrónico que usaste para inscribirte en Google I/O.
    </string>

    <string name="signed_in_card_message">
        Tus eventos guardados y reservados aparecen a continuación, y se sincronizan desde tu cuenta en dispositivos móviles y de escritorio.
    </string>

    <string name="signout_prompt">Salir</string>

    <string name="signin_prompt_skip">Omitir</string>

    <string name="signin_prompt_dismiss">Descartar</string>

    <string name="add_events">Agregar eventos</string>
\

    <string name="my_io_body_intro_signed_out">Accede a:</string>

    <string name="my_io_body_intro_signed_in">Como un usuario con sesión activa:</string>

    <string name="my_io_dialog_first_bullet_point_signed_out">
        Reserva asientos para eventos de forma anticipada.
    </string>

    <string name="my_io_dialog_first_bullet_point_signed_in">
        Puedes reservar asientos para eventos de forma anticipada (hasta una reserva por bloque de tiempo).
    </string>

    <string name="my_io_dialog_second_bullet_point_signed_out">
        Sincroniza los eventos guardados y reservados desde tu cuenta en dispositivos móviles y de escritorio.
    </string>

    <string name="my_io_dialog_second_bullet_point_signed_in">
        Tus eventos guardados y reservados se sincronizan desde tu cuenta en dispositivos móviles y de escritorio.
    </string>

    <string name="my_io_dialog_third_bullet_point_signed_out">
        Proporciona comentarios sobre las sesiones cuando estas finalicen.
    </string>

    <string name="my_io_dialog_third_bullet_point_signed_in">
        Puedes proporcionar comentarios sobre las sesiones después de que estas finalicen.
    </string>

    <string name="signin_failed_text">No fue posible acceder. Vuelve a intentarlo.</string>

    <string name="signout_failed_text">No fue posible salir. Vuelve a intentarlo.</string>

    <string name="wifi_network_label">Red wifi</string>
    <string name="wifi_password_label">Contraseña</string>
    <string name="setup_wifi">Guardar red wifi</string>

    <string name="wifi_install_success">Se guardó la red wifi</string>

    <string name="wifi_install_error_message">Lo sentimos, no se pudo guardar la red wifi</string>

    <string name="view_sessions_text">Ver sesiones</string>
    <string name="view_map_text">Ver mapa</string>

    <string name="event_sandbox_title">Sandbox</string>
    <string name="event_codelabs_title">Codelabs</string>
    <string name="event_officehours_title">Sesiones de preguntas y respuestas con expertos y reseñas de la aplicación</string>
    <string name="event_afterhours_title">Actividades posteriores al evento</string>

    <string name="travel_details_title">Detalles del transporte</string>
    <string name="travel_shuttle_info_title">Servicio de transporte</string>
    <string name="travel_carpool_parking_info_title">Estacionamiento y vehículo compartido</string>
    <string name="travel_public_transportation_info_title">Transporte público</string>
    <string name="travel_biking_info_title">Bicicletas</string>
    <string name="travel_ride_sharing_info_title">Viajes compartidos</string>
    <string name="settings_time_zone_label">Mostrar eventos en horario del Pacífico (PT)</string>
    <string name="settings_enable_notifications">Habilitar notificaciones</string>
    <string name="settings_enable_anon_statistics">Enviar estadísticas de uso de manera anónima</string>
    <string name="about_terms_url">https://www.google.com/policies/terms/</string>
    <string name="about_privacy_policy_url">https://www.google.com/policies/privacy/</string>
    <string name="about_app_version">Versión %1$s</string>

    <string name="feed_error">Error al cargar el feed.</string>

    <string name="add_bookmark">Agregar marcadores</string>

    <string name="remove_bookmark">Quitar marcadores</string>

    <string name="add_bookmark_hint">Evento guardado en Mi I/O</string>

    <string name="remove_bookmark_hint">Evento quitado de Mi I/O</string>

    <string name="bookmark_hint_optout">Entendido</string>

    <string name="expanded">Expandido</string>

    <string name="collapsed">Contraído</string>
</resources>


text:
package org.apache.commons.imaging.formats.tiff.taginfos;

import java.nio.ByteOrder;
import java.util.List;

import org.apache.commons.imaging.common.ByteConversions;
import org.apache.commons.imaging.formats.tiff.constants.TiffDirectoryType;
import org.apache.commons.imaging.formats.tiff.fieldtypes.FieldType;

public class TagInfoLong extends TagInfo {
    public TagInfoLong(final String name, final int tag, final TiffDirectoryType directoryType) {
        super(name, tag, FieldType.LONG, 1, directoryType);
    }

    public TagInfoLong(final String name, final int tag, final TiffDirectoryType directoryType, final boolean isOffset) {
        super(name, tag, FieldType.LONG, 1, directoryType, isOffset);
    }

    public TagInfoLong(final String name, final int tag, final List<FieldType> dataTypes, final int length,
        final TiffDirectoryType exifDirectory, final boolean isOffset) {
        super(name, tag, dataTypes, length, exifDirectory, isOffset);
    }

    public int getValue(final ByteOrder byteOrder, final byte[] bytes) {
        return ByteConversions.toInt(bytes, byteOrder);
    }

    public byte[] encodeValue(final ByteOrder byteOrder, final int value) {
        return ByteConversions.toBytes(value, byteOrder);
    }
}


text:
ACCEPTED

#### According to
Index Fungorum

#### Published in
null

#### Original name
Leptosporium mycophilum P. Karst.

### Remarks
null


text:
package com.frameworkset.platform.security;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class LineUser implements java.io.Serializable {
	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	private static final DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	private String userName;
	Map  lineContextsByIdx = new HashMap();
	public LineUser()
	{

	}
	public LineUser(String userName)
	{
		this.userName = userName;
	}
//	{
//		this.userName = userName;
//		addLineContext(sessionId,onLineUser,userName,ipaddress,loginTime);
//	}
//	public LineUser(String sessionId,OnLineUser onLineUser,String userName, String ipaddress, Date loginTime)
//	{
//		this.userName = userName;
//		addLineContext(sessionId,onLineUser,userName,ipaddress,loginTime);
//	}
	public boolean addLineContext(String sessionId,OnLineUser onLineUser,String userName,String ipaddress,
			Date loginTime, String macaddr,String DNSName,
			String serverIp,String serverport) {
		String key = sessionId;
		if(this.lineContextsByIdx.containsKey(key))
		{
			LineContext context = (LineContext)lineContextsByIdx.get(key);

			System.out.println("用户[" + userName + "]已经在[" + context.getLoginTime() + "]登录系统。");
			return false;
		}
		try
		{
			lineContextsByIdx.put(key,new LineContext(sessionId,userName, ipaddress, loginTime,macaddr,DNSName,
					serverIp,serverport));
		}
		catch(Exception e)
		{
			return false;
		}
		return true;

	}

	public Collection getLineContexts() {
		return lineContextsByIdx.values();
	}
	public int getContextSize()
	{
		return getLineContexts().size();
	}

	public LineContext getIncludeLineContextsByIdx(String key){
		return (LineContext)this.lineContextsByIdx.get(key);
	}

	/**
	 *
	 * @param key
	 * @param lineContext
	 */
	public void putLineContext(String key,LineContext lineContext){
		this.lineContextsByIdx.put(key, lineContext);
	}

	public String toString()
	{
		String ret = "User[" + userName + "],online information:";

		Iterator entry = lineContextsByIdx.values().iterator();

        while(entry.hasNext())
		{
			LineContext c = (LineContext)entry.next();
			ret += "[ip=" + c.ipaddress + ",logintime=" + format.format(c.loginTime) + "]";
		}
		return ret;
	}

	/**
	 * 判定已登录用户是否处于活动状态
	 * @param ip
	 * @return
	 */
	public boolean isActive(OnLineUser onLineUser) throws NullUserException
	{

		Iterator temps = lineContextsByIdx.entrySet().iterator();
		List lsit = new ArrayList();
		while(temps.hasNext())
		{
			Map.Entry es = (Map.Entry)temps.next();

			LineContext c = (LineContext)es.getValue();
			if(c.isValid())
			{
				;
			}
			else
			{

				lsit.add(es.getKey());
			}
		}
		UserCount c = onLineUser.getUserCount();
		int j = c.getOnlineuserCount();
		for(int i = 0; i < lsit.size(); i ++)
		{
			lineContextsByIdx.remove(lsit.get(i));

//			onLineUser.getUserCount().onlineuserCount --;

			j --;
		}
		c.setOnlineuserCount(j>0?j:0);
		onLineUser.setUserCount(c);
		return lineContextsByIdx.size() > 0;
	}
	public boolean deleteContext(String sessionId,OnLineUser onLineUser,String ip,String macaddr)
	{

		String key = sessionId;
		UserCount c = onLineUser.getUserCount();
		int j = c.getOnlineuserCount();
		if(lineContextsByIdx.containsKey(key))
		{
			lineContextsByIdx.remove(key);
//			onLineUser.getUserCount().onlineuserCount --;
			j --;

		}
		c.setOnlineuserCount(j>0?j:0);
		onLineUser.setUserCount(c);
		if(lineContextsByIdx.size() <= 0)
			return false;
		else
			return true;

	}

	public void  deleteAllContext(OnLineUser onLineUser)
	{
		int size = lineContextsByIdx.size();
		if(size > 0)
		{
			lineContextsByIdx.clear();
			UserCount c = onLineUser.getUserCount();
			int j = c.getOnlineuserCount();
//			int i = onLineUser.getUserCount().onlineuserCount - size;
			j = j - size;
//			onLineUser.getUserCount().onlineuserCount = i > 0?i:0;
			c.setOnlineuserCount(j > 0?j:0);
			onLineUser.setUserCount(c);

		}
		//if(lineContextsByIdx.size() == 0)
//			return false;
//		else
//			return true;

	}

	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}

	public boolean containSession(String sessionId)
	{
		Set kes = this.lineContextsByIdx.keySet();
		if(kes == null || kes.size() == 0)
			return false;
		Iterator keys = kes.iterator();
		while(keys.hasNext())
		{
			String key = (String)keys.next();
			if(key.equals(sessionId))
				return true;
		}
		return false;

	}
}


text:
import {
  expect
} from 'chai';

import {
  Fields, ListField, MapField, RegisterField, TextField
} from '@phosphor/datastore';

type FieldType = number;
let value: FieldType = 11;

describe('@phosphor/datastore', () => {

  describe('Fields', () => {

    describe('Boolean', () => {

      it('should create a boolean register field', () => {
        let field = Fields.Boolean();
        expect(field).to.be.instanceof(RegisterField);
        expect(typeof(field.value)).to.equal("boolean");
      });

      it('should default to false', () => {
        let field = Fields.Boolean();
        expect(field.value).to.be.false;
      });

    });

    describe('Number', () => {

      it('should create a number register field', () => {
        let field = Fields.Number();
        expect(field).to.be.instanceof(RegisterField);
        expect(typeof(field.value)).to.equal("number");
      });

      it('should default to zero', () => {
        let field = Fields.Number();
        expect(field.value).to.equal(0);
      });

    });

    describe('String', () => {

      it('should create a string register field', () => {
        let field = Fields.String();
        expect(field).to.be.instanceof(RegisterField);
        expect(typeof(field.value)).to.equal("string");
      });

      it('should default to an empty string', () => {
        let field = Fields.String();
        expect(field.value).to.equal('');
      });

    });

    describe('List', () => {

      it('should create a list field', () => {
        let field = Fields.List<FieldType>();
        expect(field).to.be.instanceof(ListField);
      });

    });

    describe('Map', () => {

      it('should create a map field', () => {
        let field = Fields.Map<FieldType>();
        expect(field).to.be.instanceof(MapField);
      });

    });

    describe('Register', () => {

      it('should create a register field', () => {
        let field = Fields.Register<FieldType>({ value });
        expect(field).to.be.instanceof(RegisterField);
        expect(typeof(field.value)).to.equal(typeof(value));
      });

      it('should default to the provided initial value', () => {
        let field = Fields.Register<FieldType>({ value });
        expect(field.value).to.equal(value);
      });

    });

    describe('Text', () => {

      it('should create a text field', () => {
        let field = Fields.Text();
        expect(field).to.be.instanceof(TextField);
      });

    });

  });

});


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title>InstancePath (CONF API Version 6.6)</title>
<meta name="date" content="2018-03-02">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method

com.tailf.conf

Class InstancePath

Object

com.tailf.conf.InstancePath

Direct Known Subclasses:

ConfPath, ConfXPath

public abstract class InstancePath
extends Object

 Class Representing an path. A Path can be either a schema path
 or an instance path. A schema path points to an element in the
 model while an instance path points to an element in the
 instantiated model.

 The difference is that in the instance tree both elements and
 data values are needed to point out a instance element.

 There are several ways to represent a path which are supported by
 this class. The two most important being as a String or as a array of
 ConfTag/ConfKey values.

 Instance of ConfEList - Applications usually does
 not have to deal with paths that are instances of ConfEList.

 Constructors that have this type is usually for internal use:
 InstancePath(ConfEBinary),InstancePath(ConfEList),
 InstancePath(ConfObject[])

Reverted array of ConfObject ConfObject[]
 where each element is either
 of the type ConfTag or ConfKey. To determine which type
 a instanceof test is required. Usually the application
 need to deal with this representations in different callback
 implementations and it is always reverted. The library
 invokes the user defined callbacks with this type of representation as
 one of the parameters.

 Application is seldom required to construct such arrays.

Constructor Summary

Constructors

Constructor and Description

InstancePath(ConfEBinary o)

Initialize a ConfPath.

InstancePath(ConfEList o)

Initialize a ConfPath.

InstancePath(ConfObject[] kp)

Initializes a new instance of this class from a given
 reverted ConfObject[] keypath where elements
 is either ConfTag or
 ConfKey.

Method Summary

Methods

Modifier and Type
Method and Description

String
atoString()

Deprecated.

ConfEList
encode()

Returns the path encoded as an ConfEList.

ConfEList
encodeIKP()

Returns the path as ConfEList in IKP format.

boolean
equals(Object o)

MaapiSchemas.CSNode
getCSNode()

Returns MaapiSchemas node corresponding to the path.

ConfObject[]
getKP()

 Returns an array of ConfTag and ConfKey
 objects which represents the path in reverted order.

int
hashCode()

Returns a hash code value for the path.

boolean
isKey()

boolean
isRel()

Check if this is a relative path.

String
toString()

String
toXPathString()

Returns this path object as an XPath string.

Methods inherited from class Object

getClass, notify, notifyAll, wait, wait, wait

Constructor Detail

InstancePath

public InstancePath(ConfEBinary o)
             throws ConfException

Initialize a ConfPath.
 (This constructor is rarely used for applications; usually
 for internal use)

Parameters:

o - element constitute a ConfPath

Throws:

ConfException

InstancePath

public InstancePath(ConfEList o)

Initialize a ConfPath.
 (This constructor is rarely used for applications;
 usually for internal uses)

Parameters:

o - element (reversed) constitute a ConfPath

Throws:

ConfException

InstancePath

public InstancePath(ConfObject[] kp)

Initializes a new instance of this class from a given
 reverted ConfObject[] keypath where elements
 is either ConfTag or
 ConfKey.

Parameters:

kp - reverted keypath

Method Detail

atoString

@Deprecated
public String atoString()

Deprecated.

This is a deprecated method.
 It returns the string representation of the erlang type encoded path.

Returns:

Erlang encoded path string

encode

public ConfEList encode()

Returns the path encoded as an ConfEList.
 This method is used internally.

Returns:

ConfEList representation of this path

encodeIKP

public ConfEList encodeIKP()

Returns the path as ConfEList in IKP format.
 This method is used internally.

Returns:

ConfEList representation of this path

equals

public boolean equals(Object o)

Overrides:

equals in class Object

getCSNode

public MaapiSchemas.CSNode getCSNode()

Returns MaapiSchemas node corresponding to the path.
 The path needs to be absolute and MaapiSchemas need to be loaded.

Returns:

CSNode if the node exists in the schema, null otherwise

getKP

public ConfObject[] getKP()
                   throws ConfException

 Returns an array of ConfTag and ConfKey
 objects which represents the path in reverted order.

 This method requires that the path is absolute and that
 the schema prefix for the root element is defined, if not
 a ConfException is thrown.

 The ConfKey is composed of the proper
 ConfValue types which are determined by the
 loaded schema. However, if this the schema information is not available,
 and the type therefore cannot be determined the key elements are
 defaulted to ConfBinary.

Returns:

reverted array representation of this ConfPath

Throws:

ConfException - If schema information is not loaded,
         the path is not valid or the parsed path
         has no namespace information.

hashCode

public int hashCode()

Returns a hash code value for the path. This method is
 supported for the benefit of hash tables such as those provided by
 java.util.Hashtable.

 The hash code is calculated from its component of ConfTag
 and ConfKey.

Overrides:

hashCode in class Object

Returns:

a hash code value for this object.

isKey

public boolean isKey()

isRel

public boolean isRel()

Check if this is a relative path.

Returns:

true if this is a relative path

toString

public String toString()

Overrides:

toString in class Object

toXPathString

public String toXPathString()

Returns this path object as an XPath string.

Returns:

XPath String representation

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method


text:
package info.bati11.mywearapplication.view;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.view.MotionEvent;
import android.view.View;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;

import info.bati11.mywearapplication.MyActivity;

import static java.lang.Math.*;

public class GraphicView extends View {
    private enum State {
        READY,
        PLAY,
        MISS,
        STOP,
    }

    private State state = State.READY;

    private static final float RATE = 0.5f;

    private static final float FLAP_MOVE_Y = 20 * RATE;
    private static final float DROP_MOVE_Y = 15 * RATE;
    private static final float BARRIER_MOVE_X = 8 * RATE;

    private static final int BARRIER_WIDTH = 60;
    private static final int BARRIER_INTERVAL = BARRIER_WIDTH * 3;
    private static final int FLAP_DISTANCE = 20;
    private static final int BLOCK_COUNT = 10;
    private static final int SPACE_BLOCK_COUNT = 4;

    private static final float TEXT_SIZE = 40;

    private ScheduledExecutorService scheduledExecutorService = null;

    private Ball ball;
    private BarrierContainer barrierContainer;

    private boolean sentMessageFlag = false;

    private final Runnable task = new Runnable(){
        @Override
        public void run() {
            switch (state) {
                case READY:
                    break;
                case PLAY:
                    sentMessageFlag = false;
                    if (ball.isFlap()) {
                        ball.y -= FLAP_MOVE_Y;
                    } else {
                        ball.y += DROP_MOVE_Y;
                    }
                    barrierContainer.moveBarriers(BARRIER_MOVE_X);
                    postInvalidate();
                    break;
                case MISS:
                    ball.y += DROP_MOVE_Y;
                    postInvalidate();
                    break;
                case STOP:
                    if (!sentMessageFlag) {
                        MyActivity activity = (MyActivity) getContext();
                        activity.sendMessage(barrierContainer.passedCount);
                        sentMessageFlag = true;
                    }
                    break;
                default:
                    break;
            }
        }
    };

    public void onResume(){
        scheduledExecutorService = Executors.newSingleThreadScheduledExecutor();
        scheduledExecutorService.scheduleAtFixedRate(task, 0L, (long)(RATE * 100), TimeUnit.MILLISECONDS);
    }

    public void onPause(){
        scheduledExecutorService.shutdown();
        scheduledExecutorService = null;
    }

    public GraphicView(Context context) {
        super(context);
        ready();
    }

    private void ready() {
        ball = new Ball(15.0f, 60.0f, 120.0f);
        barrierContainer = new BarrierContainer(ball.leftX());
        state = State.READY;
    }

    @Override
    protected void onDraw(Canvas canvas) {
        if (state == State.PLAY) {
            if (isCollisionAny(ball, barrierContainer)) {
                state = State.MISS;
            }

            if (isCreateNewBarrier(barrierContainer)) {
                float[] fs = getBarrierParams(getWidth());
                float roofBottomY = fs[0];
                float floorTopY = fs[1];
                barrierContainer.createBarriers(getWidth(), BARRIER_WIDTH, roofBottomY, floorTopY);
            }
        }

        if (isBallDroped()) {
            state = State.STOP;
        }

        drawBackgroundColor(canvas);

        final Paint paint = new Paint();
        drawBarriers(canvas, paint);
        drawPassCountText(canvas, paint);
        drawBall(canvas, paint);
    }

    @Override
    public boolean onTouchEvent(MotionEvent event) {
        switch (state) {
            case READY:
                state = State.PLAY;
                break;
            case PLAY:
                ball.flap(FLAP_DISTANCE);
                break;
            case MISS:
                break;
            case STOP:
                ready();
                break;
            default:
                break;
        }
        return true;
    }

    private void drawBackgroundColor(Canvas canvas) {
        if (state == State.MISS || state == State.STOP) canvas.drawColor(Color.BLACK);
        else canvas.drawColor(Color.CYAN);
    }

    private void drawBarriers(Canvas canvas, Paint paint) {
        paint.setColor(Color.GRAY);
        for (Barrier barrier : barrierContainer.barriers()) {
            canvas.drawRect(barrier.leftX, 0, barrier.rightX(), barrier.roofBottomY, paint);
            canvas.drawRect(barrier.leftX, barrier.floorTopY, barrier.rightX(), getHeight(), paint);
        }
    }

    private void drawPassCountText(Canvas canvas, Paint paint) {
        paint.setColor(Color.WHITE);
        paint.setTextAlign(Paint.Align.CENTER);
        paint.setTextSize(TEXT_SIZE);
        canvas.drawText(Integer.toString(barrierContainer.passedCount), getWidth()/2, TEXT_SIZE, paint);
    }

    private void drawBall(Canvas canvas, Paint paint) {
        paint.setColor(Color.RED);
        canvas.drawCircle(ball.x, ball.y, ball.r, paint);
    }

    private boolean isCreateNewBarrier(BarrierContainer barrierContainer) {
        return barrierContainer.last() == null
                || barrierContainer.last().leftX < getWidth() - BARRIER_INTERVAL;
    }

    private boolean isBallDroped() {
        return ball.y > getHeight();
    }

    private static boolean isCollisionAny(Ball ball, BarrierContainer barrierContainer) {
        boolean result = false;
        for (Barrier barrier : barrierContainer.barriers()) {
            if (isCollision(ball, barrier)) {
                result = true;
                break;
            }
        }
        return result;
    }

    private static float[] getBarrierParams(float canvasWidth) {
        float blockHeight = canvasWidth / BLOCK_COUNT;
        Random random = new Random();
        float roofBottomY = blockHeight * random.nextInt(BLOCK_COUNT - SPACE_BLOCK_COUNT - 1) + 1;
        float floorTopY = roofBottomY + blockHeight * SPACE_BLOCK_COUNT;
        return new float[]{ roofBottomY, floorTopY};
    }

    private static boolean isCollision(Ball ball, Barrier barrier) {
        return collisionCondition1(ball, barrier)
                || collisionCondition2(ball, barrier)
                || collisionCondition3(ball, barrier);
    }

    private static boolean collisionCondition1(Ball ball, Barrier barrier) {
        return (barrier.leftX < ball.x && ball.x < barrier.rightX())
                && (ball.topY() < barrier.roofBottomY && barrier.floorTopY < ball.bottomY());
    }

    private static boolean collisionCondition2(Ball ball, Barrier barrier) {
        return (ball.y < barrier.roofBottomY || barrier.floorTopY < ball.y)
                && (barrier.leftX < ball.rightX() && ball.leftX() < barrier.rightX());
    }

    private static boolean collisionCondition3(Ball ball, Barrier barrier) {
        return (pow(barrier.leftX - ball.x, 2) + pow(barrier.floorTopY - ball.y, 2) < pow(ball.r, 2)
                || pow(barrier.rightX() - ball.x, 2) + pow(barrier.floorTopY - ball.y, 2) < pow(ball.r, 2)
                || pow(barrier.leftX - ball.x, 2) + pow(barrier.roofBottomY - ball.y, 2) < pow(ball.r, 2)
                || pow(barrier.rightX() - ball.x, 2) + pow(barrier.roofBottomY - ball.y, 2) < pow(ball.r, 2)
        );
    }

    private class Ball {
        public float x;
        public float y;
        public float r;
        private boolean flapFlag = false;
        private float flapTargetY = 0;
        private Ball(float r, float x, float y) {
            this.r = r;
            this.x = x;
            this.y = y;
        }
        public float rightX() {
            return x + r;
        }
        public float leftX() {
            return x - r;
        }
        public float topY() {
            return y - r;
        }
        public float bottomY() {
            return y + r;
        }
        public void flap(float distance) {
            flapFlag = true;
            flapTargetY = y - distance;
        }
        public boolean isFlap() {
            if (y < flapTargetY) {
                flapFlag = false;
            }
            return flapFlag;
        }
    }

    private class Barrier {
        public float leftX;
        public float width;
        public float roofBottomY;
        public float floorTopY;
        public boolean passed = false;
        private Barrier(float leftX, float width, float roofBarrierBottomY, float floorBarrierTopY) {
            this.leftX = leftX;
            this.width = width;
            this.roofBottomY = roofBarrierBottomY;
            this.floorTopY = floorBarrierTopY;
        }
        public float rightX() {
            return leftX + width;
        }
    }

    private class BarrierContainer {
        private int index = 0;
        private int passedCount = 0;
        private float ballLeftX;
        private Map<Integer, Barrier> m = new HashMap<Integer, Barrier>();
        public BarrierContainer(float ballLeftX) {
            this.ballLeftX = ballLeftX;
        }
        public void createBarriers(float x, float width, float roofBottomY, float floorTopY) {
            Barrier barrier = new Barrier(x, width, roofBottomY, floorTopY);
            index++;
            m.put(index, barrier);
        }
        public void moveBarriers(float distance) {
            List<Integer> deleteTargets = new ArrayList<Integer>();
            for (Map.Entry<Integer, Barrier> entry : m.entrySet()) {
                Barrier barrier = entry.getValue();
                barrier.leftX -= distance;
                if (barrier.rightX() < ballLeftX) {
                    if (!barrier.passed) {
                        barrier.passed = true;
                        passedCount++;
                    }
                }
                if (barrier.rightX() < 0) {
                    deleteTargets.add(entry.getKey());
                }
            }
            for (Integer target : deleteTargets) {
                m.remove(target);
            }
        }
        public Collection<Barrier> barriers() {
            return m.values();
        }
        public Barrier last() {
            return m.get(index);
        }
    }
}


text:
package org.sakaiproject.content.api;

/**
 * SiteSpecificResourceType is a ResourceType that can be enabled or disabled on a site-by-site basis.
 *
 */
public interface SiteSpecificResourceType extends ResourceType
{
	/**
	 * Determine whether the type is enabled by default.
	 * @return true if the type is enabled by default and false otherwise.
	 */
	public boolean isEnabledByDefault();

}


text:
//******************************************************************************************************
//  SettingsHelper.cs - Gbtc
//
//  Copyright © 2022, Grid Protection Alliance.  All Rights Reserved.
//
//  Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
//  the NOTICE file distributed with this work for additional information regarding copyright ownership.
//  The GPA licenses this file to you under the MIT License (MIT), the "License"; you may not use this
//  file except in compliance with the License. You may obtain a copy of the License at:
//
//      http://opensource.org/licenses/MIT
//
//  Unless agreed to in writing, the subject software distributed under the License is distributed on an
//  "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the
//  License for the specific language governing permissions and limitations.
//
//  Code Modification History:
//  ----------------------------------------------------------------------------------------------------
//  06/08/2022 - Stephen C. Wills
//       Generated original version of source code.
//
//******************************************************************************************************

using System.ComponentModel;
using GSF.Configuration;
using openXDA.HIDS;
using openXDA.Nodes;

namespace SPCTools
{
    internal static class SettingsHelper
    {
        private class Settings
        {
            [Category]
            [SettingName(HIDSSettings.CategoryName)]
            public HIDSSettings HIDSSettings { get; }
                = new HIDSSettings();
        }

        public static HIDSSettings GetHIDSSettings(Host host)
        {
            ConfigurationLoader configurationLoader = new ConfigurationLoader(host.ID, host.CreateDbConnection);
            Settings settings = new Settings();
            configurationLoader.Configure(settings);
            return settings.HIDSSettings;
        }
    }
}


text:
<?xml version="1.0" encoding="utf-8"?>
<resources>

    <color name="filter_text_color">#666666</color>
    <color name="spec_text_color">#999999</color>
    <color name="spec_select_text_color">#ff0000</color>

    <drawable name="color_b">#44aaaaaa</drawable>
    <drawable name="color_a">#00000000</drawable>

    <color name="white">#ffffffff</color>
    <color name="color_orange">#FF7C00</color>
    <color name="color_gray">#F4F4F4</color>
    <color name="color_titlebg">#F0F0F0</color>
    <color name="color_class_right">#00EC9F32</color>
    <color name="color_text_gray">#969696</color>
    <color name="color_line_gray">#C1BFBF</color>
    <color name="radio_button_selected_color">#FAA800</color>
    <color name="radio_button_unselected_color">#ffffff</color>
    <color name="gray_lines">#F7F7F7</color>
    <color name="light_orange">#fffff0</color>

    <color name="black">#000000</color>
    <color name="blue">#ffccddff</color>
    <color name="grey">#58616d</color>
    <color name="darkgrey">#ff404040</color>
    <color name="toasterro">#9fd524</color>
    <color name="lightgrey">#ff888888</color>
    <color name="semitransparent">#80000000</color>
    <color name="lightransparent">#a0000000</color>
    <color name="transparent">#00000000</color>
    <color name="navpage">#FFE1E8EB</color>

</resources>