hexsha
stringlengths
40
40
size
int64
8
1.04M
content
stringlengths
8
1.04M
avg_line_length
float64
2.24
100
max_line_length
int64
4
1k
alphanum_fraction
float64
0.25
0.97
63cb77297c6a97fd4e1a56f84ef8d327421346d8
1,564
package me.katsumag.itemactionslib.listeners; import com.google.common.collect.HashMultimap; import com.google.common.collect.ImmutableMultimap; import com.google.common.collect.Multimap; import me.katsumag.itemactionslib.Action; import me.katsumag.itemactionslib.ActionItem; import me.katsumag.itemactionslib.Utils; import me.katsumag.itemactionslib.event.ListenableEvent; import org.bukkit.Bukkit; import org.bukkit.event.Event; import org.bukkit.event.Listener; import org.bukkit.inventory.ItemStack; public abstract class AbstractListener<T extends ListenableEvent> implements Listener { private final Multimap<ActionItem, Action<T>> actions = HashMultimap.create(); public void addAction(Action<T> action, ActionItem item) { Utils.notNull(Action.class, action); Utils.notNull(ActionItem.class, item); this.actions.put(item, action); } public void clearActions(ActionItem item) { Utils.notNull(ActionItem.class, item); this.actions.removeAll(item); } public ImmutableMultimap<ActionItem, Action<T>> getActions() { return ImmutableMultimap.copyOf(actions); } public void performActions(T event, ItemStack itemStack) { Utils.notNull(ItemStack.class, itemStack); if (event instanceof Event) { Bukkit.getPluginManager().callEvent((Event)event); actions.forEach((actionItem, action) -> { if (actionItem.isSimilar(itemStack)) { action.perform(event); } }); } } }
34
87
0.702046
72dc8553f5a450ec6aac6f89e4eebe1c68e20c39
601
package me.escoffier.lab.chapter5; import io.reactivex.observers.TestObserver; import io.vertx.core.json.JsonArray; import org.junit.Test; import java.util.concurrent.TimeUnit; import static me.escoffier.lab.chapter5.Code2.load; public class Code2Test { @Test public void loadShouldLoadFileCorrectly() throws InterruptedException { TestObserver<JsonArray> heroesList = load().test(); heroesList.await(300, TimeUnit.MILLISECONDS); heroesList.assertNoErrors() .assertValueCount(1) .assertValue(array -> array.size() == 727); } }
26.130435
75
0.703827
ce3e71b597d7a8644f477a8a3a7bb9dc2355785c
1,665
/* * Copyright 2021 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package io.jmix.dashboardsui.repository; import io.jmix.dashboardsui.annotation.DashboardWidget; import java.io.Serializable; /** * Contains values of annotation {@link DashboardWidget} */ public class WidgetTypeInfo implements Serializable { protected String name; protected String fragmentId; protected String editFragmentId; public WidgetTypeInfo() { } public WidgetTypeInfo(String name, String fragmentId, String editFragmentId) { this.name = name; this.fragmentId = fragmentId; this.editFragmentId = editFragmentId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getFragmentId() { return fragmentId; } public void setFragmentId(String fragmentId) { this.fragmentId = fragmentId; } public String getEditFragmentId() { return editFragmentId; } public void setEditFragmentId(String editFragmentId) { this.editFragmentId = editFragmentId; } }
25.615385
82
0.699099
84dd74aeee5cb7d5250f4b66e69dbbc464287d28
9,765
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.netbeans.modules.web.common.api; import java.util.List; import org.netbeans.modules.csl.api.test.CslTestBase; import org.openide.filesystems.FileObject; import org.openide.filesystems.FileUtil; /** * * @author marekfukala */ public class FileReferenceTest extends CslTestBase { public FileReferenceTest(String testName) { super(testName); } @Override protected void setUp() throws Exception { super.setUp(); WebUtils.UNIT_TESTING = true; WebUtils.WEB_ROOT = FileUtil.toFileObject(getDataDir()); } @Override protected void tearDown() throws Exception { super.tearDown(); WebUtils.UNIT_TESTING = false; } public void testFileReference() { FileObject one = getTestFile("one.txt"); assertNotNull(one); FileObject two = getTestFile("folder/second.txt"); assertNotNull(two); //test resolve path reference FileReference resolved = WebUtils.resolveToReference(one, "folder/second.txt"); assertNotNull(resolved); assertEquals(one, resolved.source()); assertEquals(two, resolved.target()); assertEquals(FileReferenceType.RELATIVE, resolved.type()); assertEquals("folder/second.txt", resolved.linkPath()); assertEquals("folder/second.txt", resolved.optimizedLinkPath()); } public void testOptimizedLink() { FileObject one = getTestFile("one.txt"); assertNotNull(one); FileObject fourth = getTestFile("folder/innerfolder/fourth.txt"); assertNotNull(fourth); FileReference resolved = WebUtils.resolveToReference(one, "folder/innerfolder/fourth.txt"); assertNotNull(resolved); assertEquals(fourth, resolved.target()); assertEquals("folder/innerfolder/fourth.txt", resolved.optimizedLinkPath()); assertEquals(one.getParent(), resolved.baseFolder()); //and back resolved = WebUtils.resolveToReference(fourth, "../../one.txt"); assertNotNull(resolved); assertEquals(one, resolved.target()); assertEquals("../../one.txt", resolved.optimizedLinkPath()); assertEquals(one.getParent(), resolved.baseFolder()); } public void testBaseFolder() { FileObject fourth = getTestFile("folder/innerfolder/fourth.txt"); assertNotNull(fourth); FileObject fifth = getTestFile("folder/innerfolder2/fifth.txt"); assertNotNull(fifth); FileObject folder = getTestFile("folder"); assertTrue(folder.isFolder()); FileObject innerfolder = getTestFile("folder/innerfolder"); assertTrue(innerfolder.isFolder()); FileObject innerfolder2 = getTestFile("folder/innerfolder2"); assertTrue(innerfolder2.isFolder()); FileReference resolved = WebUtils.resolveToReference(fourth, "../innerfolder2/fifth.txt"); assertNotNull(resolved); assertEquals(fifth, resolved.target()); assertEquals("../innerfolder2/fifth.txt", resolved.optimizedLinkPath()); assertEquals(folder, resolved.baseFolder()); List<FileObject> smembers = resolved.sourcePathMembersToBase(); assertEquals(1, smembers.size()); assertEquals(smembers.get(0), innerfolder); List<FileObject> tmembers = resolved.targetPathMembersToBase(); assertEquals(1, tmembers.size()); assertEquals(tmembers.get(0), innerfolder2); } public void testFileReferenceModification() { FileObject fourth = getTestFile("folder/innerfolder/fourth.txt"); assertNotNull(fourth); FileObject fifth = getTestFile("folder/innerfolder2/fifth.txt"); assertNotNull(fifth); FileObject folder = getTestFile("folder"); assertTrue(folder.isFolder()); FileObject innerfolder = getTestFile("folder/innerfolder"); assertTrue(innerfolder.isFolder()); FileObject innerfolder2 = getTestFile("folder/innerfolder2"); assertTrue(innerfolder2.isFolder()); FileReference resolved = WebUtils.resolveToReference(fourth, "../innerfolder2/fifth.txt"); assertNotNull(resolved); assertEquals(fifth, resolved.target()); assertEquals("../innerfolder2/fifth.txt", resolved.optimizedLinkPath()); assertEquals(folder, resolved.baseFolder()); FileReferenceModification modif = resolved.createModification(); //the unmodified ref. path should be the same assertEquals(resolved.optimizedLinkPath(), modif.getModifiedReferencePath()); //test modify modif.rename(innerfolder, "ble"); //should have no effect, the .. is not refactored assertEquals(resolved.optimizedLinkPath(), modif.getModifiedReferencePath()); modif.rename(innerfolder2, "superinner"); assertEquals("../superinner/fifth.txt", modif.getModifiedReferencePath()); } public void testFileReferenceModificationFolderWithDot() { FileObject one = getTestFile("one.txt"); FileObject fourth = getTestFile("folder/inner.folder/fourth.txt"); assertNotNull(fourth); FileObject folder = getTestFile("folder"); assertTrue(folder.isFolder()); FileObject innerfolder = getTestFile("folder/inner.folder"); assertTrue(innerfolder.isFolder()); FileReference resolved = WebUtils.resolveToReference(one, "folder/inner.folder/fourth.txt"); assertNotNull(resolved); assertEquals("folder/inner.folder/fourth.txt", resolved.optimizedLinkPath()); FileReferenceModification modif = resolved.createModification(); assertEquals("folder/inner.folder/fourth.txt", modif.getModifiedReferencePath()); //the unmodified ref. path should be the same assertEquals(resolved.optimizedLinkPath(), modif.getModifiedReferencePath()); //test modify modif.rename(folder, "renamed"); //should have no effect, the .. is not refactored assertEquals("renamed/inner.folder/fourth.txt", modif.getModifiedReferencePath()); } public void testFileAbsoluteReferenceModification() { FileObject fourth = getTestFile("folder/innerfolder/fourth.txt"); assertNotNull(fourth); FileObject fifth = getTestFile("folder/innerfolder2/fifth.txt"); assertNotNull(fifth); assertNotNull(fifth); FileObject folder = getTestFile("folder"); assertTrue(folder.isFolder()); FileObject innerfolder = getTestFile("folder/innerfolder"); assertTrue(innerfolder.isFolder()); FileObject innerfolder2 = getTestFile("folder/innerfolder2"); assertTrue(innerfolder2.isFolder()); FileObject baseFolder = FileUtil.toFileObject(getDataDir()); //folder's parent FileReference resolved = WebUtils.resolveToReference(fourth, "/folder/innerfolder2/fifth.txt"); assertNotNull(resolved); assertEquals(fifth, resolved.target()); assertEquals("/folder/innerfolder2/fifth.txt", resolved.optimizedLinkPath()); assertEquals(baseFolder, resolved.baseFolder()); FileReferenceModification modif = resolved.createModification(); //the unmodified ref. path should be the same assertEquals(resolved.optimizedLinkPath(), modif.getModifiedReferencePath()); //test modify modif.rename(innerfolder, "ble"); //should have no effect, the .. is not refactored assertEquals(resolved.optimizedLinkPath(), modif.getModifiedReferencePath()); modif.rename(innerfolder2, "superinner"); assertEquals("/folder/superinner/fifth.txt", modif.getModifiedReferencePath()); } public void testResolveLinkWithQueryPart() { FileObject one = getTestFile("one.txt"); assertNotNull(one); FileObject two = getTestFile("folder/second.txt"); assertNotNull(two); FileReference resolved = WebUtils.resolveToReference(one, "folder/second.txt?param=val"); assertNotNull(resolved); assertEquals(one, resolved.source()); assertEquals(two, resolved.target()); assertEquals(FileReferenceType.RELATIVE, resolved.type()); assertNotNull(WebUtils.resolveToReference(one, "folder/second.txt#article")); } public void testResolveEmptyLink() { FileObject one = getTestFile("one.txt"); assertNotNull(one); FileObject two = getTestFile("folder/second.txt"); assertNotNull(two); FileReference resolved = WebUtils.resolveToReference(one, ""); assertNull(resolved); } public void testResolveInvalidLink() { FileObject one = getTestFile("one.txt"); assertNotNull(one); FileObject two = getTestFile("folder/second.txt"); assertNotNull(two); FileReference resolved = WebUtils.resolveToReference(one, "is*this+an!invalid@ link?"); assertNull(resolved); } }
39.375
103
0.683666
8b65f8e35139f8e7d1d46e20c96771637c8b46c3
5,150
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.flink.contrib.streaming.state; import org.apache.flink.runtime.state.StateAccessException; import org.apache.flink.util.IOUtils; import org.apache.flink.util.Preconditions; import org.rocksdb.Checkpoint; import org.rocksdb.ColumnFamilyHandle; import org.rocksdb.RocksDB; import org.rocksdb.RocksDBException; import org.rocksdb.RocksIterator; import org.rocksdb.WriteOptions; import java.util.Map; /** * A DB instance wrapper of {@link RocksDB}. */ public class RocksDBInstance implements AutoCloseable { /** * Our RocksDB database, this is used to store state. * The different k/v states that we have don't each have their own RocksDB instance. */ private RocksDB db; /** The write options to use in the states. We disable write ahead logging. */ private final WriteOptions writeOptions; private final ColumnFamilyHandle columnFamilyHandle; /** * Creates a rocksDB instance with given options, ttlSeconds and the instance path for rocksDB. */ RocksDBInstance(RocksDB db, ColumnFamilyHandle handle) { Preconditions.checkNotNull(db); Preconditions.checkNotNull(handle); this.writeOptions = new WriteOptions().setDisableWAL(true); this.db = db; this.columnFamilyHandle = handle; } @Override public void close() { IOUtils.closeQuietly(columnFamilyHandle); IOUtils.closeQuietly(writeOptions); } byte[] get(byte[] keyBytes) { try { return db.get(columnFamilyHandle, keyBytes); } catch (RocksDBException e) { throw new StateAccessException(e); } } void put(byte[] keyBytes, byte[] valueBytes) { try { db.put(columnFamilyHandle, writeOptions, keyBytes, valueBytes); } catch (RocksDBException e) { throw new StateAccessException(e); } } void multiPut(Map<byte[], byte[]> keyValueBytesMap) { try (RocksDBWriteBatchWrapper writeBatchWrapper = new RocksDBWriteBatchWrapper(db, writeOptions)) { for (Map.Entry<byte[], byte[]> entry : keyValueBytesMap.entrySet()) { writeBatchWrapper.put(columnFamilyHandle, entry.getKey(), entry.getValue()); } } catch (RocksDBException e) { throw new StateAccessException(e); } } void delete(byte[] keyBytes) { try { db.delete(writeOptions, keyBytes); } catch (RocksDBException e) { throw new StateAccessException(e); } } void merge(byte[] keyBytes, byte[] partialValueBytes) { try { db.merge(writeOptions, keyBytes, partialValueBytes); } catch (RocksDBException e) { throw new StateAccessException(e); } } RocksIterator iterator() { return db.newIterator(); } void snapshot(String localCheckpointPath) throws RocksDBException { Checkpoint checkpoint = Checkpoint.create(db); checkpoint.createCheckpoint(localCheckpointPath); } RocksDB getDb() { return db; } WriteOptions getWriteOptions() { return writeOptions; } public ColumnFamilyHandle getColumnFamilyHandle() { return columnFamilyHandle; } //-------------------------------------------------------------------------- /** * Check whether the given bytes is prefixed with prefiBytes. * * @param bytes The given bytes to compare. * @param prefixBytes The target prefix bytes. */ public static boolean isPrefixWith(byte[] bytes, byte[] prefixBytes) { Preconditions.checkArgument(bytes != null); Preconditions.checkArgument(prefixBytes != null); if (bytes.length < prefixBytes.length) { return false; } for (int i = 0; i < prefixBytes.length; ++i) { if (bytes[i] != prefixBytes[i]) { return false; } } return true; } /** * Compares two given bytes array for order. Returns a negative integer, * zero, or a positive integer as the first bytes array is less than, equal * to, or greater than the second one. * * @param leftBytes The first bytes array to compare. * @param rightBytes The second bytes array to compare. */ static int compare(byte[] leftBytes, byte[] rightBytes) { Preconditions.checkArgument(leftBytes != null); Preconditions.checkArgument(rightBytes != null); int commonLength = Math.min(leftBytes.length, rightBytes.length); for (int i = 0; i < commonLength; ++i) { int leftByte = leftBytes[i] & 0xFF; int rightByte = rightBytes[i] & 0xFF; if (leftByte > rightByte) { return 1; } else if (leftByte < rightByte) { return -1; } } return (leftBytes.length - rightBytes.length); } }
27.98913
101
0.713981
442184ee4e184131a24712b8928575f574870f4c
1,538
package org.spongycastle.openpgp.operator.bc; import java.util.Date; import org.spongycastle.crypto.AsymmetricCipherKeyPair; import org.spongycastle.crypto.params.AsymmetricKeyParameter; import org.spongycastle.openpgp.PGPAlgorithmParameters; import org.spongycastle.openpgp.PGPException; import org.spongycastle.openpgp.PGPKeyPair; import org.spongycastle.openpgp.PGPPrivateKey; import org.spongycastle.openpgp.PGPPublicKey; public class BcPGPKeyPair extends PGPKeyPair { private static PGPPublicKey getPublicKey(int algorithm, PGPAlgorithmParameters parameters, AsymmetricKeyParameter pubKey, Date date) throws PGPException { return new BcPGPKeyConverter().getPGPPublicKey(algorithm, parameters, pubKey, date); } private static PGPPrivateKey getPrivateKey(PGPPublicKey pub, AsymmetricKeyParameter privKey) throws PGPException { return new BcPGPKeyConverter().getPGPPrivateKey(pub, privKey); } public BcPGPKeyPair(int algorithm, AsymmetricCipherKeyPair keyPair, Date date) throws PGPException { this.pub = getPublicKey(algorithm, null, keyPair.getPublic(), date); this.priv = getPrivateKey(this.pub, keyPair.getPrivate()); } public BcPGPKeyPair(int algorithm, PGPAlgorithmParameters parameters, AsymmetricCipherKeyPair keyPair, Date date) throws PGPException { this.pub = getPublicKey(algorithm, parameters, keyPair.getPublic(), date); this.priv = getPrivateKey(this.pub, keyPair.getPrivate()); } }
36.619048
136
0.762679
5b0edf514dd1b90e3b43c36b9b85c7dee496d057
565
package br.com.zup.oragetalents.proposta.external.cartoes; import java.time.LocalDateTime; import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat.ISO; public class Vencimento { private String id; private Integer dia; @DateTimeFormat(iso = ISO.DATE_TIME) private LocalDateTime dataDeCriacao; @Deprecated public Vencimento() { } public String getId() { return id; } public Integer getDia() { return dia; } public LocalDateTime getDataDeCriacao() { return dataDeCriacao; } }
18.225806
64
0.771681
9db03d8283d1d5e2f537e95ae5a4150b35cdaa2c
12,126
package org.educama.flightconnection.datafeed; import org.educama.App; import org.educama.airline.model.Airline; import org.educama.airline.repository.AirlineRepository; import org.educama.airport.model.Airport; import org.educama.airport.repository.AirportRepository; import org.educama.flightconnection.model.FlightConnection; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import org.supercsv.exception.SuperCsvCellProcessorException; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.List; import static org.assertj.core.api.Assertions.assertThat; /** * Tests the deserialization from CSV into connection objects. */ @RunWith(SpringRunner.class) @SpringBootTest(classes = App.class) public class FlightConnectionCsvDeserializerIntTest { private final String separator = ","; private final String empty = ""; private final Charset charset = StandardCharsets.ISO_8859_1; @Autowired AirportRepository airportRepository; @Autowired AirlineRepository airlineRepository; @Autowired ConnectionCsvDeserializer cut; @Before public void tearDown() { List<Airport> airports = airportRepository.findByIataCodeIgnoreCase(getDefaultAirport().getIataCode()); List<Airline> airlines = airlineRepository.findByIataCodeIgnoreCase(getDefaultAirline().getIataCode()); if (!airports.isEmpty()) { airportRepository.delete(airports); } if (!airlines.isEmpty()) { airlineRepository.delete(airlines); } } @Test public void deserializeThrowsExceptionWhenNodValidCodeShare() throws IOException { //Given boolean thrown = false; final String invalidCodeshare = "Invalid codeshare"; final FlightConnection flightConnection = new FlightConnection().withAirlineIataCode("LH") .withSourceAirportIataCode("FRA") .withDestinationAirportIataCode("LAX") .withStops(0); List<FlightConnection> flightConnections = new ArrayList<>(); flightConnections.add(flightConnection); StringBuilder builder = new StringBuilder(); //@formatter:off builder.append(flightConnection.getAirlineIataCode()) .append(separator) //ID .append(empty) .append(separator) //airline ID .append(flightConnection.getSourceAirportIataCode()) .append(separator) .append(empty) .append(separator) //source ID .append(flightConnection.getDestinationAirportIataCode()) .append(separator) .append(empty) .append(separator) //destination ID .append(invalidCodeshare) .append(separator) .append(flightConnection.getStops()) .append(separator) .append(empty) .append("\n"); // Equipment //@formatter:ofn String csvContent = builder.toString(); InputStream inputStream = new ByteArrayInputStream( csvContent.getBytes(charset)); //When try { cut.deserialize(inputStream); } catch (SuperCsvCellProcessorException e) { // ensure that the proper cell processor what activated to reject the invalid codeshare thrown = true; assertThat(e.getMessage()).containsIgnoringCase(invalidCodeshare); } assertThat(thrown).isTrue(); } @Test public void deserializeThrowsExceptionWhenInvalidAirportCodeLength() throws IOException { //Given final String invalidAirportCode = "invalid airport code"; boolean thrown = false; FlightConnection flightConnection = getDefaultConnection(); flightConnection.setSourceAirportIataCode(invalidAirportCode); List<FlightConnection> flightConnections = new ArrayList<>(); flightConnections.add(flightConnection); String csvContent = cut.createCsvContentForConnections(flightConnections); InputStream inputStream = new ByteArrayInputStream(csvContent.getBytes(charset)); //When try { cut.deserialize(inputStream); } catch (SuperCsvCellProcessorException e) { //Then: ensure that the proper cell processor what activated to reject the invalid airport code thrown = true; assertThat(e.getMessage()).containsIgnoringCase(invalidAirportCode); } assertThat(thrown).isTrue(); } @Test public void deserializeThrowsExceptionWhenInvalidAirlineCodeLength() throws IOException { //Given final String invalidAirlineCode = "invalid airline code"; boolean thrown = false; FlightConnection flightConnection = getDefaultConnection(); flightConnection.setDestinationAirportIataCode(invalidAirlineCode); List<FlightConnection> flightConnections = new ArrayList<>(); flightConnections.add(flightConnection); String csvContent = cut.createCsvContentForConnections(flightConnections); InputStream inputStream = new ByteArrayInputStream(csvContent.getBytes(charset)); //When try { cut.deserialize(inputStream); } catch (SuperCsvCellProcessorException e) { //Then: ensure that the proper cell processor what activated to reject the invalid airline code thrown = true; assertThat(e.getMessage()).containsIgnoringCase(invalidAirlineCode); } assertThat(thrown).isTrue(); } @Test public void deserializeConvertsKnownAirportsIcaoCodeIntoCorrespondingIataCode() throws IOException { //Given Airport airport = getDefaultAirport(); final String iataCode = airport.getIataCode(); final String icaoCode = airport.getIcaoCode(); airportRepository.save(airport); FlightConnection flightConnection = getDefaultConnection(); flightConnection.setSourceAirportIataCode(icaoCode); List<FlightConnection> flightConnections = new ArrayList<>(); flightConnections.add(flightConnection); String csvContent = cut.createCsvContentForConnections(flightConnections); InputStream inputStream = new ByteArrayInputStream( csvContent.getBytes(charset)); //When List<FlightConnection> actualFlightConnections = cut.deserialize(inputStream); //Then assertThat(actualFlightConnections.size()).isEqualTo(1); assertThat(actualFlightConnections.get(0) .getSourceAirportIataCode()).isEqualTo(iataCode); } @Test public void deserializeDoesNotConvertsUnknownAirportsIcaoIntoIataCode() throws IOException { //Given Airport airport = getDefaultAirport(); final String unknownIcaoCode = "IZZZ"; airportRepository.save(airport); FlightConnection flightConnection = getDefaultConnection(); flightConnection.setSourceAirportIataCode(unknownIcaoCode); List<FlightConnection> flightConnections = new ArrayList<>(); flightConnections.add(flightConnection); String csvContent = cut.createCsvContentForConnections(flightConnections); InputStream inputStream = new ByteArrayInputStream( csvContent.getBytes(charset)); //When List<FlightConnection> actualFlightConnections = cut.deserialize(inputStream); //Then assertThat(actualFlightConnections.size()).isEqualTo(1); assertThat(actualFlightConnections.get(0) .getSourceAirportIataCode()).isEqualTo(unknownIcaoCode ); } @Test public void deserializeDoesNotConvertsUnknownAirlinesIcaoIntoIataCode() throws IOException { //Given Airline airline = getDefaultAirline(); final String unknownIcaoCode = "IZZ"; airlineRepository.save(airline); FlightConnection flightConnection = getDefaultConnection(); flightConnection.setAirlineIataCode(unknownIcaoCode); List<FlightConnection> flightConnections = new ArrayList<>(); flightConnections.add(flightConnection); String csvContent = cut.createCsvContentForConnections(flightConnections); InputStream inputStream = new ByteArrayInputStream( csvContent.getBytes(charset)); //When List<FlightConnection> actualFlightConnections = cut.deserialize(inputStream); //Then assertThat(actualFlightConnections.size()).isEqualTo(1); assertThat(actualFlightConnections.get(0) .getAirlineIataCode()).isEqualTo(unknownIcaoCode ); } @Test public void deserializeConvertsKnownAirlinesIcaoIntoCorrespondingIataCode() throws IOException { //Given Airline airline = getDefaultAirline(); final String iataCode = airline.getIataCode(); final String icaoCode = airline.getIcaoCode(); airlineRepository.save(airline); FlightConnection flightConnection = getDefaultConnection(); flightConnection.setAirlineIataCode(icaoCode); List<FlightConnection> flightConnections = new ArrayList<>(); flightConnections.add(flightConnection); String csvContent = cut.createCsvContentForConnections(flightConnections); InputStream inputStream = new ByteArrayInputStream( csvContent.getBytes(charset)); //When List<FlightConnection> actualFlightConnections = cut.deserialize(inputStream); //Then assertThat(actualFlightConnections.size()).isEqualTo(1); assertThat(actualFlightConnections.get(0) .getAirlineIataCode()).isEqualTo(iataCode); } @Test public void deserializeCreatesNewConnectionInstancesWhenValidCsvInput() throws IOException { //Given FlightConnection expectedFlightConnection = getDefaultConnection(); List<FlightConnection> flightConnections = new ArrayList<>(); flightConnections.add(expectedFlightConnection); String csvContent = cut.createCsvContentForConnections(flightConnections); InputStream inputStream = new ByteArrayInputStream( csvContent.getBytes(charset)); //When List<FlightConnection> actualFlightConnections = cut.deserialize(inputStream); //Then assertThat(actualFlightConnections.size()).isEqualTo(1); FlightConnection actualFlightConnection = actualFlightConnections.get(0); assertThat(actualFlightConnection.getAirlineIataCode()).isEqualTo(expectedFlightConnection.getAirlineIataCode()); assertThat(actualFlightConnection.getSourceAirportIataCode()).isEqualTo(expectedFlightConnection.getSourceAirportIataCode()); assertThat(actualFlightConnection.getDestinationAirportIataCode()).isEqualTo(expectedFlightConnection.getDestinationAirportIataCode()); } private FlightConnection getDefaultConnection() { return new FlightConnection().withAirlineIataCode("UA") .withSourceAirportIataCode("JFK") .withDestinationAirportIataCode("MUC") .withCodeShare(true); } private Airport getDefaultAirport() { return new Airport().withIataCode("XXX") .withIcaoCode("IYYY"); } private Airline getDefaultAirline() { return new Airline().withIataCode("XX") .withIcaoCode("IYY") .withName("test Airline") .withCallSign("test") .withCountry("test country"); } }
39.37013
143
0.68448
e36dfc862b73330d16b99b9ed86fd9256f166137
1,279
package se.sunet.ati.ladok.atom; import static org.junit.Assert.assertEquals; import java.io.InputStream; import java.util.List; import org.apache.abdera.Abdera; import org.apache.abdera.model.Document; import org.apache.abdera.model.Entry; import org.apache.abdera.model.Feed; import org.apache.abdera.parser.Parser; import org.junit.Test; public class AtomUtilTest { @Test public void testGetSelfLink() throws Exception { Parser parser = Abdera.getNewParser(); InputStream in = this.getClass().getResourceAsStream("/files/ladok/feeds/1"); Document<Feed> doc = parser.parse(in); String selfLink = AtomUtil.getSelfLink(doc.getRoot()); assertEquals("http://localhost:9001/files/ladok/feeds/1", selfLink); } @Test public void testFeedIdAndEntryId() throws Exception { Parser parser = Abdera.getNewParser(); InputStream in = this.getClass().getResourceAsStream("/files/ladok/feeds/1"); Document<Feed> doc = parser.parse(in); Feed feed = doc.getRoot(); List<Entry> entries = feed.getEntries(); for (Entry entry : entries) { String feedIdAndEntryId = AtomUtil.getFeedIdAndEntryId(entry); assertEquals("http://localhost:9001/files/ladok/feeds/1;02cb593f-8f06-4263-b5dd-5665a85f618b", feedIdAndEntryId); break; } } }
28.422222
116
0.73964
8c5acae987b600d986eb4ea07d9e96bbf0f703a7
20,601
/** * The MIT License (MIT) * * Copyright (c) 2015 Arbalo AG * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ package org.opentdc.workrecords.file; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import java.util.UUID; import java.util.logging.Logger; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import org.opentdc.file.AbstractFileServiceProvider; import org.opentdc.resources.ResourceModel; import org.opentdc.service.exception.DuplicateException; import org.opentdc.service.exception.InternalServerErrorException; import org.opentdc.service.exception.NotFoundException; import org.opentdc.service.exception.ValidationException; import org.opentdc.util.LanguageCode; import org.opentdc.util.PrettyPrinter; import org.opentdc.workrecords.ServiceProvider; import org.opentdc.service.ServiceUtil; import org.opentdc.service.TagRefModel; import org.opentdc.workrecords.TaggedWorkRecord; import org.opentdc.workrecords.WorkRecordModel; import org.opentdc.workrecords.WorkRecordQueryHandler; import org.opentdc.wtt.CompanyModel; import org.opentdc.wtt.ProjectModel; public class FileServiceProvider extends AbstractFileServiceProvider<TaggedWorkRecord> implements ServiceProvider { protected static Map<String, TaggedWorkRecord> index = null; protected static Map<String, TagRefModel> tagRefIndex = null; protected static Logger logger = null; protected static boolean isResourceDerived = true; /** * Constructor. * @param context the servlet context (for config) * @param prefix the directory name where the seed and data.json reside (typically the classname of the service) * @throws IOException */ public FileServiceProvider( ServletContext context, String prefix ) throws IOException { super(context, prefix); if (index == null) { index = new HashMap<String, TaggedWorkRecord>(); List<TaggedWorkRecord> _workRecords = importJson(); for (TaggedWorkRecord _workRecord : _workRecords) { index.put(_workRecord.getModel().getId(), _workRecord); } tagRefIndex = new HashMap<String, TagRefModel>(); String _buf = context.getInitParameter("isResourceDerived"); logger = Logger.getLogger(FileServiceProvider.class.getName()); logger.info("init parameter <isResourceDerived> (_buf)=<" + _buf + ">"); isResourceDerived = Boolean.parseBoolean(context.getInitParameter("isResourceDerived")); } logger.info("isResourceDerived=<" + isResourceDerived + ">") ; } /* (non-Javadoc) * @see org.opentdc.workrecords.ServiceProvider#listWorkRecords(java.lang.String, java.lang.String, int, int) */ @Override public ArrayList<WorkRecordModel> listWorkRecords( String query, String queryType, int position, int size) { List<TaggedWorkRecord> _list = new ArrayList<TaggedWorkRecord>(index.values()); Collections.sort(_list, TaggedWorkRecord.TaggedWorkRecordComparator); WorkRecordQueryHandler _queryHandler = new WorkRecordQueryHandler(query); ArrayList<WorkRecordModel> _selection = new ArrayList<WorkRecordModel>(); for (int i = 0; i < _list.size(); i++) { if (i >= position && i < (position + size)) { if (_queryHandler.evaluate(_list.get(i)) == true) { _selection.add(_list.get(i).getModel()); } } } logger.info("list(<" + query + ">, <" + queryType + ">, <" + position + ">, <" + size + ">) -> " + _selection.size() + " workrecords."); return _selection; } /* (non-Javadoc) * @see org.opentdc.workrecords.ServiceProvider#createWorkRecord(org.opentdc.workrecords.WorkRecordModel) */ @Override public WorkRecordModel createWorkRecord( HttpServletRequest request, WorkRecordModel workrecord) throws DuplicateException, ValidationException { logger.info("createWorkRecord(" + PrettyPrinter.prettyPrintAsJSON(workrecord) + ")"); String _id = workrecord.getId(); if (_id == null || _id == "") { _id = UUID.randomUUID().toString(); } else { if (index.get(_id) != null) { // object with same ID exists already throw new DuplicateException("workrecord <" + _id + "> exists already."); } else { // a new ID was set on the client; we do not allow this throw new ValidationException("workrecord <" + _id + "> contains an ID generated on the client. This is not allowed."); } } // validate mandatory attributes if (workrecord.getCompanyId() == null || workrecord.getCompanyId().isEmpty()) { throw new ValidationException("workrecord <" + _id + "> must contain a valid companyId."); } if (workrecord.getCompanyTitle() != null && !workrecord.getCompanyTitle().isEmpty()) { logger.warning("workrecord <" + _id + ">: companyTitle is a derived field and will be overwritten."); } try { CompanyModel _companyModel = org.opentdc.wtt.file.FileServiceProvider.getCompany(workrecord.getCompanyId()); workrecord.setCompanyTitle(_companyModel.getTitle()); } catch (NotFoundException _ex) { throw new ValidationException("workrecord <" + _id + "> contains an invalid companyId <" + workrecord.getCompanyId() + ">."); } if (workrecord.getProjectId() == null || workrecord.getProjectId().isEmpty()) { throw new ValidationException("workrecord <" + _id + "> must contain a valid projectId."); } if (workrecord.getProjectTitle() != null && !workrecord.getProjectTitle().isEmpty()) { logger.warning("workrecord <" + _id + ">: projectTitle is a derived field and will be overwritten."); } try { ProjectModel _projectModel = org.opentdc.wtt.file.FileServiceProvider.getProject(workrecord.getProjectId()); workrecord.setProjectTitle(_projectModel.getTitle()); } catch (NotFoundException _ex) { throw new ValidationException("workrecord <" + _id + "> contains an invalid projectId <" + workrecord.getProjectId() + ">."); } if (workrecord.getResourceId() == null || workrecord.getResourceId().isEmpty()) { throw new ValidationException("workrecord <" + _id + "> must contain a valid resourceId."); } if (isResourceDerived == true) { if (workrecord.getResourceName() != null && !workrecord.getResourceName().isEmpty()) { logger.warning("workrecord <" + _id + ">: resourceName is a derived field and will be overwritten."); } try { ResourceModel _resourceModel = org.opentdc.resources.file.FileServiceProvider.getResourceModel(workrecord.getResourceId()); workrecord.setResourceName(_resourceModel.getName()); } catch (NotFoundException _ex) { throw new ValidationException("workrecord <" + _id + "> contains an invalid resourceId <" + workrecord.getResourceId() + ">."); } } else { // TODO: this is a workaround for the Arbalo demo; resourceName is not derived, but a mandatory field if (workrecord.getResourceName() == null || workrecord.getResourceName().isEmpty()) { throw new ValidationException("workrecord <" + _id + "> must contain a valid resourceName."); } } if (workrecord.getStartAt() == null) { throw new ValidationException("workrecord <" + _id + "> must contain a valid startAt date."); } workrecord.setId(_id); Date _date = new Date(); workrecord.setCreatedAt(_date); workrecord.setCreatedBy(ServiceUtil.getPrincipal(request)); workrecord.setModifiedAt(_date); workrecord.setModifiedBy(ServiceUtil.getPrincipal(request)); TaggedWorkRecord _taggedWR = new TaggedWorkRecord(); _taggedWR.setModel(workrecord); index.put(_id, _taggedWR); // generate TagRefModel composites addTags(request, _id, workrecord.getTagIdList()); logger.info("createWorkRecord() -> " + PrettyPrinter.prettyPrintAsJSON(workrecord)); if (isPersistent) { exportJson(index.values()); } return workrecord; } /* (non-Javadoc) * @see org.opentdc.workrecords.ServiceProvider#readWorkRecord(java.lang.String) */ @Override public WorkRecordModel readWorkRecord( String id) throws NotFoundException { WorkRecordModel _workrecord = readTaggedWorkRecord(id).getModel(); logger.info("readWorkRecord(" + id + ") -> " + _workrecord); return _workrecord; } /** * Retrieve the TaggedWorkRecord based on the id of the WorkRecord. * @param id the unique id of the resource * @return the TaggedWorkRecord that contains the WorkRecord as its model * @throws NotFoundException if no workrecord with this id was found */ private static TaggedWorkRecord readTaggedWorkRecord( String id) throws NotFoundException { TaggedWorkRecord _taggedWR = index.get(id); if (_taggedWR == null) { throw new NotFoundException("no workrecord with id <" + id + "> was found."); } logger.info("readTaggedWorkRecord(" + id + ") -> " + PrettyPrinter.prettyPrintAsJSON(_taggedWR)); return _taggedWR; } /** * Retrieve a WorkRecordModel by its ID. * @param id the ID of the workrecord * @return the workrecord found * @throws NotFoundException if no workrecords with such an ID was found */ public static WorkRecordModel getWorkRecordModel( String id) throws NotFoundException { return readTaggedWorkRecord(id).getModel(); } /* (non-Javadoc) * @see org.opentdc.workrecords.ServiceProvider#updateWorkRecord(java.lang.String, org.opentdc.workrecords.WorkRecordModel) */ @Override public WorkRecordModel updateWorkRecord( HttpServletRequest request, String id, WorkRecordModel workrecord) throws NotFoundException, ValidationException { TaggedWorkRecord _taggedWR = readTaggedWorkRecord(id); WorkRecordModel _model = _taggedWR.getModel(); if(_model == null) { throw new NotFoundException("workrecord <" + id + "> was not found."); } if (! _model.getCreatedAt().equals(workrecord.getCreatedAt())) { logger.warning("workrecord <" + id + ">: ignoring createdAt value <" + workrecord.getCreatedAt().toString() + "> because it was set on the client."); } if (! _model.getCreatedBy().equalsIgnoreCase(workrecord.getCreatedBy())) { logger.warning("workrecord <" + id + ">: ignoring createdBy value <" + workrecord.getCreatedBy() + ">: because it was set on the client."); } // company (id and title) if (! _model.getCompanyId().equalsIgnoreCase(workrecord.getCompanyId())) { throw new ValidationException("workrecord <" + id + ">: it is not allowed to change the companyId."); } if (! _model.getCompanyTitle().equalsIgnoreCase(workrecord.getCompanyTitle())) { logger.warning("workrecord <" + id + ">: ignoring companyTitle value <" + workrecord.getCompanyTitle() + ">, because it is a derived attribute and can not be changed."); } try { CompanyModel _companyModel = org.opentdc.wtt.file.FileServiceProvider.getCompany(workrecord.getCompanyId()); _model.setCompanyTitle(_companyModel.getTitle()); } catch (NotFoundException _ex) { throw new ValidationException("workrecord <" + id + "> contains an invalid companyId <" + workrecord.getCompanyId() + ">."); } // project (id and title) if (! _model.getProjectId().equalsIgnoreCase(workrecord.getProjectId())) { throw new ValidationException("workrecord <" + id + ">: it is not allowed to change the projectId."); } if (! _model.getProjectTitle().equalsIgnoreCase(workrecord.getProjectTitle())) { logger.warning("workrecord <" + id + ">: ignoring projectTitle value <" + workrecord.getProjectTitle() + ">, because it is a derived attribute and can not be changed."); } try { ProjectModel _projectModel = org.opentdc.wtt.file.FileServiceProvider.getProject(workrecord.getProjectId()); _model.setProjectTitle(_projectModel.getTitle()); } catch (NotFoundException _ex) { throw new ValidationException("workrecord <" + id + "> contains an invalid projectId <" + workrecord.getProjectId() + ">."); } // resource (id and name) if (! _model.getResourceId().equalsIgnoreCase(workrecord.getResourceId())) { throw new ValidationException("workrecord <" + id + ">: it is not allowed to change the resourceId."); } if (isResourceDerived == true) { if (! _model.getResourceName().equalsIgnoreCase(workrecord.getResourceName())) { logger.warning("workrecord <" + id + ">: ignoring resourceName value <" + workrecord.getResourceName() + ">, because it is a derived attribute and can not be changed."); } try { ResourceModel _resourceModel = org.opentdc.resources.file.FileServiceProvider.getResourceModel(workrecord.getResourceId()); _model.setResourceName(_resourceModel.getName()); } catch (NotFoundException _ex) { throw new ValidationException("workrecord <" + id + "> contains an invalid resourceId <" + workrecord.getResourceId() + ">."); } } else { // TODO: workaround for Arbalo event: resourceName is mandatory attribute (instead of derived) if (_model.getResourceName() == null || _model.getResourceName().length() == 0) { throw new ValidationException("updating resource <" + id + ">: new data must have a valid resourceName."); } } _model.setStartAt(workrecord.getStartAt()); _model.setDurationHours(workrecord.getDurationHours()); _model.setDurationMinutes(workrecord.getDurationMinutes()); _model.setBillable(workrecord.isBillable()); _model.setRunning(workrecord.isRunning()); _model.setPaused(workrecord.isPaused()); _model.setComment(workrecord.getComment()); _model.setModifiedAt(new Date()); _model.setModifiedBy(ServiceUtil.getPrincipal(request)); _taggedWR.setModel(_model); index.put(id, _taggedWR); logger.info("updateWorkRecord(" + id + ") -> " + PrettyPrinter.prettyPrintAsJSON(_model)); if (isPersistent) { exportJson(index.values()); } return _model; } @Override public void deleteWorkRecord( String id) throws NotFoundException, InternalServerErrorException { TaggedWorkRecord _taggedWR = readTaggedWorkRecord(id); // remove all tagRefs of this TaggedWorkRecord from tagRefIndex for (TagRefModel _tagRef : _taggedWR.getTagRefs()) { if (tagRefIndex.remove(_tagRef.getId()) == null) { throw new InternalServerErrorException("tagRef <" + _tagRef.getId() + "> can not be removed, because it does not exist in the tagRefIndex"); } } if (index.remove(id) == null) { throw new InternalServerErrorException("workRecord <" + id + "> can not be removed, because it does not exist in the index."); } logger.info("deleteWorkRecord(" + id + ") -> OK"); if (isPersistent) { exportJson(index.values()); } } /************************************** TagRef ************************************/ /* (non-Javadoc) * @see org.opentdc.workrecords.ServiceProvider#listTagRefs(java.lang.String, java.lang.String, java.lang.String, int, int) */ @Override public List<TagRefModel> listTagRefs( String id, String query, String queryType, int position, int size) { List<TagRefModel> _tags = readTaggedWorkRecord(id).getTagRefs(); Collections.sort(_tags, TagRefModel.TagRefComparator); ArrayList<TagRefModel> _selection = new ArrayList<TagRefModel>(); for (int i = 0; i < _tags.size(); i++) { if (i >= position && i < (position + size)) { _selection.add(_tags.get(i)); } } logger.info("listTagRefs(<" + id + ">, <" + queryType + ">, <" + query + ">, <" + position + ">, <" + size + ">) -> " + _selection.size() + " values"); return _selection; } /* (non-Javadoc) * @see org.opentdc.workrecords.ServiceProvider#createTagRef(java.lang.String, org.opentdc.workrecords.TagRefModel) */ @Override public TagRefModel createTagRef( HttpServletRequest request, String workRecordId, TagRefModel model) throws DuplicateException, ValidationException { TaggedWorkRecord _taggedWR = readTaggedWorkRecord(workRecordId); if (model.getTagId() == null || model.getTagId().isEmpty()) { throw new ValidationException("TagRef in WorkRecord <" + workRecordId + "> must contain a valid tagId."); } // a tag can be contained as a TagRef within a WorkRecord 0 or 1 times if (_taggedWR.containsTag(model.getTagId())) { throw new DuplicateException("TagRef with Tag <" + model.getTagId() + "> exists already in WorkRecord <" + workRecordId + ">."); } if (lang == null) { logger.warning("lang is null; using default"); lang = LanguageCode.getDefaultLanguageCode(); } String _id = model.getId(); if (_id == null || _id.isEmpty()) { _id = UUID.randomUUID().toString(); } else { if (tagRefIndex.get(_id) != null) { throw new DuplicateException("TagRef with id <" + _id + "> exists already in tagRefIndex."); } else { throw new ValidationException("TagRef with id <" + _id + "> contains an ID generated on the client. This is not allowed."); } } model.setId(_id); model.setCreatedAt(new Date()); model.setCreatedBy(ServiceUtil.getPrincipal(request)); tagRefIndex.put(_id, model); _taggedWR.addTagRef(model); logger.info("createTagRef(" + workRecordId + ") -> " + PrettyPrinter.prettyPrintAsJSON(model)); if (isPersistent) { exportJson(index.values()); } return model; } /* (non-Javadoc) * @see org.opentdc.workrecords.ServiceProvider#readTagRef(java.lang.String, java.lang.String) */ @Override public TagRefModel readTagRef( String workRecordId, String tagRefId) throws NotFoundException { readTaggedWorkRecord(workRecordId); // verify that the workrecord exists TagRefModel _tagRef = tagRefIndex.get(tagRefId); if (_tagRef == null) { throw new NotFoundException("TagRef <" + workRecordId + "/tagref/" + tagRefId + "> was not found."); } logger.info("readRateRef(" + workRecordId + ", " + tagRefId + ") -> " + PrettyPrinter.prettyPrintAsJSON(_tagRef)); return _tagRef; } /* (non-Javadoc) * @see org.opentdc.workrecords.ServiceProvider#deleteTagRef(java.lang.String, java.lang.String) */ @Override public void deleteTagRef( String workRecordId, String tagRefId) throws NotFoundException, InternalServerErrorException { TaggedWorkRecord _taggedWR = readTaggedWorkRecord(workRecordId); TagRefModel _tagRef = tagRefIndex.get(tagRefId); if (_tagRef == null) { throw new NotFoundException("TagRef <" + workRecordId + "/tagref/" + tagRefId + "> was not found."); } // 1) remove the TagRef from its Resource if (_taggedWR.removeTagRef(_tagRef) == false) { throw new InternalServerErrorException("TagRef <" + workRecordId + "/tagref/" + tagRefId + "> can not be removed, because it is an orphan."); } // 2) remove the TagRef from the tagRefIndex if (tagRefIndex.remove(_tagRef.getId()) == null) { throw new InternalServerErrorException("TagRef <" + workRecordId + "/tagref/" + tagRefId + "> can not be removed, because it does not exist in the index."); } logger.info("deleteTagRef(" + workRecordId + ", " + tagRefId + ") -> OK"); if (isPersistent) { exportJson(index.values()); } } // format of String tagIdList ::= tagId{.tagId} @Override public List<TagRefModel> addTags( HttpServletRequest request, String workRecordId, String tagIdList) { ArrayList<TagRefModel> _tagRefs = new ArrayList<TagRefModel>(); if (tagIdList != null && !tagIdList.isEmpty()) { StringTokenizer _st = new StringTokenizer(tagIdList, ","); while (_st.hasMoreTokens()) { _tagRefs.add(createTagRef(request, workRecordId, new TagRefModel(_st.nextToken()))); } } return _tagRefs; } }
38.363128
127
0.705937
35b1b06a10dff0b2b938e6887298bbf5d66faefb
461
package edu.iastate.cs309.jr2.CatchTheCacheServer.models; import java.util.ArrayList; import edu.iastate.cs309.jr2.CatchTheCacheServer.cache.Cache; public class CacheListResponse { ArrayList<Cache> cacheList; public CacheListResponse(ArrayList<Cache> cacheList) { this.cacheList = cacheList; } public ArrayList<Cache> getCacheList() { return cacheList; } public void setCacheList(ArrayList<Cache> cacheList) { this.cacheList = cacheList; } }
20.954545
61
0.778742
3212696ae0bc16b3d03517843efc2041878cbb4b
3,197
package com.neu.his.dao.entity; import javax.persistence.*; import java.sql.Timestamp; @Entity @Table(name = "diagnosis", schema = "neu_his", catalog = "") public class DiagnosisEntity { private int id; private int caseId; private int regId; private int diseaseId; private byte diagnosisType; private Timestamp onsetTime; private byte diagnosisClass; private byte isDeleted; @Id @Column(name = "id") @GeneratedValue(strategy = GenerationType.IDENTITY) public int getId() { return id; } public void setId(int id) { this.id = id; } @Basic @Column(name = "case_id") public int getCaseId() { return caseId; } public void setCaseId(int caseId) { this.caseId = caseId; } @Basic @Column(name = "reg_id") public int getRegId() { return regId; } public void setRegId(int regId) { this.regId = regId; } @Basic @Column(name = "disease_id") public int getDiseaseId() { return diseaseId; } public void setDiseaseId(int diseaseId) { this.diseaseId = diseaseId; } @Basic @Column(name = "diagnosis_type") public byte getDiagnosisType() { return diagnosisType; } public void setDiagnosisType(byte diagnosisType) { this.diagnosisType = diagnosisType; } @Basic @Column(name = "onset_time") public Timestamp getOnsetTime() { return onsetTime; } public void setOnsetTime(Timestamp onsetTime) { this.onsetTime = onsetTime; } @Basic @Column(name = "diagnosis_class") public byte getDiagnosisClass() { return diagnosisClass; } public void setDiagnosisClass(byte diagnosisClass) { this.diagnosisClass = diagnosisClass; } @Basic @Column(name = "is_deleted") public byte getIsDeleted() { return isDeleted; } public void setIsDeleted(byte isDeleted) { this.isDeleted = isDeleted; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DiagnosisEntity that = (DiagnosisEntity) o; if (id != that.id) return false; if (caseId != that.caseId) return false; if (regId != that.regId) return false; if (diseaseId != that.diseaseId) return false; if (diagnosisType != that.diagnosisType) return false; if (diagnosisClass != that.diagnosisClass) return false; if (isDeleted != that.isDeleted) return false; if (onsetTime != null ? !onsetTime.equals(that.onsetTime) : that.onsetTime != null) return false; return true; } @Override public int hashCode() { int result = id; result = 31 * result + caseId; result = 31 * result + regId; result = 31 * result + diseaseId; result = 31 * result + (int) diagnosisType; result = 31 * result + (onsetTime != null ? onsetTime.hashCode() : 0); result = 31 * result + (int) diagnosisClass; result = 31 * result + (int) isDeleted; return result; } }
24.40458
105
0.604629
a0b208155c1ffa508329c8b1dc643839cd51f966
1,383
package com.acai.model.entidade; import java.io.Serializable; import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.validation.constraints.DecimalMax; import javax.validation.constraints.DecimalMin; import javax.validation.constraints.NotNull; @Entity public class Frete implements Serializable { private Integer codigoFrete; private BigDecimal valor; public Frete() {} public Frete(Integer codigoFrete, BigDecimal valor) { this.codigoFrete = codigoFrete; this.valor = valor; } @Id @Column(nullable = false) @GeneratedValue(strategy = GenerationType.AUTO) public Integer getCodigoFrete() { return this.codigoFrete; } public void setCodigoFrete(Integer codigoFrete) { this.codigoFrete = codigoFrete; } @NotNull(message = "O campo valor é obrigatório") @DecimalMin(value = "0.00", message = "O valor minimo para o campo é R$0.00") @DecimalMax(value = "99.99", message = "O valor maximo para o campo é R$99.99") @Column(name = "valorFrete", nullable = false) public BigDecimal getValor() { return this.valor; } public void setValor(BigDecimal valor) { this.valor = valor; } }
27.66
83
0.704989
e032a8ee559df702453dd7a021d3eaf2dca21e1d
3,676
package io.freestar.ssp.server.common.core.system.job; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.File; import java.io.PrintWriter; public final class CommandTool { private static final Logger LOG = LoggerFactory.getLogger(LogArchiveTransferJob.class); private CommandTool() { } public static void execute(String info, String command) throws IOException { Runtime run = Runtime.getRuntime(); try { //LOG.info("execute", "calling for " + info); //LOG.info("execute", command); Process proc = run.exec(command); //LOG.debug("execute", "starting for " + command); proc.waitFor(); //LOG.debug("execute", "ending for " + command); BufferedReader is = new BufferedReader(new InputStreamReader((proc.getInputStream()))); StringBuilder sb = new StringBuilder(); String line; while ((line = is.readLine()) != null) { sb.append(line); sb.append("\n"); } //LOG.debug("execute", sb); is.close(); is = new BufferedReader(new InputStreamReader((proc.getErrorStream()))); sb.setLength(0); while ((line = is.readLine()) != null) { sb.append(line); sb.append("\n"); } System.out.println(sb); //LOG.error("execute", "E: " + sb); is.close(); } catch (InterruptedException e) { e.printStackTrace(); LOG.info("execute", e); } } public static void execute(String info, String command, File outFile) { Runtime run = Runtime.getRuntime(); try { //LOG.info("execute", "calling for " + info); //LOG.info("execute", command); Process proc = run.exec(command); //LOG.debug("execute", "starting for " + command); proc.waitFor(); //LOG.debug("execute", "ending for " + command); BufferedReader is = new BufferedReader(new InputStreamReader((proc.getInputStream()))); PrintWriter fw = new PrintWriter(new FileWriter(outFile)); String line; while ((line = is.readLine()) != null) { fw.println(line); } //LOG.debug("execute", sb); fw.close(); is.close(); is = new BufferedReader(new InputStreamReader((proc.getErrorStream()))); StringBuilder sb = new StringBuilder(); while ((line = is.readLine()) != null) { sb.append(line); sb.append("\n"); } System.out.println(sb); //LOG.error("execute", "E: " + sb); is.close(); } catch (IOException e) { e.printStackTrace(); LOG.error("execute", e); } catch (InterruptedException e) { e.printStackTrace(); LOG.info("execute", e); } } /* public static void execute(String info, String[] command) { Runtime run = Runtime.getRuntime(); try { LOG.info("execute", "calling for " + info); // LOG.info("execute", command); Process proc = run.exec(command); LOG.debug("execute", "starting for " + command); proc.waitFor(); LOG.debug("execute", "ending for " + command); BufferedReader is = new BufferedReader(new InputStreamReader((proc.getInputStream()))); StringBuilder sb = new StringBuilder(); String line; while ((line = is.readLine()) != null) { sb.append(line); sb.append("\n"); } LOG.debug("execute", sb); is.close(); is = new BufferedReader(new InputStreamReader((proc.getErrorStream()))); sb.setLength(0); while ((line = is.readLine()) != null) { sb.append(line); sb.append("\n"); } System.out.println(sb); LOG.error("execute", "E: " + sb); is.close(); } catch (IOException e) { e.printStackTrace(); LOG.error("execute", e); } catch (InterruptedException e) { e.printStackTrace(); LOG.info("execute", e); } } */ }
28.944882
90
0.643362
efa6ebdc8335e3d5bfd529af5f5eb36806d47561
11,126
/* * Copyright (C) 2016-2020 the original author or authors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ package com.viglet.shio.website; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Optional; import javax.activation.MimetypesFileTypeMap; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.servlet.ModelAndView; import com.viglet.shio.persistence.model.auth.ShGroup; import com.viglet.shio.persistence.model.auth.ShUser; import com.viglet.shio.persistence.model.post.impl.ShPostImpl; import com.viglet.shio.persistence.model.site.ShSite; import com.viglet.shio.persistence.repository.auth.ShUserRepository; import com.viglet.shio.persistence.repository.post.ShPostRepository; import com.viglet.shio.persistence.repository.site.ShSiteRepository; import com.viglet.shio.utils.ShFormUtils; import com.viglet.shio.utils.ShStaticFileUtils; import com.viglet.shio.utils.ShUserUtils; import com.viglet.shio.website.cache.component.ShCachePage; import com.viglet.shio.website.cache.component.ShCachePageBean; import com.viglet.shio.website.utils.ShSitesObjectUtils; /** * * Site Context * * @author Alexandre Oliveira * */ @Controller public class ShSitesContext { private static final Log logger = LogFactory.getLog(ShSitesContext.class); private static final String USERNAME_SESSION = "shUsername"; private static final String USER_GROUPS_SESSION = "shUserGroups"; private static final String LOGIN_CALLBACK_SESSION = "shLoginCallBack"; private static final String LOGIN_PAGE = "/login-page"; @Resource private ApplicationContext applicationContext; @Autowired private ShStaticFileUtils shStaticFileUtils; @Autowired private ShSitesContextURLProcess shSitesContextURLProcess; @Autowired private ShFormUtils shFormUtils; @Autowired private ShSitesObjectUtils shSitesObjectUtils; @Autowired private ShCachePage shCachePage; @Autowired private ShPostRepository shPostRepository; @Autowired private ShSiteRepository shSiteRepository; @Autowired private ShUserRepository shUserRepository; @Autowired private ShUserUtils shUserUtils; @PostMapping("/sites/**") public ModelAndView sitesPostForm(HttpServletRequest request, HttpServletResponse response) { ShSitesContextURL shSitesContextURL = shSitesContextURLProcess.getContextURL(request, response); shFormUtils.execute(shSitesContextURL); Optional<ShSite> shSite = shSiteRepository.findById(shSitesContextURL.getInfo().getSiteId()); if (shSite.isPresent()) { String successUrl = shSitesObjectUtils.generateObjectLinkById(shSite.get().getFormSuccess()); return new ModelAndView("redirect:" + successUrl); } try { response.sendError(HttpServletResponse.SC_NOT_FOUND); } catch (IOException e) { logger.error(e); } return null; } @GetMapping("/sites/**") public void sitesFullGeneric(HttpServletRequest request, HttpServletResponse response, HttpSession session) { ShSitesContextURL shSitesContextURL = shSitesContextURLProcess.getContextURL(request, response); boolean showPage = checkIfShowPage(shSitesContextURL, session); renderPage(request, response, session, showPage, shSitesContextURL); } private boolean checkIfShowPage(ShSitesContextURL shSitesContextURL, HttpSession session) { return isRestrictPage(shSitesContextURL, session) ? checkIfShowRestrictPage(shSitesContextURL, session) : isPublicPage(shSitesContextURL); } private boolean checkIfShowRestrictPage(ShSitesContextURL shSitesContextURL, HttpSession session) { boolean showPage = false; String[] groups = (String[]) session.getAttribute(USER_GROUPS_SESSION); String[] pageGroups = shSitesContextURL.getInfo().getShPageGroups(); if (pageGroups != null && pageGroups.length > 0) { if (groups.length > 0) for (String group : groups) if (StringUtils.indexOfAny(group, pageGroups) >= 0) showPage = true; } else { showPage = true; } return showPage; } private boolean isRestrictPage(ShSitesContextURL shSitesContextURL, HttpSession session) { return (String) session.getAttribute(USERNAME_SESSION) != null && shSitesContextURL.getInfo().isPageAllowRegisterUser(); } private boolean isPublicPage(ShSitesContextURL shSitesContextURL) { return shSitesContextURL.getInfo().isPageAllowGuestUser(); } private void renderPage(HttpServletRequest request, HttpServletResponse response, HttpSession session, boolean showPage, ShSitesContextURL shSitesContextURL) { String username = (String) session.getAttribute(USERNAME_SESSION); try { if (showPage) { if (shSitesContextURL.getInfo().getSiteId() != null) this.siteContext(shSitesContextURL); else response.sendError(HttpServletResponse.SC_NOT_FOUND); } else { if (username != null) { if (shSitesContextURL.getInfo().isPageAllowGuestUser()) response.sendError(HttpServletResponse.SC_NOT_FOUND); else response.sendError(HttpServletResponse.SC_FORBIDDEN); } else { String callback = this.getCurrentUrlFromRequest(request); session.setAttribute(LOGIN_CALLBACK_SESSION, callback); response.sendRedirect(LOGIN_PAGE); } } } catch (IOException e) { logger.error(e); } } @GetMapping("/login-page") public String sitesLoginPage(HttpServletRequest request, HttpServletResponse response) { return "login/login"; } @GetMapping("/logout-page") public void sitesLogoutPage(HttpServletRequest request, HttpServletResponse response, HttpSession session) { session.removeAttribute(USERNAME_SESSION); try { response.sendRedirect(LOGIN_PAGE); } catch (IOException e) { logger.error("sitesLogoutPage IOException: ", e); } } @PostMapping("/login-page") public void sitesLoginPagePost(HttpServletRequest request, HttpServletResponse response, HttpSession session) { try { String username = request.getParameter("username"); String password = request.getParameter("password"); if (shUserUtils.isValidUserAndPassword(username, password)) { ShUser shUser = shUserRepository.findByUsername(username); String callback = (String) session.getAttribute(LOGIN_CALLBACK_SESSION); List<String> groupList = new ArrayList<>(); for (ShGroup group : shUser.getShGroups()) { groupList.add(group.getName()); } String[] groups = groupList.toArray(new String[groupList.size()]); session.setAttribute(USERNAME_SESSION, username); session.setAttribute(USER_GROUPS_SESSION, groups); if (callback != null) response.sendRedirect(callback); else response.sendRedirect("/"); } else { response.sendRedirect(LOGIN_PAGE); } } catch (IOException e) { logger.error("sitesLoginPagePost IOException: ", e); } } public String getCurrentUrlFromRequest(HttpServletRequest request) { String queryString = request.getQueryString(); return queryString == null ? request.getRequestURL().toString() : request.getRequestURL().append('?').append(queryString).toString(); } public void siteContext(ShSitesContextURL shSitesContextURL) { if (logger.isDebugEnabled()) logger.debug("siteContext"); if (shSitesContextURL.getInfo().isStaticFile()) { if (logger.isDebugEnabled()) logger.debug("isStaticFile"); this.requestStaticFile(shSitesContextURL); } else if (shSitesContextURL.getInfo().getObjectId() != null) { if (logger.isDebugEnabled()) logger.debug("isPage"); this.requestPage(shSitesContextURL); } else { try { if (logger.isDebugEnabled()) logger.debug("Not Found Page"); shSitesContextURL.getResponse().sendError(HttpServletResponse.SC_NOT_FOUND); } catch (IOException e) { logger.error(e); } } } private void requestPage(ShSitesContextURL shSitesContextURL) { ShCachePageBean shCachePageBean = shCachePage.cache(shSitesContextURL); if (shCachePageBean != null) { if (isCacheExpired(shCachePageBean)) shCachePageBean = recreateCache(shSitesContextURL); renderPage(shSitesContextURL, shCachePageBean); } } private void renderPage(ShSitesContextURL shSitesContextURL, ShCachePageBean shCachePageBean) { shSitesContextURL.getResponse().setContentType(shCachePageBean.getContentType()); shSitesContextURL.getResponse().setCharacterEncoding("UTF-8"); if (shCachePageBean.getBody() != null) try { shSitesContextURL.getResponse().getWriter().write(shCachePageBean.getBody()); } catch (IOException e) { logger.error(e); } } private ShCachePageBean recreateCache(ShSitesContextURL shSitesContextURL) { ShCachePageBean shCachePageBean; shCachePage.deleteCache(shSitesContextURL.getInfo().getObjectId(), shSitesContextURL.getInfo().getContextURLOriginal()); shCachePageBean = shCachePage.cache(shSitesContextURL); if (logger.isDebugEnabled()) { logger.debug(String.format("Expired Cache for id %s and URL %s", shSitesContextURL.getInfo().getObjectId(), shSitesContextURL.getInfo().getContextURLOriginal())); } return shCachePageBean; } private boolean isCacheExpired(ShCachePageBean shCachePageBean) { return shCachePageBean.getExpirationDate() != null && shCachePageBean.getExpirationDate().compareTo(new Date()) < 0; } private void requestStaticFile(ShSitesContextURL shSitesContextURL) { File staticFile; ShPostImpl shPost = shPostRepository.findById(shSitesContextURL.getInfo().getObjectId()).orElse(null); staticFile = shStaticFileUtils.filePath(shPost); if (staticFile != null && staticFile.exists()) { byte[] binaryFile; try { binaryFile = FileUtils.readFileToByteArray(staticFile); MimetypesFileTypeMap mimetypesFileTypeMap = new MimetypesFileTypeMap(); shSitesContextURL.getResponse().setContentType(mimetypesFileTypeMap.getContentType(staticFile)); shSitesContextURL.getResponse().getOutputStream().write(binaryFile); } catch (IOException e) { logger.error(e); } } } }
35.320635
112
0.770627
ad0def70a2905af9e3e3c0855c35dcd272e33f12
56,092
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution License("CDDL") (collectively, the "License"). You * may not use this file except in compliance with the License. You can obtain * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific * language governing permissions and limitations under the License. * * When distributing the software, include this License Header Notice in each * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt. * Sun designates this particular file as subject to the "Classpath" exception * as provided by Sun in the GPL Version 2 section of the License file that * accompanied this code. If applicable, add the following below the License * Header, with the fields enclosed by brackets [] replaced by your own * identifying information: "Portions Copyrighted [year] * [name of copyright owner]" * * Contributor(s): * * If you wish your version of this file to be governed by only the CDDL or * only the GPL Version 2, indicate your decision by adding "[Contributor] * elects to include this software in this distribution under the [CDDL or GPL * Version 2] license." If you don't indicate a single choice of license, a * recipient has the option to distribute your version of this file under * either the CDDL, the GPL Version 2 or to extend the choice of license to * its licensees as provided above. However, if you add GPL Version 2 code * and therefore, elected the GPL Version 2 license, then the option applies * only if the new code is made subject to such option by the copyright * holder. */ /* * @(#)SMTPTransport.java 1.89 07/07/03 */ package com.sun.mail.smtp; import java.io.*; import java.net.*; import java.util.*; import javax.mail.*; import javax.mail.event.*; import javax.mail.internet.*; import com.sun.mail.util.*; /** * This class implements the Transport abstract class using SMTP for * message submission and transport. <p> * * See the <a href="package-summary.html">com.sun.mail.smtp</a> package * documentation for further information on the SMTP protocol provider. <p> * * This class includes many protected methods that allow a subclass to * extend this class and add support for non-standard SMTP commands. * The {@link #issueCommand} and {@link #sendCommand} methods can be * used to send simple SMTP commands. Other methods such as the * {@link #mailFrom} and {@link #data} methods can be overridden to * insert new commands before or after the corresponding SMTP commands. * For example, a subclass could do this to send the XACT command * before sending the DATA command: * <pre> * protected OutputStream data() throws MessagingException { * if (supportsExtension("XACCOUNTING")) * issueCommand("XACT", 25); * return super.data(); * } * </pre> * * @author Max Spivak * @author Bill Shannon * @author Dean Gibson (DIGEST-MD5 authentication) * @version 1.89, 07/07/03 * * @see javax.mail.event.ConnectionEvent * @see javax.mail.event.TransportEvent */ public class SMTPTransport extends Transport { private String name = "smtp"; // Name of this protocol private int defaultPort = 25; // default SMTP port private boolean isSSL = false; // use SSL? // Following fields valid only during the sendMessage method. private MimeMessage message; // Message to be sent private Address[] addresses; // Addresses to which to send the msg // Valid sent, valid unsent and invalid addresses private Address[] validSentAddr, validUnsentAddr, invalidAddr; // Did we send the message even though some addresses were invalid? private boolean sendPartiallyFailed = false; // If so, here's an exception we need to throw private MessagingException exception; // stream where message data is written private SMTPOutputStream dataStream; // Map of SMTP service extensions supported by server, if EHLO used. private Hashtable extMap; private boolean quitWait = false; // true if we should wait private String saslRealm = UNKNOWN; private boolean reportSuccess; // throw an exception even on success private boolean useStartTLS; // use STARTTLS command private boolean useRset; // use RSET instead of NOOP private PrintStream out; // debug output stream private String localHostName; // our own host name private String lastServerResponse; // last SMTP response private int lastReturnCode; // last SMTP return code /** Headers that should not be included when sending */ private static final String[] ignoreList = { "Bcc", "Content-Length" }; private static final byte[] CRLF = { (byte)'\r', (byte)'\n' }; private static final String UNKNOWN = "UNKNOWN"; // place holder /** * Constructor that takes a Session object and a URLName * that represents a specific SMTP server. */ public SMTPTransport(Session session, URLName urlname) { this(session, urlname, "smtp", 25, false); } /** * Constructor used by this class and by SMTPSSLTransport subclass. */ protected SMTPTransport(Session session, URLName urlname, String name, int defaultPort, boolean isSSL) { super(session, urlname); if (urlname != null) name = urlname.getProtocol(); this.name = name; this.defaultPort = defaultPort; this.isSSL = isSSL; out = session.getDebugOut(); // setting mail.smtp.quitwait to false causes us to not wait for the // response from the QUIT command String s = session.getProperty("mail." + name + ".quitwait"); quitWait = s == null || s.equalsIgnoreCase("true"); // mail.smtp.reportsuccess causes us to throw an exception on success s = session.getProperty("mail." + name + ".reportsuccess"); reportSuccess = s != null && s.equalsIgnoreCase("true"); // mail.smtp.starttls.enable enables use of STARTTLS command s = session.getProperty("mail." + name + ".starttls.enable"); useStartTLS = s != null && s.equalsIgnoreCase("true"); // mail.smtp.userset causes us to use RSET instead of NOOP // for isConnected s = session.getProperty("mail." + name + ".userset"); useRset = s != null && s.equalsIgnoreCase("true"); } /** * Get the name of the local host, for use in the EHLO and HELO commands. * The property mail.smtp.localhost overrides mail.smtp.localaddress, * which overrides what InetAddress would tell us. */ public synchronized String getLocalHost() { try { // get our hostname and cache it for future use if (localHostName == null || localHostName.length() <= 0) localHostName = session.getProperty("mail." + name + ".localhost"); if (localHostName == null || localHostName.length() <= 0) localHostName = session.getProperty("mail." + name + ".localaddress"); if (localHostName == null || localHostName.length() <= 0) { InetAddress localHost = InetAddress.getLocalHost(); localHostName = localHost.getHostName(); // if we can't get our name, use local address literal if (localHostName == null) // XXX - not correct for IPv6 localHostName = "[" + localHost.getHostAddress() + "]"; } } catch (UnknownHostException uhex) { } return localHostName; } /** * Set the name of the local host, for use in the EHLO and HELO commands. * * @since JavaMail 1.3.1 */ public synchronized void setLocalHost(String localhost) { localHostName = localhost; } /** * Start the SMTP protocol on the given socket, which was already * connected by the caller. Useful for implementing the SMTP ATRN * command (RFC 2645) where an existing connection is used when * the server reverses roles and becomes the client. * * @since JavaMail 1.3.3 */ public synchronized void connect(Socket socket) throws MessagingException { serverSocket = socket; super.connect(); } /** * Gets the SASL realm to be used for DIGEST-MD5 authentication. * * @return the name of the realm to use for SASL authentication. * * @since JavaMail 1.3.1 */ public synchronized String getSASLRealm() { if (saslRealm == UNKNOWN) { saslRealm = session.getProperty("mail." + name + ".sasl.realm"); if (saslRealm == null) // try old name saslRealm = session.getProperty("mail." + name + ".saslrealm"); } return saslRealm; } /** * Sets the SASL realm to be used for DIGEST-MD5 authentication. * * @param saslRealm the name of the realm to use for * SASL authentication. * * @since JavaMail 1.3.1 */ public synchronized void setSASLRealm(String saslRealm) { this.saslRealm = saslRealm; } /** * Should we report even successful sends by throwing an exception? * If so, a <code>SendFailedException</code> will always be thrown and * an {@link com.sun.mail.smtp.SMTPAddressSucceededException * SMTPAddressSucceededException} will be included in the exception * chain for each successful address, along with the usual * {@link com.sun.mail.smtp.SMTPAddressFailedException * SMTPAddressFailedException} for each unsuccessful address. * * @return true if an exception will be thrown on successful sends. * * @since JavaMail 1.3.2 */ public synchronized boolean getReportSuccess() { return reportSuccess; } /** * Set whether successful sends should be reported by throwing * an exception. * * @param reportSuccess should we throw an exception on success? * * @since JavaMail 1.3.2 */ public synchronized void setReportSuccess(boolean reportSuccess) { this.reportSuccess = reportSuccess; } /** * Should we use the STARTTLS command to secure the connection * if the server supports it? * * @return true if the STARTTLS command will be used * * @since JavaMail 1.3.2 */ public synchronized boolean getStartTLS() { return useStartTLS; } /** * Set whether the STARTTLS command should be used. * * @param useStartTLS should we use the STARTTLS command? * * @since JavaMail 1.3.2 */ public synchronized void setStartTLS(boolean useStartTLS) { this.useStartTLS = useStartTLS; } /** * Should we use the RSET command instead of the NOOP command * in the @{link #isConnected isConnected} method? * * @return true if RSET will be used * * @since JavaMail 1.4 */ public synchronized boolean getUseRset() { return useRset; } /** * Set whether the RSET command should be used instead of the * NOOP command in the @{link #isConnected isConnected} method. * * @param useRset should we use the RSET command? * * @since JavaMail 1.4 */ public synchronized void setUseRset(boolean useRset) { this.useRset = useRset; } /** * Return the last response we got from the server. * A failed send is often followed by an RSET command, * but the response from the RSET command is not saved. * Instead, this returns the response from the command * before the RSET command. * * @return last response from server * * @since JavaMail 1.3.2 */ public synchronized String getLastServerResponse() { return lastServerResponse; } /** * Return the return code from the last response we got from the server. * * @return return code from last response from server * * @since JavaMail 1.4.1 */ public synchronized int getLastReturnCode() { return lastReturnCode; } private DigestMD5 md5support; private synchronized DigestMD5 getMD5() { if (md5support == null) md5support = new DigestMD5(debug ? out : null); return md5support; } /** * Performs the actual protocol-specific connection attempt. * Will attempt to connect to "localhost" if the host was null. <p> * * Unless mail.smtp.ehlo is set to false, we'll try to identify * ourselves using the ESMTP command EHLO. * * If mail.smtp.auth is set to true, we insist on having a username * and password, and will try to authenticate ourselves if the server * supports the AUTH extension (RFC 2554). * * @param host the name of the host to connect to * @param port the port to use (-1 means use default port) * @param user the name of the user to login as * @param passwd the user's password * @return true if connection successful, false if authentication failed * @exception MessagingException for non-authentication failures */ protected boolean protocolConnect(String host, int port, String user, String passwd) throws MessagingException { // setting mail.smtp.ehlo to false disables attempts to use EHLO String ehloStr = session.getProperty("mail." + name + ".ehlo"); boolean useEhlo = ehloStr == null || !ehloStr.equalsIgnoreCase("false"); // setting mail.smtp.auth to true enables attempts to use AUTH String authStr = session.getProperty("mail." + name + ".auth"); boolean useAuth = authStr != null && authStr.equalsIgnoreCase("true"); DigestMD5 md5; if (debug) out.println("DEBUG SMTP: useEhlo " + useEhlo + ", useAuth " + useAuth); /* * If mail.smtp.auth is set, make sure we have a valid username * and password, even if we might not end up using it (e.g., * because the server doesn't support ESMTP or doesn't support * the AUTH extension). */ if (useAuth && (user == null || passwd == null)) return false; /* * If port is not specified, set it to value of mail.smtp.port * property if it exists, otherwise default to 25. */ if (port == -1) { String portstring = session.getProperty("mail." + name + ".port"); if (portstring != null) { port = Integer.parseInt(portstring); } else { port = defaultPort; } } if (host == null || host.length() == 0) host = "localhost"; boolean succeed = false; if (serverSocket != null) openServer(); // only happens from connect(socket) else openServer(host, port); if (useEhlo) succeed = ehlo(getLocalHost()); if (!succeed) helo(getLocalHost()); if (useStartTLS && supportsExtension("STARTTLS")) { startTLS(); /* * Have to issue another EHLO to update list of extensions * supported, especially authentication mechanisms. * Don't know if this could ever fail, but we ignore failure. */ ehlo(getLocalHost()); } if ((useAuth || (user != null && passwd != null)) && (supportsExtension("AUTH") || supportsExtension("AUTH=LOGIN"))) { if (debug) { out.println("DEBUG SMTP: Attempt to authenticate"); if (!supportsAuthentication("LOGIN") && supportsExtension("AUTH=LOGIN")) out.println("DEBUG SMTP: use AUTH=LOGIN hack"); } // if authentication fails, close connection and return false if (supportsAuthentication("LOGIN") || supportsExtension("AUTH=LOGIN")) { // XXX - could use "initial response" capability int resp = simpleCommand("AUTH LOGIN"); /* * A 530 response indicates that the server wants us to * issue a STARTTLS command first. Do that and try again. */ if (resp == 530) { startTLS(); resp = simpleCommand("AUTH LOGIN"); } /* * Wrap a BASE64Encoder around a ByteArrayOutputstream * to craft b64 encoded username and password strings. * * Also note that unlike the B64 definition in MIME, CRLFs * should *not* be inserted during the encoding process. * So I use Integer.MAX_VALUE (0x7fffffff (> 1G)) as the * bytesPerLine, which should be sufficiently large! */ try { ByteArrayOutputStream bos = new ByteArrayOutputStream(); OutputStream b64os = new BASE64EncoderStream(bos, Integer.MAX_VALUE); if (resp == 334) { // obtain b64 encoded bytes b64os.write(ASCIIUtility.getBytes(user)); b64os.flush(); // complete the encoding // send username resp = simpleCommand(bos.toByteArray()); bos.reset(); // reset buffer } if (resp == 334) { // obtain b64 encoded bytes b64os.write(ASCIIUtility.getBytes(passwd)); b64os.flush(); // complete the encoding // send passwd resp = simpleCommand(bos.toByteArray()); bos.reset(); // reset buffer } } catch (IOException ex) { // should never happen, ignore } finally { if (resp != 235) { closeConnection(); return false; } } } else if (supportsAuthentication("PLAIN")) { // XXX - could use "initial response" capability int resp = simpleCommand("AUTH PLAIN"); try { ByteArrayOutputStream bos = new ByteArrayOutputStream(); OutputStream b64os = new BASE64EncoderStream(bos, Integer.MAX_VALUE); if (resp == 334) { // send "<NUL>user<NUL>passwd" // XXX - we don't send an authorization identity b64os.write(0); b64os.write(ASCIIUtility.getBytes(user)); b64os.write(0); b64os.write(ASCIIUtility.getBytes(passwd)); b64os.flush(); // complete the encoding // send username resp = simpleCommand(bos.toByteArray()); } } catch (IOException ex) { // should never happen, ignore } finally { if (resp != 235) { closeConnection(); return false; } } } else if (supportsAuthentication("DIGEST-MD5") && (md5 = getMD5()) != null) { int resp = simpleCommand("AUTH DIGEST-MD5"); try { if (resp == 334) { byte[] b = md5.authClient(host, user, passwd, getSASLRealm(), lastServerResponse); resp = simpleCommand(b); if (resp == 334) { // client authenticated by server if (!md5.authServer(lastServerResponse)) { // server NOT authenticated by client !!! resp = -1; } else { // send null response resp = simpleCommand(new byte[0]); } } } } catch (Exception ex) { // should never happen, ignore if (debug) out.println("DEBUG SMTP: DIGEST-MD5: " + ex); } finally { if (resp != 235) { closeConnection(); return false; } } } } // we connected correctly return true; } /** * Send the Message to the specified list of addresses.<p> * * If all the <code>addresses</code> succeed the SMTP check * using the <code>RCPT TO:</code> command, we attempt to send the message. * A TransportEvent of type MESSAGE_DELIVERED is fired indicating the * successful submission of a message to the SMTP host.<p> * * If some of the <code>addresses</code> fail the SMTP check, * and the <code>mail.stmp.sendpartial</code> property is not set, * sending is aborted. The TransportEvent of type MESSAGE_NOT_DELIVERED * is fired containing the valid and invalid addresses. The * SendFailedException is also thrown. <p> * * If some of the <code>addresses</code> fail the SMTP check, * and the <code>mail.stmp.sendpartial</code> property is set to true, * the message is sent. The TransportEvent of type * MESSAGE_PARTIALLY_DELIVERED * is fired containing the valid and invalid addresses. The * SMTPSendFailedException is also thrown. <p> * * MessagingException is thrown if the message can't write out * an RFC822-compliant stream using its <code>writeTo</code> method. <p> * * @param message The MimeMessage to be sent * @param addresses List of addresses to send this message to * @see javax.mail.event.TransportEvent * @exception SMTPSendFailedException if the send failed because of * an SMTP command error * @exception SendFailedException if the send failed because of * invalid addresses. * @exception MessagingException if the connection is dead * or not in the connected state or if the message is * not a MimeMessage. */ public synchronized void sendMessage(Message message, Address[] addresses) throws MessagingException, SendFailedException { checkConnected(); // check if the message is a valid MIME/RFC822 message and that // it has all valid InternetAddresses; fail if not if (!(message instanceof MimeMessage)) { if (debug) out.println("DEBUG SMTP: Can only send RFC822 msgs"); throw new MessagingException("SMTP can only send RFC822 messages"); } for (int i = 0; i < addresses.length; i++) { if (!(addresses[i] instanceof InternetAddress)) { throw new MessagingException(addresses[i] + " is not an InternetAddress"); } } this.message = (MimeMessage)message; this.addresses = addresses; validUnsentAddr = addresses; // until we know better expandGroups(); boolean use8bit = false; if (message instanceof SMTPMessage) use8bit = ((SMTPMessage)message).getAllow8bitMIME(); if (!use8bit) { String ebStr = session.getProperty("mail." + name + ".allow8bitmime"); use8bit = ebStr != null && ebStr.equalsIgnoreCase("true"); } if (debug) out.println("DEBUG SMTP: use8bit " + use8bit); if (use8bit && supportsExtension("8BITMIME")) { if (convertTo8Bit(this.message)) { // in case we made any changes, save those changes // XXX - this will change the Message-ID try { this.message.saveChanges(); } catch (MessagingException mex) { // ignore it } } } try { mailFrom(); rcptTo(); this.message.writeTo(data(), ignoreList); finishData(); if (sendPartiallyFailed) { // throw the exception, // fire TransportEvent.MESSAGE_PARTIALLY_DELIVERED event if (debug) out.println("DEBUG SMTP: Sending partially failed " + "because of invalid destination addresses"); notifyTransportListeners( TransportEvent.MESSAGE_PARTIALLY_DELIVERED, validSentAddr, validUnsentAddr, invalidAddr, this.message); throw new SMTPSendFailedException(".", lastReturnCode, lastServerResponse, exception, validSentAddr, validUnsentAddr, invalidAddr); } notifyTransportListeners(TransportEvent.MESSAGE_DELIVERED, validSentAddr, validUnsentAddr, invalidAddr, this.message); } catch (MessagingException mex) { if (debug) mex.printStackTrace(out); notifyTransportListeners(TransportEvent.MESSAGE_NOT_DELIVERED, validSentAddr, validUnsentAddr, invalidAddr, this.message); throw mex; } catch (IOException ex) { if (debug) ex.printStackTrace(out); // if we catch an IOException, it means that we want // to drop the connection so that the message isn't sent try { closeConnection(); } catch (MessagingException mex) { /* ignore it */ } notifyTransportListeners(TransportEvent.MESSAGE_NOT_DELIVERED, validSentAddr, validUnsentAddr, invalidAddr, this.message); throw new MessagingException("IOException while sending message", ex); } finally { // no reason to keep this data around validSentAddr = validUnsentAddr = invalidAddr = null; this.addresses = null; this.message = null; this.exception = null; sendPartiallyFailed = false; } } /** * Close the Transport and terminate the connection to the server. */ public synchronized void close() throws MessagingException { if (!super.isConnected()) // Already closed. return; try { if (serverSocket != null) { sendCommand("QUIT"); if (quitWait) { int resp = readServerResponse(); if (resp != 221 && resp != -1) out.println("DEBUG SMTP: QUIT failed with " + resp); } } } finally { closeConnection(); } } private void closeConnection() throws MessagingException { try { if (serverSocket != null) serverSocket.close(); } catch (IOException ioex) { // shouldn't happen throw new MessagingException("Server Close Failed", ioex); } finally { serverSocket = null; serverOutput = null; serverInput = null; lineInputStream = null; if (super.isConnected()) // only notify if already connected super.close(); } } /** * Check whether the transport is connected. Override superclass * method, to actually ping our server connection. */ public synchronized boolean isConnected() { if (!super.isConnected()) // if we haven't been connected at all, don't bother with NOOP return false; try { // sendmail may respond slowly to NOOP after many requests // so if mail.smtp.userset is set we use RSET instead of NOOP. if (useRset) sendCommand("RSET"); else sendCommand("NOOP"); int resp = readServerResponse(); // NOOP should return 250 on success, however, SIMS 3.2 returns // 200, so we work around it. // // Hotmail doesn't implement the NOOP command at all so assume // any kind of response means we're still connected. // That is, any response except 421, which means the server // is shutting down the connection. // if (resp >= 0 && resp != 421) { return true; } else { try { closeConnection(); } catch (MessagingException mex) { } // ignore it return false; } } catch (Exception ex) { try { closeConnection(); } catch (MessagingException mex) { } // ignore it return false; } } /** * Expand any group addresses. */ private void expandGroups() { Vector groups = null; for (int i = 0; i < addresses.length; i++) { InternetAddress a = (InternetAddress)addresses[i]; if (a.isGroup()) { if (groups == null) { // first group, catch up with where we are groups = new Vector(); for (int k = 0; k < i; k++) groups.addElement(addresses[k]); } // parse it and add each individual address try { InternetAddress[] ia = a.getGroup(true); if (ia != null) { for (int j = 0; j < ia.length; j++) groups.addElement(ia[j]); } else groups.addElement(a); } catch (ParseException pex) { // parse failed, add the whole thing groups.addElement(a); } } else { // if we've started accumulating a list, add this to it if (groups != null) groups.addElement(a); } } // if we have a new list, convert it back to an array if (groups != null) { InternetAddress[] newa = new InternetAddress[groups.size()]; groups.copyInto(newa); addresses = newa; } } /** * If the Part is a text part and has a Content-Transfer-Encoding * of "quoted-printable" or "base64", and it obeys the rules for * "8bit" encoding, change the encoding to "8bit". If the part is * a multipart, recursively process all its parts. * * @return true if any changes were made * * XXX - This is really quite a hack. */ private boolean convertTo8Bit(MimePart part) { boolean changed = false; try { if (part.isMimeType("text/*")) { String enc = part.getEncoding(); if (enc != null && (enc.equalsIgnoreCase("quoted-printable") || enc.equalsIgnoreCase("base64"))) { InputStream is = part.getInputStream(); if (is8Bit(is)) { /* * If the message was created using an InputStream * then we have to extract the content as an object * and set it back as an object so that the content * will be re-encoded. * * If the message was not created using an InputStream, * the following should have no effect. */ part.setContent(part.getContent(), part.getContentType()); part.setHeader("Content-Transfer-Encoding", "8bit"); changed = true; } } } else if (part.isMimeType("multipart/*")) { MimeMultipart mp = (MimeMultipart)part.getContent(); int count = mp.getCount(); for (int i = 0; i < count; i++) { if (convertTo8Bit((MimePart)mp.getBodyPart(i))) changed = true; } } } catch (IOException ioex) { // any exception causes us to give up } catch (MessagingException mex) { // any exception causes us to give up } return changed; } /** * Check whether the data in the given InputStream follows the * rules for 8bit text. Lines have to be 998 characters or less * and no NULs are allowed. CR and LF must occur in pairs but we * don't check that because we assume this is text and we convert * all CR/LF combinations into canonical CRLF later. */ private boolean is8Bit(InputStream is) { int b; int linelen = 0; boolean need8bit = false; try { while ((b = is.read()) >= 0) { b &= 0xff; if (b == '\r' || b == '\n') linelen = 0; else if (b == 0) return false; else { linelen++; if (linelen > 998) // 1000 - CRLF return false; } if (b > 0x7f) need8bit = true; } } catch (IOException ex) { return false; } if (debug && need8bit) out.println("DEBUG SMTP: found an 8bit part"); return need8bit; } protected void finalize() throws Throwable { super.finalize(); try { closeConnection(); } catch (MessagingException mex) { } // ignore it } ///////////////////// smtp stuff /////////////////////// private BufferedInputStream serverInput; private LineInputStream lineInputStream; private OutputStream serverOutput; private Socket serverSocket; /////// smtp protocol ////// /** * Issue the <code>HELO</code> command. * * @param domain our domain * * @since JavaMail 1.4.1 */ protected void helo(String domain) throws MessagingException { if (domain != null) issueCommand("HELO " + domain, 250); else issueCommand("HELO", 250); } /** * Issue the <code>EHLO</code> command. * Collect the returned list of service extensions. * * @param domain our domain * @return true if command succeeds * * @since JavaMail 1.4.1 */ protected boolean ehlo(String domain) throws MessagingException { String cmd; if (domain != null) cmd = "EHLO " + domain; else cmd = "EHLO"; sendCommand(cmd); int resp = readServerResponse(); if (resp == 250) { // extract the supported service extensions BufferedReader rd = new BufferedReader(new StringReader(lastServerResponse)); String line; extMap = new Hashtable(); try { boolean first = true; while ((line = rd.readLine()) != null) { if (first) { // skip first line which is the greeting first = false; continue; } if (line.length() < 5) continue; // shouldn't happen line = line.substring(4); // skip response code int i = line.indexOf(' '); String arg = ""; if (i > 0) { arg = line.substring(i + 1); line = line.substring(0, i); } if (debug) out.println("DEBUG SMTP: Found extension \"" + line + "\", arg \"" + arg + "\""); extMap.put(line.toUpperCase(Locale.ENGLISH), arg); } } catch (IOException ex) { } // can't happen } return resp == 250; } /** * Issue the <code>MAIL FROM:</code> command to start sending a message. <p> * * Gets the sender's address in the following order: * <ol> * <li>SMTPMessage.getEnvelopeFrom()</li> * <li>mail.smtp.from property</li> * <li>From: header in the message</li> * <li>System username using the * InternetAddress.getLocalAddress() method</li> * </ol> * * @since JavaMail 1.4.1 */ protected void mailFrom() throws MessagingException { String from = null; if (message instanceof SMTPMessage) from = ((SMTPMessage)message).getEnvelopeFrom(); if (from == null || from.length() <= 0) from = session.getProperty("mail." + name + ".from"); if (from == null || from.length() <= 0) { Address[] fa; Address me; if (message != null && (fa = message.getFrom()) != null && fa.length > 0) me = fa[0]; else me = InternetAddress.getLocalAddress(session); if (me != null) from = ((InternetAddress)me).getAddress(); else throw new MessagingException( "can't determine local email address"); } String cmd = "MAIL FROM:" + normalizeAddress(from); // request delivery status notification? if (supportsExtension("DSN")) { String ret = null; if (message instanceof SMTPMessage) ret = ((SMTPMessage)message).getDSNRet(); if (ret == null) ret = session.getProperty("mail." + name + ".dsn.ret"); // XXX - check for legal syntax? if (ret != null) cmd += " RET=" + ret; } /* * If an RFC 2554 submitter has been specified, and the server * supports the AUTH extension, include the AUTH= element on * the MAIL FROM command. */ if (supportsExtension("AUTH")) { String submitter = null; if (message instanceof SMTPMessage) submitter = ((SMTPMessage)message).getSubmitter(); if (submitter == null) submitter = session.getProperty("mail." + name + ".submitter"); // XXX - check for legal syntax? if (submitter != null) { try { String s = xtext(submitter); cmd += " AUTH=" + s; } catch (IllegalArgumentException ex) { if (debug) out.println("DEBUG SMTP: ignoring invalid submitter: " + submitter + ", Exception: " + ex); } } } /* * Have any extensions to the MAIL command been specified? */ String ext = null; if (message instanceof SMTPMessage) ext = ((SMTPMessage)message).getMailExtension(); if (ext == null) ext = session.getProperty("mail." + name + ".mailextension"); if (ext != null && ext.length() > 0) cmd += " " + ext; issueSendCommand(cmd, 250); } /** * Sends each address to the SMTP host using the <code>RCPT TO:</code> * command and copies the address either into * the validSentAddr or invalidAddr arrays. * Sets the <code>sendFailed</code> * flag to true if any addresses failed. * * @since JavaMail 1.4.1 */ /* * success/failure/error possibilities from the RCPT command * from rfc821, section 4.3 * S: 250, 251 * F: 550, 551, 552, 553, 450, 451, 452 * E: 500, 501, 503, 421 * * and how we map the above error/failure conditions to valid/invalid * address vectors that are reported in the thrown exception: * invalid addr: 550, 501, 503, 551, 553 * valid addr: 552 (quota), 450, 451, 452 (quota), 421 (srvr abort) */ protected void rcptTo() throws MessagingException { Vector valid = new Vector(); Vector validUnsent = new Vector(); Vector invalid = new Vector(); int retCode = -1; MessagingException mex = null; boolean sendFailed = false; MessagingException sfex = null; validSentAddr = validUnsentAddr = invalidAddr = null; boolean sendPartial = false; if (message instanceof SMTPMessage) sendPartial = ((SMTPMessage)message).getSendPartial(); if (!sendPartial) { String sp = session.getProperty("mail." + name + ".sendpartial"); sendPartial = sp != null && sp.equalsIgnoreCase("true"); } if (debug && sendPartial) out.println("DEBUG SMTP: sendPartial set"); boolean dsn = false; String notify = null; if (supportsExtension("DSN")) { if (message instanceof SMTPMessage) notify = ((SMTPMessage)message).getDSNNotify(); if (notify == null) notify = session.getProperty("mail." + name + ".dsn.notify"); // XXX - check for legal syntax? if (notify != null) dsn = true; } // try the addresses one at a time for (int i = 0; i < addresses.length; i++) { sfex = null; InternetAddress ia = (InternetAddress)addresses[i]; String cmd = "RCPT TO:" + normalizeAddress(ia.getAddress()); if (dsn) cmd += " NOTIFY=" + notify; // send the addresses to the SMTP server sendCommand(cmd); // check the server's response for address validity retCode = readServerResponse(); switch (retCode) { case 250: case 251: valid.addElement(ia); if (!reportSuccess) break; // user wants exception even when successful, including // details of the return code // create and chain the exception sfex = new SMTPAddressSucceededException(ia, cmd, retCode, lastServerResponse); if (mex == null) mex = sfex; else mex.setNextException(sfex); break; case 550: case 553: case 503: case 551: case 501: // given address is invalid if (!sendPartial) sendFailed = true; invalid.addElement(ia); // create and chain the exception sfex = new SMTPAddressFailedException(ia, cmd, retCode, lastServerResponse); if (mex == null) mex = sfex; else mex.setNextException(sfex); break; case 552: case 450: case 451: case 452: // given address is valid if (!sendPartial) sendFailed = true; validUnsent.addElement(ia); // create and chain the exception sfex = new SMTPAddressFailedException(ia, cmd, retCode, lastServerResponse); if (mex == null) mex = sfex; else mex.setNextException(sfex); break; default: // handle remaining 4xy & 5xy codes if (retCode >= 400 && retCode <= 499) { // assume address is valid, although we don't really know validUnsent.addElement(ia); } else if (retCode >= 500 && retCode <= 599) { // assume address is invalid, although we don't really know invalid.addElement(ia); } else { // completely unexpected response, just give up if (debug) out.println("DEBUG SMTP: got response code " + retCode + ", with response: " + lastServerResponse); String _lsr = lastServerResponse; // else rset will nuke it int _lrc = lastReturnCode; if (serverSocket != null) // hasn't already been closed issueCommand("RSET", 250); lastServerResponse = _lsr; // restore, for get lastReturnCode = _lrc; throw new SMTPAddressFailedException(ia, cmd, retCode, _lsr); } if (!sendPartial) sendFailed = true; // create and chain the exception sfex = new SMTPAddressFailedException(ia, cmd, retCode, lastServerResponse); if (mex == null) mex = sfex; else mex.setNextException(sfex); break; } } // if we're willing to send to a partial list, and we found no // valid addresses, that's complete failure if (sendPartial && valid.size() == 0) sendFailed = true; // copy the vectors into appropriate arrays if (sendFailed) { // copy invalid addrs invalidAddr = new Address[invalid.size()]; invalid.copyInto(invalidAddr); // copy all valid addresses to validUnsent, since something failed validUnsentAddr = new Address[valid.size() + validUnsent.size()]; int i = 0; for (int j = 0; j < valid.size(); j++) validUnsentAddr[i++] = (Address)valid.elementAt(j); for (int j = 0; j < validUnsent.size(); j++) validUnsentAddr[i++] = (Address)validUnsent.elementAt(j); } else if (reportSuccess || (sendPartial && (invalid.size() > 0 || validUnsent.size() > 0))) { // we'll go on to send the message, but after sending we'll // throw an exception with this exception nested sendPartiallyFailed = true; exception = mex; // copy invalid addrs invalidAddr = new Address[invalid.size()]; invalid.copyInto(invalidAddr); // copy valid unsent addresses to validUnsent validUnsentAddr = new Address[validUnsent.size()]; validUnsent.copyInto(validUnsentAddr); // copy valid addresses to validSent validSentAddr = new Address[valid.size()]; valid.copyInto(validSentAddr); } else { // all addresses pass validSentAddr = addresses; } // print out the debug info if (debug) { if (validSentAddr != null && validSentAddr.length > 0) { out.println("DEBUG SMTP: Verified Addresses"); for (int l = 0; l < validSentAddr.length; l++) { out.println("DEBUG SMTP: " + validSentAddr[l]); } } if (validUnsentAddr != null && validUnsentAddr.length > 0) { out.println("DEBUG SMTP: Valid Unsent Addresses"); for (int j = 0; j < validUnsentAddr.length; j++) { out.println("DEBUG SMTP: " + validUnsentAddr[j]); } } if (invalidAddr != null && invalidAddr.length > 0) { out.println("DEBUG SMTP: Invalid Addresses"); for (int k = 0; k < invalidAddr.length; k++) { out.println("DEBUG SMTP: " + invalidAddr[k]); } } } // throw the exception, fire TransportEvent.MESSAGE_NOT_DELIVERED event if (sendFailed) { if (debug) out.println("DEBUG SMTP: Sending failed " + "because of invalid destination addresses"); notifyTransportListeners(TransportEvent.MESSAGE_NOT_DELIVERED, validSentAddr, validUnsentAddr, invalidAddr, this.message); // reset the connection so more sends are allowed String lsr = lastServerResponse; // save, for get int lrc = lastReturnCode; try { if (serverSocket != null) issueCommand("RSET", 250); } catch (MessagingException ex) { // if can't reset, best to close the connection try { close(); } catch (MessagingException ex2) { // thrown by close()--ignore, will close() later anyway if (debug) ex2.printStackTrace(out); } } finally { lastServerResponse = lsr; // restore lastReturnCode = lrc; } throw new SendFailedException("Invalid Addresses", mex, validSentAddr, validUnsentAddr, invalidAddr); } } /** * Send the <code>DATA</code> command to the SMTP host and return * an OutputStream to which the data is to be written. * * @since JavaMail 1.4.1 */ protected OutputStream data() throws MessagingException { assert Thread.holdsLock(this); issueSendCommand("DATA", 354); dataStream = new SMTPOutputStream(serverOutput); return dataStream; } /** * Terminate the sent data. * * @since JavaMail 1.4.1 */ protected void finishData() throws IOException, MessagingException { assert Thread.holdsLock(this); dataStream.ensureAtBOL(); issueSendCommand(".", 250); } /** * Issue the <code>STARTTLS</code> command and switch the socket to * TLS mode if it succeeds. * * @since JavaMail 1.4.1 */ protected void startTLS() throws MessagingException { issueCommand("STARTTLS", 220); // it worked, now switch the socket into TLS mode try { serverSocket = SocketFetcher.startTLS(serverSocket, session.getProperties(), "mail." + name); initStreams(); } catch (IOException ioex) { closeConnection(); throw new MessagingException("Could not convert socket to TLS", ioex); } } /////// primitives /////// /** * Connect to server on port and start the SMTP protocol. */ private void openServer(String server, int port) throws MessagingException { if (debug) out.println("DEBUG SMTP: trying to connect to host \"" + server + "\", port " + port + ", isSSL " + isSSL); try { Properties props = session.getProperties(); serverSocket = SocketFetcher.getSocket(server, port, props, "mail." + name, isSSL); // socket factory may've chosen a different port, // update it for the debug messages that follow port = serverSocket.getPort(); initStreams(); int r = -1; if ((r = readServerResponse()) != 220) { serverSocket.close(); serverSocket = null; serverOutput = null; serverInput = null; lineInputStream = null; if (debug) out.println("DEBUG SMTP: could not connect to host \"" + server + "\", port: " + port + ", response: " + r + "\n"); throw new MessagingException( "Could not connect to SMTP host: " + server + ", port: " + port + ", response: " + r); } else { if (debug) out.println("DEBUG SMTP: connected to host \"" + server + "\", port: " + port + "\n"); } } catch (UnknownHostException uhex) { throw new MessagingException("Unknown SMTP host: " + server, uhex); } catch (IOException ioe) { throw new MessagingException("Could not connect to SMTP host: " + server + ", port: " + port, ioe); } } /** * Start the protocol to the server on serverSocket, * assumed to be provided and connected by the caller. */ private void openServer() throws MessagingException { int port = -1; String server = "UNKNOWN"; try { port = serverSocket.getPort(); server = serverSocket.getInetAddress().getHostName(); if (debug) out.println("DEBUG SMTP: starting protocol to host \"" + server + "\", port " + port); initStreams(); int r = -1; if ((r = readServerResponse()) != 220) { serverSocket.close(); serverSocket = null; serverOutput = null; serverInput = null; lineInputStream = null; if (debug) out.println("DEBUG SMTP: got bad greeting from host \"" + server + "\", port: " + port + ", response: " + r + "\n"); throw new MessagingException( "Got bad greeting from SMTP host: " + server + ", port: " + port + ", response: " + r); } else { if (debug) out.println("DEBUG SMTP: protocol started to host \"" + server + "\", port: " + port + "\n"); } } catch (IOException ioe) { throw new MessagingException( "Could not start protocol to SMTP host: " + server + ", port: " + port, ioe); } } private void initStreams() throws IOException { Properties props = session.getProperties(); PrintStream out = session.getDebugOut(); boolean debug = session.getDebug(); String s = props.getProperty("mail.debug.quote"); boolean quote = s != null && s.equalsIgnoreCase("true"); TraceInputStream traceInput = new TraceInputStream(serverSocket.getInputStream(), out); traceInput.setTrace(debug); traceInput.setQuote(quote); TraceOutputStream traceOutput = new TraceOutputStream(serverSocket.getOutputStream(), out); traceOutput.setTrace(debug); traceOutput.setQuote(quote); serverOutput = new BufferedOutputStream(traceOutput); serverInput = new BufferedInputStream(traceInput); lineInputStream = new LineInputStream(serverInput); } /** * Send the command to the server. If the expected response code * is not received, throw a MessagingException. * * @param cmd the command to send * @param expect the expected response code * * @since JavaMail 1.4.1 */ public synchronized void issueCommand(String cmd, int expect) throws MessagingException { sendCommand(cmd); // if server responded with an unexpected return code, // throw the exception, notifying the client of the response if (readServerResponse() != expect) throw new MessagingException(lastServerResponse); } /** * Issue a command that's part of sending a message. */ private void issueSendCommand(String cmd, int expect) throws MessagingException { sendCommand(cmd); // if server responded with an unexpected return code, // throw the exception, notifying the client of the response int ret; if ((ret = readServerResponse()) != expect) { // assume message was not sent to anyone, // combine valid sent & unsent addresses int vsl = validSentAddr == null ? 0 : validSentAddr.length; int vul = validUnsentAddr == null ? 0 : validUnsentAddr.length; Address[] valid = new Address[vsl + vul]; if (vsl > 0) System.arraycopy(validSentAddr, 0, valid, 0, vsl); if (vul > 0) System.arraycopy(validUnsentAddr, 0, valid, vsl, vul); validSentAddr = null; validUnsentAddr = valid; if (debug) out.println("DEBUG SMTP: got response code " + ret + ", with response: " + lastServerResponse); String _lsr = lastServerResponse; // else rset will nuke it int _lrc = lastReturnCode; if (serverSocket != null) // hasn't already been closed issueCommand("RSET", 250); lastServerResponse = _lsr; // restore, for get lastReturnCode = _lrc; throw new SMTPSendFailedException(cmd, ret, lastServerResponse, exception, validSentAddr, validUnsentAddr, invalidAddr); } } /** * Send the command to the server and return the response code * from the server. * * @since JavaMail 1.4.1 */ public synchronized int simpleCommand(String cmd) throws MessagingException { sendCommand(cmd); return readServerResponse(); } /** * Send the command to the server and return the response code * from the server. * * @since JavaMail 1.4.1 */ protected int simpleCommand(byte[] cmd) throws MessagingException { assert Thread.holdsLock(this); sendCommand(cmd); return readServerResponse(); } /** * Sends command <code>cmd</code> to the server terminating * it with <code>CRLF</code>. * * @since JavaMail 1.4.1 */ protected void sendCommand(String cmd) throws MessagingException { sendCommand(ASCIIUtility.getBytes(cmd)); } private void sendCommand(byte[] cmdBytes) throws MessagingException { assert Thread.holdsLock(this); //if (debug) //out.println("DEBUG SMTP SENT: " + new String(cmdBytes, 0)); try { serverOutput.write(cmdBytes); serverOutput.write(CRLF); serverOutput.flush(); } catch (IOException ex) { throw new MessagingException("Can't send command to SMTP host", ex); } } /** * Reads server reponse returning the <code>returnCode</code> * as the number. Returns -1 on failure. Sets * <code>lastServerResponse</code> and <code>lastReturnCode</code>. * * @return server response code * * @since JavaMail 1.4.1 */ protected int readServerResponse() throws MessagingException { assert Thread.holdsLock(this); String serverResponse = ""; int returnCode = 0; StringBuffer buf = new StringBuffer(100); // read the server response line(s) and add them to the buffer // that stores the response try { String line = null; do { line = lineInputStream.readLine(); if (line == null) { serverResponse = buf.toString(); if (serverResponse.length() == 0) serverResponse = "[EOF]"; lastServerResponse = serverResponse; lastReturnCode = -1; if (debug) out.println("DEBUG SMTP: EOF: " + serverResponse); return -1; } buf.append(line); buf.append("\n"); } while (isNotLastLine(line)); serverResponse = buf.toString(); } catch (IOException ioex) { if (debug) out.println("DEBUG SMTP: exception reading response: " + ioex); //ioex.printStackTrace(out); lastServerResponse = ""; lastReturnCode = 0; throw new MessagingException("Exception reading response", ioex); //returnCode = -1; } // print debug info //if (debug) //out.println("DEBUG SMTP RCVD: " + serverResponse); // parse out the return code if (serverResponse != null && serverResponse.length() >= 3) { try { returnCode = Integer.parseInt(serverResponse.substring(0, 3)); } catch (NumberFormatException nfe) { try { close(); } catch (MessagingException mex) { // thrown by close()--ignore, will close() later anyway if (debug) mex.printStackTrace(out); } returnCode = -1; } catch (StringIndexOutOfBoundsException ex) { //if (debug) ex.printStackTrace(out); try { close(); } catch (MessagingException mex) { // thrown by close()--ignore, will close() later anyway if (debug) mex.printStackTrace(out); } returnCode = -1; } } else { returnCode = -1; } if (returnCode == -1 && debug) out.println("DEBUG SMTP: bad server response: " + serverResponse); lastServerResponse = serverResponse; lastReturnCode = returnCode; return returnCode; } /** * Check if we're in the connected state. Don't bother checking * whether the server is still alive, that will be detected later. * * @exception IllegalStateException if not connected * * @since JavaMail 1.4.1 */ protected void checkConnected() { if (!super.isConnected()) throw new IllegalStateException("Not connected"); } // tests if the <code>line</code> is an intermediate line according to SMTP private boolean isNotLastLine(String line) { return line != null && line.length() >= 4 && line.charAt(3) == '-'; } // wraps an address in "<>"'s if necessary private String normalizeAddress(String addr) { if ((!addr.startsWith("<")) && (!addr.endsWith(">"))) return "<" + addr + ">"; else return addr; } /** * Return true if the SMTP server supports the specified service * extension. Extensions are reported as results of the EHLO * command when connecting to the server. See * <A HREF="http://www.ietf.org/rfc/rfc1869.txt">RFC 1869</A> * and other RFCs that define specific extensions. * * @param ext the service extension name * @return true if the extension is supported * * @since JavaMail 1.3.2 */ public boolean supportsExtension(String ext) { return extMap != null && extMap.get(ext.toUpperCase(Locale.ENGLISH)) != null; } /** * Return the parameter the server provided for the specified * service extension, or null if the extension isn't supported. * * @param ext the service extension name * @return the extension parameter * * @since JavaMail 1.3.2 */ public String getExtensionParameter(String ext) { return extMap == null ? null : (String)extMap.get(ext.toUpperCase(Locale.ENGLISH)); } /** * Does the server we're connected to support the specified * authentication mechanism? Uses the extension information * returned by the server from the EHLO command. * * @param auth the authentication mechanism * @return true if the authentication mechanism is supported * * @since JavaMail 1.4.1 */ protected boolean supportsAuthentication(String auth) { assert Thread.holdsLock(this); if (extMap == null) return false; String a = (String)extMap.get("AUTH"); if (a == null) return false; StringTokenizer st = new StringTokenizer(a); while (st.hasMoreTokens()) { String tok = st.nextToken(); if (tok.equalsIgnoreCase(auth)) return true; } return false; } private static char[] hexchar = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; /** * Convert a string to RFC 1891 xtext format. * * <p><pre> * xtext = *( xchar / hexchar ) * * xchar = any ASCII CHAR between "!" (33) and "~" (126) inclusive, * except for "+" and "=". * * ; "hexchar"s are intended to encode octets that cannot appear * ; as ASCII characters within an esmtp-value. * * hexchar = ASCII "+" immediately followed by two upper case * hexadecimal digits * </pre></p> * * @since JavaMail 1.4.1 */ protected static String xtext(String s) { StringBuffer sb = null; for (int i = 0; i < s.length(); i++) { char c = s.charAt(i); if (c >= 128) // not ASCII throw new IllegalArgumentException( "Non-ASCII character in SMTP submitter: " + s); if (c < '!' || c > '~' || c == '+' || c == '=') { if (sb == null) { sb = new StringBuffer(s.length() + 4); sb.append(s.substring(0, i)); } sb.append('+'); sb.append(hexchar[(((int)c)& 0xf0) >> 4]); sb.append(hexchar[((int)c)& 0x0f]); } else { if (sb != null) sb.append(c); } } return sb != null ? sb.toString() : s; } }
31.459338
80
0.64207
889ccb2484ce6080c6109c5403b1997ccf0312bf
3,179
package org.firstinspires.ftc.team9450.auto; import com.qualcomm.hardware.bosch.BNO055IMU; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import org.firstinspires.ftc.team9450.sensors.Gyroscope; import org.firstinspires.ftc.team9450.subsystems.Climber; import org.firstinspires.ftc.team9450.subsystems.Drivetrain; import org.firstinspires.ftc.team9450.subsystems.Intake; import org.firstinspires.ftc.team9450.util.Constants; import org.firstinspires.ftc.team9450.util.MotionPlanner; import org.firstinspires.ftc.team9450.util.MotionTracker; /** * Created by Avi on 12/31/2018. */ @Autonomous public class CycleDepot extends LinearOpMode { private MotionPlanner mp; private Drivetrain drivetrain; private Gyroscope imu; private MotionTracker tracker; private Climber climb; private Intake intake; @Override public void runOpMode() throws InterruptedException { drivetrain = new Drivetrain(hardwareMap); imu = new Gyroscope(hardwareMap.get(BNO055IMU.class, "imu")); mp = new MotionPlanner(drivetrain, imu); //intake = new Intake(); climb = new Climber(hardwareMap); drivetrain.enableAndResetEncoders(); double power = 0.05; waitForStart(); climb.land(); drivetrain.moveFB(4); pivot(-90); drivetrain.moveFB(15); pivot(-100); drivetrain.moveFB(-40); pivot(55); drivetrain.moveFB(50); drivetrain.moveFB(-55); pivot(-45); drivetrain.moveFB(50); int mineralPosition = 1; // placeholder // TODO: get position of gold sample (0, 1, 2) -> (left, center, right) switch (mineralPosition) { //pivot to face gold mineral case 0: pivot(135); //intake in pivot(-55); //elevator up and dump break; case 1: pivot(90); //intake out //intake in pivot(-10); //elevator up and dump break; case 2: pivot(45); //intake out //intake in pivot(-35); //elevator up and dump break; } pivot(90); drivetrain.moveFB(50); pivot(35); drivetrain.moveFB(10); //intake out } /*public void pivot(double angle){ double pow = Constants.Drivetrain.PIVOT_POWER; if(angle > 0){ drivetrain.setPower(new double[]{-pow, -pow, pow, pow}); } else { drivetrain.setPower(new double[]{pow, pow, -pow, -pow}); } while(opModeIsActive() && Math.abs(imu.getAngle() - angle) > 0){ } drivetrain.setPower(new double[]{0, 0, 0, 0}); }*/ public void pivot(double angle) { inta } public void setIntake(Intake.RollerState state){ intake.setRollerState(state); intake.loop(); sleep(2000); intake.setRollerState(state); intake.loop(); } }
29.435185
119
0.586033
3df925aceddacf6f154b33c7ecd12ea7e3b57ea6
30,744
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.build.gradle; import com.android.annotations.NonNull; import com.android.annotations.Nullable; import com.android.build.api.transform.Transform; import com.android.build.api.variant.VariantFilter; import com.android.build.gradle.api.AndroidSourceSet; import com.android.build.gradle.api.BaseVariantOutput; import com.android.build.gradle.internal.CompileOptions; import com.android.build.gradle.internal.coverage.JacocoOptions; import com.android.build.gradle.internal.dsl.AaptOptions; import com.android.build.gradle.internal.dsl.AdbOptions; import com.android.build.gradle.internal.dsl.CoreBuildType; import com.android.build.gradle.internal.dsl.CoreProductFlavor; import com.android.build.gradle.internal.dsl.DexOptions; import com.android.build.gradle.internal.dsl.LintOptions; import com.android.build.gradle.internal.dsl.PackagingOptions; import com.android.build.gradle.internal.dsl.Splits; import com.android.build.gradle.internal.dsl.TestOptions; import com.android.build.gradle.internal.model.CoreExternalNativeBuild; import com.android.builder.core.LibraryRequest; import com.android.builder.model.DataBindingOptions; import com.android.builder.model.SigningConfig; import com.android.builder.testing.api.DeviceProvider; import com.android.builder.testing.api.TestServer; import com.android.repository.Revision; import java.io.File; import java.util.Collection; import java.util.List; import org.gradle.api.Action; import org.gradle.api.Incubating; import org.gradle.api.NamedDomainObjectContainer; import org.gradle.api.tasks.Internal; /** * User configuration settings for all android plugins. * * <p>DO NOT ADD ANYTHING THERE. * * @deprecated Use {@link BaseExtension} instead. */ @Deprecated public interface AndroidConfig { /** * Specifies the version of the <a * href="https://developer.android.com/studio/releases/build-tools.html">SDK Build Tools</a> to * use when building your project. * * <p>When using Android plugin 3.0.0 or later, configuring this property is optional. By * default, the plugin uses the minimum version of the build tools required by the <a * href="https://developer.android.com/studio/releases/gradle-plugin.html#revisions">version of * the plugin</a> you're using. To specify a different version of the build tools for the plugin * to use, specify the version as follows: * * <pre> * // Specifying this property is optional. * buildToolsVersion "26.0.0" * </pre> * * <p>For a list of build tools releases, read <a * href="https://developer.android.com/studio/releases/build-tools.html#notes">the release * notes</a>. * * <p>Note that the value assigned to this property is parsed and stored in a normalized form, * so reading it back may give a slightly different result. */ String getBuildToolsVersion(); /** * Specifies the API level to compile your project against. The Android plugin requires you to * configure this property. * * <p>This means your code can use only the Android APIs included in that API level and lower. * You can configure the compile sdk version by adding the following to the <code>android</code> * block: <code>compileSdkVersion 26</code>. * * <p>You should generally <a * href="https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels">use * the most up-to-date API level</a> available. If you are planning to also support older API * levels, it's good practice to <a * href="https://developer.android.com/studio/write/lint.html">use the Lint tool</a> to check if * you are using APIs that are not available in earlier API levels. * * <p>The value you assign to this property is parsed and stored in a normalized form, so * reading it back may return a slightly different value. */ String getCompileSdkVersion(); /** * This property is for internal use only. * * <p>To specify the version of the <a * href="https://developer.android.com/studio/releases/build-tools.html">SDK Build Tools</a> * that the Android plugin should use, use <a * href="com.android.build.gradle.BaseExtension.html#com.android.build.gradle.BaseExtension:buildToolsVersion">buildToolsVersion</a> * instead. */ @Internal Revision getBuildToolsRevision(); /** * Specifies the version of the module to publish externally. This property is generally useful * only to library modules that you intend to publish to a remote repository, such as Maven. * * <p>If you don't configure this property, the Android plugin publishes the release version of * the module by default. If the module configures <a * href="https://developer.android.com/studio/build/build-variants.html#product-flavors">product * flavors</a>, you need to configure this property with the name of the variant you want the * plugin to publish, as shown below: * * <pre> * // Specifies the 'demoDebug' build variant as the default variant * // that the plugin should publish to external consumers. * defaultPublishConfig 'demoDebug' * </pre> * * <p>If you plan to only consume your library module locally, you do not need to configure this * property. Android plugin 3.0.0 and higher use <a * href="https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html#variant_aware">variant-aware * dependency resolution</a> to automatically match the variant of the producer to that of the * consumer. That is, when publishing a module to another local module, the plugin no longer * respects this property when determining which version of the module to publish to the * consumer. */ String getDefaultPublishConfig(); /** * Specifies variants the Android plugin should include or remove from your Gradle project. * * <p>By default, the Android plugin creates a build variant for every possible combination of * the product flavors and build types that you configure, and adds them to your Gradle project. * However, there may be certain build variants that either you do not need or do not make sense * in the context of your project. You can remove certain build variant configurations by <a * href="https://developer.android.com/studio/build/build-variants.html#filter-variants">creating * a variant filter</a> in your module-level <code>build.gradle</code> file. * * <p>The following example tells the plugin to ignore all variants that combine the "dev" * product flavor, which you can configure to <a * href="https://developer.android.com/studio/build/optimize-your-build.html#create_dev_variant">optimize * build speeds</a> during development, and the "release" build type: * * <pre> * android { * ... * variantFilter { variant -&gt; * * def buildTypeName = variant.buildType*.name * def flavorName = variant.flavors*.name * * if (flavorName.contains("dev") &amp;&amp; buildTypeName.contains("release")) { * // Tells Gradle to ignore each variant that satisfies the conditions above. * setIgnore(true) * } * } * } * </pre> * * <p>During subsequent builds, Gradle ignores any build variants that meet the conditions you * specify. If you're using <a href="https://developer.android.com/studio/index.html">Android * Studio</a>, those variants no longer appear in the drop down menu when you click <b>Build * &gt; Select Build Variant</b> from the menu bar. * * @see com.android.build.gradle.internal.api.VariantFilter */ Action<VariantFilter> getVariantFilter(); /** * Specifies APK install options for the <a * href="https://developer.android.com/studio/command-line/adb.html">Android Debug Bridge * (ADB)</a>. * * @see com.android.build.gradle.internal.dsl.AdbOptions */ AdbOptions getAdbOptions(); /** * Specifies the module's resource prefix to Android Studio for editor features, such as Lint * checks. This property is useful only when using Android Studio. * * <p>Including unique prefixes for module resources helps avoid naming collisions with * resources from other modules. For example, when creating a library with String resources, you * may want to name each resource with a unique prefix, such as <code>"mylib_"</code> to avoid * naming collisions with similar resources that the consumer defines. You can then specify this * prefix, as shown below, so that Android Studio expects this prefix when you name module * resources: * * <pre> * // This property is useful only when developing your project in Android Studio. * resourcePrefix 'mylib_' * </pre> */ String getResourcePrefix(); /** * Specifies the names of product flavor dimensions for this project. * * <p>To configure flavor dimensions, use <a * href="com.android.build.gradle.BaseExtension.html#com.android.build.gradle.BaseExtension:flavorDimensions(java.lang.String[])"> * <code>flavorDimensions</code></a>. To learn more, read <a * href="https://developer.android.com/studio/build/build-variants.html#flavor-dimensions">combine * multiple product flavors</a>. */ List<String> getFlavorDimensionList(); /** * Specifies whether to build APK splits or multiple APKs from configurations in the {@link * com.android.build.gradle.internal.dsl.Splits splits} block. * * <p>When you set this property to <code>true</code>, the Android plugin generates each object * in the {@link com.android.build.gradle.internal.dsl.Splits splits} block as a portion of a * whole APK, called an <em>APK split</em>. Compared to building multiple APKs, each APK split * includes only the components that each ABI or screen density requires. Generating APK splits * is an incubating feature, which requires you to set {@link * com.android.build.gradle.internal.dsl.BaseFlavor#minSdkVersion(int)} to <code>21</code> or * higher, and is currently supported only when publishing <a * href="https://d.android.com/instant-apps">Android Instant Apps</a>. * * <p>When you do not configure this property or set it to <code>false</code> (default), the * Android plugin builds separate APKs for each object you configure in the {@link * com.android.build.gradle.internal.dsl.Splits splits} block that you can deploy to a device. * To learn more about building different versions of your app that each target a different <a * href="https://developer.android.com/ndk/guides/abis.html">Application Binary Interfaces</a> * or screen density, read <a * href="https://developer.android.com/studio/build/configure-apk-splits.html">Build Multiple * APKs</a>. */ @Incubating boolean getGeneratePureSplits(); /** * Specifies defaults for variant properties that the Android plugin applies to all build * variants. * * <p>You can override any <code>defaultConfig</code> property when <a * href="https://developer.android.com/studio/build/build-variants.html#product-flavors">configuring * product flavors</a>. * * @see com.android.build.gradle.internal.dsl.ProductFlavor */ CoreProductFlavor getDefaultConfig(); /** * Specifies options for the Android Asset Packaging Tool (AAPT). * * @see com.android.build.gradle.internal.dsl.AaptOptions */ AaptOptions getAaptOptions(); /** * Specifies Java compiler options, such as the language level of the Java source code and * generated bytecode. * * @see com.android.build.gradle.internal.CompileOptions */ CompileOptions getCompileOptions(); /** * Specifies options for the DEX tool, such as enabling library pre-dexing. * * <p>Experimenting with DEX options tailored for your workstation may improve build * performance. To learn more, read <a * href="https://developer.android.com/studio/build/optimize-your-build.html#dex_options">Optimize * your build</a>. * * @see com.android.build.gradle.internal.dsl.DexOptions */ DexOptions getDexOptions(); /** * Configure JaCoCo version that is used for offline instrumentation and coverage report. * * <p>To specify the version of JaCoCo you want to use, add the following to <code>build.gradle * </code> file: * * <pre> * android { * jacoco { * version "&lt;jacoco-version&gt;" * } * } * </pre> */ JacocoOptions getJacoco(); /** * Specifies options for the lint tool. * * <p>Android Studio and the Android SDK provide a code scanning tool called lint that can help * you to identify and correct problems with the structural quality of your code without having * to execute the app or write test cases. Each problem the tool detects is reported with a * description message and a severity level, so that you can quickly prioritize the critical * improvements that need to be made. * * <p>This property allows you to configure certain lint options, such as which checks to run or * ignore. If you're using Android Studio, you can <a * href="https://developer.android.com/studio/write/lint.html#cis">configure similar lint * options</a> from the IDE. To learn more about using and running lint, read <a * href="https://developer.android.com/studio/write/lint.html">Improve Your Code with Lint</a>. * * @see com.android.build.gradle.internal.dsl.LintOptions */ LintOptions getLintOptions(); /** * Specifies options for external native build using <a href="https://cmake.org/">CMake</a> or * <a href="https://developer.android.com/ndk/guides/ndk-build.html">ndk-build</a>. * * <p>When using <a href="https://developer.android.com/studio/index.html">Android Studio 2.2 or * higher</a> with <a * href="https://developer.android.com/studio/releases/gradle-plugin.html">Android plugin 2.2.0 * or higher</a>, you can compile C and C++ code into a native library that Gradle packages into * your APK. * * <p>To learn more, read <a * href="https://developer.android.com/studio/projects/add-native-code.html">Add C and C++ Code * to Your Project</a>. * * @see com.android.build.gradle.internal.dsl.ExternalNativeBuild * @since 2.2.0 */ CoreExternalNativeBuild getExternalNativeBuild(); /** * Specifies options and rules that determine which files the Android plugin packages into your * APK. * * <p>For example, the following example tells the plugin to avoid packaging files that are * intended only for testing: * * <pre> * packagingOptions { * // Tells the plugin to not include any files in the 'testing-data/' directory, * // which is specified as an absolute path from the root of the APK archive. * // The exclude property includes certain defaults paths to help you avoid common * // duplicate file errors when building projects with multiple dependencies. * exclude "/testing-data/**" * } * </pre> * * <p>To learn more about how to specify rules for packaging, merging, and excluding files, see * {@link PackagingOptions} * * @see com.android.build.gradle.internal.dsl.PackagingOptions */ PackagingOptions getPackagingOptions(); /** * Specifies configurations for <a * href="https://developer.android.com/studio/build/configure-apk-splits.html">building multiple * APKs</a> or APK splits. * * <p>To generate APK splits, you need to also set <a * href="com.android.build.gradle.BaseExtension.html#com.android.build.gradle.BaseExtension:generatePureSplits"> * <code>generatePureSplits</code></a> to <code>true</code>. However, generating APK splits is * an incubating feature, which requires you to set {@link * com.android.build.gradle.internal.dsl.BaseFlavor#minSdkVersion(int)} to <code>21</code> or * higher, and is currently supported only when publishing <a * href="https://d.android.com/instant-apps">Android Instant Apps</a>. * * @see com.android.build.gradle.internal.dsl.Splits */ Splits getSplits(); /** * Specifies options for how the Android plugin should run local and instrumented tests. * * <p>To learn more, read <a * href="https://developer.android.com/studio/test/index.html#test_options">Configure Gradle * test options</a>. * * @see com.android.build.gradle.internal.dsl.TestOptions */ TestOptions getTestOptions(); /** List of device providers */ @NonNull List<DeviceProvider> getDeviceProviders(); /** List of remote CI servers. */ @NonNull List<TestServer> getTestServers(); @NonNull List<Transform> getTransforms(); @NonNull List<List<Object>> getTransformsDependencies(); /** * Encapsulates all product flavors configurations for this project. * * <p>Product flavors represent different versions of your project that you expect to co-exist * on a single device, the Google Play store, or repository. For example, you can configure * 'demo' and 'full' product flavors for your app, and each of those flavors can specify * different features, device requirements, resources, and application ID's--while sharing * common source code and resources. So, product flavors allow you to output different versions * of your project by simply changing only the components and settings that are different * between them. * * <p>Configuring product flavors is similar to <a * href="https://developer.android.com/studio/build/build-variants.html#build-types">configuring * build types</a>: add them to the <code>productFlavors</code> block of your module's <code> * build.gradle</code> file and configure the settings you want. Product flavors support the * same properties as the {@link com.android.build.gradle.internal.dsl.DefaultConfig} * block--this is because <code>defaultConfig</code> defines a {@link * com.android.build.gradle.internal.dsl.ProductFlavor} object that the plugin uses as the base * configuration for all other flavors. Each flavor you configure can then override any of the * default values in <code>defaultConfig</code>, such as the <a * href="https://d.android.com/studio/build/application-id.html"><code>applicationId</code></a>. * * <p>When using Android plugin 3.0.0 and higher, <em>each flavor must belong to a <a * href="com.android.build.gradle.BaseExtension.html#com.android.build.gradle.BaseExtension:flavorDimensions(java.lang.String[])"> * <code>flavorDimensions</code></a> value</em>. By default, when you specify only one * dimension, all flavors you configure belong to that dimension. If you specify more than one * flavor dimension, you need to manually assign each flavor to a dimension. To learn more, read * <a * href="https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html#variant_aware"> * Use Flavor Dimensions for variant-aware dependency management</a>. * * <p>When you configure product flavors, the Android plugin automatically combines them with * your {@link com.android.build.gradle.internal.dsl.BuildType} configurations to <a * href="https://developer.android.com/studio/build/build-variants.html">create build * variants</a>. If the plugin creates certain build variants that you don't want, you can <a * href="https://developer.android.com/studio/build/build-variants.html#filter-variants">filter * variants</a>. * * @see com.android.build.gradle.internal.dsl.ProductFlavor */ Collection<? extends CoreProductFlavor> getProductFlavors(); /** * Encapsulates all build type configurations for this project. * * <p>Unlike using {@link com.android.build.gradle.internal.dsl.ProductFlavor} to create * different versions of your project that you expect to co-exist on a single device, build * types determine how Gradle builds and packages each version of your project. Developers * typically use them to configure projects for various stages of a development lifecycle. For * example, when creating a new project from Android Studio, the Android plugin configures a * 'debug' and 'release' build type for you. By default, the 'debug' build type enables * debugging options and signs your APK with a generic debug keystore. Conversely, The 'release' * build type strips out debug symbols and requires you to <a * href="https://developer.android.com/studio/publish/app-signing.html#sign-apk">create a * release key and keystore</a> for your app. You can then combine build types with product * flavors to <a href="https://developer.android.com/studio/build/build-variants.html">create * build variants</a>. * * @see com.android.build.gradle.internal.dsl.BuildType */ Collection<? extends CoreBuildType> getBuildTypes(); /** * Encapsulates signing configurations that you can apply to {@link * com.android.build.gradle.internal.dsl.BuildType} and {@link * com.android.build.gradle.internal.dsl.ProductFlavor} configurations. * * <p>Android requires that all APKs be digitally signed with a certificate before they can be * installed onto a device. When deploying a debug version of your project from Android Studio, * the Android plugin automatically signs your APK with a generic debug certificate. However, to * build an APK for release, you must <a * href="https://developer.android.com/studio/publish/app-signing.html">sign the APK</a> with a * release key and keystore. You can do this by either <a * href="https://developer.android.com/studio/publish/app-signing.html#sign-apk">using the * Android Studio UI</a> or manually <a * href="https://developer.android.com/studio/publish/app-signing.html#gradle-sign">configuring * your <code>build.gradle</code> file</a>. * * @see com.android.build.gradle.internal.dsl.SigningConfig */ Collection<? extends SigningConfig> getSigningConfigs(); /** * Encapsulates source set configurations for all variants. * * <p>The Android plugin looks for your project's source code and resources in groups of * directories called <i><a * href="https://developer.android.com/studio/build/index.html#sourcesets">source sets</a></i>. * Each source set also determines the scope of build outputs that should consume its code and * resources. For example, when creating a new project from Android Studio, the IDE creates * directories for a <code>main/</code> source set that contains the code and resources you want * to share between all your build variants. * * <p>You can then define basic functionality in the <code>main/</code> source set, but use * product flavor source sets to change only the branding of your app between different clients, * or include special permissions and logging functionality to only "debug" versions of your * app. * * <p>The Android plugin expects you to organize files for source set directories a certain way, * similar to the <code>main/</code> source set. For example, Gradle expects Java class files * that are specific to your "debug" build type to be located in the <code>src/debug/java/ * </code> directory. * * <p>Gradle provides a useful task to shows you how to organize your files for each build * type-, product flavor-, and build variant-specific source set. you can run this task from the * command line as follows: * * <pre>./gradlew sourceSets</pre> * * <p>The following sample output describes where Gradle expects to find certain files for the * "debug" build type: * * <pre> * ------------------------------------------------------------ * Project :app * ------------------------------------------------------------ * * ... * * debug * ---- * Compile configuration: compile * build.gradle name: android.sourceSets.debug * Java sources: [app/src/debug/java] * Manifest file: app/src/debug/AndroidManifest.xml * Android resources: [app/src/debug/res] * Assets: [app/src/debug/assets] * AIDL sources: [app/src/debug/aidl] * RenderScript sources: [app/src/debug/rs] * JNI sources: [app/src/debug/jni] * JNI libraries: [app/src/debug/jniLibs] * Java-style resources: [app/src/debug/resources] * </pre> * * <p>If you have sources that are not organized into the default source set directories that * Gradle expects, as described in the sample output above, you can use the <code>sourceSet * </code> block to change where Gradle looks to gather files for each component of a given * source set. You don't need to relocate the files; you only need to provide Gradle with the * path(s), relative to the module-level <code>build.gradle</code> file, where Gradle should * expect to find files for each source set component. * * <p><b>Note:</b> You should specify only static paths whenever possible. Specifying dynamic * paths reduces build speed and consistency. * * <p>The following code sample maps sources from the <code>app/other/</code> directory to * certain components of the <code>main</code> source set and changes the root directory of the * <code>androidTest</code> source set: * * <pre> * android { * ... * sourceSets { * // Encapsulates configurations for the main source set. * main { * // Changes the directory for Java sources. The default directory is * // 'src/main/java'. * java.srcDirs = ['other/java'] * * // If you list multiple directories, Gradle uses all of them to collect * // sources. Because Gradle gives these directories equal priority, if * // you define the same resource in more than one directory, you get an * // error when merging resources. The default directory is 'src/main/res'. * res.srcDirs = ['other/res1', 'other/res2'] * * // Note: You should avoid specifying a directory which is a parent to one * // or more other directories you specify. For example, avoid the following: * // res.srcDirs = ['other/res1', 'other/res1/layouts', 'other/res1/strings'] * // You should specify either only the root 'other/res1' directory, or only the * // nested 'other/res1/layouts' and 'other/res1/strings' directories. * * // For each source set, you can specify only one Android manifest. * // By default, Android Studio creates a manifest for your main source * // set in the src/main/ directory. * manifest.srcFile 'other/AndroidManifest.xml' * ... * } * * // Create additional blocks to configure other source sets. * androidTest { * // If all the files for a source set are located under a single root * // directory, you can specify that directory using the setRoot property. * // When gathering sources for the source set, Gradle looks only in locations * // relative to the root directory you specify. For example, after applying the * // configuration below for the androidTest source set, Gradle looks for Java * // sources only in the src/tests/java/ directory. * setRoot 'src/tests' * ... * } * } * } * </pre> * * @see com.android.build.gradle.internal.dsl.AndroidSourceSetFactory */ NamedDomainObjectContainer<AndroidSourceSet> getSourceSets(); /** build outputs for all variants */ Collection<BaseVariantOutput> getBuildOutputs(); /** Whether to package build config class file. */ Boolean getPackageBuildConfig(); /** Aidl files to package in the aar. */ Collection<String> getAidlPackageWhiteList(); Collection<LibraryRequest> getLibraryRequests(); /** * Specifies options for the <a * href="https://developer.android.com/topic/libraries/data-binding/index.html">Data Binding * Library</a>. * * <p>Data binding helps you write declarative layouts and minimize the glue code necessary to * bind your application logic and layouts. */ DataBindingOptions getDataBinding(); /** Whether the feature module is the base feature. */ Boolean getBaseFeature(); /** * Name of the build type that will be used when running Android (on-device) tests. * * <p>Defaults to "debug". * * <p>FIXME this should not be here, but it has to be because of gradle-core not knowing * anything besides this interface. This will be fixed with the new gradle-api based extension * interfaces. */ @Nullable String getTestBuildType(); /** * Name of the NDK version that will be used when building native code. * * <p>The value null means that no particular NDK version is requested. In this case, the latest * available NDK will be used. */ @Nullable String getNdkVersion(); /** Returns the list of files that form bootClasspath used for compilation. */ List<File> getBootClasspath(); }
47.298462
136
0.682832
a31acd5ce05dde437d54d3a41eccd9389d22c55e
1,192
// Copyright (C) 2017-2020 Grupa Pracuj Sp. z o.o. // This file is part of the "Hermes" library. // For conditions of distribution and use, see copyright notice in license.txt. package pl.grupapracuj.hermes.ext.tuple; public class Quintuple<A, B, C, D, E> { private A mFirst; private B mSecond; private C mThird; private D mFourth; private E mFifth; public Quintuple(A pFirst, B pSecond, C pThird, D pFourth, E pFifth) { mFirst = pFirst; mSecond = pSecond; mThird = pThird; mFourth = pFourth; mFifth = pFifth; } public A first() { return mFirst; } public void first(A pFirst) { mFirst = pFirst; } public B second() { return mSecond; } public void second(B pSecond) { mSecond = pSecond; } public C third() { return mThird; } public void third(C pThird) { mThird = pThird; } public D fourth() { return mFourth; } public void fourth(D pFourth) { mFourth = pFourth; } public E fifth() { return mFifth; } public void fifth(E pFifth) { mFifth = pFifth; } }
19.225806
79
0.568792
f7041f35445efe1fcb7c238e766c6a256ed68f1b
414
package io.dekorate.issue254; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import io.dekorate.component.annotation.ComponentApplication; @SpringBootApplication @ComponentApplication(exposeService=true) public class DemoApplication { public static void main(String[] args) { SpringApplication.run(DemoApplication.class, args); } }
24.352941
68
0.833333
9bf1874e9850f4aa6a876ae4e300bd2ccfd38161
2,402
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ package org.elasticsearch.common.lucene.search; import org.apache.lucene.index.Term; import org.apache.lucene.search.BooleanClause.Occur; import org.apache.lucene.search.BooleanQuery; import org.apache.lucene.search.DocValuesFieldExistsQuery; import org.apache.lucene.search.MatchAllDocsQuery; import org.apache.lucene.search.TermQuery; import org.elasticsearch.index.mapper.SeqNoFieldMapper; import org.elasticsearch.test.ESTestCase; public class QueriesTests extends ESTestCase { public void testNonNestedQuery() { // This is a custom query that extends AutomatonQuery and want to make sure the equals method works assertEquals(Queries.newNonNestedFilter(), Queries.newNonNestedFilter()); assertEquals(Queries.newNonNestedFilter().hashCode(), Queries.newNonNestedFilter().hashCode()); assertEquals(Queries.newNonNestedFilter(), new DocValuesFieldExistsQuery(SeqNoFieldMapper.PRIMARY_TERM_NAME)); } public void testIsNegativeQuery() { assertFalse(Queries.isNegativeQuery(new MatchAllDocsQuery())); assertFalse(Queries.isNegativeQuery(new BooleanQuery.Builder().build())); assertFalse(Queries.isNegativeQuery(new BooleanQuery.Builder().add(new TermQuery(new Term("foo", "bar")), Occur.MUST).build())); assertTrue(Queries.isNegativeQuery(new BooleanQuery.Builder().add(new TermQuery(new Term("foo", "bar")), Occur.MUST_NOT).build())); assertFalse( Queries.isNegativeQuery( new BooleanQuery.Builder().add(new MatchAllDocsQuery(), Occur.MUST).add(new MatchAllDocsQuery(), Occur.MUST_NOT).build() ) ); } public void testFixNegativeQuery() { assertEquals( new BooleanQuery.Builder().add(new MatchAllDocsQuery(), Occur.FILTER) .add(new TermQuery(new Term("foo", "bar")), Occur.MUST_NOT) .build(), Queries.fixNegativeQueryIfNeeded(new BooleanQuery.Builder().add(new TermQuery(new Term("foo", "bar")), Occur.MUST_NOT).build()) ); } }
48.04
139
0.721066
493f9dcf03aff0e4c44b48fb2d2f0437187bac4c
782
package uk.gov.companieshouse.efs.web.payment.controller; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.hamcrest.MatcherAssert.assertThat; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class SessionStatusTest { @Test void fromValueWhenMatched() { assertThat(SessionStatus.fromValue("paid"), is(SessionStatus.PAID)); } @Test void fromValueWhenNotMatched() { assertThat(SessionStatus.fromValue("unmatched"), is(nullValue())); } @Test void testToString() { assertThat(SessionStatus.PENDING.toString(), is("pending")); } }
27.928571
76
0.737852
077a9815d03dccc996cbffb08d736cbb6a59d9a2
300
package com.switching; public enum TrainingMode { LIVE_FEEDBACK("Live Feedback"), OCCASIONAL_UPDATES("Occasional Updates"), BOTH("Both"); String name; TrainingMode(String name) { this.name = name; } public String toString() { return this.name; } }
16.666667
45
0.623333
45b7d3150e268d1a807b83a5f46b953496389ea7
457
package ch.supsi.dti.i2b.shrug.optitravel.api.TransitLand.results; import ch.supsi.dti.i2b.shrug.optitravel.api.TransitLand.models.Route; import ch.supsi.dti.i2b.shrug.optitravel.api.TransitLand.models.Stop; import java.util.ArrayList; public class RouteResult { private ArrayList<Route> routes; private Meta meta; public ArrayList<Route> getRoutes() { return routes; } public Meta getMeta() { return meta; } }
21.761905
70
0.717724
f4c72659549432bb9240276a328de14100a0afc2
4,875
package com.example.flixster.activities; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import com.codepath.asynchttpclient.AsyncHttpClient; import com.codepath.asynchttpclient.callback.JsonHttpResponseHandler; import com.example.flixster.R; import com.example.flixster.adapters.MovieAdapter; import com.example.flixster.databinding.ActivityMainBinding; import com.example.flixster.models.Movie; import org.jetbrains.annotations.NotNull; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.Collections; import java.util.List; import okhttp3.Headers; public class MainActivity extends AppCompatActivity { public static final String NOW_PLAYING_URL = "https://api.themoviedb.org/3/movie/now_playing?api_key="; public static final String UPCOMING_URL = "https://api.themoviedb.org/3/movie/upcoming?api_key="; public static final String POPULAR_URL = "https://api.themoviedb.org/3/movie/popular?api_key="; // tag constant makes it easy to log data public static final String TAG = "MainActivity"; List<Movie> movies; final String[] url = {NOW_PLAYING_URL}; Button btnToggle1; Button btnToggle2; Button btnToggle3; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ActivityMainBinding binding = ActivityMainBinding.inflate(getLayoutInflater()); View view = binding.getRoot(); setContentView(view); getSupportActionBar().hide(); final RecyclerView rvMovies = binding.rvMovies; movies = new ArrayList<>(); btnToggle1 = binding.btnToggle; btnToggle2 = binding.btnToggle2; btnToggle3 = binding.btnToggle3; // Create the adapter final MovieAdapter movieAdapter = new MovieAdapter(this, movies); adapterUpdate(movieAdapter, rvMovies, url); setBtnListeners(movieAdapter); } private void setBtnListeners(final MovieAdapter movieAdapter) { btnToggle1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Log.d(TAG, "onClickBtnToggle - switch to now playing"); url[0] = NOW_PLAYING_URL; apiCall(movieAdapter, url); } }); btnToggle1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Log.d(TAG, "onClickBtnToggle - switch to upcoming"); url[0] = UPCOMING_URL; apiCall(movieAdapter, url); } }); btnToggle1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Log.d(TAG, "onClickBtnToggle - switch to popular"); url[0] = POPULAR_URL; apiCall(movieAdapter, url); } }); } @NotNull private void adapterUpdate(MovieAdapter movieAdapter, RecyclerView rvMovies, String[] url) { // Set the adapter on the recycler view rvMovies.setAdapter(movieAdapter); // Set a Layout Manager on the RV rvMovies.setLayoutManager(new LinearLayoutManager(this)); apiCall(movieAdapter, url); } public void apiCall(final MovieAdapter movieAdapter, String[] url) { AsyncHttpClient client = new AsyncHttpClient(); client.get(url[0] + getString(R.string.movies_api_key), new JsonHttpResponseHandler() { @Override public void onSuccess(int statusCode, Headers headers, JSON json) { Log.d(TAG, "onSuccess"); JSONObject jsonObject = json.jsonObject; try { JSONArray results = jsonObject.getJSONArray("results"); Log.i(TAG, "Results: " + results.toString()); movies.clear(); movies.addAll(Movie.fromJsonArray(results)); Collections.sort(movies); Log.d(TAG, "Notify Adapter that data changed"); movieAdapter.notifyDataSetChanged(); Log.i(TAG, "Movies: " + movies.size()); } catch (JSONException e) { Log.e(TAG, "Hit json exception", e); e.printStackTrace(); } } @Override public void onFailure(int statusCode, Headers headers, String response, Throwable throwable) { Log.d(TAG, "onFailure"); } }); } }
31.655844
107
0.636103
8fe1b39690f3ed1fc260d1cc968ed32b1dc33819
3,665
package cliente.controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.sql.Connection; import java.sql.ResultSet; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import cliente.modelo.Cliente; import cliente.modelo.ConexionBD; import cliente.modelo.Mensaje; import cliente.modelo.Usuario; import cliente.vista.VAgregarMensaje; import cliente.vista.VInicio; /** * Controlador de la vista VAgregarMensaje * @author cesar * @version 1.0 * */ public class CAgregarMensaje implements ActionListener, WindowListener { private VAgregarMensaje vista = new VAgregarMensaje(); private Mensaje modelo = new Mensaje(); private DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); private ResultSet rs = null; private Cliente cl = null; /** * Constructor de la clase * @param vista Vista de tipo VAgregarMensaje * @param modelo Modelo de tipo Mensaje */ public CAgregarMensaje(VAgregarMensaje vista, Mensaje modelo) { this.vista = vista; this.modelo = modelo; vista.onClickBtnEnviar(this); vista.eventoVentana(this); cl = new Cliente(vista.getTaMensajes()); Thread h = new Thread(cl); h.start(); } /** * Metodo para realizar acciones al abrir la ventana */ @Override public void windowOpened(WindowEvent e) {} /** * Metodo para realizar acciones al intentar cerrar la ventana */ @Override public void windowClosing(WindowEvent e) { try { VInicio v = new VInicio(); Usuario u = new Usuario(); CInicio c = new CInicio(v, u); v.setVisible(true); vista.setVisible(false); } catch (Exception e2) { vista.mostrarError("Ha ocurrido al cerrar la conexion!!"); } } /** * Metodo par realizar acciones al cerrar la ventana */ @Override public void windowClosed(WindowEvent e) {} /** * Metodo par realizar acciones al minimizar la ventana */ @Override public void windowIconified(WindowEvent e) {} /** * Método par realizar acciones al maximizar la ventana */ @Override public void windowDeiconified(WindowEvent e) {} /** * Método par realizar acciones al enfocar la ventana */ @Override public void windowActivated(WindowEvent e) {} /** * Método par realizar acciones al desenfocar la ventana */ @Override public void windowDeactivated(WindowEvent e) {} /** * Metodo manejador de las acciones de los botones */ @Override public void actionPerformed(ActionEvent e) { try { if(e.getSource() == vista.getBtnEnviar()) { Connection cdb = ConexionBD.getConexion().getConnSQLite(); String mensaje = vista.getMensaje(); String nombre = null; String apPat = null; String apMat = null; int id = vista.getID(); Date date = new Date(); String fecha = dateFormat.format(date); Usuario usr = new Usuario(); if(mensaje.equals(null) || mensaje.equals("")) { vista.mostrarError("Ingresa un mensaje !!"); }else { int resp = modelo.guardarMensaje(cdb, mensaje, id, fecha); if(resp == 1) { rs = usr.regresaNomUsuario(cdb, id); while(rs.next()) { nombre = rs.getString(1); apPat = rs.getString(2); apMat = rs.getString(3); } cl.enviarMensaje(String.format("%s \n %s %s %s,\n %s \n\n", mensaje, nombre, apPat, apMat, fecha)); vista.limpiarCajas(); }else { vista.mostrarError("Ha ocurrido un error al guardar!!"); } } } } catch (Exception e2) { vista.mostrarError(String.format("Ha ocurrido un error de tipo: %s", e2.getMessage())); } } }
25.275862
105
0.685948
fa09f64e09e2106afa97d2e8fff6d6f41dcb7ec0
730
package com.identity.platform.service; import org.springframework.mail.SimpleMailMessage; // TODO: Auto-generated Javadoc /** * Contract for email service. Created by maheshs1 on 02/10/2017. * * @param <T> the generic type */ public interface EmailService<T> { /** * Sends an email with the content in the Feedback Pojo. * * @param feedbackPojo the feedback pojo */ public void sendFeedbackEmail(T feedbackPojo); /** * Sends an email with the content of the Simple Mail Message object. * * @param message The object containing the email content * @param subject the subject * @param body the body */ public void sendGenericEmailMessage(SimpleMailMessage message, String subject, String body); }
23.548387
93
0.730137
08914fa745418692d08aa966a800f3d477c1cb6d
3,251
package functional; import io.github.tjheslin1.patterdale.Patterdale; import io.github.tjheslin1.patterdale.database.hikari.H2DataSourceProvider; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.HttpClientBuilder; import org.assertj.core.api.WithAssertions; import org.h2.tools.Server; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import java.io.IOException; import java.sql.SQLException; import java.time.Duration; import java.util.regex.Pattern; import static testutil.TestUtil.responseBody; import static testutil.TestUtil.startPatterdale; public class DatabaseDownTest implements WithAssertions { private static final int H2_PORT = 9292; private static Patterdale patterdale; private static Server h2; @Test public void scrapesOracleDatabaseMetricsOnRequest() throws Exception { assertDatabaseUpMetric("1.0"); h2.stop(); eventuallyAssertDatabaseUpMetric("-1.0", Duration.ofSeconds(1), 5); } @BeforeClass public static void setUp() throws SQLException { h2 = Server.createTcpServer("-tcpPort", String.valueOf(H2_PORT)).start(); patterdale = startPatterdale(new H2DataSourceProvider(), "src/test/resources/patterdale-proxy-h2.yml", "src/test/resources/passwords-h2.yml"); } @AfterClass public static void tearDown() throws Exception { if (patterdale != null) { patterdale.stop(); } h2.shutdown(); } private void assertDatabaseUpMetric(String databaseUp) throws IOException { assertMetrics(databaseUp, queryMetrics()); } private void eventuallyAssertDatabaseUpMetric(String databaseUp, Duration delay, int retries) throws Exception { try { Thread.sleep(delay.toMillis()); assertDatabaseUpMetric(databaseUp); } catch (AssertionError assertionError) { if (retries > 0) { eventuallyAssertDatabaseUpMetric(databaseUp, delay, retries - 1); } else throw assertionError; } } private HttpResponse queryMetrics() throws IOException { HttpClient httpClient = HttpClientBuilder.create().build(); return httpClient.execute(new HttpGet("http://localhost:7001/metrics")); } private void assertMetrics(String databaseUp, HttpResponse response) throws IOException, AssertionError { assertThat(response.getStatusLine().getStatusCode()).isEqualTo(200); String responseBody = responseBody(response); assertThat(responseBody).matches(Pattern.compile( "database_up\\{database=\"bobsDatabase\",label=\"value\",query=\"SELECT 1 FROM DUAL\"} " + databaseUp + "\n" + "database_up\\{database=\"alicesDatabase\",query=\"SELECT 1 FROM DUAL\"} 1.0\n" + ".*" , Pattern.DOTALL) ); // the order of the jvm and jetty metrics changes assertThat(responseBody).matches(Pattern.compile(".*jvm.*\\{.*}.*", Pattern.DOTALL)); assertThat(responseBody).matches(Pattern.compile(".*jetty.*\\{.*}.*", Pattern.DOTALL)); } }
35.725275
150
0.687481
7e6f1e3a927710054d004e72e4ae174b94e1d13e
2,712
package org.vanda.workflows.hyper; /** * Observer infrastructure for workflows. Using generic type <W> here to * circumvent circular dependency. * * @author mbue */ public final class Workflows { public static interface WorkflowListener<W> { void childAdded(W mwf, Job j); void childModified(W mwf, Job j); void childRemoved(W mwf, Job j); void connectionAdded(W mwf, ConnectionKey cc); void connectionRemoved(W mwf, ConnectionKey cc); void propertyChanged(W mwf); void updated(W mwf); } public static interface WorkflowEvent<W> { void doNotify(WorkflowListener<W> wl); } public static class ChildAddedEvent<W> implements WorkflowEvent<W> { private final W mwf; private final Job j; public ChildAddedEvent(W mwf, Job j) { this.mwf = mwf; this.j = j; } @Override public void doNotify(WorkflowListener<W> wcl) { wcl.childAdded(mwf, j); } } public static class ChildModifiedEvent<W> implements WorkflowEvent<W> { private final W mwf; private final Job j; public ChildModifiedEvent(W mwf, Job j) { this.mwf = mwf; this.j = j; } @Override public void doNotify(WorkflowListener<W> wcl) { wcl.childModified(mwf, j); } } public static class ChildRemovedEvent<W> implements WorkflowEvent<W> { private final W mwf; private final Job j; public ChildRemovedEvent(W mwf, Job j) { this.mwf = mwf; this.j = j; } @Override public void doNotify(WorkflowListener<W> wcl) { wcl.childRemoved(mwf, j); } } public static class ConnectionAddedEvent<W> implements WorkflowEvent<W> { private final W mwf; private final ConnectionKey cc; public ConnectionAddedEvent(W mwf, ConnectionKey cc) { this.mwf = mwf; this.cc = cc; } @Override public void doNotify(WorkflowListener<W> wcl) { wcl.connectionAdded(mwf, cc); } } public static class ConnectionRemovedEvent<W> implements WorkflowEvent<W> { private final W mwf; private final ConnectionKey cc; public ConnectionRemovedEvent(W mwf, ConnectionKey cc) { this.mwf = mwf; this.cc = cc; } @Override public void doNotify(WorkflowListener<W> wcl) { wcl.connectionRemoved(mwf, cc); } } public static class PropertyChangedEvent<W> implements WorkflowEvent<W> { private final W mwf; public PropertyChangedEvent(W mwf) { this.mwf = mwf; } @Override public void doNotify(WorkflowListener<W> jl) { jl.propertyChanged(mwf); } } public static class UpdatedEvent<W> implements WorkflowEvent<W> { private final W mwf; public UpdatedEvent(W mwf) { this.mwf = mwf; } @Override public void doNotify(WorkflowListener<W> jl) { jl.updated(mwf); } } }
19.652174
76
0.688791
7d3e3d15dbd956626ef4affe68611a9c9b0d723e
2,139
package com.gyk.loginapp; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class MainActivity extends AppCompatActivity { private EditText editTextName; private EditText editTextPassword; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); editTextName = (EditText) findViewById(R.id.editTextisim);//ID'ye göre komponenti getir editTextPassword = (EditText) findViewById(R.id.editTextParola); Button buttonGirisYap = (Button) findViewById(R.id.button); Intent homeIntent = new Intent(MainActivity.this, HomePage.class);//Sayfa geçişlerine yarar homeIntent.putExtra("kisiAdi", "Furkan");//İntent kisiAdi isimli değişkeni paket olarak taşır startActivity(homeIntent);//Diğer aktivity'i başlatır. //CTRL+ALT+L buttonGirisYap.setOnClickListener(new View.OnClickListener() {//Butona listener ekle @Override public void onClick(View view) {//Butona tıklandığında çalışacak kod bloğu String isim = editTextName.getText().toString();//Edittext içindeki yazıyı almak için if("1234".equals(editTextPassword.getText().toString())) {//Girilen parola 1234 olduğunda if çalışır Toast.makeText(MainActivity.this, "İsminiz:" + isim, Toast.LENGTH_SHORT).show(); //Toast message sayfada çıkan bilgi mesajı Intent homeIntent = new Intent(MainActivity.this, HomePage.class);//Sayfa geçişlerine yarar homeIntent.putExtra("kisiAdi", isim);//İntent kisiAdi isimli değişkeni paket olarak taşır startActivity(homeIntent);//Diğer aktivity'i başlatır. }else{ Toast.makeText(MainActivity.this, "Yanlış şifre girdin!", Toast.LENGTH_SHORT).show(); } } }); } }
47.533333
117
0.677887
7c00ba9bef3111e310991f5088cf0b9d0dcdf9a9
1,605
/* ***************************************************************************** * Name: Rupesh Sasne * Date: 16th June 2019 **************************************************************************** */ import java.util.ArrayList; import java.util.Arrays; public class BruteCollinearPoints { private final LineSegment[] segments; public BruteCollinearPoints(Point[] points) { Utils utils = new Utils(); utils.requiresNonNull(points, "null argument"); utils.requiresNonNullAndUniqueValues(points); points = Arrays.copyOf(points, points.length); ArrayList<LineSegment> lineSegments = new ArrayList<>(); Arrays.sort(points); for (int p = 0; p < points.length - 3; p++) { for (int q = p + 1; q < points.length - 2; q++) { double s1 = points[p].slopeTo(points[q]); for (int r = q + 1; r < points.length - 1; r++) { double s2 = points[p].slopeTo(points[r]); for (int s = r + 1; s < points.length; s++) { double s3 = points[p].slopeTo(points[s]); if (s1 == s2 && s2 == s3) { lineSegments.add(new LineSegment(points[p], points[s])); } } } } } segments = lineSegments.toArray(new LineSegment[0]); } public int numberOfSegments() { return segments.length; } public LineSegment[] segments() { return Arrays.copyOf(segments, segments.length); } }
29.722222
84
0.468536
65df83270a213dde9ad9b2fbb29cc7b88f500fd6
19,527
package org.bpmnbrowser.image.impl; import java.util.Collection; import java.util.List; import java.util.Map; import org.activiti.bpmn.model.Activity; import org.activiti.bpmn.model.Artifact; import org.activiti.bpmn.model.Association; import org.activiti.bpmn.model.AssociationDirection; import org.activiti.bpmn.model.BaseElement; import org.activiti.bpmn.model.BpmnModel; import org.activiti.bpmn.model.CallActivity; import org.activiti.bpmn.model.DataObject; import org.activiti.bpmn.model.DataStore; import org.activiti.bpmn.model.FlowElement; import org.activiti.bpmn.model.FlowElementsContainer; import org.activiti.bpmn.model.FlowNode; import org.activiti.bpmn.model.Gateway; import org.activiti.bpmn.model.GraphicInfo; import org.activiti.bpmn.model.Import; import org.activiti.bpmn.model.Interface; import org.activiti.bpmn.model.Lane; import org.activiti.bpmn.model.Message; import org.activiti.bpmn.model.MessageFlow; import org.activiti.bpmn.model.MultiInstanceLoopCharacteristics; import org.activiti.bpmn.model.Pool; import org.activiti.bpmn.model.Process; import org.activiti.bpmn.model.Resource; import org.activiti.bpmn.model.SequenceFlow; import org.activiti.bpmn.model.Signal; import org.activiti.bpmn.model.SubProcess; import org.activiti.image.ProcessDiagramGenerator; import org.activiti.image.impl.DefaultProcessDiagramCanvas; import org.activiti.image.impl.DefaultProcessDiagramGenerator; /** * @author Sebastian Bittmann */ public class BittmannProcessDiagramGenerator extends DefaultProcessDiagramGenerator implements ProcessDiagramGenerator { public BittmannProcessDiagramGenerator(final double scaleFactor) { super(scaleFactor); artifactDrawInstructions.put(Association.class, new ArtifactDrawInstruction() { public void draw(DefaultProcessDiagramCanvas processDiagramCanvas, BpmnModel bpmnModel, Artifact artifact) { Association association = (Association) artifact; String sourceRef = association.getSourceRef(); String targetRef = association.getTargetRef(); // source and target can be instance of FlowElement or Artifact BaseElement sourceElement = bpmnModel.getFlowElement(sourceRef); BaseElement targetElement = bpmnModel.getFlowElement(targetRef); if (sourceElement == null) { sourceElement = bpmnModel.getArtifact(sourceRef); } if (targetElement == null) { targetElement = bpmnModel.getArtifact(targetRef); } if(targetElement != null && sourceElement != null){ List<GraphicInfo> graphicInfoList = bpmnModel.getFlowLocationGraphicInfo(artifact.getId()); graphicInfoList = connectionPerfectionizer(processDiagramCanvas, bpmnModel, sourceElement, targetElement, graphicInfoList); int xPoints[]= new int[graphicInfoList.size()]; int yPoints[]= new int[graphicInfoList.size()]; for (int i=1; i<graphicInfoList.size(); i++) { GraphicInfo graphicInfo = graphicInfoList.get(i); GraphicInfo previousGraphicInfo = graphicInfoList.get(i-1); if (i == 1) { xPoints[0] = (int) previousGraphicInfo.getX(); yPoints[0] = (int) previousGraphicInfo.getY(); } xPoints[i] = (int) graphicInfo.getX(); yPoints[i] = (int) graphicInfo.getY(); } AssociationDirection associationDirection = association.getAssociationDirection(); processDiagramCanvas.drawAssociation(xPoints, yPoints, associationDirection, false, scaleFactor); }else{ System.err.println("Source or Target Element not found."); } } }); } protected BittmannProcessDiagramCanvas generateProcessDiagram(BpmnModel bpmnModel, String imageType, List<String> highLightedActivities, List<String> highLightedFlows, String activityFontName, String labelFontName, ClassLoader customClassLoader, double scaleFactor) { prepareBpmnModel(bpmnModel); BittmannProcessDiagramCanvas processDiagramCanvas = (BittmannProcessDiagramCanvas) initProcessDiagramCanvas(bpmnModel, imageType, activityFontName, labelFontName, customClassLoader); // Draw pool shape, if process is participant in collaboration for (Pool pool : bpmnModel.getPools()) { GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(pool.getId()); //TODO: Pools that have no activities should have a horizontal label! if(graphicInfo!=null){ processDiagramCanvas.drawPoolOrLane(pool.getName(), graphicInfo); } } for(DataStore dataStore : bpmnModel.getDataStores().values()){ GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(dataStore.getId()); if(graphicInfo != null){ //TODO: as soon as I have testfiles available needs to be completed. drawDataStore(processDiagramCanvas,dataStore.getName(),graphicInfo); } } // Draw lanes List<Process> processes = bpmnModel.getProcesses(); for (int i = 0; i < processes.size(); i++) { Process process = processes.get(i); for (Lane lane : process.getLanes()) { GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(lane.getId()); if(graphicInfo!=null) processDiagramCanvas.drawPoolOrLane(lane.getName(), graphicInfo); } // Draw Data Objects for (DataObject dataObject : process.getDataObjects()) { GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(dataObject.getId()); if(graphicInfo!=null) //TODO: as soon as I have testfiles available needs to be completed. drawDataObject(processDiagramCanvas,dataObject.getName(),graphicInfo); } // Draw activities and their sequence-flows for (FlowNode flowNode : process.findFlowElementsOfType(FlowNode.class)) { drawActivity(processDiagramCanvas, bpmnModel, flowNode, highLightedActivities, highLightedFlows, scaleFactor); } for (FlowNode flowNode : process.findFlowElementsOfType(FlowNode.class)) { drawSequenceFlows(processDiagramCanvas, bpmnModel, flowNode, highLightedActivities, highLightedFlows, scaleFactor); } // Draw artifacts: Text Annoation and Corresponding Associations for (Artifact artifact : process.getArtifacts()) { drawArtifact(processDiagramCanvas, bpmnModel, artifact); } } Collection<Message> messages = bpmnModel.getMessages(); for(Message message:messages){ System.out.println("Message:"+message.getName()); } Collection<Resource> resources = bpmnModel.getResources(); for(Resource resource : resources){ System.out.println("Resource: "+resource.getName()); } List<Interface> interfaces = bpmnModel.getInterfaces(); for(Interface interface_:interfaces){ System.out.println("Interface: "+interface_.getName()); } List<Import> imports = bpmnModel.getImports(); for(Import import_:imports){ System.out.println("Imports: "+import_.getId()); //drawArtifact(processDiagramCanvas, bpmnModel, artifact); } List<Artifact> globalArtifacts = bpmnModel.getGlobalArtifacts(); for(Artifact artifact:globalArtifacts){ System.out.println("GlobalArtifact: "+artifact.getId()); drawArtifact(processDiagramCanvas, bpmnModel, artifact); } Collection<Signal> signals = bpmnModel.getSignals(); for(Signal signal: signals){ System.out.println("Signal: "+signal.getName()); } Map<String, MessageFlow> messageFlows = bpmnModel.getMessageFlows(); for(MessageFlow mf : messageFlows.values()){ drawMessageFlow(processDiagramCanvas,bpmnModel,mf,scaleFactor); } return processDiagramCanvas; } private void drawDataObject(BittmannProcessDiagramCanvas processDiagramCanvas,String name, GraphicInfo graphicInfo) { processDiagramCanvas.drawDataObject(name,graphicInfo,1.0f); } private void drawDataStore(BittmannProcessDiagramCanvas processDiagramCanvas,String name, GraphicInfo graphicInfo) { processDiagramCanvas.drawDataStore(name,graphicInfo,1.0f); } private void drawMessageFlow(BittmannProcessDiagramCanvas processDiagramCanvas, BpmnModel bpmnModel, MessageFlow messageFlow, double scaleFactor) { // Outgoing transitions of activity boolean isDefault = false; String sourceRef = messageFlow.getSourceRef(); String targetRef = messageFlow.getTargetRef(); FlowElement sourceElement = bpmnModel.getFlowElement(sourceRef); FlowElement targetElement = bpmnModel.getFlowElement(targetRef); List<GraphicInfo> graphicInfoList = bpmnModel.getFlowLocationGraphicInfo(messageFlow.getId()); if (graphicInfoList != null && graphicInfoList.size() > 0) { if(sourceElement != null && targetElement != null) graphicInfoList = connectionPerfectionizer(processDiagramCanvas, bpmnModel, sourceElement, targetElement, graphicInfoList); int xPoints[]= new int[graphicInfoList.size()]; int yPoints[]= new int[graphicInfoList.size()]; for (int i=1; i<graphicInfoList.size(); i++) { GraphicInfo graphicInfo = graphicInfoList.get(i); GraphicInfo previousGraphicInfo = graphicInfoList.get(i-1); if (i == 1) { xPoints[0] = (int) previousGraphicInfo.getX(); yPoints[0] = (int) previousGraphicInfo.getY(); } xPoints[i] = (int) graphicInfo.getX(); yPoints[i] = (int) graphicInfo.getY(); } processDiagramCanvas.drawMessageflow(xPoints, yPoints, isDefault, scaleFactor); // Draw messageflow label GraphicInfo labelGraphicInfo = bpmnModel.getLabelGraphicInfo(messageFlow.getId()); if (labelGraphicInfo != null) { processDiagramCanvas.drawLabel(messageFlow.getName(), labelGraphicInfo, false); } } } protected static BittmannProcessDiagramCanvas initProcessDiagramCanvas(BpmnModel bpmnModel, String imageType, String activityFontName, String labelFontName, ClassLoader customClassLoader) { // We need to calculate maximum values to know how big the image will be in its entirety double minX = Double.MAX_VALUE; double maxX = 0; double minY = Double.MAX_VALUE; double maxY = 0; for (Pool pool : bpmnModel.getPools()) { GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(pool.getId()); minX = graphicInfo.getX(); maxX = graphicInfo.getX() + graphicInfo.getWidth(); minY = graphicInfo.getY(); maxY = graphicInfo.getY() + graphicInfo.getHeight(); } List<FlowNode> flowNodes = gatherAllFlowNodes(bpmnModel); for (FlowNode flowNode : flowNodes) { GraphicInfo flowNodeGraphicInfo = bpmnModel.getGraphicInfo(flowNode.getId()); // width if (flowNodeGraphicInfo.getX() + flowNodeGraphicInfo.getWidth() > maxX) { maxX = flowNodeGraphicInfo.getX() + flowNodeGraphicInfo.getWidth(); } if (flowNodeGraphicInfo.getX() < minX) { minX = flowNodeGraphicInfo.getX(); } // height if (flowNodeGraphicInfo.getY() + flowNodeGraphicInfo.getHeight() > maxY) { maxY = flowNodeGraphicInfo.getY() + flowNodeGraphicInfo.getHeight(); } if (flowNodeGraphicInfo.getY() < minY) { minY = flowNodeGraphicInfo.getY(); } for (SequenceFlow sequenceFlow : flowNode.getOutgoingFlows()) { List<GraphicInfo> graphicInfoList = bpmnModel.getFlowLocationGraphicInfo(sequenceFlow.getId()); if (graphicInfoList != null) { for (GraphicInfo graphicInfo : graphicInfoList) { // width if (graphicInfo.getX() > maxX) { maxX = graphicInfo.getX(); } if (graphicInfo.getX() < minX) { minX = graphicInfo.getX(); } // height if (graphicInfo.getY() > maxY) { maxY = graphicInfo.getY(); } if (graphicInfo.getY()< minY) { minY = graphicInfo.getY(); } } } } } List<Artifact> artifacts = gatherAllArtifacts(bpmnModel); for (Artifact artifact : artifacts) { GraphicInfo artifactGraphicInfo = bpmnModel.getGraphicInfo(artifact.getId()); if (artifactGraphicInfo != null) { // width if (artifactGraphicInfo.getX() + artifactGraphicInfo.getWidth() > maxX) { maxX = artifactGraphicInfo.getX() + artifactGraphicInfo.getWidth(); } if (artifactGraphicInfo.getX() < minX) { minX = artifactGraphicInfo.getX(); } // height if (artifactGraphicInfo.getY() + artifactGraphicInfo.getHeight() > maxY) { maxY = artifactGraphicInfo.getY() + artifactGraphicInfo.getHeight(); } if (artifactGraphicInfo.getY() < minY) { minY = artifactGraphicInfo.getY(); } } List<GraphicInfo> graphicInfoList = bpmnModel.getFlowLocationGraphicInfo(artifact.getId()); if (graphicInfoList != null) { for (GraphicInfo graphicInfo : graphicInfoList) { // width if (graphicInfo.getX() > maxX) { maxX = graphicInfo.getX(); } if (graphicInfo.getX() < minX) { minX = graphicInfo.getX(); } // height if (graphicInfo.getY() > maxY) { maxY = graphicInfo.getY(); } if (graphicInfo.getY()< minY) { minY = graphicInfo.getY(); } } } } int nrOfLanes = 0; for (Process process : bpmnModel.getProcesses()) { for (Lane l : process.getLanes()) { nrOfLanes++; GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(l.getId()); // // width if (graphicInfo.getX() + graphicInfo.getWidth() > maxX) { maxX = graphicInfo.getX() + graphicInfo.getWidth(); } if (graphicInfo.getX() < minX) { minX = graphicInfo.getX(); } // height if (graphicInfo.getY() + graphicInfo.getHeight() > maxY) { maxY = graphicInfo.getY() + graphicInfo.getHeight(); } if (graphicInfo.getY() < minY) { minY = graphicInfo.getY(); } } } // Special case, see https://activiti.atlassian.net/browse/ACT-1431 if (flowNodes.isEmpty() && bpmnModel.getPools().isEmpty() && nrOfLanes == 0) { // Nothing to show minX = 0; minY = 0; } return new BittmannProcessDiagramCanvas((int) maxX + 10,(int) maxY + 10, (int) minX, (int) minY, imageType, activityFontName, labelFontName, customClassLoader); } protected void drawActivity(DefaultProcessDiagramCanvas processDiagramCanvas, BpmnModel bpmnModel, FlowNode flowNode, List<String> highLightedActivities, List<String> highLightedFlows, double scaleFactor) { ActivityDrawInstruction drawInstruction = activityDrawInstructions.get(flowNode.getClass()); if (drawInstruction != null) { // Gather info on the collapsed marker GraphicInfo graphicInfo = bpmnModel.getGraphicInfo(flowNode.getId()); graphicInfo.setElement(flowNode); drawInstruction.draw(processDiagramCanvas, bpmnModel, flowNode); // Gather info on the multi instance marker boolean multiInstanceSequential = false, multiInstanceParallel = false, collapsed = false; if (flowNode instanceof Activity) { Activity activity = (Activity) flowNode; MultiInstanceLoopCharacteristics multiInstanceLoopCharacteristics = activity.getLoopCharacteristics(); if (multiInstanceLoopCharacteristics != null) { multiInstanceSequential = multiInstanceLoopCharacteristics.isSequential(); multiInstanceParallel = !multiInstanceSequential; } } if (flowNode instanceof SubProcess) { collapsed = graphicInfo.getExpanded() != null && !graphicInfo.getExpanded(); } else if (flowNode instanceof CallActivity) { collapsed = true; } if (scaleFactor == 1.0) { // Actually draw the markers processDiagramCanvas.drawActivityMarkers((int) graphicInfo.getX(), (int) graphicInfo.getY(),(int) graphicInfo.getWidth(), (int) graphicInfo.getHeight(), multiInstanceSequential, multiInstanceParallel, collapsed); } }else{ System.out.println("Not supported: "+flowNode.getClass()+" "+flowNode.getId()); } // Nested elements if (flowNode instanceof FlowElementsContainer) { for (FlowElement nestedFlowElement : ((FlowElementsContainer) flowNode).getFlowElements()) { if (nestedFlowElement instanceof FlowNode) { drawActivity(processDiagramCanvas, bpmnModel, (FlowNode) nestedFlowElement, highLightedActivities, highLightedFlows, scaleFactor); } } } } protected void drawSequenceFlows(DefaultProcessDiagramCanvas processDiagramCanvas, BpmnModel bpmnModel, FlowNode flowNode, List<String> highLightedActivities, List<String> highLightedFlows, double scaleFactor) { // Outgoing transitions of activity for (SequenceFlow sequenceFlow : flowNode.getOutgoingFlows()) { boolean highLighted = (highLightedFlows.contains(sequenceFlow.getId())); String defaultFlow = null; if (flowNode instanceof Activity) { defaultFlow = ((Activity) flowNode).getDefaultFlow(); } else if (flowNode instanceof Gateway) { defaultFlow = ((Gateway) flowNode).getDefaultFlow(); } boolean isDefault = false; if (defaultFlow != null && defaultFlow.equalsIgnoreCase(sequenceFlow.getId())) { isDefault = true; } boolean drawConditionalIndicator = sequenceFlow.getConditionExpression() != null && !(flowNode instanceof Gateway); String sourceRef = sequenceFlow.getSourceRef(); String targetRef = sequenceFlow.getTargetRef(); FlowElement sourceElement = bpmnModel.getFlowElement(sourceRef); FlowElement targetElement = bpmnModel.getFlowElement(targetRef); List<GraphicInfo> graphicInfoList = bpmnModel.getFlowLocationGraphicInfo(sequenceFlow.getId()); if (graphicInfoList != null && graphicInfoList.size() > 0) { graphicInfoList = connectionPerfectionizer(processDiagramCanvas, bpmnModel, sourceElement, targetElement, graphicInfoList); int xPoints[]= new int[graphicInfoList.size()]; int yPoints[]= new int[graphicInfoList.size()]; for (int i=1; i<graphicInfoList.size(); i++) { GraphicInfo graphicInfo = graphicInfoList.get(i); GraphicInfo previousGraphicInfo = graphicInfoList.get(i-1); if (i == 1) { xPoints[0] = (int) previousGraphicInfo.getX(); yPoints[0] = (int) previousGraphicInfo.getY(); } xPoints[i] = (int) graphicInfo.getX(); yPoints[i] = (int) graphicInfo.getY(); } processDiagramCanvas.drawSequenceflow(xPoints, yPoints, drawConditionalIndicator, isDefault, highLighted, scaleFactor); // Draw sequenceflow label GraphicInfo labelGraphicInfo = bpmnModel.getLabelGraphicInfo(sequenceFlow.getId()); if (labelGraphicInfo != null) { processDiagramCanvas.drawLabel(sequenceFlow.getName(), labelGraphicInfo, false); } } } } protected void drawArtifact(BittmannProcessDiagramCanvas processDiagramCanvas, BpmnModel bpmnModel, Artifact artifact) { Class<? extends Artifact> artifactClass = artifact.getClass(); ArtifactDrawInstruction drawInstruction = artifactDrawInstructions.get(artifactClass); if (drawInstruction != null) { drawInstruction.draw(processDiagramCanvas, bpmnModel, artifact); }else System.out.println("Not supported: "+artifactClass+" "+artifact.getId()); } protected static List<GraphicInfo> connectionPerfectionizer(DefaultProcessDiagramCanvas processDiagramCanvas, BpmnModel bpmnModel, BaseElement sourceElement, BaseElement targetElement, List<GraphicInfo> graphicInfoList) { GraphicInfo sourceGraphicInfo = bpmnModel.getGraphicInfo(sourceElement.getId()); GraphicInfo targetGraphicInfo = bpmnModel.getGraphicInfo(targetElement.getId()); DefaultProcessDiagramCanvas.SHAPE_TYPE sourceShapeType = getShapeType(sourceElement); DefaultProcessDiagramCanvas.SHAPE_TYPE targetShapeType = getShapeType(targetElement); return processDiagramCanvas.connectionPerfectionizer(sourceShapeType, targetShapeType, sourceGraphicInfo, targetGraphicInfo, graphicInfoList); } }
38.064327
222
0.724074
362a963060ef50de086d65f72e0ae07ebbaf7e84
5,870
package com.callor.oneday_movie.adapter; import android.text.Html; import android.text.Spanned; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.callor.oneday_movie.R; import com.callor.oneday_movie.model.NaverMovieDTO; import com.squareup.picasso.Picasso; import java.util.List; /** * RecyclerView에 데이터를 보여주기 위한 Helper Class */ public class MovieViewAdapter extends RecyclerView.Adapter { // RecylerView에 표현할 데이터 들 private List<NaverMovieDTO> movieList; /** * RecylerView에서 사용할 데이터(movieList)를 어떻게 외부에서 Adapter에 * 보낼 것인가? * 생성자, setter()를 사용하여 주입한다 * * RecylerView의 Adapter를 객체로 생성할때 * 화면에 보여줄 데이터를 전달하자(주입하자) * 데이터를 매개변수가 갖는 생성자를 만든다 * * 이후의 코드는 화면에 보여줄 데이터가 있다는 전제하에 * 코드가 진행된다. */ public MovieViewAdapter(List<NaverMovieDTO> movieList) { this.movieList = movieList; } @NonNull @Override /** * onCreateViewHolder * item을 그리는 item.xml 파일을 읽어서 사용할 준비를 하기 * item.xml 파일을 view로 생성하고 데이터와 연결할 준비 */ public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { // inflater(확장, 펼치기) // *.xml 파일에 설정된 view 정보를 읽어서 Java Code에서 사용하기 위한 // 객체로 생성하는 것 // item.xml 파일을 읽어와서 Holder로 만들기 전에 확장(펼치기) 위한 도구 LayoutInflater layoutInflater = LayoutInflater.from(parent.getContext()); // movie_item_view.xml 내용이 view 객체로 변환되었다 View view = layoutInflater.inflate( R.layout.movie_item_view, parent, false); // 생성된 view 객체를 MovieViewHolder 클래스의 생성자에 주입하면서 // ViewHolder 객체를 생성하기 MovieItemHolder viewHolder = new MovieItemHolder(view); // 생성된 viewHolder 객체를 RecyclerView에게 return하기 return viewHolder; } @Override /** * 생성된 Holder와 실제 데이터(한개의 데이터)를 연결하는 작업 * 한개의 데이터를 연결하는 작업을 수행하지만 * RecyclerView에 의해서 데이터들의 개수만큼 반복적으로 호출되어 * 화면에 데이터를 그리는 작업을 수행 * * RecyclerView가 onBindViewHolder() method를 호출하면서 * 몇번째 데이터를 Binding 할 것인지에 대한 index로 position 변수에 * 값을 전달해 준다 */ public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position) { /** * 매개변수로 받은 holder를 * 우리가 선언한 MovieItemHolder로 형변환을 시키고 이후 코드를 진행한다 */ MovieItemHolder movieHolder = (MovieItemHolder) holder; // 전체 데이터에서 그리고자 하는 데이터(한개)를 추출한다 // 이때 매개변수로 전달받은 position을 사용하여 데이터를 getter 한다 NaverMovieDTO movieDTO = movieList.get(position); String item_title = movieDTO.getTitle(); Spanned sp_title = Html.fromHtml(item_title,Html.FROM_HTML_MODE_LEGACY); movieHolder.item_title.setText( sp_title ); String item_director = movieDTO.getDirector(); Spanned sp_director = Html.fromHtml(item_director,Html.FROM_HTML_MODE_LEGACY); movieHolder.item_director.setText( sp_director ); String item_actor = movieDTO.getActor(); Spanned sp_actor = Html.fromHtml(item_actor,Html.FROM_HTML_MODE_LEGACY); movieHolder.item_actor.setText( sp_actor ); String item_userRating = movieDTO.getUserRating(); Spanned sp_userRating = Html.fromHtml(item_userRating,Html.FROM_HTML_MODE_LEGACY); movieHolder.item_userRating.setText( sp_userRating ); /** * naver API를 통해서 전달받은 데이터 중 image 정보 표시하기 * naver API에서는 도서에 대한 image를 이미지 주소(link)문자열로 보낸다 * * HTML에서는 단순히 img src="" 코드를 사용하여 연결하면 * 자동으로 다운로드를 받으면서 이미지를 보여준다 * * 하지만 안드로이드에서는 디바이스 자체가 성능이 낮기 때문에 * 직접 이미지를 다운로드 하거나 하면 문제를 일으킬 수 있다 * * 안드로이드에서 이미지 링크를 실제 이미지로 보여주는데 * Picasso, Glide와 같은 3rd party 라이브러리를 사용하여 * 화면에 이미지를 구현한다 * * picasso Glide * 속도 다소느림 다소빠름 * 메모리 적게 차지 많이 소모 * 기능 단순 다양한 기능 존재 */ if (!movieDTO.getImage().isEmpty()) { Picasso.get().load(movieDTO.getImage()) .into(movieHolder.item_image); } } @Override /** * onCreateViewHolder에서 생성된 holder를 사용하여 * onBindViewHolder가 데이터 한개를 그리기를 수행하면 * RecyclerView에게 지금 데이터가 몇개 인지 알려주고 * 데이터 개수만큼 반복적으로 Holder를 그려라 라는 값을 * 알려주는 method */ public int getItemCount() { return movieList == null ? 0 : movieList.size(); } /** * onCreateViewHolder() method가 사용하는 클래스 * 실제 item.xml에 작성된 각각의 view component를 * 실제적으로 사용할수 있도록 각각 개별 객체(view 객체)로 * 생성하기 위한 보조 class * <p> * 초기에 RecyclerView인 ListView 시절에는 * 선택사항으로 만들지 않아도 되었는데 * RecyclerView에서는 반드시 있어야 하는 필수 클래스이다 * * 우리가 작성할 코드는 * item.xml 에 설정된 view Component 개별 요소를 * 추출하여 각각 객체로 만드는 일 * * movie_view_item.xml 에는 * TextView 가 있다 * 이 TextView를 사용할수 있도록 객체로 만드는일 * */ public static class MovieItemHolder extends RecyclerView.ViewHolder { public TextView item_title; public ImageView item_image; public TextView item_director; public TextView item_actor; public TextView item_userRating; public MovieItemHolder(@NonNull View itemView) { super(itemView); item_title = itemView.findViewById(R.id.movie_item_title); item_director = itemView.findViewById(R.id.movie_item_director); item_actor = itemView.findViewById(R.id.movie_item_actor); item_userRating = itemView.findViewById(R.id.movie_item_userRating); item_image = itemView.findViewById(R.id.movie_item_image); } } }
30.732984
96
0.633049
a61ba41b349b058817827636249d3840bc8685e1
477
package com.javatmp.module.user.repository; import com.javatmp.fw.data.jpa.repository.ExtendedJpaRepository; import com.javatmp.module.user.entity.User; import java.util.List; import org.springframework.data.jpa.repository.Query; public interface UserStatsRepository extends ExtendedJpaRepository<User, Long> { @Query("select MONTH(user.birthDate), count(*) FROM User user group by MONTH(user.birthDate)") public List<Object[]> getUsersBirthdayGroupingByMonth(); }
34.071429
98
0.798742
4fd2cbec4fc6f822b3ecf0739491c9058b43480d
379
package java_programs.conditions; import java.util.*; class GreatestOf3_Ternary3 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("Enter 3 numbers : "); int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(); System.out.print("Greatest No. : " + (a > b && a > c ? a : (b > c ? b : c))); sc.close(); } }
27.071429
81
0.596306
27d4d0c9f345234b51aaf36aa30b8b8c3d99f583
2,219
package buildings; import javax.media.opengl.GL2; import javax.media.opengl.glu.GLU; import com.jogamp.opengl.util.texture.Texture; public class HorizontalWall { private double beginningX; private double beginningY; private double beginningZ; private double xLength; private double yLength; private double zLength; private Texture outside; private Texture inside; public HorizontalWall(double beginningX, double beginningY, double beginningZ, double xLength, double yLength, double zLength, Texture outside, Texture inside) { this.beginningX = beginningX; this.beginningY = beginningY; this.beginningZ = beginningZ; this.xLength = xLength; this.yLength = yLength; this.zLength = zLength; this.outside = outside; this.inside = inside; } public void draw(GL2 gl, GLU glu) { gl.glEnable(GL2.GL_TEXTURE_2D); gl.glEnable(GL2.GL_CULL_FACE); gl.glPushMatrix(); gl.glEnable(GL2.GL_TEXTURE_GEN_S); gl.glEnable(GL2.GL_TEXTURE_GEN_T); outside.bind(gl); gl.glTexGeni(GL2.GL_S,GL2.GL_TEXTURE_GEN_MODE, GL2.GL_OBJECT_LINEAR); gl.glTexGeni(GL2.GL_T,GL2.GL_TEXTURE_GEN_MODE, GL2.GL_OBJECT_LINEAR); float[] coef_s = {1f,0,0,0}; gl.glTexGenfv(GL2.GL_S,GL2.GL_OBJECT_PLANE,coef_s,0); float[] coef_t = {0,0,1,0}; gl.glTexGenfv(GL2.GL_T,GL2.GL_OBJECT_PLANE,coef_t,0); gl.glBegin(GL2.GL_QUADS); gl.glVertex3d(beginningX,beginningY,beginningZ); gl.glVertex3d(beginningX+xLength,beginningY+yLength,beginningZ); gl.glVertex3d(beginningX+xLength,beginningY+yLength,beginningZ-zLength); gl.glVertex3d(beginningX,beginningY+yLength,beginningZ-zLength); gl.glEnd(); inside.bind(gl); gl.glBegin(GL2.GL_QUADS); gl.glVertex3d(beginningX,beginningY,beginningZ); gl.glVertex3d(beginningX,beginningY+yLength,beginningZ-zLength); gl.glVertex3d(beginningX+xLength,beginningY+yLength,beginningZ-zLength); gl.glVertex3d(beginningX+xLength,beginningY+yLength,beginningZ); gl.glEnd(); gl.glPopMatrix(); gl.glDisable(GL2.GL_CULL_FACE); gl.glDisable(GL2.GL_TEXTURE_2D); gl.glDisable(GL2.GL_TEXTURE_GEN_S); gl.glDisable(GL2.GL_TEXTURE_GEN_T); } }
31.7
80
0.730509
f63d24c687d1785a8849e2e6eee7c1bd4e0dcd3b
1,404
/* * Copyright 2012-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.cloud.loadbalancer.core; import java.util.List; import java.util.function.Supplier; import reactor.core.publisher.Flux; import org.springframework.cloud.client.ServiceInstance; import org.springframework.cloud.client.loadbalancer.Request; /** * A {@link Supplier} of lists of {@link ServiceInstance} objects. * * * 服务实例集合提供器 * @author Olga Maciaszek-Sharma * @since 2.2.0 */ public interface ServiceInstanceListSupplier extends Supplier<Flux<List<ServiceInstance>>> { String getServiceId(); /** * 根据请求获取服务实例 * @param request * @return */ default Flux<List<ServiceInstance>> get(Request request) { return get(); } static ServiceInstanceListSupplierBuilder builder() { return new ServiceInstanceListSupplierBuilder(); } }
26.490566
92
0.747863
214c3a338571d19a1796c06e006d69ed126ef388
9,728
/* * Copyright 2012-2015 Hippo B.V. (http://www.onehippo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.onehippo.cms7.services.search.jcr.service; import java.util.Calendar; import java.util.Stack; import javax.jcr.Node; import javax.jcr.RepositoryException; import org.onehippo.cms7.services.search.jcr.HippoSearchNodeType; import org.onehippo.cms7.services.search.query.reflect.QueryVisitor; import org.onehippo.cms7.services.search.query.constraint.CompoundConstraint; import org.onehippo.cms7.services.search.query.constraint.Constraint; import org.onehippo.cms7.services.search.query.constraint.DateConstraint; import org.onehippo.cms7.services.search.query.constraint.ExistsConstraint; import org.onehippo.cms7.services.search.query.constraint.IntegerConstraint; import org.onehippo.cms7.services.search.query.constraint.NotConstraint; import org.onehippo.cms7.services.search.query.constraint.TextConstraint; import org.onehippo.cms7.services.search.query.reflect.AndNode; import org.onehippo.cms7.services.search.query.reflect.OrNode; import org.onehippo.cms7.services.search.query.reflect.OrderNode; import org.onehippo.cms7.services.search.query.reflect.QueryNode; import org.onehippo.cms7.services.search.query.reflect.ScopeNode; import org.onehippo.cms7.services.search.query.reflect.SelectNode; import org.onehippo.cms7.services.search.query.reflect.TypedQueryNode; import org.onehippo.cms7.services.search.query.reflect.WhereNode; import org.slf4j.Logger; import org.slf4j.LoggerFactory; class JcrPersistingQueryVisitor implements QueryVisitor { static final Logger log = LoggerFactory.getLogger(JcrPersistingQueryVisitor.class); private final JcrQueryNode node; private final Stack<JcrConstraintNode> filter = new Stack<JcrConstraintNode>(); JcrPersistingQueryVisitor(Node node) { this.node = new JcrQueryNode(node); filter.push(new JcrConstraintNode(node)); this.node.clear(); } @Override public void visit(final QueryNode query) { node.setReturnParentNode(query.isReturnParentNode()); node.setLimit(query.getLimit()); node.setOffset(query.getOffset()); } @Override public void visit(final TypedQueryNode typedQuery) { node.setNodeType(typedQuery.getType()); } @Override public void visit(final OrderNode orderClause) { String property = orderClause.getProperty(); String order = orderClause.getOrder(); node.addOrdering(new JcrQueryNode.Ordering(property, order)); } @Override public void visit(final SelectNode selectClause) { } @Override public void visit(final ScopeNode scopeClause) { String path = scopeClause.getPath(); if (scopeClause.isInclude()) { node.addInclude(path); } else { node.addExclude(path); } } @Override public void visit(final WhereNode whereClause) { Constraint constraint = whereClause.getConstraint(); addSubConstraint(constraint); } @Override public void visit(final OrNode orclause) { JcrConstraintNode constraintNode = filter.peek(); if (constraintNode.getType() == JcrConstraintNode.CompoundType.AND) { throw new IllegalStateException( "Type of compound node was already set to 'AND'; mixing AND and OR clauses is not supported"); } if (constraintNode.getType() == JcrConstraintNode.CompoundType.UNKNOWN) { constraintNode.setType(JcrConstraintNode.CompoundType.OR); } addSubConstraint(orclause.getConstraint()); } @Override public void visit(final AndNode andclause) { JcrConstraintNode constraintNode = filter.peek(); if (constraintNode.getType() == JcrConstraintNode.CompoundType.OR) { throw new IllegalStateException( "Type of compound node was already set to 'OR'; mixing AND and OR clauses is not supported"); } if (constraintNode.getType() == JcrConstraintNode.CompoundType.UNKNOWN) { constraintNode.setType(JcrConstraintNode.CompoundType.AND); } addSubConstraint(andclause.getConstraint()); } private void addSubConstraint(final Constraint constraint) { boolean compound = (constraint instanceof CompoundConstraint); Node node = filter.peek().getNode(); Node subNode; try { if (compound) { subNode = node.addNode( HippoSearchNodeType.CONSTRAINT, HippoSearchNodeType.NT_COMPOUNDCONSTRAINT); } else { subNode = node.addNode( HippoSearchNodeType.CONSTRAINT, HippoSearchNodeType.NT_PRIMITIVECONSTRAINT); } } catch (RepositoryException e) { log.error("Could not create child node to host constraint"); return; } filter.push(new JcrConstraintNode(subNode)); try { storeConstraint(constraint); } finally { filter.pop(); } } void storeConstraint(Constraint constraint) { if (constraint instanceof NotConstraint) { storeNotConstraint((NotConstraint) constraint); } else if (constraint instanceof CompoundConstraint) { storeCompoundConstraint((CompoundConstraint) constraint); } else if (constraint instanceof TextConstraint) { storeTextConstraint((TextConstraint) constraint); } else if (constraint instanceof DateConstraint) { storeDateConstraint((DateConstraint) constraint); } else if (constraint instanceof IntegerConstraint) { storeIntegerConstraint((IntegerConstraint) constraint); } else if (constraint instanceof ExistsConstraint) { storeExistsConstraint((ExistsConstraint) constraint); } else { log.warn("Unknown constraint type"); } } private void storeExistsConstraint(final ExistsConstraint constraint) { JcrConstraintNode constraintNode = filter.peek(); constraintNode.addNotNull(constraint.getProperty()); } private void storeIntegerConstraint(final IntegerConstraint constraint) { JcrConstraintNode constraintNode = filter.peek(); String property = constraint.getProperty(); int value = constraint.getValue(); int upper = constraint.getUpper(); switch (constraint.getType()) { case EQUAL: constraintNode.addEqualTo(property, value); break; case TO: constraintNode.addLessOrEqualThan(property, value); break; case FROM: constraintNode.addGreaterOrEqualThan(property, value); break; case BETWEEN: constraintNode.addBetween(property, value, upper); break; } } private void storeDateConstraint(final DateConstraint constraint) { JcrConstraintNode constraintNode = filter.peek(); String property = constraint.getProperty(); Calendar value = constraint.getValue(); Calendar upper = constraint.getUpper(); switch (constraint.getType()) { case EQUAL: constraintNode.addEqualTo(property, value); break; case TO: constraintNode.addLessOrEqualThan(property, value); break; case FROM: constraintNode.addGreaterOrEqualThan(property, value); break; case BETWEEN: constraintNode.addBetween(property, value, upper); break; } constraintNode.setResolution(constraint.getResolution()); } private void storeTextConstraint(final TextConstraint constraint) { JcrConstraintNode constraintNode = filter.peek(); String property = constraint.getProperty(); if (property == null) { property = "."; } String value = constraint.getValue(); switch (constraint.getType()) { case EQUAL: constraintNode.addEqualTo(property, value); break; case CONTAINS: constraintNode.addContains(property, value); } } private void storeNotConstraint(final NotConstraint constraint) { storeConstraint(constraint.getConstraint()); filter.peek().negate(); } private void storeCompoundConstraint(final CompoundConstraint constraint) { for (final Constraint subConstraint : constraint.getConstraints()) { if (subConstraint instanceof CompoundConstraint) { CompoundConstraint compoundConstraint = (CompoundConstraint) subConstraint; if (compoundConstraint.getType() == CompoundConstraint.Type.AND) { filter.peek().setType(JcrConstraintNode.CompoundType.AND); } else { filter.peek().setType(JcrConstraintNode.CompoundType.OR); } } addSubConstraint(subConstraint); } } }
38.603175
114
0.663651
6517225559fccec6567f8b5387e222820dd4db8c
2,292
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.nifi.cdc.mysql.event; import org.apache.nifi.cdc.event.BaseRowEventInfo; import org.apache.nifi.cdc.event.RowEventInfo; import org.apache.nifi.cdc.event.TableInfo; import java.util.BitSet; import java.util.List; /** * A base class to help store information about a row mutation event (UPDATE, DELETE, etc.) */ public class BaseBinlogRowEventInfo<RowEventDataType> extends BaseBinlogTableEventInfo implements RowEventInfo<RowEventDataType> { private BitSet includedColumns; private RowEventInfo<RowEventDataType> delegate; public BaseBinlogRowEventInfo(TableInfo tableInfo, String type, Long timestamp, String binlogFilename, Long binlogPosition, BitSet includedColumns, List<RowEventDataType> rows) { super(tableInfo, type, timestamp, binlogFilename, binlogPosition); this.includedColumns = includedColumns; this.delegate = new BaseRowEventInfo<>(tableInfo, type, timestamp, rows); } public BaseBinlogRowEventInfo(TableInfo tableInfo, String type, Long timestamp, String binlogGtidSet, BitSet includedColumns, List<RowEventDataType> rows) { super(tableInfo, type, timestamp, binlogGtidSet); this.includedColumns = includedColumns; this.delegate = new BaseRowEventInfo<>(tableInfo, type, timestamp, rows); } public BitSet getIncludedColumns() { return includedColumns; } @Override public List<RowEventDataType> getRows() { return delegate.getRows(); } }
41.672727
182
0.754363
7c35f05bb084863126e9c4040b6064323d8efec7
7,691
/* * Copyright 2011-2016 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.b2international.snowowl.snomed.core.tree; import static com.b2international.snowowl.snomed.datastore.id.RandomSnomedIdentiferGenerator.generateConceptId; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Maps.newHashMap; import static com.google.common.collect.Sets.newHashSet; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.assertNotNull; import java.util.Collections; import java.util.Map; import java.util.Set; import org.junit.Ignore; import org.junit.Test; import com.b2international.snowowl.snomed.common.SnomedConstants.Concepts; import com.b2international.snowowl.snomed.datastore.index.entry.SnomedConceptDocument; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; /** * @since 4.6 */ public class TerminologyTreeTest { private static final String N1 = generateConceptId(); private static final String N2 = generateConceptId(); private static final String N3 = generateConceptId(); private static final String N4 = generateConceptId(); @Test(expected = IllegalArgumentException.class) public void getNodeThrowsExceptionIfDoesNotExist() throws Exception { final TerminologyTree tree = new TestTree().build(); tree.getNode(N1); } @Test public void getNodeReturnsNodeIfExists() throws Exception { final TerminologyTree tree = new TestTree() .addNode(N1) .build(); assertNotNull(tree.getNode(N1)); } @Test public void getProximalPrimitiveParentsOfNonPrimitiveConceptWithoutAncestors() throws Exception { final TerminologyTree tree = new TestTree() .addNode(N1) .build(); assertThat(tree.getProximalPrimitiveParents(N1)).isEmpty(); } @Ignore("Fix create sibling concept creation to enable this feature in TerminologyTree") @Test public void getProximalPrimitiveParentsOfPrimitiveConcept() throws Exception { final TerminologyTree tree = new TestTree() .addNode(N1, true) .build(); final SnomedConceptDocument n1 = tree.getNode(N1); assertThat(tree.getProximalPrimitiveParents(N1)).containsOnly(n1); } @Test public void getProximalPrimitiveParentsOfDefiningConceptWithOnePrimitiveParent() throws Exception { final TerminologyTree tree = new TestTree() .addNode(N1, true, null, newHashSet(N2)) .addNode(N2, false, newHashSet(N1)) .build(); final SnomedConceptDocument n1 = tree.getNode(N1); assertThat(tree.getProximalPrimitiveParents(N2)).containsOnly(n1); } @Test public void getProximalPrimitiveParentsOfDefiningConceptWithTwoDistinctPrimitiveParents() throws Exception { final TerminologyTree tree = new TestTree() .addNode(N1, true, null, newHashSet(N3)) .addNode(N2, true, null, newHashSet(N3)) .addNode(N3, false, newHashSet(N1, N2)) .build(); final SnomedConceptDocument n1 = tree.getNode(N1); final SnomedConceptDocument n2 = tree.getNode(N2); assertThat(tree.getProximalPrimitiveParents(N3)).containsOnly(n1, n2); } @Test public void getProximalPrimitiveParentsOfDefiningConceptWithPrimitiveAncestor() throws Exception { final TerminologyTree tree = new TestTree() .addNode(N1, true, null, newHashSet(N2)) .addNode(N2, false, newHashSet(N1), newHashSet(N3)) .addNode(N3, false, newHashSet(N2)) .build(); final SnomedConceptDocument n1 = tree.getNode(N1); assertThat(tree.getProximalPrimitiveParents(N3)).containsOnly(n1); } @Test public void getProximalPrimitiveParentsOfDefiningConceptWithMultiplePrimitiveAncestors() throws Exception { final TerminologyTree tree = new TestTree() .addNode(N1, true, null, newHashSet(N2)) .addNode(N2, true, newHashSet(N1), newHashSet(N3)) .addNode(N3, false, newHashSet(N2)) .build(); final SnomedConceptDocument n2 = tree.getNode(N2); assertThat(tree.getProximalPrimitiveParents(N3)).containsOnly(n2); } @Test public void getProximalPrimitiveParentsOfDefiningConceptWithMultiplePrimitiveAncestorsViaLongRoutes() throws Exception { final TerminologyTree tree = new TestTree() .addNode(N1, true, null, newHashSet(N2, N4)) .addNode(N2, true, newHashSet(N1), newHashSet(N3)) .addNode(N3, false, newHashSet(N2), newHashSet(N4)) .addNode(N4, false, newHashSet(N3, N1)) .build(); final SnomedConceptDocument n2 = tree.getNode(N2); assertThat(tree.getProximalPrimitiveParents(N4)).containsOnly(n2); } @Test public void getProximalPrimitiveWithFixedAncestorSet() throws Exception { final TerminologyTree tree = new TestTree() .addNode(N1, true, null, newHashSet(N2, N4)) .addNode(N2, true, newHashSet(N1), newHashSet(N3)) .addNode(N3, true, newHashSet(N2), newHashSet(N4)) .addNode(N4, false, newHashSet(N3, N1)) .build(); final SnomedConceptDocument n3 = tree.getNode(N3); assertThat(tree.getProximalPrimitiveParents(N4)).containsOnly(n3); final SnomedConceptDocument n1 = tree.getNode(N1); final SnomedConceptDocument n2 = tree.getNode(N2); assertThat(tree.getProximalPrimitiveParentIds(newArrayList(n3, n1, n2))).containsOnly(N3); } @Test public void getProximalPrimitiveWithFixedAncestorSet_ReplacementTest() throws Exception { final TerminologyTree tree = new TestTree() .addNode(N1, true, null, newHashSet(N2)) .addNode(N2, true, newHashSet(N1), newHashSet(N4)) .addNode(N3, true, null, newHashSet(N4)) .addNode(N4, false, newHashSet(N3, N2)) .build(); final SnomedConceptDocument n2 = tree.getNode(N2); final SnomedConceptDocument n3 = tree.getNode(N3); assertThat(tree.getProximalPrimitiveParents(N4)).containsOnly(n3, n2); final SnomedConceptDocument n1 = tree.getNode(N1); assertThat(tree.getProximalPrimitiveParentIds(newArrayList(n1, n3, n2))).containsOnly(N3, N2); } private static class TestTree { private final Map<String, SnomedConceptDocument> items = newHashMap(); private final Multimap<String, String> subTypes = HashMultimap.create(); private final Multimap<String, String> superTypes = HashMultimap.create(); public TerminologyTree build() { return new TerminologyTree(items, subTypes, superTypes); } public TestTree addNode(String nodeId) { return addNode(nodeId, false); } public TestTree addNode(String nodeId, boolean primitive) { return addNode(nodeId, primitive, Collections.<String>emptySet()); } public TestTree addNode(String nodeId, boolean primitive, Set<String> parents) { return addNode(nodeId, primitive, parents, Collections.<String>emptySet()); } public TestTree addNode(String nodeId, boolean primitive, Set<String> parents, Set<String> children) { final SnomedConceptDocument entry = SnomedConceptDocument.builder() .id(nodeId) .iconId(Concepts.ROOT_CONCEPT) .active(true) .moduleId(Concepts.MODULE_ROOT) .primitive(primitive) .build(); items.put(nodeId, entry); if (parents != null) { superTypes.putAll(nodeId, parents); } if (children != null) { subTypes.putAll(nodeId, children); } return this; } } }
36.450237
121
0.748667
39cee97cc7aab0c957e0be49150028397fabbaed
5,967
/** * Copyright (c) 2021 CRUK Cambridge Institute - Bioinformatics Core * * Licensed under the MIT license (http://opensource.org/licenses/MIT) * This file may not be copied, modified, or distributed except according * to those terms. */ package org.cruk.ampliconseq; import java.io.File; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.cruk.htsjdk.CommandLineProgram; import htsjdk.samtools.reference.ReferenceSequenceFile; import htsjdk.samtools.reference.ReferenceSequenceFileFactory; import htsjdk.samtools.util.IOUtil; import htsjdk.variant.variantcontext.VariantContext; import htsjdk.variant.variantcontext.writer.VariantContextWriter; import htsjdk.variant.variantcontext.writer.VariantContextWriterBuilder; import htsjdk.variant.variantcontext.writer.VariantContextWriterBuilder.OutputType; import htsjdk.variant.vcf.VCFFileReader; import htsjdk.variant.vcf.VCFHeader; import htsjdk.variant.vcf.VCFHeaderLineType; import htsjdk.variant.vcf.VCFInfoHeaderLine; import picocli.CommandLine; import picocli.CommandLine.Command; import picocli.CommandLine.Option; /** * Utility for adding various annotations to variants in a VCF file. * * @author eldrid01 */ @Command(name = "add-assorted-annotations-to-vcf", versionProvider = AnnotateVcfWithAmpliconIds.class, description = "\nAdds various annotations to variants in a VCF file.\n", mixinStandardHelpOptions = true) public class AddAssortedAnnotationsToVcf extends CommandLineProgram { private static final Logger logger = LogManager.getLogger(); // annotation names private static final String FIVE_PRIME_SEQUENCE_CONTEXT = "FivePrimeContext"; private static final String THREE_PRIME_SEQUENCE_CONTEXT = "ThreePrimeContext"; private static final String INDEL_LENGTH = "IndelLength"; @Option(names = { "-i", "--input" }, required = true, description = "Input VCF file (required).") private File inputVcfFile; @Option(names = { "-r", "--reference-sequence" }, required = true, description = "Reference sequence FASTA file which must be indexed and have an accompanying dictionary (required).") private File referenceSequenceFile; @Option(names = { "-o", "--output" }, required = true, description = "Output VCF file with annotated varaints (required).") private File outputVcfFile; @Option(names = { "--sequence-context-length" }, description = "The number of bases of sequence context to record for both 5' and 3' context (default: ${DEFAULT-VALUE}).") private int sequenceContextLength = 5; public static void main(String[] args) { int exitCode = new CommandLine(new AddAssortedAnnotationsToVcf()).execute(args); System.exit(exitCode); } @Override public Integer call() throws Exception { logger.info(getClass().getName() + " (" + getPackageNameAndVersion() + ")"); IOUtil.assertFileIsReadable(inputVcfFile); IOUtil.assertFileIsReadable(referenceSequenceFile); IOUtil.assertFileIsWritable(outputVcfFile); // reference sequence ReferenceSequenceFile referenceSequence = ReferenceSequenceFileFactory .getReferenceSequenceFile(referenceSequenceFile); if (!referenceSequence.isIndexed()) { logger.error("Reference sequence FASTA file is not indexed"); return 1; } VCFFileReader reader = new VCFFileReader(inputVcfFile, false); VCFHeader header = reader.getFileHeader(); VariantContextWriterBuilder builder = new VariantContextWriterBuilder().setOutputFile(outputVcfFile) .setOutputFileType(OutputType.VCF).setReferenceDictionary(header.getSequenceDictionary()) .clearOptions(); VariantContextWriter writer = builder.build(); addInfoHeaderLines(header); writer.writeHeader(header); for (VariantContext variant : reader) { addSequenceContext(variant, referenceSequence); addIndelLength(variant); writer.add(variant); } writer.close(); reader.close(); referenceSequence.close(); return 0; } /** * Add header lines for the added INFO fields. * * @param header the VCF header */ private void addInfoHeaderLines(VCFHeader header) { header.addMetaDataLine(new VCFInfoHeaderLine(FIVE_PRIME_SEQUENCE_CONTEXT, 1, VCFHeaderLineType.String, "The 5' prime sequence context.")); header.addMetaDataLine(new VCFInfoHeaderLine(THREE_PRIME_SEQUENCE_CONTEXT, 1, VCFHeaderLineType.String, "The 3' prime sequence context.")); header.addMetaDataLine( new VCFInfoHeaderLine(INDEL_LENGTH, 1, VCFHeaderLineType.Integer, "The length of the indel.")); } /** * Adds INFO entries for 5' and 3' sequence context. * * @param variant the variant */ private void addSequenceContext(VariantContext variant, ReferenceSequenceFile referenceSequence) { variant.getCommonInfo().putAttribute(FIVE_PRIME_SEQUENCE_CONTEXT, referenceSequence.getSubsequenceAt(variant.getContig(), variant.getStart() - sequenceContextLength, variant.getStart() - 1).getBaseString()); variant.getCommonInfo().putAttribute(THREE_PRIME_SEQUENCE_CONTEXT, referenceSequence .getSubsequenceAt(variant.getContig(), variant.getEnd() + 1, variant.getEnd() + sequenceContextLength) .getBaseString()); } /** * Adds an INFO entry for the indel length. * * @param variant the variant */ private void addIndelLength(VariantContext variant) { if (variant.isIndel()) { int length = variant.getAlternateAllele(0).length() - variant.getReference().length(); variant.getCommonInfo().putAttribute(INDEL_LENGTH, length); } } }
40.591837
208
0.704206
a8c7ac9de47d903ba1e653bebf41d47dff0bef3f
436
package org.ovirt.engine.core.common.businessentities; import java.io.Serializable; import org.ovirt.engine.core.compat.Guid; public class TagsVdsMapId implements Serializable { private static final long serialVersionUID = -8781389672965898588L; Guid tagId; Guid vdsId; public TagsVdsMapId() { } public TagsVdsMapId(Guid tagId, Guid vdsId) { this.tagId = tagId; this.vdsId = vdsId; } }
20.761905
71
0.706422
45ff4f8266b387ba881142fc029cafc592aa932e
1,561
package mb.tiger; import mb.constraint.common.stratego.ConstraintPrimitiveLibrary; import mb.log.api.LoggerFactory; import mb.nabl2.common.NaBL2PrimitiveLibrary; import mb.resource.ResourceService; import mb.resource.hierarchical.HierarchicalResource; import mb.spoofax.compiler.interfaces.spoofaxcore.StrategoRuntimeBuilderFactory; import mb.stratego.common.StrategoRuntimeBuilder; public class TigerStrategoRuntimeBuilderFactory implements StrategoRuntimeBuilderFactory { private final LoggerFactory loggerFactory; private final ResourceService resourceService; private final HierarchicalResource definitionDir; public TigerStrategoRuntimeBuilderFactory(LoggerFactory loggerFactory, ResourceService resourceService, HierarchicalResource definitionDir) { this.loggerFactory = loggerFactory; this.resourceService = resourceService; this.definitionDir = definitionDir; } @Override public StrategoRuntimeBuilder create() { final StrategoRuntimeBuilder builder = new StrategoRuntimeBuilder(loggerFactory, resourceService, definitionDir); builder.addInteropRegistererByReflection("tiger.spoofaxcore.trans.InteropRegisterer"); builder.addInteropRegistererByReflection("tiger.spoofaxcore.strategies.InteropRegisterer"); builder.withJarParentClassLoader(TigerStrategoRuntimeBuilderFactory.class.getClassLoader()); builder.addLibrary(new NaBL2PrimitiveLibrary()); builder.addLibrary(new ConstraintPrimitiveLibrary(resourceService)); return builder; } }
47.30303
145
0.811659
84b42e261eaf6d4488b512b057e0f700f310c68a
1,778
package com.dskow.downloader.models.xml; import java.io.Serializable; import javax.xml.bind.annotation.XmlElement; public class MedlineCitation implements Serializable { /** * serial Version UID. */ private static final long serialVersionUID = 6794989639322626582L; @XmlElement(name = "PMID") private PMID PMID; @XmlElement(name = "DateCreated") private DateCreated DateCreated; @XmlElement(name = "DateRevised") private DateRevised DateRevised; @XmlElement(name = "Article") private Article Article; @XmlElement(name = "MedlineJournalInfo") private MedlineJournalInfo MedlineJournalInfo; public PMID getPmid() { return PMID; } public DateCreated getDateCreated() { return DateCreated; } public DateRevised getDateRevised() { return DateRevised; } public Article getArticle() { return Article; } public MedlineJournalInfo getMedlineJournalInfo() { return MedlineJournalInfo; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class MedlineCitation {\n"); sb.append(" PMID: ").append(toIndentedString(PMID)).append("\n"); sb.append(" DateCreated: ").append(toIndentedString(DateCreated)).append("\n"); sb.append(" DateRevised: ").append(toIndentedString(DateRevised)).append("\n"); sb.append(" Article: ").append(toIndentedString(Article)).append("\n"); sb.append(" MedlineJournalInfo: ").append(toIndentedString(MedlineJournalInfo)).append("\n"); sb.append("}"); return sb.toString(); } /** * Convert the given object to string with each line indented by 4 spaces * (except the first line). */ private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } }
23.706667
98
0.710911
da222034ce2df6b45fcac933eb97b3a72d34b286
8,187
package fr.qilat.prisonrp.client.gui.component; import fr.qilat.prisonrp.client.gui.GuiSfz; import fr.qilat.prisonrp.server.game.safezone.SafeZone; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiTextField; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import java.awt.*; /** * Created by Qilat on 06/12/2017 for forge-1.10.2-12.18.3.2511-mdk. */ @SideOnly(Side.CLIENT) public class GuiSafeZoneEntry { private static int fontHeight = Minecraft.getMinecraft().fontRendererObj.FONT_HEIGHT; private int baseX; private int baseY; private int listWidth; private int slotHeight; private int oldId = -1; private GuiSfz owner; private Minecraft mc; private SafeZone safeZone; private GuiTextField name; private GuiTextField pos1x; private GuiTextField pos1y; private GuiTextField pos1z; private GuiTextField pos2x; private GuiTextField pos2y; private GuiTextField pos2z; private GuiButtonSaveSFZ buttonSaveSFZ; private GuiButtonDelSFZ buttonDelSFZ; public GuiSafeZoneEntry(GuiSfz owner, int x, int y, int listWidth, int slotHeight) { this.owner = owner; this.mc = Minecraft.getMinecraft(); this.baseX = x + 5; this.baseY = y + 6; this.listWidth = listWidth; this.slotHeight = slotHeight; } public void initGui() { int intervalY = 4; int intervalX = 4; int fieldHeight = 10; int fieldWidth = 40; int baseX = this.baseX + 2; int baseY = this.baseY + 5; this.name = new GuiTextField(6, this.mc.fontRendererObj, baseX + 48, baseY - 1, fieldWidth * 17 / 8 + 1, fieldHeight); // 1/8 this.pos1x = new GuiTextField(0, this.mc.fontRendererObj, baseX + 0 * fieldWidth + 1 * intervalX, baseY + fontHeight + intervalY, fieldWidth, fieldHeight); this.pos1y = new GuiTextField(1, this.mc.fontRendererObj, baseX + 1 * fieldWidth + 2 * intervalX, baseY + fontHeight + intervalY, fieldWidth, fieldHeight); this.pos1z = new GuiTextField(2, this.mc.fontRendererObj, baseX + 2 * fieldWidth + 3 * intervalX, baseY + fontHeight + intervalY, fieldWidth + 2, fieldHeight); this.pos2x = new GuiTextField(3, this.mc.fontRendererObj, baseX + 0 * fieldWidth + 1 * intervalX, baseY + fontHeight + 2 * intervalY + fieldHeight, fieldWidth, fieldHeight); this.pos2y = new GuiTextField(4, this.mc.fontRendererObj, baseX + 1 * fieldWidth + 2 * intervalX, baseY + fontHeight + 2 * intervalY + fieldHeight, fieldWidth, fieldHeight); this.pos2z = new GuiTextField(5, this.mc.fontRendererObj, baseX + 2 * fieldWidth + 3 * intervalX, baseY + fontHeight + 2 * intervalY + fieldHeight, fieldWidth + 2, fieldHeight); baseX += 2; baseY -= 2; this.buttonSaveSFZ = new GuiButtonSaveSFZ(7, baseX + 3 * fieldWidth + 4 * intervalX, baseY); this.buttonDelSFZ = new GuiButtonDelSFZ(8, baseX + 3 * fieldWidth + 4 * intervalX, baseY + 23); this.owner.addButton(this.buttonSaveSFZ); this.owner.addButton(this.buttonDelSFZ); } private void setTextFiledContent() { this.name.setText(getSafeZone().getName() != null ? getSafeZone().getName() : "Undefined name"); this.pos1x.setText(String.valueOf(getSafeZone().getPos1X())); this.pos1y.setText(String.valueOf(getSafeZone().getPos1Y())); this.pos1z.setText(String.valueOf(getSafeZone().getPos1Z())); this.pos2x.setText(String.valueOf(getSafeZone().getPos2X())); this.pos2y.setText(String.valueOf(getSafeZone().getPos2Y())); this.pos2z.setText(String.valueOf(getSafeZone().getPos2Z())); } private void drawTextField() { if (this.oldId != getSafeZone().getId()) { this.setTextFiledContent(); this.oldId = this.getSafeZone().getId(); } this.name.drawTextBox(); this.pos1x.drawTextBox(); this.pos1y.drawTextBox(); this.pos1z.drawTextBox(); this.pos2x.drawTextBox(); this.pos2y.drawTextBox(); this.pos2z.drawTextBox(); } public void drawEntry() { if (this.getSafeZone() != null) { int rectHeight = slotHeight; int rectWidth = listWidth * 75 / 100; Gui.drawRect(this.baseX, this.baseY + 2, this.baseX + rectWidth, this.baseY + rectHeight - 1, this.getSafeZone().getState().getColor().getRGB()); this.mc.fontRendererObj.drawString("ID n°" + Integer.toString(this.safeZone.getId()) + " : Undefined name", baseX + 7, baseY + 5, new Color(255, 255, 255).getRGB()); this.drawTextField(); this.showButton(); }else{ this.hideButton(); } } private void showButton(){ this.buttonSaveSFZ.visible = true; this.buttonDelSFZ.visible = true; } private void hideButton(){ this.buttonSaveSFZ.visible = false; this.buttonDelSFZ.visible = false; } public void updateCursorPos() { if (this.name != null) this.name.updateCursorCounter(); if (this.pos1x != null) this.pos1x.updateCursorCounter(); if (this.pos1y != null) this.pos1y.updateCursorCounter(); if (this.pos1z != null) this.pos1z.updateCursorCounter(); if (this.pos2x != null) this.pos2x.updateCursorCounter(); if (this.pos2y != null) this.pos2y.updateCursorCounter(); if (this.pos2z != null) this.pos2z.updateCursorCounter(); } public SafeZone getSafeZone() { return this.safeZone; } public void setSafeZone(SafeZone zone) { if(zone == null){ this.safeZone = null; return; } if (this.oldId != zone.getId()) this.safeZone = zone; } public void mouseClicked(int mouseX, int mouseY, int mouseButton) { this.name.mouseClicked(mouseX, mouseY, mouseButton); this.pos1x.mouseClicked(mouseX, mouseY, mouseButton); this.pos1y.mouseClicked(mouseX, mouseY, mouseButton); this.pos1z.mouseClicked(mouseX, mouseY, mouseButton); this.pos2x.mouseClicked(mouseX, mouseY, mouseButton); this.pos2y.mouseClicked(mouseX, mouseY, mouseButton); this.pos2z.mouseClicked(mouseX, mouseY, mouseButton); } public void textboxKeyTyped(char typedChar, int keyCode) { this.name.textboxKeyTyped(typedChar, keyCode); this.pos1x.textboxKeyTyped(typedChar, keyCode); this.pos1y.textboxKeyTyped(typedChar, keyCode); this.pos1z.textboxKeyTyped(typedChar, keyCode); this.pos2x.textboxKeyTyped(typedChar, keyCode); this.pos2y.textboxKeyTyped(typedChar, keyCode); this.pos2z.textboxKeyTyped(typedChar, keyCode); } public boolean isFocused() { return this.name.isFocused() || this.pos1x.isFocused() || this.pos1y.isFocused() || this.pos1z.isFocused() || this.pos2x.isFocused() || this.pos2y.isFocused() || this.pos2z.isFocused(); } public void nextFocus() { if (this.name.isFocused()) { this.name.setFocused(false); this.pos1x.setFocused(true); } else if (this.pos1x.isFocused()) { this.pos1x.setFocused(false); this.pos1y.setFocused(true); } else if (this.pos1y.isFocused()) { this.pos1y.setFocused(false); this.pos1z.setFocused(true); } else if (this.pos1z.isFocused()) { this.pos1z.setFocused(false); this.pos2x.setFocused(true); } else if (this.pos2x.isFocused()) { this.pos2x.setFocused(false); this.pos2y.setFocused(true); } else if (this.pos2y.isFocused()) { this.pos2y.setFocused(false); this.pos2z.setFocused(true); } else if (this.pos2z.isFocused()) { this.pos2z.setFocused(false); this.name.setFocused(true); } } }
37.728111
185
0.629412
1e52ccbca10c673f91a2697e09f919a2b270f860
1,980
/* ************************************************************************* * The contents of this file are subject to the Openbravo Public License * Version 1.1 (the "License"), being the Mozilla Public License * Version 1.1 with a permitted attribution clause; you may not use this * file except in compliance with the License. You may obtain a copy of * the License at http://www.openbravo.com/legal/license.html * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU * All portions are Copyright (C) 2009-2010 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ */ package org.openbravo.erpCommon.ad_forms; import java.sql.Connection; import javax.servlet.ServletException; import org.apache.log4j.Logger; import org.openbravo.base.secureApp.VariablesSecureApp; import org.openbravo.database.ConnectionProvider; public abstract class DocGLJournalTemplate { static Logger log4jDocGLJournal = Logger.getLogger(DocGLJournal.class); /** * Constructor */ public DocGLJournalTemplate() { } /** * Create Facts (the accounting logic) for GLJ. (only for the accounting scheme, it was created) * * <pre> * account DR CR * </pre> * * @param as * acct schema * @return Fact */ public abstract Fact createFact(DocGLJournal docGLJournal, AcctSchema as, ConnectionProvider conn, Connection con, VariablesSecureApp vars) throws ServletException; public String getServletInfo() { return "Servlet for the accounting"; } // end of getServletInfo() method }
35.357143
98
0.670202
2d166eae1df428ee28d86a2c48a237e4feb9a49f
2,393
/* * Hair2 License * * Copyright (C) 2008 Mike Hummel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package de.mhu.hair.main; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Map; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; public class GuiMenu implements MainIfc { public void startMain() { final JFrame frame = new JFrame(); JPanel panel = new JPanel(); panel.setLayout(new GridLayout(4, 1)); ActionListener listener = new ActionListener() { public void actionPerformed(ActionEvent e) { String cmd = e.getActionCommand(); if ("".equals(cmd)) System.exit(0); frame.dispose(); try { Main.main(new String[] { "-st", cmd }); } catch (Exception e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } }; JButton button = new JButton(" DCTM GUI "); button.setActionCommand("gui"); button.addActionListener(listener); panel.add(button); button = new JButton(" WDK Browser "); button.setActionCommand("wdk_browser"); button.addActionListener(listener); panel.add(button); button = new JButton(" PCD Browser "); button.setActionCommand("pcd"); button.addActionListener(listener); panel.add(button); button = new JButton(" Cancel "); button.setActionCommand(""); button.addActionListener(listener); panel.add(button); frame.getContentPane().add(panel); frame.pack(); frame.setLocation(200, 200); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.show(); } public static void show(Map startMap, String[] args) { // TODO Auto-generated method stub } }
26.01087
73
0.681571
b055c547b2a80b2bbebcedb54fb0ff8f79fe1caf
794
package com.jdiai.tools; import com.google.gson.JsonObject; public class ClientRect { public int x, y, top, bottom, right, left, windowWidth, windowHeight; public ClientRect(JsonObject json) { x = roundUp(json, "x"); y = roundUp(json, "y"); top = roundUp(json, "top"); bottom = roundDown(json, "bottom"); right = roundDown(json, "right"); left = roundUp(json, "left"); windowWidth = roundDown(json, "wWidth");; windowHeight = roundDown(json, "wHeight");; } private int roundUp(JsonObject json, String variable) { return (int) Math.round(json.get(variable).getAsDouble()); } private int roundDown(JsonObject json, String variable) { return (int) json.get(variable).getAsDouble(); } }
31.76
73
0.623426
250d8d81988788cdb04e44d86f7889142d34c563
3,351
package com.nowellpoint.console.service.impl; import java.time.LocalDate; import java.time.ZoneId; import java.util.List; import java.util.TimeZone; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.stream.Collectors; import org.bson.types.ObjectId; import com.nowellpoint.console.entity.AggregationResult; import com.nowellpoint.console.entity.StreamingEventDAO; import com.nowellpoint.console.model.EventStreamMonitor; import com.nowellpoint.console.model.FeedItem; import com.nowellpoint.console.service.AbstractService; import com.nowellpoint.console.service.EventStreamService; public class EventStreamServiceImpl extends AbstractService implements EventStreamService { private StreamingEventDAO dao; public EventStreamServiceImpl() { dao = new StreamingEventDAO(com.nowellpoint.console.entity.StreamingEvent.class, datastore); } @Override public EventStreamMonitor getEventStreamMonitor(String organizationId, String source, ZoneId zoneId) { LocalDate today = LocalDate.now( zoneId ); LocalDate firstDayOfWeek = today.minusDays(today.getDayOfWeek().getValue() - 1); LocalDate firstDayOfMonth = LocalDate.of(today.getYear(), today.getMonth(), 1); LocalDate firstDayOfYear = LocalDate.of(today.getYear(), 1, 1); ExecutorService executor = Executors.newFixedThreadPool(4); Future<Long> todayTask = executor.submit(() -> { return dao.streamingEventsCount(new ObjectId(organizationId), source, today, zoneId); }); Future<Long> thisWeekTask = executor.submit(() -> { return dao.streamingEventsCount(new ObjectId(organizationId), source, firstDayOfWeek, zoneId); }); Future<Long> thisMonthTask = executor.submit(() -> { return dao.streamingEventsCount(new ObjectId(organizationId), source, firstDayOfMonth, zoneId); }); Future<Long> thisYearTask = executor.submit(() -> { return dao.streamingEventsCount(new ObjectId(organizationId), source, firstDayOfYear, zoneId); }); EventStreamMonitor monitor = null; try { monitor = EventStreamMonitor.builder() .countToday(todayTask.get()) .countThisWeek(thisWeekTask.get()) .countThisMonth(thisMonthTask.get()) .countThisYear(thisYearTask.get()) .build(); } catch (InterruptedException | ExecutionException e) { e.printStackTrace(); } finally { executor.shutdown(); } return monitor; } @Override public List<AggregationResult> getEventsLastDays(String id, Integer days, TimeZone timeZone) { return dao.getEventsLastDays(new ObjectId(id), days, timeZone); } @Override public List<AggregationResult> getEventsBySourceByDays(String id, String source, Integer days, TimeZone timeZone) { return dao.getEventsBySourceByDays(new ObjectId(id), source, days, timeZone); } @Override public List<FeedItem> getStreamingEventsFeed(String id) { return dao.getStreamingEvents(new ObjectId(id)) .stream() .map(s -> FeedItem.of(s)) .collect(Collectors.toList()); } @Override public List<FeedItem> getStreamingEventsFeed(String id, String source){ return dao.getStreamingEventsBySource(new ObjectId(id), source) .stream() .map(s -> FeedItem.of(s)) .collect(Collectors.toList()); } }
33.178218
116
0.752014
36aba9be38c592b2412eb922919869067262ac57
759
package ru.job4j.matrixiterator; import org.junit.Before; import org.junit.Test; import java.util.Iterator; import java.util.NoSuchElementException; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; public class MatrixIteratorTest { @Test public void whenGetNextCallShouldPointerForward() { MatrixIterator mat = new MatrixIterator(new int[] {1, 3}); mat.next(); int result = mat.next(); assertThat(result, is(3)); } @Test public void whenCheckNextPositionShouldReturnConstantValue() { MatrixIterator mat = new MatrixIterator(new int[] {1}); mat.next(); mat.hasNext(); boolean result = mat.hasNext(); assertThat(result, is(false)); } }
25.3
66
0.69697
ab4e1cc7bad57080de35462bbebcf273a42f213e
6,534
/* Copyright 2011-2017 Frederic Langlet Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. you may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package kanzi.test; import kanzi.SliceIntArray; import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; import java.awt.Image; import java.awt.Transparency; import java.awt.image.BufferedImage; import java.io.FileInputStream; import java.util.Arrays; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; import kanzi.ColorModelType; import kanzi.IntTransform; import kanzi.transform.DWT_CDF_9_7; import kanzi.transform.DWT_Haar; import kanzi.util.color.ColorModelConverter; import kanzi.util.image.ImageQualityMonitor; import kanzi.util.color.RGBColorModelConverter; import kanzi.util.image.ImageUtils; public class TestDWT { public static void main(String[] args) { try { String fileName = (args.length > 0) ? args[0] : "r:\\lena.jpg"; // Load image (PPM/PGM supported) String type = fileName.substring(fileName.lastIndexOf(".")+1); ImageUtils.ImageInfo ii = ImageUtils.loadImage(new FileInputStream(fileName), type); final int w = ii.width; final int h = ii.height; GraphicsDevice gs = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()[0]; GraphicsConfiguration gc = gs.getDefaultConfiguration(); BufferedImage img = gc.createCompatibleImage(w, h, Transparency.OPAQUE); img.getRaster().setDataElements(0, 0, w, h, ii.data); JFrame frame = new JFrame("Original"); frame.setBounds(30, 100, w, h); ImageIcon newIcon = new ImageIcon(img); frame.add(new JLabel(newIcon)); frame.setVisible(true); IntTransform yDWT; IntTransform uvDWT; ColorModelType cmType = ColorModelType.YUV444; int shift = (cmType == ColorModelType.YUV420) ? 1 : 0; yDWT = new DWT_Haar(w, h, 4, true); uvDWT = new DWT_Haar(w >> shift, h >> shift, 4, true); process("Haar", img, w, h, yDWT, uvDWT, 565, 100); yDWT = new DWT_CDF_9_7(w, h, 6); uvDWT = new DWT_CDF_9_7(w >> shift, h >> shift, 6); process("Daubechies", img, w, h, yDWT, uvDWT, 1100, 100); Thread.sleep(40000); } catch (Exception e) { e.printStackTrace(); } System.exit(0); } private static void process(String title, Image image, int w, int h, IntTransform yDWT, IntTransform uvDWT, int xpos, int ypos) { GraphicsDevice gs = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()[0]; GraphicsConfiguration gc = gs.getDefaultConfiguration(); BufferedImage imgs = gc.createCompatibleImage(w, h, Transparency.OPAQUE); BufferedImage imgd = gc.createCompatibleImage(w, h, Transparency.OPAQUE); imgs.getGraphics().drawImage(image, 0, 0, null); int[] src = new int[w*h]; int[] dest = new int[w*h]; imgs.getRaster().getDataElements(0, 0, w, h, src); SliceIntArray iias = new SliceIntArray(src, 0); SliceIntArray iiad = new SliceIntArray(dest, 0); ColorModelConverter cvt; // cvt = new YCbCrColorModelConverter(w, h); // cvt = new YSbSrColorModelConverter(w, h); // cvt = new YCoCgColorModelConverter(w, h); cvt = new RGBColorModelConverter(w, h); ColorModelType cmType = ColorModelType.RGB; int shift = (cmType == ColorModelType.YUV420) ? 1 : 0; ImageQualityMonitor monitor = new ImageQualityMonitor(w, h); System.out.println(); process(w, h, cvt, iias, iiad, cmType, yDWT, uvDWT); int psnr1024 = monitor.computePSNR(src, dest); System.out.println(title); System.out.println("PSNR: "+((psnr1024 == 0) ? "Infinite" : (float) psnr1024 /1024)); imgd.getRaster().setDataElements(0, 0, w, h, dest); JFrame frame = new JFrame(title); frame.setBounds(xpos, ypos, w, h); ImageIcon newIcon = new ImageIcon(imgd); frame.add(new JLabel(newIcon)); frame.setVisible(true); } private static void process(int w, int h, ColorModelConverter cvt, SliceIntArray iia1, SliceIntArray iia2, ColorModelType cmType, IntTransform yDWT, IntTransform uvDWT) { int shift = (cmType == ColorModelType.YUV420) ? 1 : 0; int[] y1 = new int[w * h]; int[] u1 = new int[(w * h) >> (shift + shift)]; int[] v1 = new int[(w * h) >> (shift + shift)]; int[] y2 = new int[w * h]; int[] u2 = new int[(w * h) >> (shift + shift)]; int[] v2 = new int[(w * h) >> (shift + shift)]; int[] dest = iia2.array; long before = System.nanoTime(); // Forward color transform cvt.convertRGBtoYUV(iia1.array, y1, u1, v1, cmType); // Forward DWT iia1.array = y1; iia2.array = y2; iia1.index = 0; iia2.index = 0; yDWT.forward(iia1, iia2); iia1.array = u1; iia2.array = u2; iia1.index = 0; iia2.index = 0; uvDWT.forward(iia1, iia2); iia1.array = v1; iia2.array = v2; iia1.index = 0; iia2.index = 0; uvDWT.forward(iia1, iia2); // Clear data Arrays.fill(y1, 0); Arrays.fill(u1, 0); Arrays.fill(v1, 0); // Inverse DWT iia1.array = y1; iia2.array = y2; iia1.index = 0; iia2.index = 0; yDWT.inverse(iia2, iia1); iia1.array = u1; iia2.array = u2; iia1.index = 0; iia2.index = 0; uvDWT.inverse(iia2, iia1); iia1.array = v1; iia2.array = v2; iia1.index = 0; iia2.index = 0; uvDWT.inverse(iia2, iia1); // Inverse color transform cvt.convertYUVtoRGB(y1, u1, v1, dest, cmType); long after = System.nanoTime(); System.out.println("Time elapsed [ms]: "+ (after-before)/1000000L); } }
34.571429
130
0.620447
89f63492ccf7c0cc91247cd12fe5b7261377b00c
1,095
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. //hey dummy this is this for when you forget it--devin //method for encoder ticks and distance and stuff :/ //42 encoder ticks = 1 revolution //circumfrence of the wheel is 4pi package frc.robot; import edu.wpi.first.wpilibj.Sendable; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; /** Add your docs here. */ public class ticks { //circumfrence of the wheels (number should be diameter of wheel) private static double circumfrence = 6 * Math.PI; private static double distance; //the distance you want to go // public ticks(double d){ // distance = d; // } //should return the number of ticks needed to go specified distance (in inches) public static double calculateTicks(double distanceInches) { //System.out.println(calculateTicks(10)); //451 ticks per wheel rotation? return (distance*(451/circumfrence)); } }
31.285714
83
0.713242
83b4d494934a5577da8020e8711ec4c9b6401e52
457
package io.renren.modules.app.v1.service; import com.baomidou.mybatisplus.extension.service.IService; import io.renren.common.utils.PageUtils; import io.renren.modules.app.v1.entity.AppFpsProdDataEntity; import java.util.Map; /** * * * @author wangkang * @email 784706982@qq.com * @date 2021-07-14 15:12:44 */ public interface AppFpsProdDataService extends IService<AppFpsProdDataEntity> { PageUtils queryPage(Map<String, Object> params); }
21.761905
79
0.765864
c602a7b45617da43bba9c67659ff982b920cf4fb
556
/* * Copyright (c) 2021 LG Electronics Inc. * SPDX-License-Identifier: MIT */ package com.lge.plugins.metashift.utils.xml; import static net.sf.ezmorph.test.ArrayAssertions.assertEquals; import org.junit.Test; /** * Unit tests for the TagList class. * * @author Sung Gon Kim */ public class TagListTest { private final TagList tagList = new TagList(); @Test public void testEmptyTagList() { assertEquals(0, tagList.size()); assertEquals("", tagList.first().getTagName()); assertEquals("", tagList.last().getTagName()); } }
19.857143
63
0.694245
71550ee5f43b23d08a26e969da269927bd326d16
3,284
package wolfogre.kh2_1_calculator; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity extends AppCompatActivity implements View.OnClickListener { boolean isNew; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); this.findViewById(R.id.button).setOnClickListener(this); this.findViewById(R.id.button2).setOnClickListener(this); this.findViewById(R.id.button3).setOnClickListener(this); this.findViewById(R.id.button4).setOnClickListener(this); this.findViewById(R.id.button5).setOnClickListener(this); this.findViewById(R.id.button6).setOnClickListener(this); this.findViewById(R.id.button7).setOnClickListener(this); this.findViewById(R.id.button8).setOnClickListener(this); this.findViewById(R.id.button9).setOnClickListener(this); this.findViewById(R.id.button10).setOnClickListener(this); this.findViewById(R.id.button11).setOnClickListener(this); this.findViewById(R.id.button12).setOnClickListener(this); this.findViewById(R.id.button13).setOnClickListener(this); this.findViewById(R.id.button14).setOnClickListener(this); this.findViewById(R.id.button15).setOnClickListener(this); this.findViewById(R.id.button16).setOnClickListener(this); this.findViewById(R.id.button17).setOnClickListener(this); this.findViewById(R.id.button18).setOnClickListener(this); this.findViewById(R.id.button19).setOnClickListener(this); isNew = true; } public void onClick(View v) { TextView textView = (TextView) (findViewById(R.id.textView)); Button button = (Button) v; String input = button.getText().toString(); if(isNew){ textView.setText(""); isNew = false; } switch (input) { case "C":{ textView.setText(""); break; } case "+/-":{ String str = textView.getText().toString(); if(!str.isEmpty()){ if(str.charAt(0) == '-') textView.setText(str.substring(1,str.length())); else textView.setText("-" + str); } break; } case "←":{ String str = textView.getText().toString(); if(!str.isEmpty()) textView.setText(str.substring(0, str.length() - 1)); break; } case "=":{ isNew = true; try{ textView.setText(textView.getText() + "\n" + Analyser.analy(textView.getText().toString())); }catch (Exception ex){ textView.setText(textView.getText() + "\n" + ex.getMessage()); } break; } default: { textView.setText(textView.getText() + input); break; } } } }
39.095238
112
0.578563
fffd01bf4007e6b702bcfe36fd827fcb41f3fb5e
8,155
package us.kbase.narrativemethodstore; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; /** * <p>Original spec-file type: SubdataSelection</p> * <pre> * Information about a subdata selection * constant_ref - can be set as a fixed reference(s) to data objects * so that the dropdown is always populated with a particular * WS object - useful for say populating based on an ontology * or some other library of default terms, such as compounds * parameter_id - pick the terms from a user specified parameter in the same * method * path_to_subdata - specific path to a list or map that should be used to * populate the fields * selection_id - If the path_to_subdata is to a list of objects, use this to * specify which field of that object should be used as the * primary ID * selection_description - Use this to specify (if the subdata is a list or map) * which fields should be included as a short description of * the selection. For features, for instance, this may include * the feature function, or feature aliases. * description_template - Defines how the description of items is rendered using * Handlebar templates (use the name of items in the * selection_description list as variable names) * service_function - optional name of SDK method including prefix with SDK * module started up as dynamic service (it's fully qualified * method name where module and method are separated by '.') * service_version - optional version of module used in service_function * (default value is 'release'). * </pre> * */ @JsonInclude(JsonInclude.Include.NON_NULL) @Generated("com.googlecode.jsonschema2pojo") @JsonPropertyOrder({ "constant_ref", "parameter_id", "subdata_included", "path_to_subdata", "selection_id", "selection_description", "description_template", "service_function", "service_version" }) public class SubdataSelection { @JsonProperty("constant_ref") private List<String> constantRef; @JsonProperty("parameter_id") private java.lang.String parameterId; @JsonProperty("subdata_included") private List<String> subdataIncluded; @JsonProperty("path_to_subdata") private List<String> pathToSubdata; @JsonProperty("selection_id") private java.lang.String selectionId; @JsonProperty("selection_description") private List<String> selectionDescription; @JsonProperty("description_template") private java.lang.String descriptionTemplate; @JsonProperty("service_function") private java.lang.String serviceFunction; @JsonProperty("service_version") private java.lang.String serviceVersion; private Map<java.lang.String, Object> additionalProperties = new HashMap<java.lang.String, Object>(); @JsonProperty("constant_ref") public List<String> getConstantRef() { return constantRef; } @JsonProperty("constant_ref") public void setConstantRef(List<String> constantRef) { this.constantRef = constantRef; } public SubdataSelection withConstantRef(List<String> constantRef) { this.constantRef = constantRef; return this; } @JsonProperty("parameter_id") public java.lang.String getParameterId() { return parameterId; } @JsonProperty("parameter_id") public void setParameterId(java.lang.String parameterId) { this.parameterId = parameterId; } public SubdataSelection withParameterId(java.lang.String parameterId) { this.parameterId = parameterId; return this; } @JsonProperty("subdata_included") public List<String> getSubdataIncluded() { return subdataIncluded; } @JsonProperty("subdata_included") public void setSubdataIncluded(List<String> subdataIncluded) { this.subdataIncluded = subdataIncluded; } public SubdataSelection withSubdataIncluded(List<String> subdataIncluded) { this.subdataIncluded = subdataIncluded; return this; } @JsonProperty("path_to_subdata") public List<String> getPathToSubdata() { return pathToSubdata; } @JsonProperty("path_to_subdata") public void setPathToSubdata(List<String> pathToSubdata) { this.pathToSubdata = pathToSubdata; } public SubdataSelection withPathToSubdata(List<String> pathToSubdata) { this.pathToSubdata = pathToSubdata; return this; } @JsonProperty("selection_id") public java.lang.String getSelectionId() { return selectionId; } @JsonProperty("selection_id") public void setSelectionId(java.lang.String selectionId) { this.selectionId = selectionId; } public SubdataSelection withSelectionId(java.lang.String selectionId) { this.selectionId = selectionId; return this; } @JsonProperty("selection_description") public List<String> getSelectionDescription() { return selectionDescription; } @JsonProperty("selection_description") public void setSelectionDescription(List<String> selectionDescription) { this.selectionDescription = selectionDescription; } public SubdataSelection withSelectionDescription(List<String> selectionDescription) { this.selectionDescription = selectionDescription; return this; } @JsonProperty("description_template") public java.lang.String getDescriptionTemplate() { return descriptionTemplate; } @JsonProperty("description_template") public void setDescriptionTemplate(java.lang.String descriptionTemplate) { this.descriptionTemplate = descriptionTemplate; } public SubdataSelection withDescriptionTemplate(java.lang.String descriptionTemplate) { this.descriptionTemplate = descriptionTemplate; return this; } @JsonProperty("service_function") public java.lang.String getServiceFunction() { return serviceFunction; } @JsonProperty("service_function") public void setServiceFunction(java.lang.String serviceFunction) { this.serviceFunction = serviceFunction; } public SubdataSelection withServiceFunction(java.lang.String serviceFunction) { this.serviceFunction = serviceFunction; return this; } @JsonProperty("service_version") public java.lang.String getServiceVersion() { return serviceVersion; } @JsonProperty("service_version") public void setServiceVersion(java.lang.String serviceVersion) { this.serviceVersion = serviceVersion; } public SubdataSelection withServiceVersion(java.lang.String serviceVersion) { this.serviceVersion = serviceVersion; return this; } @JsonAnyGetter public Map<java.lang.String, Object> getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter public void setAdditionalProperties(java.lang.String name, Object value) { this.additionalProperties.put(name, value); } @Override public java.lang.String toString() { return ((((((((((((((((((((("SubdataSelection"+" [constantRef=")+ constantRef)+", parameterId=")+ parameterId)+", subdataIncluded=")+ subdataIncluded)+", pathToSubdata=")+ pathToSubdata)+", selectionId=")+ selectionId)+", selectionDescription=")+ selectionDescription)+", descriptionTemplate=")+ descriptionTemplate)+", serviceFunction=")+ serviceFunction)+", serviceVersion=")+ serviceVersion)+", additionalProperties=")+ additionalProperties)+"]"); } }
35.30303
458
0.694911
8b41d0eb67ab56088bd0628349baaf7881e1eaa0
1,354
package com.fei_ke.chiphellclient.utils; import android.util.Log; /** * 日志打印类 */ public class LogMessage { // 是否打印日志 private static boolean isDebug = true; // 日志标签 public static String LOG_TAG = "frame"; public static void v(String tag, Object msg) { if (isDebug) { Log.v(tag, msg != null ? msg.toString() : "null"); } } public static void i(String tag, Object msg) { if (isDebug) { Log.i(tag, msg != null ? msg.toString() : "null"); } } public static void d(String tag, Object msg) { if (isDebug) { Log.d(tag, msg != null ? msg.toString() : "null"); } } public static void w(String tag, Object msg) { if (isDebug) { Log.w(tag, msg != null ? msg.toString() : "null"); } } public static void e(String tag, Object msg) { if (isDebug) { Log.e(tag, msg != null ? msg.toString() : "null"); } } public static void print(String tag, String msg) { // System.out.println("tag=="+msg); } /** * 设置debug 模式 * * @param isDebug true 打印日志 false:不打印 */ public static void setDebug(boolean isDebug) { LogMessage.isDebug = isDebug; } public static boolean isDebug(){ return isDebug; } }
20.830769
62
0.528804
886ed4b87f699129f3f97f591a300c5abcc4618c
5,627
/* * JBoss, Home of Professional Open Source. * Copyright 2012, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this software; if not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ package org.jboss.as.clustering.infinispan.subsystem; import org.infinispan.configuration.cache.BackupConfiguration; import org.infinispan.configuration.cache.BackupConfiguration.BackupStrategy; import org.infinispan.configuration.cache.BackupFailurePolicy; import org.infinispan.configuration.cache.TakeOfflineConfiguration; import org.jboss.as.controller.AttributeDefinition; import org.jboss.as.controller.PathElement; import org.jboss.as.controller.SimpleAttributeDefinition; import org.jboss.as.controller.SimpleAttributeDefinitionBuilder; import org.jboss.as.controller.operations.validation.EnumValidator; import org.jboss.as.controller.registry.AttributeAccess; import org.jboss.as.controller.registry.ManagementResourceRegistration; import org.jboss.dmr.ModelNode; import org.jboss.dmr.ModelType; /** * @author Paul Ferraro * @author Tristan Tarrant */ public class BackupSiteConfigurationResource extends CacheChildResource { private static final PathElement PATH = PathElement.pathElement(ModelKeys.BACKUP); static final SimpleAttributeDefinition FAILURE_POLICY = new SimpleAttributeDefinitionBuilder(ModelKeys.BACKUP_FAILURE_POLICY, ModelType.STRING, true) .setXmlName(Attribute.BACKUP_FAILURE_POLICY.getLocalName()) .setAllowExpression(true) .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES) .setValidator(new EnumValidator<>(BackupFailurePolicy.class, true, true)) .setDefaultValue(new ModelNode().set(BackupConfiguration.FAILURE_POLICY.getDefaultValue().name())) .build() ; static final SimpleAttributeDefinition STRATEGY = new SimpleAttributeDefinitionBuilder(ModelKeys.BACKUP_STRATEGY, ModelType.STRING, true) .setXmlName(Attribute.STRATEGY.getLocalName()) .setAllowExpression(true) .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES) .setValidator(new EnumValidator<>(BackupStrategy.class, true, true)) .setDefaultValue(new ModelNode().set(BackupConfiguration.STRATEGY.getDefaultValue().name())) .build() ; static final SimpleAttributeDefinition REPLICATION_TIMEOUT = new SimpleAttributeDefinitionBuilder(ModelKeys.TIMEOUT, ModelType.STRING, true) .setXmlName(Attribute.TIMEOUT.getLocalName()) .setAllowExpression(true) .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES) .setDefaultValue(new ModelNode().set(BackupConfiguration.REPLICATION_TIMEOUT.getDefaultValue())) .build() ; static final SimpleAttributeDefinition ENABLED = new SimpleAttributeDefinitionBuilder(ModelKeys.ENABLED, ModelType.BOOLEAN, true) .setXmlName(Attribute.ENABLED.getLocalName()) .setAllowExpression(true) .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES) .setDefaultValue(new ModelNode().set(BackupConfiguration.ENABLED.getDefaultValue())) .build() ; static final SimpleAttributeDefinition TAKE_OFFLINE_AFTER_FAILURES = new SimpleAttributeDefinitionBuilder(ModelKeys.TAKE_BACKUP_OFFLINE_AFTER_FAILURES, ModelType.INT, true) .setXmlName(Attribute.TAKE_BACKUP_OFFLINE_AFTER_FAILURES.getLocalName()) .setAllowExpression(true) .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES) .setDefaultValue(new ModelNode().set(TakeOfflineConfiguration.AFTER_FAILURES.getDefaultValue())) .build() ; static final SimpleAttributeDefinition TAKE_OFFLINE_MIN_WAIT = new SimpleAttributeDefinitionBuilder(ModelKeys.TAKE_BACKUP_OFFLINE_MIN_WAIT, ModelType.INT, true) .setXmlName(Attribute.TAKE_BACKUP_OFFLINE_MIN_WAIT.getLocalName()) .setAllowExpression(true) .setFlags(AttributeAccess.Flag.RESTART_RESOURCE_SERVICES) .setDefaultValue(new ModelNode().set(TakeOfflineConfiguration.MIN_TIME_TO_WAIT.getDefaultValue())) .build() ; static final AttributeDefinition[] ATTRIBUTES = new AttributeDefinition[] { FAILURE_POLICY, STRATEGY, REPLICATION_TIMEOUT, ENABLED, TAKE_OFFLINE_AFTER_FAILURES, TAKE_OFFLINE_MIN_WAIT }; BackupSiteConfigurationResource(CacheConfigurationResource parent) { super(PATH, ModelKeys.BACKUP, parent, ATTRIBUTES); } @Override public void registerChildren(ManagementResourceRegistration resourceRegistration) { super.registerChildren(resourceRegistration); resourceRegistration.registerSubModel(new BackupSiteStateTransferConfigurationResource(resource.isRuntimeRegistration())); } }
54.105769
189
0.763817
f5c76c6ca3197c1cf07ebecfd30a859b65d262c3
672
package eu.trentorise.smartcampus.mobility.gamificationweb.model; import java.util.List; public class BadgeCollectionConcept { private String name; private List<BadgeConcept> badgeEarned; public String getName() { return name; } public List<BadgeConcept> getBadgeEarned() { return badgeEarned; } public void setName(String name) { this.name = name; } public void setBadgeEarned(List<BadgeConcept> badgeEarned) { this.badgeEarned = badgeEarned; } public BadgeCollectionConcept() { super(); } public BadgeCollectionConcept(String name, List<BadgeConcept> badgeEarned) { super(); this.name = name; this.badgeEarned = badgeEarned; } }
18.162162
77
0.74256
8c9750b75e7fc06b2aa0f23f86cdc55f07482354
3,027
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.tez.dag.history.events; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.apache.hadoop.yarn.api.records.ApplicationAttemptId; import org.apache.hadoop.yarn.util.ConverterUtils; import org.apache.tez.dag.history.HistoryEvent; import org.apache.tez.dag.history.HistoryEventType; import org.apache.tez.dag.recovery.records.RecoveryProtos.AMStartedProto; public class AMStartedEvent implements HistoryEvent { private ApplicationAttemptId applicationAttemptId; private long startTime; private String user; public AMStartedEvent() { } public AMStartedEvent(ApplicationAttemptId appAttemptId, long startTime, String user) { this.applicationAttemptId = appAttemptId; this.startTime = startTime; this.user = user; } @Override public HistoryEventType getEventType() { return HistoryEventType.AM_STARTED; } @Override public boolean isRecoveryEvent() { return true; } @Override public boolean isHistoryEvent() { return true; } @Override public String toString() { return "appAttemptId=" + applicationAttemptId + ", startTime=" + startTime; } public AMStartedProto toProto() { return AMStartedProto.newBuilder() .setApplicationAttemptId(this.applicationAttemptId.toString()) .setStartTime(startTime) .build(); } public void fromProto(AMStartedProto proto) { this.applicationAttemptId = ConverterUtils.toApplicationAttemptId(proto.getApplicationAttemptId()); this.startTime = proto.getStartTime(); } @Override public void toProtoStream(OutputStream outputStream) throws IOException { toProto().writeDelimitedTo(outputStream); } @Override public void fromProtoStream(InputStream inputStream) throws IOException { AMStartedProto proto = AMStartedProto.parseDelimitedFrom(inputStream); if (proto == null) { throw new IOException("No data found in stream"); } fromProto(proto); } public ApplicationAttemptId getApplicationAttemptId() { return applicationAttemptId; } public long getStartTime() { return startTime; } public String getUser() { return user; } }
28.027778
79
0.740667
1309e9767bf22c3c329005e3c2eff256ce82cbcd
1,913
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package br.com.dafiti.ring.rest; import br.com.dafiti.ring.model.User; import br.com.dafiti.ring.service.TokenService; import br.com.dafiti.ring.service.UserService; import java.io.IOException; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.web.filter.OncePerRequestFilter; /** * * @author guilherme.almeida */ public class TokenAuthentication extends OncePerRequestFilter { private final TokenService tokenService; private final UserService userService; public TokenAuthentication(TokenService tokenService, UserService userService) { this.tokenService = tokenService; this.userService = userService; } @Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException { String token = tokenService.extractToken(request); boolean isValid = tokenService.validate(token); // authenticate user if(isValid) { Long userId = tokenService.getUserId(token); User user = userService.findById(userId); UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken(user, null, user.getAuthorities()); SecurityContextHolder.getContext().setAuthentication(authentication); } filterChain.doFilter(request, response); } }
36.788462
157
0.752222
1c85be2924916c4535ad2e8f79af56d403eb36bf
1,758
package com.caoustc.test.wave; import android.graphics.Color; import android.graphics.Paint; import android.os.Bundle; import android.support.v4.view.animation.LinearOutSlowInInterpolator; import android.support.v7.app.AppCompatActivity; import android.view.animation.AccelerateInterpolator; import com.caoustc.wave.WaveView; import com.caoustc.wave.WaveViewButton; public class MainActivity extends AppCompatActivity { WaveViewButton waveViewButton; WaveView mWaveView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); waveViewButton = (WaveViewButton) findViewById(R.id.wave); mWaveView = (WaveView) findViewById(R.id.wave_view); waveViewButton.setDuration(2000); waveViewButton.setSpeed(600); waveViewButton.setCirclePadding(50); //waveViewButton.setCircleColor(R.color.colorAccent); //waveViewButton.setButtonColor(R.color.colorAccent); //waveViewButton.setColor(Color.parseColor("#25c4ff")); waveViewButton.setCircleStyle(Paint.Style.STROKE); waveViewButton.setText("测试\nview"); waveViewButton.setInterpolator(new AccelerateInterpolator()); waveViewButton.start(); mWaveView.setDuration(5000); mWaveView.setStyle(Paint.Style.FILL); mWaveView.setColor(Color.RED); mWaveView.setInterpolator(new LinearOutSlowInInterpolator()); mWaveView.start(); } @Override protected void onDestroy() { super.onDestroy(); if (waveViewButton != null) { waveViewButton.stop(); } if (mWaveView != null) { mWaveView.stop(); } } }
33.169811
69
0.700796
9eb52f1808503709b82e29173e36052e0817586b
1,090
package tomconn.growthapi.implementations.growthprofile; import net.minecraftforge.event.terraingen.SaplingGrowTreeEvent; import net.minecraftforge.event.world.BlockEvent.CropGrowEvent.Pre; import tomconn.growthapi.interfaces.growthprofile.base.BaseGrowthProfile; /** * This class ads static-level entry methods for obtaining instances of {@link BaseGrowthProfile} * * @since 0.0.6 */ public interface BaseProfiles { /** * Instantiates a new {@link BaseGrowthProfile} which is specialized for the {@link Pre}-event * * @return a new instance of {@link BaseGrowthProfile} * * @since 0.0.6 */ static BaseGrowthProfile< Pre, ? > cropGrowPre() { return new CropGrowthProfile(); } /** * Instantiates a new {@link BaseGrowthProfile} which is specialized for the {@link SaplingGrowTreeEvent}-event * * @return a new instance of {@link BaseGrowthProfile} * * @since 0.0.6 */ static BaseGrowthProfile< SaplingGrowTreeEvent, ? > saplingGrowTree() { return new SaplingGrowthProfile(); } }
27.25
115
0.69633
c006f21904135d28b5124801a06853cc1892db64
3,999
package org.dmc.services; import org.postgresql.ds.PGPoolingDataSource; import org.springframework.jdbc.core.JdbcTemplate; import javax.sql.DataSource; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Properties; public class DBConnector { private final static String logTag = DBConnector.class.getName(); private static DBConnector connectorInstance = null; private Statement stmt = null; private Connection conn = null; private final String url = Config.DB_HOST + ":" + Config.DB_PORT + "/" + Config.DB_NAME; private static JdbcTemplate jdbcTemplate; protected DBConnector() { // Register the postgress driver // Note: WEB-INF/lib/postgresql-9.4-1201-jdbc41.jar must be copied to $CATALINA_HOME/lib/ // after deploy for driver to be available try { Class.forName("org.postgresql.Driver"); } catch (ClassNotFoundException e) { ServiceLogger.log(logTag, e.getMessage()); } // Connect try { Properties props = new Properties(); props.setProperty("user", Config.DB_USER); props.setProperty("password", Config.DB_PASS); conn = DriverManager.getConnection(url, props); this.stmt = conn.createStatement(); ServiceLogger.log(logTag, "Connection URL - " + url); } catch (SQLException e) { ServiceLogger.log(logTag, "Message: " + e.getMessage()); ServiceLogger.log(logTag, "SQL State exception: " + e.getSQLState()); ServiceLogger.log(logTag, "SQL Error Code: "+ e.getErrorCode()); } jdbcTemplate = createJdbcTemplate(); } public static JdbcTemplate jdbcTemplate() { if (jdbcTemplate == null) { jdbcTemplate = createJdbcTemplate(); } return jdbcTemplate; } public static ResultSet executeQuery(String query) { try { if (connectorInstance == null || connectorInstance.stmt.isClosed()) { connectorInstance = new DBConnector(); } return connectorInstance.stmt.executeQuery(query); } catch (SQLException e) { ServiceLogger.log(logTag, e.getMessage()); } return null; } public static Connection connection() { try { if (connectorInstance == null || !connectorInstance.conn.isValid(0)) { connectorInstance = new DBConnector(); } return connectorInstance.conn; } catch (SQLException e) { ServiceLogger.log(logTag, e.getMessage()); } return null; } // // Use PreparedStatement to reduce chance of SQL Injection attacks and frequently improve performance // http://stackoverflow.com/questions/3271249/difference-between-statement-and-preparedstatement // // Use set methods to bind the parameters in the query with values (e.g. setString, setTimestamp, setInt, etc.) // Then use executeUpdate (for data manipulation statements), executeQuery method to run query with bound parameters, // or execute for more complex results (batch statements). // public static PreparedStatement prepareStatement(String query) { try { return connection().prepareStatement(query); } catch(SQLException e) { ServiceLogger.log(logTag, e.getMessage()); } return null; } // Use this prepared statement to return generated keys. // For example to retrieve the serial keys when an insert is performed public static PreparedStatement prepareStatement(String query, int returnKeys) { try { return connection().prepareStatement(query, returnKeys); } catch(SQLException e) { ServiceLogger.log(logTag, e.getMessage()); } return null; } private static DataSource createDataSource() { PGPoolingDataSource ds = new PGPoolingDataSource(); ds.setUser(Config.DB_USER); ds.setPassword(Config.DB_PASS); ds.setServerName(Config.DB_IP); ds.setPortNumber(Integer.parseInt(Config.DB_PORT)); ds.setDatabaseName(Config.DB_NAME); return ds; } private static JdbcTemplate createJdbcTemplate() { return new JdbcTemplate(createDataSource()); } }
31.242188
118
0.724431
392b76f9d4702d20f87c8e28214d6083cf67ca80
1,800
package com.jtbdevelopment.games.players.notifications; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import java.time.Instant; import org.junit.Before; import org.junit.Test; /** * Date: 10/16/15 Time: 6:54 AM */ public class RegisteredDeviceTest { private RegisteredDevice device1 = new RegisteredDevice(); private RegisteredDevice device2 = new RegisteredDevice(); private RegisteredDevice device3 = new RegisteredDevice(); private RegisteredDevice device4 = new RegisteredDevice(); @Before public void setup() { device1.setDeviceID("X12345"); device3.setDeviceID("X12345"); device2.setDeviceID(device1.getDeviceID()); device4.setDeviceID("4hjx"); } @Test public void testConstructorDevice() { Instant start = Instant.now(); RegisteredDevice defaultDevice = new RegisteredDevice(); Instant end = Instant.now(); assertEquals("", defaultDevice.getDeviceID()); assertTrue(start.compareTo(defaultDevice.getLastRegistered()) <= 0); assertTrue(end.compareTo(defaultDevice.getLastRegistered()) >= 0); } @Test public void testEquals() { assertEquals(device1, device2); assertEquals(device1, device3); assertEquals(device2, device3); assertNotEquals(device1, device4); assertNotEquals(device3, device4); } @Test public void testHashCode() { assertEquals(device1.getDeviceID().hashCode(), device1.hashCode()); assertEquals(device1.hashCode(), device2.hashCode()); assertEquals(device1.hashCode(), device3.hashCode()); assertEquals(device2.hashCode(), device3.hashCode()); assertNotEquals(device1.hashCode(), device4.hashCode()); assertNotEquals(device3.hashCode(), device4.hashCode()); } }
30.508475
72
0.733333
0aaa963e5eece4da259962850a05ec4066e02ae7
9,139
package software.amazon.ec2.transitgatewayconnect; import software.amazon.ec2.transitgatewayconnect.workflow.TagUtils; import software.amazon.awssdk.services.ec2.model.Tag; import software.amazon.awssdk.services.ec2.model.*; import software.amazon.cloudformation.proxy.ResourceHandlerRequest; import java.time.Instant; import java.util.ArrayList; import java.util.List; public class Mocks { public String primaryIdentifier; public String parentIdentifier; public Instant currentTime; public Integer counter; public String protocol; public Mocks( ) { this.primaryIdentifier = "tgw-mcast-domain-02bb79002EXAMPLE"; this.parentIdentifier = "tgw-0d88d2d0d5EXAMPLE";; this.currentTime = Instant.now(); this.counter = 0; this.protocol = "gre"; } public ResourceHandlerRequest<ResourceModel> request(ResourceModel model) { return ResourceHandlerRequest.<ResourceModel>builder() .desiredResourceState(model) .build(); } public ResourceModel modelWithoutCreateOnlyProperties(List<Tag> tags, String state) { return ResourceModel.builder() .creationTime(this.currentTime.toString()) .state(state) .options(TransitGatewayConnectOptions.builder().protocol(this.protocol).build()) .transitGatewayAttachmentId(this.primaryIdentifier) .tags(TagUtils.sdkTagsToCfnTags(tags)) .build(); } public ResourceModel modelWithoutCreateOnlyProperties() { final List<Tag> tags = new ArrayList<>(); return this.modelWithoutCreateOnlyProperties(tags, "available"); } public ResourceModel modelWithoutCreateOnlyProperties(String state) { final List<Tag> tags = new ArrayList<>(); return this.modelWithoutCreateOnlyProperties(tags, state); } public ResourceModel modelWithoutCreateOnlyProperties(List<Tag> tags) { return this.modelWithoutCreateOnlyProperties(tags, "available"); } public ResourceModel modelWithInvalidProperties(List<Tag> tags, String state) { return ResourceModel.builder() .creationTime(this.currentTime.toString()) .state(state) .transitGatewayId(this.parentIdentifier) .transitGatewayAttachmentId(this.primaryIdentifier) .tags(TagUtils.sdkTagsToCfnTags(tags)) .build(); } public ResourceModel modelWithInvalidProperties() { final List<Tag> tags = new ArrayList<>(); return this.modelWithInvalidProperties(tags, "available"); } public ResourceModel modelWithInvalidProperties(String state) { final List<Tag> tags = new ArrayList<>(); return this.modelWithInvalidProperties(tags, state); } public ResourceModel modelWithInvalidProperties(List<Tag> tags) { return this.modelWithInvalidProperties(tags, "available"); } public ResourceModel modelWithNullProperties(List<Tag> tags, String state) { return ResourceModel.builder() .creationTime(this.currentTime.toString()) .state(state) .transitGatewayId(null) .transitGatewayAttachmentId(this.primaryIdentifier) .tags(TagUtils.sdkTagsToCfnTags(tags)) .build(); } public ResourceModel modelWithNullProperties() { final List<Tag> tags = new ArrayList<>(); return this.modelWithNullProperties(tags, "available"); } public ResourceModel modelWithNullProperties(String state) { final List<Tag> tags = new ArrayList<>(); return this.modelWithNullProperties(tags, state); } public ResourceModel modelWithNullProperties(List<Tag> tags) { return this.modelWithNullProperties(tags, "available"); } public ResourceModel modelWithFakeProperties(List<Tag> tags, String state) { return ResourceModel.builder() .creationTime(this.currentTime.toString()) .state(state) .transitGatewayId(null) .transitGatewayAttachmentId(this.primaryIdentifier) .tags(TagUtils.sdkTagsToCfnTags(tags)) .build(); } public ResourceModel modelWithFakeProperties() { final List<Tag> tags = new ArrayList<>(); return this.modelWithFakeProperties(tags, "available"); } public ResourceModel modelWithFakeProperties(String state) { final List<Tag> tags = new ArrayList<>(); return this.modelWithFakeProperties(tags, state); } public ResourceModel modelWithFakeProperties(List<Tag> tags) { return this.modelWithFakeProperties(tags, "available"); } public ResourceModel modelWithoutPrimaryIdentifier(List<Tag> tags, String state) { return ResourceModel.builder() .creationTime(this.currentTime.toString()) .state(state) .tags(TagUtils.sdkTagsToCfnTags(tags)) .build(); } public ResourceModel modelWithoutPrimaryIdentifier() { final List<Tag> tags = new ArrayList<>(); return this.modelWithoutPrimaryIdentifier(tags, "available"); } public ResourceModel modelWithoutPrimaryIdentifier(String state) { final List<Tag> tags = new ArrayList<>(); return this.modelWithoutPrimaryIdentifier(tags, state); } public ResourceModel modelWithoutPrimaryIdentifier(List<Tag> tags) { return this.modelWithoutPrimaryIdentifier(tags, "available"); } public ResourceModel model(List<Tag> tags, String state) { return ResourceModel.builder() .transitGatewayId(this.parentIdentifier) .options(TransitGatewayConnectOptions.builder().protocol(this.protocol).build()) .creationTime(this.currentTime.toString()) .state(state) .transitGatewayAttachmentId(this.primaryIdentifier) .tags(TagUtils.sdkTagsToCfnTags(tags)) .build(); } public ResourceModel model() { final List<Tag> tags = new ArrayList<>(); return this.model(tags, "available"); } public ResourceModel model(String state) { final List<Tag> tags = new ArrayList<>(); return this.model(tags, state); } public ResourceModel model(List<Tag> tags) { return this.model(tags, "available"); } public Tag tag(String key, String value) { return Tag.builder().key(key).value(value).build(); } public Tag tag() { this.counter++; return this.tag("KEY_" + this.counter, "VALUE_" + this.counter); } public TransitGatewayConnect sdkModel(List<Tag> tags, String state) { return TransitGatewayConnect.builder() .transitGatewayId(this.parentIdentifier) .creationTime(this.currentTime) .options(software.amazon.awssdk.services.ec2.model.TransitGatewayConnectOptions.builder().protocol(this.protocol).build()) .state(state) .transitGatewayAttachmentId(this.primaryIdentifier) .tags(tags) .build(); } public TransitGatewayConnect sdkModel(String state) { final List<software.amazon.awssdk.services.ec2.model.Tag> tags = new ArrayList<>(); return this.sdkModel(tags, state); } public TransitGatewayConnect sdkModel(List<Tag> tags) { return this.sdkModel(tags, "available"); } public TransitGatewayConnect sdkModel() { return this.sdkModel(new ArrayList<>(), "available"); } public DescribeTransitGatewayConnectsResponse describeResponse(List<Tag> tags, String state) { return DescribeTransitGatewayConnectsResponse.builder() .transitGatewayConnects( this.sdkModel(tags, state) ) .build(); } public DescribeTransitGatewayConnectsResponse describeResponse(String state) { final List<software.amazon.awssdk.services.ec2.model.Tag> tags = new ArrayList<>(); return this.describeResponse(tags, state); } public DescribeTransitGatewayConnectsResponse describeResponse(List<Tag> tags) { return this.describeResponse(tags, "available"); } public DescribeTransitGatewayConnectsResponse describeResponse() { return this.describeResponse(new ArrayList<>(), "available"); } public CreateTagsResponse createTagsResponse() { return CreateTagsResponse.builder().build(); } public DeleteTagsResponse deleteTagsResponse() { return DeleteTagsResponse.builder().build(); } public DeleteTransitGatewayConnectResponse deleteResponse() { return DeleteTransitGatewayConnectResponse.builder() .transitGatewayConnect(this.sdkModel()) .build(); } public CreateTransitGatewayConnectResponse createResponse() { return CreateTransitGatewayConnectResponse.builder() .transitGatewayConnect(this.sdkModel()) .build(); } }
34.357143
138
0.661889
3c34823d6ddc65d8e7a4b8ed0b73645ba466d261
530
package com.chen.f.common.web.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.experimental.Accessors; /** * @author chen * @since 2019/1/12 22:28. */ @Data @AllArgsConstructor @Accessors(chain = true) @ApiModel(value = "alain tag", description = "") public class AlainTagOutputDTO { @ApiModelProperty(value = "文本") private String text; @ApiModelProperty(value = "颜色") private String color; }
19.62963
48
0.733962
ff1b4aefce33ee70ef1ff2f055f690a7a249c437
1,450
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ package com.microsoft.appcenter.http; import android.support.annotation.NonNull; import android.text.TextUtils; import java.io.IOException; /** * HTTP exception. */ public class HttpException extends IOException { /** * HTTP response. */ private final HttpResponse mHttpResponse; /** * Init. * * @param httpResponse The HTTP response. */ public HttpException(@NonNull HttpResponse httpResponse) { super(getDetailMessage(httpResponse.getStatusCode(), httpResponse.getPayload())); mHttpResponse = httpResponse; } @NonNull private static String getDetailMessage(int status, @NonNull String payload) { if (TextUtils.isEmpty(payload)) { return String.valueOf(status); } return status + " - " + payload; } /** * Get the HTTP response. * * @return HTTP response. */ public HttpResponse getHttpResponse() { return mHttpResponse; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; HttpException that = (HttpException) o; return mHttpResponse.equals(that.mHttpResponse); } @Override public int hashCode() { return mHttpResponse.hashCode(); } }
22.65625
89
0.629655
d45bea03c899abdcfe3e4b8a87c3363b2ce4975e
3,204
package com.kavin.media.music; import android.app.Service; import android.content.Intent; import android.media.MediaPlayer; import android.os.Binder; import android.os.Bundle; import android.os.IBinder; import android.os.Message; import java.util.Timer; import java.util.TimerTask; public class MusicService extends Service { MediaPlayer player; private Timer timer; public MusicService() { } @Override public void onCreate() { super.onCreate(); player = new MediaPlayer(); } public void onDestroy() { super.onDestroy(); player.stop(); player.release(); player = null; if(timer != null) { timer.cancel(); timer = null; } } @Override public IBinder onBind(Intent intent) { return new MusicController(); } class MusicController extends Binder implements MyMusicInterface{ @Override public void play() { MusicService.this.player(); } @Override public void pause() { MusicService.this.pause(); } @Override public void continuePlay() { MusicService.this.continuePlay(); } @Override public void seekTo(int progress) { MusicService.this.seekTo(progress); } } public void player() { //重置 player.reset(); try { //加载多媒体文件 player.setDataSource("sdcard/123.mp3"); // player.setDataSource("http://192.168.13.119:8080/bzj.mp3"); // player.prepare(); player.prepareAsync(); // player.start(); player.setOnPreparedListener(new MediaPlayer.OnPreparedListener() { //准备完毕时,此方法调用 @Override public void onPrepared(MediaPlayer mp) { player.start(); addTimer(); } }); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } public void continuePlay() { player.start(); } public void pause() { player.pause(); } public void seekTo(int progress) { player.seekTo(progress); } public void addTimer() { if(timer == null){ timer = new Timer(); timer.schedule(new TimerTask() { @Override public void run() { //获取歌曲总时长 int duration = player.getDuration(); //获取歌曲当前播放进度 int currentPosition= player.getCurrentPosition(); Message msg = Activity_music.handler.obtainMessage(); //把进度封装至消息对象中 Bundle bundle = new Bundle(); bundle.putInt("duration", duration); bundle.putInt("currentPosition", currentPosition); msg.setData(bundle); Activity_music.handler.sendMessage(msg); } //开始计时任务后的5毫秒,第一次执行run方法,以后每500毫秒执行一次 }, 5, 500); } } }
23.733333
79
0.520287
b91a439740d0ff81cb1c30662fe8cf93652f91ff
443,377
package util.zscore; /** * Created by Iq on 24/05/16. */ public class ReferenceTableForDailyIndex { protected String[] WeightAgeStandardIndex = {"Severely Underweight", "Underweight", "Normal", "Overweight"}; protected String[] HeightAgeStandardIndex = {"Severely Stunted", "Stunted", "Normal", "Tall"}; protected String[] WeightHeightStandardIndex = {"Severely Wasted", "Wasted", "Normal", "Overweight"}; public double[] getBoysWeightForAge(int index){ double[][]boysWeightForAge={ {0,0.3487,3.3464,0.14602}, {1,0.3127,3.3174,0.14693}, {2,0.3029,3.337,0.14676}, {3,0.2959,3.3627,0.14647}, {4,0.2903,3.3915,0.14611}, {5,0.2855,3.4223,0.14571}, {6,0.2813,3.4545,0.14528}, {7,0.2776,3.4879,0.14483}, {8,0.2742,3.5222,0.14436}, {9,0.2711,3.5576,0.14388}, {10,0.2681,3.5941,0.14339}, {11,0.2654,3.6319,0.1429}, {12,0.2628,3.671,0.14241}, {13,0.2604,3.7113,0.14192}, {14,0.2581,3.7529,0.14142}, {15,0.2558,3.7956,0.14093}, {16,0.2537,3.8389,0.14044}, {17,0.2517,3.8828,0.13996}, {18,0.2497,3.927,0.13948}, {19,0.2478,3.9714,0.139}, {20,0.246,4.0158,0.13853}, {21,0.2442,4.0603,0.13807}, {22,0.2425,4.1046,0.13761}, {23,0.2408,4.1489,0.13715}, {24,0.2392,4.193,0.1367}, {25,0.2376,4.2369,0.13626}, {26,0.2361,4.2806,0.13582}, {27,0.2346,4.324,0.13539}, {28,0.2331,4.3671,0.13497}, {29,0.2317,4.41,0.13455}, {30,0.2303,4.4525,0.13413}, {31,0.229,4.4946,0.13372}, {32,0.2276,4.5363,0.13332}, {33,0.2263,4.5776,0.13292}, {34,0.225,4.6185,0.13253}, {35,0.2237,4.659,0.13215}, {36,0.2225,4.699,0.13177}, {37,0.2213,4.7386,0.13139}, {38,0.2201,4.7778,0.13102}, {39,0.2189,4.8166,0.13066}, {40,0.2178,4.8549,0.1303}, {41,0.2166,4.8928,0.12994}, {42,0.2155,4.9303,0.1296}, {43,0.2144,4.9674,0.12925}, {44,0.2133,5.0041,0.12891}, {45,0.2122,5.0404,0.12858}, {46,0.2112,5.0763,0.12825}, {47,0.2101,5.1118,0.12792}, {48,0.2091,5.1469,0.1276}, {49,0.2081,5.1817,0.12729}, {50,0.2071,5.2161,0.12698}, {51,0.2061,5.2501,0.12667}, {52,0.2052,5.2837,0.12637}, {53,0.2042,5.3171,0.12607}, {54,0.2032,5.35,0.12577}, {55,0.2023,5.3826,0.12548}, {56,0.2014,5.4149,0.1252}, {57,0.2005,5.4468,0.12491}, {58,0.1996,5.4784,0.12463}, {59,0.1987,5.5097,0.12436}, {60,0.1978,5.5407,0.12409}, {61,0.1969,5.5714,0.12382}, {62,0.196,5.6018,0.12356}, {63,0.1952,5.6319,0.1233}, {64,0.1943,5.6617,0.12304}, {65,0.1935,5.6912,0.12279}, {66,0.1926,5.7205,0.12254}, {67,0.1918,5.7494,0.12229}, {68,0.191,5.7781,0.12205}, {69,0.1902,5.8065,0.12181}, {70,0.1894,5.8346,0.12157}, {71,0.1886,5.8625,0.12134}, {72,0.1878,5.8901,0.12111}, {73,0.187,5.9174,0.12088}, {74,0.1863,5.9445,0.12066}, {75,0.1855,5.9713,0.12044}, {76,0.1847,5.9979,0.12022}, {77,0.184,6.0242,0.12001}, {78,0.1832,6.0503,0.1198}, {79,0.1825,6.0762,0.11959}, {80,0.1818,6.1018,0.11939}, {81,0.181,6.1272,0.11918}, {82,0.1803,6.1523,0.11899}, {83,0.1796,6.1772,0.11879}, {84,0.1789,6.2019,0.1186}, {85,0.1782,6.2264,0.11841}, {86,0.1775,6.2507,0.11822}, {87,0.1768,6.2748,0.11803}, {88,0.1761,6.2986,0.11785}, {89,0.1754,6.3223,0.11767}, {90,0.1747,6.3457,0.1175}, {91,0.174,6.369,0.11732}, {92,0.1734,6.3921,0.11715}, {93,0.1727,6.4149,0.11698}, {94,0.172,6.4376,0.11682}, {95,0.1714,6.4601,0.11666}, {96,0.1707,6.4824,0.11649}, {97,0.1701,6.5046,0.11634}, {98,0.1694,6.5265,0.11618}, {99,0.1688,6.5483,0.11603}, {100,0.1682,6.5699,0.11588}, {101,0.1675,6.5914,0.11573}, {102,0.1669,6.6126,0.11558}, {103,0.1663,6.6338,0.11544}, {104,0.1657,6.6547,0.1153}, {105,0.1651,6.6755,0.11516}, {106,0.1644,6.6962,0.11502}, {107,0.1638,6.7166,0.11489}, {108,0.1632,6.737,0.11476}, {109,0.1626,6.7572,0.11463}, {110,0.162,6.7772,0.1145}, {111,0.1614,6.7971,0.11438}, {112,0.1609,6.8168,0.11425}, {113,0.1603,6.8365,0.11413}, {114,0.1597,6.8559,0.11401}, {115,0.1591,6.8753,0.1139}, {116,0.1585,6.8945,0.11378}, {117,0.158,6.9135,0.11367}, {118,0.1574,6.9325,0.11356}, {119,0.1568,6.9513,0.11345}, {120,0.1563,6.9699,0.11334}, {121,0.1557,6.9885,0.11324}, {122,0.1551,7.0069,0.11313}, {123,0.1546,7.0252,0.11303}, {124,0.154,7.0434,0.11293}, {125,0.1535,7.0615,0.11283}, {126,0.1529,7.0794,0.11274}, {127,0.1524,7.0972,0.11265}, {128,0.1519,7.1149,0.11255}, {129,0.1513,7.1325,0.11246}, {130,0.1508,7.15,0.11237}, {131,0.1502,7.1674,0.11229}, {132,0.1497,7.1846,0.1122}, {133,0.1492,7.2018,0.11212}, {134,0.1487,7.2188,0.11204}, {135,0.1481,7.2357,0.11196}, {136,0.1476,7.2525,0.11188}, {137,0.1471,7.2692,0.1118}, {138,0.1466,7.2858,0.11172}, {139,0.1461,7.3023,0.11165}, {140,0.1456,7.3187,0.11158}, {141,0.1451,7.335,0.1115}, {142,0.1446,7.3512,0.11143}, {143,0.1441,7.3673,0.11137}, {144,0.1436,7.3833,0.1113}, {145,0.1431,7.3992,0.11123}, {146,0.1426,7.415,0.11117}, {147,0.1421,7.4307,0.11111}, {148,0.1416,7.4463,0.11104}, {149,0.1411,7.4618,0.11098}, {150,0.1406,7.4772,0.11092}, {151,0.1401,7.4925,0.11087}, {152,0.1396,7.5077,0.11081}, {153,0.1391,7.5228,0.11075}, {154,0.1387,7.5379,0.1107}, {155,0.1382,7.5528,0.11065}, {156,0.1377,7.5677,0.11059}, {157,0.1372,7.5824,0.11054}, {158,0.1368,7.5971,0.11049}, {159,0.1363,7.6117,0.11044}, {160,0.1358,7.6262,0.1104}, {161,0.1354,7.6406,0.11035}, {162,0.1349,7.655,0.11031}, {163,0.1344,7.6692,0.11026}, {164,0.134,7.6834,0.11022}, {165,0.1335,7.6975,0.11018}, {166,0.1331,7.7115,0.11013}, {167,0.1326,7.7255,0.11009}, {168,0.1322,7.7394,0.11005}, {169,0.1317,7.7532,0.11002}, {170,0.1313,7.7669,0.10998}, {171,0.1308,7.7805,0.10994}, {172,0.1304,7.7941,0.10991}, {173,0.1299,7.8076,0.10987}, {174,0.1295,7.821,0.10984}, {175,0.129,7.8344,0.1098}, {176,0.1286,7.8477,0.10977}, {177,0.1282,7.8609,0.10974}, {178,0.1277,7.8741,0.10971}, {179,0.1273,7.8871,0.10968}, {180,0.1269,7.9002,0.10965}, {181,0.1264,7.9131,0.10962}, {182,0.126,7.926,0.10959}, {183,0.1256,7.9389,0.10957}, {184,0.1251,7.9516,0.10954}, {185,0.1247,7.9643,0.10951}, {186,0.1243,7.977,0.10949}, {187,0.1239,7.9895,0.10946}, {188,0.1235,8.0021,0.10944}, {189,0.123,8.0145,0.10942}, {190,0.1226,8.0269,0.1094}, {191,0.1222,8.0392,0.10937}, {192,0.1218,8.0515,0.10935}, {193,0.1214,8.0637,0.10933}, {194,0.121,8.0759,0.10931}, {195,0.1206,8.0879,0.10929}, {196,0.1201,8.1,0.10927}, {197,0.1197,8.112,0.10925}, {198,0.1193,8.1239,0.10924}, {199,0.1189,8.1357,0.10922}, {200,0.1185,8.1475,0.1092}, {201,0.1181,8.1593,0.10919}, {202,0.1177,8.171,0.10917}, {203,0.1173,8.1826,0.10915}, {204,0.1169,8.1942,0.10914}, {205,0.1165,8.2058,0.10913}, {206,0.1161,8.2173,0.10911}, {207,0.1157,8.2287,0.1091}, {208,0.1153,8.2401,0.10908}, {209,0.1149,8.2514,0.10907}, {210,0.1145,8.2627,0.10906}, {211,0.1142,8.2739,0.10905}, {212,0.1138,8.2851,0.10903}, {213,0.1134,8.2963,0.10902}, {214,0.113,8.3074,0.10901}, {215,0.1126,8.3184,0.109}, {216,0.1122,8.3294,0.10899}, {217,0.1118,8.3404,0.10898}, {218,0.1115,8.3513,0.10897}, {219,0.1111,8.3621,0.10896}, {220,0.1107,8.3729,0.10895}, {221,0.1103,8.3837,0.10894}, {222,0.1099,8.3944,0.10894}, {223,0.1096,8.4051,0.10893}, {224,0.1092,8.4157,0.10892}, {225,0.1088,8.4263,0.10891}, {226,0.1084,8.4369,0.10891}, {227,0.1081,8.4474,0.1089}, {228,0.1077,8.4578,0.10889}, {229,0.1073,8.4683,0.10889}, {230,0.107,8.4787,0.10888}, {231,0.1066,8.489,0.10887}, {232,0.1062,8.4993,0.10887}, {233,0.1059,8.5096,0.10886}, {234,0.1055,8.5198,0.10886}, {235,0.1051,8.53,0.10885}, {236,0.1048,8.5401,0.10885}, {237,0.1044,8.5502,0.10884}, {238,0.104,8.5603,0.10884}, {239,0.1037,8.5704,0.10884}, {240,0.1033,8.5804,0.10883}, {241,0.103,8.5903,0.10883}, {242,0.1026,8.6003,0.10882}, {243,0.1023,8.6102,0.10882}, {244,0.1019,8.62,0.10882}, {245,0.1015,8.6299,0.10882}, {246,0.1012,8.6397,0.10881}, {247,0.1008,8.6494,0.10881}, {248,0.1005,8.6592,0.10881}, {249,0.1001,8.6689,0.10881}, {250,0.0998,8.6785,0.10881}, {251,0.0994,8.6882,0.1088}, {252,0.0991,8.6978,0.1088}, {253,0.0987,8.7073,0.1088}, {254,0.0984,8.7169,0.1088}, {255,0.0981,8.7264,0.1088}, {256,0.0977,8.7359,0.1088}, {257,0.0974,8.7453,0.1088}, {258,0.097,8.7548,0.1088}, {259,0.0967,8.7642,0.1088}, {260,0.0963,8.7735,0.1088}, {261,0.096,8.7829,0.1088}, {262,0.0957,8.7922,0.1088}, {263,0.0953,8.8015,0.1088}, {264,0.095,8.8107,0.1088}, {265,0.0947,8.82,0.1088}, {266,0.0943,8.8292,0.1088}, {267,0.094,8.8384,0.1088}, {268,0.0937,8.8475,0.1088}, {269,0.0933,8.8567,0.1088}, {270,0.093,8.8658,0.1088}, {271,0.0927,8.8748,0.1088}, {272,0.0923,8.8839,0.10881}, {273,0.092,8.8929,0.10881}, {274,0.0917,8.9019,0.10881}, {275,0.0913,8.9109,0.10881}, {276,0.091,8.9199,0.10881}, {277,0.0907,8.9288,0.10882}, {278,0.0904,8.9377,0.10882}, {279,0.09,8.9466,0.10882}, {280,0.0897,8.9555,0.10882}, {281,0.0894,8.9643,0.10882}, {282,0.0891,8.9731,0.10883}, {283,0.0887,8.9819,0.10883}, {284,0.0884,8.9907,0.10883}, {285,0.0881,8.9995,0.10884}, {286,0.0878,9.0082,0.10884}, {287,0.0875,9.0169,0.10884}, {288,0.0871,9.0256,0.10884}, {289,0.0868,9.0342,0.10885}, {290,0.0865,9.0429,0.10885}, {291,0.0862,9.0515,0.10885}, {292,0.0859,9.0601,0.10886}, {293,0.0856,9.0687,0.10886}, {294,0.0852,9.0772,0.10887}, {295,0.0849,9.0858,0.10887}, {296,0.0846,9.0943,0.10887}, {297,0.0843,9.1028,0.10888}, {298,0.084,9.1113,0.10888}, {299,0.0837,9.1198,0.10888}, {300,0.0834,9.1282,0.10889}, {301,0.0831,9.1366,0.10889}, {302,0.0827,9.145,0.1089}, {303,0.0824,9.1534,0.1089}, {304,0.0821,9.1618,0.1089}, {305,0.0818,9.1701,0.10891}, {306,0.0815,9.1785,0.10891}, {307,0.0812,9.1868,0.10892}, {308,0.0809,9.1951,0.10892}, {309,0.0806,9.2034,0.10893}, {310,0.0803,9.2117,0.10893}, {311,0.08,9.2199,0.10894}, {312,0.0797,9.2282,0.10894}, {313,0.0794,9.2364,0.10894}, {314,0.0791,9.2446,0.10895}, {315,0.0788,9.2528,0.10895}, {316,0.0785,9.261,0.10896}, {317,0.0782,9.2691,0.10896}, {318,0.0779,9.2773,0.10897}, {319,0.0776,9.2854,0.10897}, {320,0.0773,9.2935,0.10898}, {321,0.077,9.3016,0.10898}, {322,0.0767,9.3097,0.10899}, {323,0.0764,9.3178,0.10899}, {324,0.0761,9.3258,0.109}, {325,0.0758,9.3339,0.10901}, {326,0.0755,9.3419,0.10901}, {327,0.0752,9.3499,0.10902}, {328,0.0749,9.3579,0.10902}, {329,0.0746,9.3659,0.10903}, {330,0.0744,9.3739,0.10903}, {331,0.0741,9.3819,0.10904}, {332,0.0738,9.3898,0.10904}, {333,0.0735,9.3978,0.10905}, {334,0.0732,9.4057,0.10905}, {335,0.0729,9.4136,0.10906}, {336,0.0726,9.4215,0.10907}, {337,0.0723,9.4294,0.10907}, {338,0.072,9.4373,0.10908}, {339,0.0718,9.4452,0.10908}, {340,0.0715,9.453,0.10909}, {341,0.0712,9.4609,0.1091}, {342,0.0709,9.4687,0.1091}, {343,0.0706,9.4765,0.10911}, {344,0.0703,9.4844,0.10911}, {345,0.0701,9.4922,0.10912}, {346,0.0698,9.4999,0.10913}, {347,0.0695,9.5077,0.10913}, {348,0.0692,9.5155,0.10914}, {349,0.0689,9.5232,0.10915}, {350,0.0686,9.531,0.10915}, {351,0.0684,9.5387,0.10916}, {352,0.0681,9.5464,0.10916}, {353,0.0678,9.5542,0.10917}, {354,0.0675,9.5619,0.10918}, {355,0.0672,9.5696,0.10918}, {356,0.067,9.5772,0.10919}, {357,0.0667,9.5849,0.1092}, {358,0.0664,9.5926,0.1092}, {359,0.0661,9.6002,0.10921}, {360,0.0659,9.6079,0.10922}, {361,0.0656,9.6155,0.10922}, {362,0.0653,9.6231,0.10923}, {363,0.065,9.6308,0.10924}, {364,0.0648,9.6384,0.10925}, {365,0.0645,9.646,0.10925}, {366,0.0642,9.6535,0.10926}, {367,0.064,9.6611,0.10927}, {368,0.0637,9.6687,0.10927}, {369,0.0634,9.6763,0.10928}, {370,0.0631,9.6838,0.10929}, {371,0.0629,9.6914,0.1093}, {372,0.0626,9.6989,0.1093}, {373,0.0623,9.7064,0.10931}, {374,0.0621,9.7139,0.10932}, {375,0.0618,9.7214,0.10933}, {376,0.0615,9.7289,0.10933}, {377,0.0613,9.7364,0.10934}, {378,0.061,9.7439,0.10935}, {379,0.0607,9.7514,0.10936}, {380,0.0605,9.7588,0.10936}, {381,0.0602,9.7663,0.10937}, {382,0.0599,9.7738,0.10938}, {383,0.0597,9.7812,0.10939}, {384,0.0594,9.7886,0.10939}, {385,0.0591,9.796,0.1094}, {386,0.0589,9.8035,0.10941}, {387,0.0586,9.8109,0.10942}, {388,0.0583,9.8183,0.10943}, {389,0.0581,9.8257,0.10943}, {390,0.0578,9.833,0.10944}, {391,0.0576,9.8404,0.10945}, {392,0.0573,9.8478,0.10946}, {393,0.057,9.8551,0.10947}, {394,0.0568,9.8625,0.10948}, {395,0.0565,9.8699,0.10948}, {396,0.0563,9.8772,0.10949}, {397,0.056,9.8845,0.1095}, {398,0.0557,9.8918,0.10951}, {399,0.0555,9.8992,0.10952}, {400,0.0552,9.9065,0.10953}, {401,0.055,9.9138,0.10954}, {402,0.0547,9.9211,0.10954}, {403,0.0545,9.9284,0.10955}, {404,0.0542,9.9357,0.10956}, {405,0.054,9.9429,0.10957}, {406,0.0537,9.9502,0.10958}, {407,0.0534,9.9575,0.10959}, {408,0.0532,9.9647,0.1096}, {409,0.0529,9.972,0.10961}, {410,0.0527,9.9792,0.10961}, {411,0.0524,9.9865,0.10962}, {412,0.0522,9.9937,0.10963}, {413,0.0519,10.0009,0.10964}, {414,0.0517,10.0082,0.10965}, {415,0.0514,10.0154,0.10966}, {416,0.0512,10.0226,0.10967}, {417,0.0509,10.0298,0.10968}, {418,0.0507,10.037,0.10969}, {419,0.0504,10.0442,0.1097}, {420,0.0502,10.0514,0.10971}, {421,0.0499,10.0586,0.10971}, {422,0.0497,10.0657,0.10972}, {423,0.0494,10.0729,0.10973}, {424,0.0492,10.0801,0.10974}, {425,0.0489,10.0872,0.10975}, {426,0.0487,10.0944,0.10976}, {427,0.0484,10.1015,0.10977}, {428,0.0482,10.1087,0.10978}, {429,0.0479,10.1158,0.10979}, {430,0.0477,10.123,0.1098}, {431,0.0475,10.1301,0.10981}, {432,0.0472,10.1372,0.10982}, {433,0.047,10.1443,0.10983}, {434,0.0467,10.1515,0.10984}, {435,0.0465,10.1586,0.10985}, {436,0.0462,10.1657,0.10986}, {437,0.046,10.1728,0.10987}, {438,0.0458,10.1799,0.10988}, {439,0.0455,10.187,0.10989}, {440,0.0453,10.1941,0.1099}, {441,0.045,10.2011,0.10991}, {442,0.0448,10.2082,0.10992}, {443,0.0445,10.2153,0.10993}, {444,0.0443,10.2224,0.10994}, {445,0.0441,10.2294,0.10995}, {446,0.0438,10.2365,0.10996}, {447,0.0436,10.2435,0.10997}, {448,0.0433,10.2506,0.10998}, {449,0.0431,10.2576,0.10999}, {450,0.0429,10.2647,0.11}, {451,0.0426,10.2717,0.11001}, {452,0.0424,10.2788,0.11002}, {453,0.0422,10.2858,0.11003}, {454,0.0419,10.2928,0.11005}, {455,0.0417,10.2998,0.11006}, {456,0.0414,10.3069,0.11007}, {457,0.0412,10.3139,0.11008}, {458,0.041,10.3209,0.11009}, {459,0.0407,10.3279,0.1101}, {460,0.0405,10.3349,0.11011}, {461,0.0403,10.3419,0.11012}, {462,0.04,10.3489,0.11013}, {463,0.0398,10.3559,0.11014}, {464,0.0396,10.3629,0.11015}, {465,0.0393,10.3699,0.11016}, {466,0.0391,10.3769,0.11017}, {467,0.0389,10.3839,0.11019}, {468,0.0386,10.3908,0.1102}, {469,0.0384,10.3978,0.11021}, {470,0.0382,10.4048,0.11022}, {471,0.0379,10.4118,0.11023}, {472,0.0377,10.4187,0.11024}, {473,0.0375,10.4257,0.11025}, {474,0.0373,10.4326,0.11026}, {475,0.037,10.4396,0.11027}, {476,0.0368,10.4465,0.11029}, {477,0.0366,10.4535,0.1103}, {478,0.0363,10.4604,0.11031}, {479,0.0361,10.4674,0.11032}, {480,0.0359,10.4743,0.11033}, {481,0.0357,10.4813,0.11034}, {482,0.0354,10.4882,0.11035}, {483,0.0352,10.4951,0.11037}, {484,0.035,10.502,0.11038}, {485,0.0347,10.509,0.11039}, {486,0.0345,10.5159,0.1104}, {487,0.0343,10.5228,0.11041}, {488,0.0341,10.5297,0.11042}, {489,0.0338,10.5366,0.11044}, {490,0.0336,10.5435,0.11045}, {491,0.0334,10.5505,0.11046}, {492,0.0332,10.5574,0.11047}, {493,0.0329,10.5643,0.11048}, {494,0.0327,10.5712,0.1105}, {495,0.0325,10.578,0.11051}, {496,0.0323,10.5849,0.11052}, {497,0.032,10.5918,0.11053}, {498,0.0318,10.5987,0.11054}, {499,0.0316,10.6056,0.11056}, {500,0.0314,10.6125,0.11057}, {501,0.0312,10.6193,0.11058}, {502,0.0309,10.6262,0.11059}, {503,0.0307,10.6331,0.1106}, {504,0.0305,10.6399,0.11062}, {505,0.0303,10.6468,0.11063}, {506,0.03,10.6537,0.11064}, {507,0.0298,10.6605,0.11065}, {508,0.0296,10.6674,0.11067}, {509,0.0294,10.6742,0.11068}, {510,0.0292,10.6811,0.11069}, {511,0.0289,10.6879,0.1107}, {512,0.0287,10.6948,0.11072}, {513,0.0285,10.7016,0.11073}, {514,0.0283,10.7084,0.11074}, {515,0.0281,10.7153,0.11075}, {516,0.0279,10.7221,0.11077}, {517,0.0276,10.7289,0.11078}, {518,0.0274,10.7357,0.11079}, {519,0.0272,10.7426,0.11081}, {520,0.027,10.7494,0.11082}, {521,0.0268,10.7562,0.11083}, {522,0.0266,10.763,0.11084}, {523,0.0263,10.7698,0.11086}, {524,0.0261,10.7766,0.11087}, {525,0.0259,10.7835,0.11088}, {526,0.0257,10.7903,0.1109}, {527,0.0255,10.7971,0.11091}, {528,0.0253,10.8039,0.11092}, {529,0.025,10.8107,0.11094}, {530,0.0248,10.8174,0.11095}, {531,0.0246,10.8242,0.11096}, {532,0.0244,10.831,0.11098}, {533,0.0242,10.8378,0.11099}, {534,0.024,10.8446,0.111}, {535,0.0238,10.8514,0.11102}, {536,0.0236,10.8582,0.11103}, {537,0.0233,10.8649,0.11104}, {538,0.0231,10.8717,0.11106}, {539,0.0229,10.8785,0.11107}, {540,0.0227,10.8852,0.11108}, {541,0.0225,10.892,0.1111}, {542,0.0223,10.8988,0.11111}, {543,0.0221,10.9055,0.11113}, {544,0.0219,10.9123,0.11114}, {545,0.0217,10.9191,0.11115}, {546,0.0214,10.9258,0.11117}, {547,0.0212,10.9326,0.11118}, {548,0.021,10.9393,0.1112}, {549,0.0208,10.9461,0.11121}, {550,0.0206,10.9528,0.11122}, {551,0.0204,10.9596,0.11124}, {552,0.0202,10.9663,0.11125}, {553,0.02,10.973,0.11127}, {554,0.0198,10.9798,0.11128}, {555,0.0196,10.9865,0.11129}, {556,0.0194,10.9932,0.11131}, {557,0.0192,11,0.11132}, {558,0.0189,11.0067,0.11134}, {559,0.0187,11.0134,0.11135}, {560,0.0185,11.0202,0.11137}, {561,0.0183,11.0269,0.11138}, {562,0.0181,11.0336,0.11139}, {563,0.0179,11.0403,0.11141}, {564,0.0177,11.047,0.11142}, {565,0.0175,11.0537,0.11144}, {566,0.0173,11.0605,0.11145}, {567,0.0171,11.0672,0.11147}, {568,0.0169,11.0739,0.11148}, {569,0.0167,11.0806,0.1115}, {570,0.0165,11.0873,0.11151}, {571,0.0163,11.094,0.11153}, {572,0.0161,11.1007,0.11154}, {573,0.0159,11.1074,0.11156}, {574,0.0157,11.1141,0.11157}, {575,0.0155,11.1208,0.11159}, {576,0.0153,11.1275,0.1116}, {577,0.0151,11.1342,0.11162}, {578,0.0149,11.1409,0.11163}, {579,0.0147,11.1476,0.11165}, {580,0.0144,11.1543,0.11166}, {581,0.0142,11.161,0.11168}, {582,0.014,11.1676,0.11169}, {583,0.0138,11.1743,0.11171}, {584,0.0136,11.181,0.11172}, {585,0.0134,11.1877,0.11174}, {586,0.0132,11.1944,0.11175}, {587,0.013,11.2011,0.11177}, {588,0.0128,11.2077,0.11178}, {589,0.0126,11.2144,0.1118}, {590,0.0124,11.2211,0.11182}, {591,0.0122,11.2278,0.11183}, {592,0.012,11.2345,0.11185}, {593,0.0118,11.2411,0.11186}, {594,0.0116,11.2478,0.11188}, {595,0.0114,11.2545,0.11189}, {596,0.0112,11.2612,0.11191}, {597,0.0111,11.2678,0.11192}, {598,0.0109,11.2745,0.11194}, {599,0.0107,11.2812,0.11196}, {600,0.0105,11.2878,0.11197}, {601,0.0103,11.2945,0.11199}, {602,0.0101,11.3012,0.112}, {603,0.0099,11.3078,0.11202}, {604,0.0097,11.3145,0.11204}, {605,0.0095,11.3212,0.11205}, {606,0.0093,11.3278,0.11207}, {607,0.0091,11.3345,0.11208}, {608,0.0089,11.3412,0.1121}, {609,0.0087,11.3478,0.11212}, {610,0.0085,11.3545,0.11213}, {611,0.0083,11.3612,0.11215}, {612,0.0081,11.3678,0.11216}, {613,0.0079,11.3745,0.11218}, {614,0.0077,11.3811,0.1122}, {615,0.0075,11.3878,0.11221}, {616,0.0073,11.3945,0.11223}, {617,0.0071,11.4011,0.11224}, {618,0.0069,11.4078,0.11226}, {619,0.0067,11.4144,0.11228}, {620,0.0066,11.4211,0.11229}, {621,0.0064,11.4277,0.11231}, {622,0.0062,11.4344,0.11233}, {623,0.006,11.441,0.11234}, {624,0.0058,11.4477,0.11236}, {625,0.0056,11.4543,0.11238}, {626,0.0054,11.461,0.11239}, {627,0.0052,11.4676,0.11241}, {628,0.005,11.4743,0.11243}, {629,0.0048,11.4809,0.11244}, {630,0.0046,11.4876,0.11246}, {631,0.0044,11.4942,0.11248}, {632,0.0043,11.5009,0.11249}, {633,0.0041,11.5075,0.11251}, {634,0.0039,11.5142,0.11253}, {635,0.0037,11.5208,0.11254}, {636,0.0035,11.5274,0.11256}, {637,0.0033,11.5341,0.11258}, {638,0.0031,11.5407,0.11259}, {639,0.0029,11.5474,0.11261}, {640,0.0027,11.554,0.11263}, {641,0.0025,11.5606,0.11265}, {642,0.0024,11.5673,0.11266}, {643,0.0022,11.5739,0.11268}, {644,0.002,11.5806,0.1127}, {645,0.0018,11.5872,0.11271}, {646,0.0016,11.5938,0.11273}, {647,0.0014,11.6005,0.11275}, {648,0.0012,11.6071,0.11276}, {649,0.001,11.6137,0.11278}, {650,0.0008,11.6204,0.1128}, {651,0.0007,11.627,0.11282}, {652,0.0005,11.6336,0.11283}, {653,0.0003,11.6403,0.11285}, {654,0.0001,11.6469,0.11287}, {655,-0.0001,11.6535,0.11289}, {656,-0.0003,11.6601,0.1129}, {657,-0.0005,11.6668,0.11292}, {658,-0.0006,11.6734,0.11294}, {659,-0.0008,11.68,0.11296}, {660,-0.001,11.6866,0.11297}, {661,-0.0012,11.6933,0.11299}, {662,-0.0014,11.6999,0.11301}, {663,-0.0016,11.7065,0.11303}, {664,-0.0018,11.7131,0.11304}, {665,-0.0019,11.7198,0.11306}, {666,-0.0021,11.7264,0.11308}, {667,-0.0023,11.733,0.1131}, {668,-0.0025,11.7396,0.11311}, {669,-0.0027,11.7462,0.11313}, {670,-0.0029,11.7528,0.11315}, {671,-0.003,11.7595,0.11317}, {672,-0.0032,11.7661,0.11318}, {673,-0.0034,11.7727,0.1132}, {674,-0.0036,11.7793,0.11322}, {675,-0.0038,11.7859,0.11324}, {676,-0.004,11.7925,0.11326}, {677,-0.0041,11.7991,0.11327}, {678,-0.0043,11.8057,0.11329}, {679,-0.0045,11.8124,0.11331}, {680,-0.0047,11.819,0.11333}, {681,-0.0049,11.8256,0.11335}, {682,-0.0051,11.8322,0.11336}, {683,-0.0052,11.8388,0.11338}, {684,-0.0054,11.8454,0.1134}, {685,-0.0056,11.852,0.11342}, {686,-0.0058,11.8586,0.11344}, {687,-0.006,11.8652,0.11345}, {688,-0.0061,11.8718,0.11347}, {689,-0.0063,11.8784,0.11349}, {690,-0.0065,11.885,0.11351}, {691,-0.0067,11.8916,0.11353}, {692,-0.0069,11.8982,0.11354}, {693,-0.007,11.9048,0.11356}, {694,-0.0072,11.9114,0.11358}, {695,-0.0074,11.918,0.1136}, {696,-0.0076,11.9246,0.11362}, {697,-0.0078,11.9312,0.11364}, {698,-0.0079,11.9378,0.11365}, {699,-0.0081,11.9444,0.11367}, {700,-0.0083,11.951,0.11369}, {701,-0.0085,11.9576,0.11371}, {702,-0.0087,11.9642,0.11373}, {703,-0.0088,11.9707,0.11375}, {704,-0.009,11.9773,0.11376}, {705,-0.0092,11.9839,0.11378}, {706,-0.0094,11.9905,0.1138}, {707,-0.0095,11.9971,0.11382}, {708,-0.0097,12.0037,0.11384}, {709,-0.0099,12.0103,0.11386}, {710,-0.0101,12.0168,0.11388}, {711,-0.0102,12.0234,0.11389}, {712,-0.0104,12.03,0.11391}, {713,-0.0106,12.0366,0.11393}, {714,-0.0108,12.0431,0.11395}, {715,-0.011,12.0497,0.11397}, {716,-0.0111,12.0563,0.11399}, {717,-0.0113,12.0629,0.11401}, {718,-0.0115,12.0694,0.11403}, {719,-0.0117,12.076,0.11404}, {720,-0.0118,12.0826,0.11406}, {721,-0.012,12.0891,0.11408}, {722,-0.0122,12.0957,0.1141}, {723,-0.0124,12.1023,0.11412}, {724,-0.0125,12.1088,0.11414}, {725,-0.0127,12.1154,0.11416}, {726,-0.0129,12.122,0.11418}, {727,-0.0131,12.1285,0.1142}, {728,-0.0132,12.1351,0.11421}, {729,-0.0134,12.1416,0.11423}, {730,-0.0136,12.1482,0.11425}, {731,-0.0137,12.1548,0.11427}, {732,-0.0139,12.1613,0.11429}, {733,-0.0141,12.1679,0.11431}, {734,-0.0143,12.1744,0.11433}, {735,-0.0144,12.181,0.11435}, {736,-0.0146,12.1875,0.11437}, {737,-0.0148,12.1941,0.11439}, {738,-0.015,12.2006,0.1144}, {739,-0.0151,12.2072,0.11442}, {740,-0.0153,12.2137,0.11444}, {741,-0.0155,12.2202,0.11446}, {742,-0.0156,12.2268,0.11448}, {743,-0.0158,12.2333,0.1145}, {744,-0.016,12.2398,0.11452}, {745,-0.0162,12.2464,0.11454}, {746,-0.0163,12.2529,0.11456}, {747,-0.0165,12.2594,0.11458}, {748,-0.0167,12.266,0.1146}, {749,-0.0168,12.2725,0.11462}, {750,-0.017,12.279,0.11464}, {751,-0.0172,12.2855,0.11465}, {752,-0.0174,12.292,0.11467}, {753,-0.0175,12.2986,0.11469}, {754,-0.0177,12.3051,0.11471}, {755,-0.0179,12.3116,0.11473}, {756,-0.018,12.3181,0.11475}, {757,-0.0182,12.3246,0.11477}, {758,-0.0184,12.3311,0.11479}, {759,-0.0185,12.3376,0.11481}, {760,-0.0187,12.3441,0.11483}, {761,-0.0189,12.3506,0.11485}, {762,-0.0191,12.3571,0.11487}, {763,-0.0192,12.3636,0.11489}, {764,-0.0194,12.3701,0.11491}, {765,-0.0196,12.3766,0.11493}, {766,-0.0197,12.383,0.11495}, {767,-0.0199,12.3895,0.11497}, {768,-0.0201,12.396,0.11498}, {769,-0.0202,12.4025,0.115}, {770,-0.0204,12.409,0.11502}, {771,-0.0206,12.4154,0.11504}, {772,-0.0207,12.4219,0.11506}, {773,-0.0209,12.4284,0.11508}, {774,-0.0211,12.4348,0.1151}, {775,-0.0212,12.4413,0.11512}, {776,-0.0214,12.4477,0.11514}, {777,-0.0216,12.4542,0.11516}, {778,-0.0217,12.4606,0.11518}, {779,-0.0219,12.4671,0.1152}, {780,-0.0221,12.4735,0.11522}, {781,-0.0222,12.48,0.11524}, {782,-0.0224,12.4864,0.11526}, {783,-0.0226,12.4929,0.11528}, {784,-0.0227,12.4993,0.1153}, {785,-0.0229,12.5057,0.11532}, {786,-0.0231,12.5121,0.11534}, {787,-0.0232,12.5186,0.11536}, {788,-0.0234,12.525,0.11538}, {789,-0.0236,12.5314,0.1154}, {790,-0.0237,12.5378,0.11542}, {791,-0.0239,12.5442,0.11544}, {792,-0.0241,12.5506,0.11545}, {793,-0.0242,12.557,0.11547}, {794,-0.0244,12.5634,0.11549}, {795,-0.0246,12.5698,0.11551}, {796,-0.0247,12.5762,0.11553}, {797,-0.0249,12.5826,0.11555}, {798,-0.025,12.589,0.11557}, {799,-0.0252,12.5954,0.11559}, {800,-0.0254,12.6018,0.11561}, {801,-0.0255,12.6082,0.11563}, {802,-0.0257,12.6145,0.11565}, {803,-0.0259,12.6209,0.11567}, {804,-0.026,12.6273,0.11569}, {805,-0.0262,12.6336,0.11571}, {806,-0.0264,12.64,0.11573}, {807,-0.0265,12.6464,0.11575}, {808,-0.0267,12.6527,0.11577}, {809,-0.0268,12.6591,0.11579}, {810,-0.027,12.6654,0.11581}, {811,-0.0272,12.6718,0.11583}, {812,-0.0273,12.6781,0.11585}, {813,-0.0275,12.6844,0.11587}, {814,-0.0277,12.6908,0.11589}, {815,-0.0278,12.6971,0.11591}, {816,-0.028,12.7034,0.11593}, {817,-0.0281,12.7098,0.11595}, {818,-0.0283,12.7161,0.11597}, {819,-0.0285,12.7224,0.11599}, {820,-0.0286,12.7287,0.11601}, {821,-0.0288,12.735,0.11602}, {822,-0.0289,12.7413,0.11604}, {823,-0.0291,12.7476,0.11606}, {824,-0.0293,12.7539,0.11608}, {825,-0.0294,12.7602,0.1161}, {826,-0.0296,12.7665,0.11612}, {827,-0.0297,12.7728,0.11614}, {828,-0.0299,12.7791,0.11616}, {829,-0.0301,12.7854,0.11618}, {830,-0.0302,12.7916,0.1162}, {831,-0.0304,12.7979,0.11622}, {832,-0.0305,12.8042,0.11624}, {833,-0.0307,12.8104,0.11626}, {834,-0.0309,12.8167,0.11628}, {835,-0.031,12.823,0.1163}, {836,-0.0312,12.8292,0.11632}, {837,-0.0313,12.8355,0.11634}, {838,-0.0315,12.8417,0.11636}, {839,-0.0317,12.848,0.11638}, {840,-0.0318,12.8542,0.1164}, {841,-0.032,12.8604,0.11642}, {842,-0.0321,12.8667,0.11644}, {843,-0.0323,12.8729,0.11646}, {844,-0.0324,12.8791,0.11647}, {845,-0.0326,12.8853,0.11649}, {846,-0.0328,12.8915,0.11651}, {847,-0.0329,12.8978,0.11653}, {848,-0.0331,12.904,0.11655}, {849,-0.0332,12.9102,0.11657}, {850,-0.0334,12.9164,0.11659}, {851,-0.0336,12.9226,0.11661}, {852,-0.0337,12.9288,0.11663}, {853,-0.0339,12.935,0.11665}, {854,-0.034,12.9411,0.11667}, {855,-0.0342,12.9473,0.11669}, {856,-0.0343,12.9535,0.11671}, {857,-0.0345,12.9597,0.11673}, {858,-0.0346,12.9658,0.11675}, {859,-0.0348,12.972,0.11677}, {860,-0.035,12.9782,0.11679}, {861,-0.0351,12.9843,0.11681}, {862,-0.0353,12.9905,0.11683}, {863,-0.0354,12.9966,0.11684}, {864,-0.0356,13.0028,0.11686}, {865,-0.0357,13.0089,0.11688}, {866,-0.0359,13.0151,0.1169}, {867,-0.0361,13.0212,0.11692}, {868,-0.0362,13.0273,0.11694}, {869,-0.0364,13.0334,0.11696}, {870,-0.0365,13.0396,0.11698}, {871,-0.0367,13.0457,0.117}, {872,-0.0368,13.0518,0.11702}, {873,-0.037,13.0579,0.11704}, {874,-0.0371,13.064,0.11706}, {875,-0.0373,13.0701,0.11708}, {876,-0.0374,13.0762,0.1171}, {877,-0.0376,13.0823,0.11712}, {878,-0.0378,13.0884,0.11713}, {879,-0.0379,13.0945,0.11715}, {880,-0.0381,13.1006,0.11717}, {881,-0.0382,13.1067,0.11719}, {882,-0.0384,13.1127,0.11721}, {883,-0.0385,13.1188,0.11723}, {884,-0.0387,13.1249,0.11725}, {885,-0.0388,13.131,0.11727}, {886,-0.039,13.137,0.11729}, {887,-0.0391,13.1431,0.11731}, {888,-0.0393,13.1491,0.11733}, {889,-0.0394,13.1552,0.11735}, {890,-0.0396,13.1612,0.11737}, {891,-0.0397,13.1673,0.11739}, {892,-0.0399,13.1733,0.1174}, {893,-0.0401,13.1793,0.11742}, {894,-0.0402,13.1854,0.11744}, {895,-0.0404,13.1914,0.11746}, {896,-0.0405,13.1974,0.11748}, {897,-0.0407,13.2034,0.1175}, {898,-0.0408,13.2095,0.11752}, {899,-0.041,13.2155,0.11754}, {900,-0.0411,13.2215,0.11756}, {901,-0.0413,13.2275,0.11758}, {902,-0.0414,13.2335,0.1176}, {903,-0.0416,13.2395,0.11762}, {904,-0.0417,13.2455,0.11763}, {905,-0.0419,13.2515,0.11765}, {906,-0.042,13.2575,0.11767}, {907,-0.0422,13.2634,0.11769}, {908,-0.0423,13.2694,0.11771}, {909,-0.0425,13.2754,0.11773}, {910,-0.0426,13.2814,0.11775}, {911,-0.0428,13.2873,0.11777}, {912,-0.0429,13.2933,0.11779}, {913,-0.0431,13.2993,0.11781}, {914,-0.0432,13.3052,0.11783}, {915,-0.0434,13.3112,0.11785}, {916,-0.0435,13.3171,0.11786}, {917,-0.0437,13.3231,0.11788}, {918,-0.0438,13.329,0.1179}, {919,-0.044,13.335,0.11792}, {920,-0.0441,13.3409,0.11794}, {921,-0.0443,13.3468,0.11796}, {922,-0.0444,13.3528,0.11798}, {923,-0.0446,13.3587,0.118}, {924,-0.0447,13.3646,0.11802}, {925,-0.0449,13.3705,0.11804}, {926,-0.045,13.3765,0.11805}, {927,-0.0452,13.3824,0.11807}, {928,-0.0453,13.3883,0.11809}, {929,-0.0455,13.3942,0.11811}, {930,-0.0456,13.4001,0.11813}, {931,-0.0458,13.406,0.11815}, {932,-0.0459,13.4119,0.11817}, {933,-0.0461,13.4178,0.11819}, {934,-0.0462,13.4237,0.11821}, {935,-0.0464,13.4296,0.11823}, {936,-0.0465,13.4354,0.11825}, {937,-0.0466,13.4413,0.11826}, {938,-0.0468,13.4472,0.11828}, {939,-0.0469,13.4531,0.1183}, {940,-0.0471,13.4589,0.11832}, {941,-0.0472,13.4648,0.11834}, {942,-0.0474,13.4707,0.11836}, {943,-0.0475,13.4765,0.11838}, {944,-0.0477,13.4824,0.1184}, {945,-0.0478,13.4883,0.11842}, {946,-0.048,13.4941,0.11843}, {947,-0.0481,13.5,0.11845}, {948,-0.0483,13.5058,0.11847}, {949,-0.0484,13.5116,0.11849}, {950,-0.0486,13.5175,0.11851}, {951,-0.0487,13.5233,0.11853}, {952,-0.0489,13.5291,0.11855}, {953,-0.049,13.535,0.11857}, {954,-0.0491,13.5408,0.11859}, {955,-0.0493,13.5466,0.1186}, {956,-0.0494,13.5524,0.11862}, {957,-0.0496,13.5583,0.11864}, {958,-0.0497,13.5641,0.11866}, {959,-0.0499,13.5699,0.11868}, {960,-0.05,13.5757,0.1187}, {961,-0.0502,13.5815,0.11872}, {962,-0.0503,13.5873,0.11874}, {963,-0.0505,13.5931,0.11876}, {964,-0.0506,13.5989,0.11877}, {965,-0.0507,13.6047,0.11879}, {966,-0.0509,13.6105,0.11881}, {967,-0.051,13.6163,0.11883}, {968,-0.0512,13.622,0.11885}, {969,-0.0513,13.6278,0.11887}, {970,-0.0515,13.6336,0.11889}, {971,-0.0516,13.6394,0.11891}, {972,-0.0518,13.6452,0.11892}, {973,-0.0519,13.6509,0.11894}, {974,-0.052,13.6567,0.11896}, {975,-0.0522,13.6625,0.11898}, {976,-0.0523,13.6682,0.119}, {977,-0.0525,13.674,0.11902}, {978,-0.0526,13.6797,0.11904}, {979,-0.0528,13.6855,0.11906}, {980,-0.0529,13.6912,0.11907}, {981,-0.053,13.697,0.11909}, {982,-0.0532,13.7027,0.11911}, {983,-0.0533,13.7085,0.11913}, {984,-0.0535,13.7142,0.11915}, {985,-0.0536,13.7199,0.11917}, {986,-0.0538,13.7257,0.11919}, {987,-0.0539,13.7314,0.1192}, {988,-0.054,13.7371,0.11922}, {989,-0.0542,13.7429,0.11924}, {990,-0.0543,13.7486,0.11926}, {991,-0.0545,13.7543,0.11928}, {992,-0.0546,13.76,0.1193}, {993,-0.0548,13.7657,0.11932}, {994,-0.0549,13.7715,0.11933}, {995,-0.055,13.7772,0.11935}, {996,-0.0552,13.7829,0.11937}, {997,-0.0553,13.7886,0.11939}, {998,-0.0555,13.7943,0.11941}, {999,-0.0556,13.8,0.11943}, {1000,-0.0558,13.8057,0.11945}, {1001,-0.0559,13.8114,0.11946}, {1002,-0.056,13.8171,0.11948}, {1003,-0.0562,13.8228,0.1195}, {1004,-0.0563,13.8285,0.11952}, {1005,-0.0565,13.8341,0.11954}, {1006,-0.0566,13.8398,0.11956}, {1007,-0.0567,13.8455,0.11957}, {1008,-0.0569,13.8512,0.11959}, {1009,-0.057,13.8569,0.11961}, {1010,-0.0572,13.8625,0.11963}, {1011,-0.0573,13.8682,0.11965}, {1012,-0.0574,13.8739,0.11967}, {1013,-0.0576,13.8796,0.11968}, {1014,-0.0577,13.8852,0.1197}, {1015,-0.0579,13.8909,0.11972}, {1016,-0.058,13.8966,0.11974}, {1017,-0.0581,13.9022,0.11976}, {1018,-0.0583,13.9079,0.11978}, {1019,-0.0584,13.9135,0.11979}, {1020,-0.0586,13.9192,0.11981}, {1021,-0.0587,13.9248,0.11983}, {1022,-0.0588,13.9305,0.11985}, {1023,-0.059,13.9361,0.11987}, {1024,-0.0591,13.9418,0.11988}, {1025,-0.0593,13.9474,0.1199}, {1026,-0.0594,13.9531,0.11992}, {1027,-0.0595,13.9587,0.11994}, {1028,-0.0597,13.9644,0.11996}, {1029,-0.0598,13.97,0.11998}, {1030,-0.06,13.9756,0.11999}, {1031,-0.0601,13.9813,0.12001}, {1032,-0.0602,13.9869,0.12003}, {1033,-0.0604,13.9925,0.12005}, {1034,-0.0605,13.9982,0.12007}, {1035,-0.0607,14.0038,0.12008}, {1036,-0.0608,14.0094,0.1201}, {1037,-0.0609,14.015,0.12012}, {1038,-0.0611,14.0207,0.12014}, {1039,-0.0612,14.0263,0.12016}, {1040,-0.0613,14.0319,0.12017}, {1041,-0.0615,14.0375,0.12019}, {1042,-0.0616,14.0431,0.12021}, {1043,-0.0618,14.0488,0.12023}, {1044,-0.0619,14.0544,0.12025}, {1045,-0.062,14.06,0.12026}, {1046,-0.0622,14.0656,0.12028}, {1047,-0.0623,14.0712,0.1203}, {1048,-0.0624,14.0768,0.12032}, {1049,-0.0626,14.0824,0.12033}, {1050,-0.0627,14.088,0.12035}, {1051,-0.0629,14.0936,0.12037}, {1052,-0.063,14.0992,0.12039}, {1053,-0.0631,14.1048,0.12041}, {1054,-0.0633,14.1104,0.12042}, {1055,-0.0634,14.116,0.12044}, {1056,-0.0635,14.1216,0.12046}, {1057,-0.0637,14.1272,0.12048}, {1058,-0.0638,14.1328,0.1205}, {1059,-0.0639,14.1384,0.12051}, {1060,-0.0641,14.144,0.12053}, {1061,-0.0642,14.1495,0.12055}, {1062,-0.0644,14.1551,0.12057}, {1063,-0.0645,14.1607,0.12058}, {1064,-0.0646,14.1663,0.1206}, {1065,-0.0648,14.1719,0.12062}, {1066,-0.0649,14.1775,0.12064}, {1067,-0.065,14.183,0.12065}, {1068,-0.0652,14.1886,0.12067}, {1069,-0.0653,14.1942,0.12069}, {1070,-0.0654,14.1998,0.12071}, {1071,-0.0656,14.2053,0.12073}, {1072,-0.0657,14.2109,0.12074}, {1073,-0.0658,14.2165,0.12076}, {1074,-0.066,14.2221,0.12078}, {1075,-0.0661,14.2276,0.1208}, {1076,-0.0663,14.2332,0.12081}, {1077,-0.0664,14.2388,0.12083}, {1078,-0.0665,14.2443,0.12085}, {1079,-0.0667,14.2499,0.12087}, {1080,-0.0668,14.2554,0.12088}, {1081,-0.0669,14.261,0.1209}, {1082,-0.0671,14.2666,0.12092}, {1083,-0.0672,14.2721,0.12094}, {1084,-0.0673,14.2777,0.12095}, {1085,-0.0675,14.2832,0.12097}, {1086,-0.0676,14.2888,0.12099}, {1087,-0.0677,14.2944,0.12101}, {1088,-0.0679,14.2999,0.12102}, {1089,-0.068,14.3055,0.12104}, {1090,-0.0681,14.311,0.12106}, {1091,-0.0683,14.3166,0.12108}, {1092,-0.0684,14.3221,0.12109}, {1093,-0.0685,14.3277,0.12111}, {1094,-0.0687,14.3332,0.12113}, {1095,-0.0688,14.3387,0.12115}, {1096,-0.0689,14.3443,0.12116}, {1097,-0.0691,14.3498,0.12118}, {1098,-0.0692,14.3554,0.1212}, {1099,-0.0693,14.3609,0.12121}, {1100,-0.0695,14.3665,0.12123}, {1101,-0.0696,14.372,0.12125}, {1102,-0.0697,14.3775,0.12127}, {1103,-0.0699,14.3831,0.12128}, {1104,-0.07,14.3886,0.1213}, {1105,-0.0701,14.3942,0.12132}, {1106,-0.0703,14.3997,0.12134}, {1107,-0.0704,14.4052,0.12135}, {1108,-0.0705,14.4108,0.12137}, {1109,-0.0707,14.4163,0.12139}, {1110,-0.0708,14.4218,0.12141}, {1111,-0.0709,14.4274,0.12142}, {1112,-0.0711,14.4329,0.12144}, {1113,-0.0712,14.4384,0.12146}, {1114,-0.0713,14.4439,0.12147}, {1115,-0.0715,14.4495,0.12149}, {1116,-0.0716,14.455,0.12151}, {1117,-0.0717,14.4605,0.12153}, {1118,-0.0718,14.4661,0.12154}, {1119,-0.072,14.4716,0.12156}, {1120,-0.0721,14.4771,0.12158}, {1121,-0.0722,14.4826,0.12159}, {1122,-0.0724,14.4881,0.12161}, {1123,-0.0725,14.4937,0.12163}, {1124,-0.0726,14.4992,0.12165}, {1125,-0.0728,14.5047,0.12166}, {1126,-0.0729,14.5102,0.12168}, {1127,-0.073,14.5158,0.1217}, {1128,-0.0732,14.5213,0.12171}, {1129,-0.0733,14.5268,0.12173}, {1130,-0.0734,14.5323,0.12175}, {1131,-0.0736,14.5378,0.12177}, {1132,-0.0737,14.5433,0.12178}, {1133,-0.0738,14.5489,0.1218}, {1134,-0.0739,14.5544,0.12182}, {1135,-0.0741,14.5599,0.12183}, {1136,-0.0742,14.5654,0.12185}, {1137,-0.0743,14.5709,0.12187}, {1138,-0.0745,14.5764,0.12189}, {1139,-0.0746,14.5819,0.1219}, {1140,-0.0747,14.5875,0.12192}, {1141,-0.0749,14.593,0.12194}, {1142,-0.075,14.5985,0.12195}, {1143,-0.0751,14.604,0.12197}, {1144,-0.0752,14.6095,0.12199}, {1145,-0.0754,14.615,0.122}, {1146,-0.0755,14.6205,0.12202}, {1147,-0.0756,14.626,0.12204}, {1148,-0.0758,14.6315,0.12206}, {1149,-0.0759,14.6371,0.12207}, {1150,-0.076,14.6426,0.12209}, {1151,-0.0762,14.6481,0.12211}, {1152,-0.0763,14.6536,0.12212}, {1153,-0.0764,14.6591,0.12214}, {1154,-0.0765,14.6646,0.12216}, {1155,-0.0767,14.6701,0.12217}, {1156,-0.0768,14.6756,0.12219}, {1157,-0.0769,14.6811,0.12221}, {1158,-0.0771,14.6866,0.12222}, {1159,-0.0772,14.6921,0.12224}, {1160,-0.0773,14.6976,0.12226}, {1161,-0.0774,14.7032,0.12228}, {1162,-0.0776,14.7087,0.12229}, {1163,-0.0777,14.7142,0.12231}, {1164,-0.0778,14.7197,0.12233}, {1165,-0.078,14.7252,0.12234}, {1166,-0.0781,14.7307,0.12236}, {1167,-0.0782,14.7362,0.12238}, {1168,-0.0783,14.7417,0.12239}, {1169,-0.0785,14.7472,0.12241}, {1170,-0.0786,14.7527,0.12243}, {1171,-0.0787,14.7582,0.12244}, {1172,-0.0788,14.7637,0.12246}, {1173,-0.079,14.7692,0.12248}, {1174,-0.0791,14.7747,0.12249}, {1175,-0.0792,14.7802,0.12251}, {1176,-0.0794,14.7857,0.12253}, {1177,-0.0795,14.7912,0.12254}, {1178,-0.0796,14.7967,0.12256}, {1179,-0.0797,14.8022,0.12258}, {1180,-0.0799,14.8077,0.12259}, {1181,-0.08,14.8132,0.12261}, {1182,-0.0801,14.8187,0.12263}, {1183,-0.0802,14.8242,0.12265}, {1184,-0.0804,14.8297,0.12266}, {1185,-0.0805,14.8352,0.12268}, {1186,-0.0806,14.8407,0.1227}, {1187,-0.0808,14.8462,0.12271}, {1188,-0.0809,14.8517,0.12273}, {1189,-0.081,14.8572,0.12275}, {1190,-0.0811,14.8627,0.12276}, {1191,-0.0813,14.8682,0.12278}, {1192,-0.0814,14.8737,0.1228}, {1193,-0.0815,14.8792,0.12281}, {1194,-0.0816,14.8847,0.12283}, {1195,-0.0818,14.8902,0.12285}, {1196,-0.0819,14.8957,0.12286}, {1197,-0.082,14.9012,0.12288}, {1198,-0.0821,14.9067,0.1229}, {1199,-0.0823,14.9122,0.12291}, {1200,-0.0824,14.9177,0.12293}, {1201,-0.0825,14.9232,0.12295}, {1202,-0.0826,14.9287,0.12296}, {1203,-0.0828,14.9342,0.12298}, {1204,-0.0829,14.9397,0.123}, {1205,-0.083,14.9452,0.12301}, {1206,-0.0831,14.9507,0.12303}, {1207,-0.0833,14.9562,0.12305}, {1208,-0.0834,14.9617,0.12306}, {1209,-0.0835,14.9672,0.12308}, {1210,-0.0836,14.9727,0.1231}, {1211,-0.0838,14.9782,0.12311}, {1212,-0.0839,14.9837,0.12313}, {1213,-0.084,14.9892,0.12315}, {1214,-0.0841,14.9947,0.12316}, {1215,-0.0843,15.0002,0.12318}, {1216,-0.0844,15.0057,0.1232}, {1217,-0.0845,15.0112,0.12321}, {1218,-0.0846,15.0167,0.12323}, {1219,-0.0848,15.0222,0.12325}, {1220,-0.0849,15.0277,0.12326}, {1221,-0.085,15.0332,0.12328}, {1222,-0.0851,15.0387,0.1233}, {1223,-0.0853,15.0442,0.12331}, {1224,-0.0854,15.0497,0.12333}, {1225,-0.0855,15.0552,0.12335}, {1226,-0.0856,15.0607,0.12336}, {1227,-0.0858,15.0662,0.12338}, {1228,-0.0859,15.0717,0.1234}, {1229,-0.086,15.0772,0.12342}, {1230,-0.0861,15.0827,0.12343}, {1231,-0.0863,15.0882,0.12345}, {1232,-0.0864,15.0937,0.12347}, {1233,-0.0865,15.0992,0.12348}, {1234,-0.0866,15.1047,0.1235}, {1235,-0.0868,15.1102,0.12352}, {1236,-0.0869,15.1157,0.12353}, {1237,-0.087,15.1212,0.12355}, {1238,-0.0871,15.1267,0.12357}, {1239,-0.0872,15.1322,0.12358}, {1240,-0.0874,15.1377,0.1236}, {1241,-0.0875,15.1432,0.12362}, {1242,-0.0876,15.1487,0.12363}, {1243,-0.0877,15.1542,0.12365}, {1244,-0.0879,15.1596,0.12367}, {1245,-0.088,15.1651,0.12368}, {1246,-0.0881,15.1706,0.1237}, {1247,-0.0882,15.1761,0.12372}, {1248,-0.0883,15.1816,0.12373}, {1249,-0.0885,15.1871,0.12375}, {1250,-0.0886,15.1926,0.12377}, {1251,-0.0887,15.1981,0.12379}, {1252,-0.0888,15.2036,0.1238}, {1253,-0.089,15.2091,0.12382}, {1254,-0.0891,15.2146,0.12384}, {1255,-0.0892,15.2201,0.12385}, {1256,-0.0893,15.2256,0.12387}, {1257,-0.0894,15.2311,0.12389}, {1258,-0.0896,15.2366,0.1239}, {1259,-0.0897,15.2421,0.12392}, {1260,-0.0898,15.2476,0.12394}, {1261,-0.0899,15.2531,0.12395}, {1262,-0.0901,15.2586,0.12397}, {1263,-0.0902,15.2641,0.12399}, {1264,-0.0903,15.2696,0.12401}, {1265,-0.0904,15.2751,0.12402}, {1266,-0.0905,15.2806,0.12404}, {1267,-0.0907,15.2861,0.12406}, {1268,-0.0908,15.2916,0.12407}, {1269,-0.0909,15.2971,0.12409}, {1270,-0.091,15.3026,0.12411}, {1271,-0.0912,15.3081,0.12412}, {1272,-0.0913,15.3135,0.12414}, {1273,-0.0914,15.319,0.12416}, {1274,-0.0915,15.3245,0.12418}, {1275,-0.0916,15.33,0.12419}, {1276,-0.0918,15.3355,0.12421}, {1277,-0.0919,15.341,0.12423}, {1278,-0.092,15.3465,0.12424}, {1279,-0.0921,15.352,0.12426}, {1280,-0.0922,15.3575,0.12428}, {1281,-0.0924,15.363,0.1243}, {1282,-0.0925,15.3685,0.12431}, {1283,-0.0926,15.374,0.12433}, {1284,-0.0927,15.3795,0.12435}, {1285,-0.0928,15.385,0.12436}, {1286,-0.093,15.3905,0.12438}, {1287,-0.0931,15.396,0.1244}, {1288,-0.0932,15.4015,0.12442}, {1289,-0.0933,15.407,0.12443}, {1290,-0.0934,15.4125,0.12445}, {1291,-0.0936,15.4179,0.12447}, {1292,-0.0937,15.4234,0.12448}, {1293,-0.0938,15.4289,0.1245}, {1294,-0.0939,15.4344,0.12452}, {1295,-0.094,15.4399,0.12454}, {1296,-0.0942,15.4454,0.12455}, {1297,-0.0943,15.4509,0.12457}, {1298,-0.0944,15.4564,0.12459}, {1299,-0.0945,15.4619,0.12461}, {1300,-0.0946,15.4674,0.12462}, {1301,-0.0948,15.4729,0.12464}, {1302,-0.0949,15.4784,0.12466}, {1303,-0.095,15.4839,0.12467}, {1304,-0.0951,15.4894,0.12469}, {1305,-0.0952,15.4948,0.12471}, {1306,-0.0954,15.5003,0.12473}, {1307,-0.0955,15.5058,0.12474}, {1308,-0.0956,15.5113,0.12476}, {1309,-0.0957,15.5168,0.12478}, {1310,-0.0958,15.5223,0.1248}, {1311,-0.0959,15.5278,0.12481}, {1312,-0.0961,15.5333,0.12483}, {1313,-0.0962,15.5388,0.12485}, {1314,-0.0963,15.5443,0.12487}, {1315,-0.0964,15.5498,0.12488}, {1316,-0.0965,15.5552,0.1249}, {1317,-0.0967,15.5607,0.12492}, {1318,-0.0968,15.5662,0.12494}, {1319,-0.0969,15.5717,0.12495}, {1320,-0.097,15.5772,0.12497}, {1321,-0.0971,15.5827,0.12499}, {1322,-0.0972,15.5882,0.12501}, {1323,-0.0974,15.5937,0.12502}, {1324,-0.0975,15.5992,0.12504}, {1325,-0.0976,15.6047,0.12506}, {1326,-0.0977,15.6101,0.12508}, {1327,-0.0978,15.6156,0.1251}, {1328,-0.098,15.6211,0.12511}, {1329,-0.0981,15.6266,0.12513}, {1330,-0.0982,15.6321,0.12515}, {1331,-0.0983,15.6376,0.12517}, {1332,-0.0984,15.6431,0.12518}, {1333,-0.0985,15.6486,0.1252}, {1334,-0.0987,15.654,0.12522}, {1335,-0.0988,15.6595,0.12524}, {1336,-0.0989,15.665,0.12526}, {1337,-0.099,15.6705,0.12527}, {1338,-0.0991,15.676,0.12529}, {1339,-0.0992,15.6815,0.12531}, {1340,-0.0994,15.687,0.12533}, {1341,-0.0995,15.6924,0.12534}, {1342,-0.0996,15.6979,0.12536}, {1343,-0.0997,15.7034,0.12538}, {1344,-0.0998,15.7089,0.1254}, {1345,-0.0999,15.7144,0.12542}, {1346,-0.1001,15.7199,0.12543}, {1347,-0.1002,15.7253,0.12545}, {1348,-0.1003,15.7308,0.12547}, {1349,-0.1004,15.7363,0.12549}, {1350,-0.1005,15.7418,0.12551}, {1351,-0.1006,15.7473,0.12552}, {1352,-0.1008,15.7528,0.12554}, {1353,-0.1009,15.7582,0.12556}, {1354,-0.101,15.7637,0.12558}, {1355,-0.1011,15.7692,0.1256}, {1356,-0.1012,15.7747,0.12561}, {1357,-0.1013,15.7802,0.12563}, {1358,-0.1015,15.7856,0.12565}, {1359,-0.1016,15.7911,0.12567}, {1360,-0.1017,15.7966,0.12569}, {1361,-0.1018,15.8021,0.1257}, {1362,-0.1019,15.8076,0.12572}, {1363,-0.102,15.813,0.12574}, {1364,-0.1022,15.8185,0.12576}, {1365,-0.1023,15.824,0.12578}, {1366,-0.1024,15.8295,0.1258}, {1367,-0.1025,15.835,0.12581}, {1368,-0.1026,15.8404,0.12583}, {1369,-0.1027,15.8459,0.12585}, {1370,-0.1028,15.8514,0.12587}, {1371,-0.103,15.8569,0.12589}, {1372,-0.1031,15.8623,0.12591}, {1373,-0.1032,15.8678,0.12592}, {1374,-0.1033,15.8733,0.12594}, {1375,-0.1034,15.8788,0.12596}, {1376,-0.1035,15.8842,0.12598}, {1377,-0.1037,15.8897,0.126}, {1378,-0.1038,15.8952,0.12602}, {1379,-0.1039,15.9007,0.12603}, {1380,-0.104,15.9061,0.12605}, {1381,-0.1041,15.9116,0.12607}, {1382,-0.1042,15.9171,0.12609}, {1383,-0.1043,15.9226,0.12611}, {1384,-0.1045,15.928,0.12613}, {1385,-0.1046,15.9335,0.12615}, {1386,-0.1047,15.939,0.12616}, {1387,-0.1048,15.9445,0.12618}, {1388,-0.1049,15.9499,0.1262}, {1389,-0.105,15.9554,0.12622}, {1390,-0.1051,15.9609,0.12624}, {1391,-0.1053,15.9664,0.12626}, {1392,-0.1054,15.9718,0.12627}, {1393,-0.1055,15.9773,0.12629}, {1394,-0.1056,15.9828,0.12631}, {1395,-0.1057,15.9882,0.12633}, {1396,-0.1058,15.9937,0.12635}, {1397,-0.1059,15.9992,0.12637}, {1398,-0.1061,16.0047,0.12639}, {1399,-0.1062,16.0101,0.12641}, {1400,-0.1063,16.0156,0.12642}, {1401,-0.1064,16.0211,0.12644}, {1402,-0.1065,16.0265,0.12646}, {1403,-0.1066,16.032,0.12648}, {1404,-0.1067,16.0375,0.1265}, {1405,-0.1068,16.043,0.12652}, {1406,-0.107,16.0484,0.12654}, {1407,-0.1071,16.0539,0.12656}, {1408,-0.1072,16.0594,0.12657}, {1409,-0.1073,16.0648,0.12659}, {1410,-0.1074,16.0703,0.12661}, {1411,-0.1075,16.0758,0.12663}, {1412,-0.1076,16.0812,0.12665}, {1413,-0.1078,16.0867,0.12667}, {1414,-0.1079,16.0922,0.12669}, {1415,-0.108,16.0976,0.12671}, {1416,-0.1081,16.1031,0.12673}, {1417,-0.1082,16.1086,0.12674}, {1418,-0.1083,16.114,0.12676}, {1419,-0.1084,16.1195,0.12678}, {1420,-0.1085,16.125,0.1268}, {1421,-0.1087,16.1304,0.12682}, {1422,-0.1088,16.1359,0.12684}, {1423,-0.1089,16.1414,0.12686}, {1424,-0.109,16.1468,0.12688}, {1425,-0.1091,16.1523,0.1269}, {1426,-0.1092,16.1578,0.12692}, {1427,-0.1093,16.1632,0.12693}, {1428,-0.1094,16.1687,0.12695}, {1429,-0.1096,16.1742,0.12697}, {1430,-0.1097,16.1796,0.12699}, {1431,-0.1098,16.1851,0.12701}, {1432,-0.1099,16.1906,0.12703}, {1433,-0.11,16.196,0.12705}, {1434,-0.1101,16.2015,0.12707}, {1435,-0.1102,16.2069,0.12709}, {1436,-0.1103,16.2124,0.12711}, {1437,-0.1105,16.2179,0.12713}, {1438,-0.1106,16.2233,0.12715}, {1439,-0.1107,16.2288,0.12717}, {1440,-0.1108,16.2343,0.12718}, {1441,-0.1109,16.2397,0.1272}, {1442,-0.111,16.2452,0.12722}, {1443,-0.1111,16.2506,0.12724}, {1444,-0.1112,16.2561,0.12726}, {1445,-0.1113,16.2616,0.12728}, {1446,-0.1115,16.267,0.1273}, {1447,-0.1116,16.2725,0.12732}, {1448,-0.1117,16.2779,0.12734}, {1449,-0.1118,16.2834,0.12736}, {1450,-0.1119,16.2889,0.12738}, {1451,-0.112,16.2943,0.1274}, {1452,-0.1121,16.2998,0.12742}, {1453,-0.1122,16.3053,0.12744}, {1454,-0.1123,16.3107,0.12746}, {1455,-0.1125,16.3162,0.12747}, {1456,-0.1126,16.3216,0.12749}, {1457,-0.1127,16.3271,0.12751}, {1458,-0.1128,16.3325,0.12753}, {1459,-0.1129,16.338,0.12755}, {1460,-0.113,16.3435,0.12757}, {1461,-0.1131,16.3489,0.12759}, {1462,-0.1132,16.3544,0.12761}, {1463,-0.1133,16.3598,0.12763}, {1464,-0.1134,16.3653,0.12765}, {1465,-0.1136,16.3708,0.12767}, {1466,-0.1137,16.3762,0.12769}, {1467,-0.1138,16.3817,0.12771}, {1468,-0.1139,16.3871,0.12773}, {1469,-0.114,16.3926,0.12775}, {1470,-0.1141,16.3981,0.12777}, {1471,-0.1142,16.4035,0.12779}, {1472,-0.1143,16.409,0.12781}, {1473,-0.1144,16.4144,0.12783}, {1474,-0.1146,16.4199,0.12785}, {1475,-0.1147,16.4253,0.12787}, {1476,-0.1148,16.4308,0.12789}, {1477,-0.1149,16.4363,0.12791}, {1478,-0.115,16.4417,0.12793}, {1479,-0.1151,16.4472,0.12795}, {1480,-0.1152,16.4526,0.12797}, {1481,-0.1153,16.4581,0.12799}, {1482,-0.1154,16.4635,0.12801}, {1483,-0.1155,16.469,0.12803}, {1484,-0.1156,16.4745,0.12804}, {1485,-0.1158,16.4799,0.12806}, {1486,-0.1159,16.4854,0.12808}, {1487,-0.116,16.4908,0.1281}, {1488,-0.1161,16.4963,0.12812}, {1489,-0.1162,16.5017,0.12814}, {1490,-0.1163,16.5072,0.12816}, {1491,-0.1164,16.5126,0.12818}, {1492,-0.1165,16.5181,0.1282}, {1493,-0.1166,16.5236,0.12822}, {1494,-0.1167,16.529,0.12824}, {1495,-0.1168,16.5345,0.12826}, {1496,-0.117,16.5399,0.12828}, {1497,-0.1171,16.5454,0.1283}, {1498,-0.1172,16.5508,0.12832}, {1499,-0.1173,16.5563,0.12834}, {1500,-0.1174,16.5618,0.12836}, {1501,-0.1175,16.5672,0.12838}, {1502,-0.1176,16.5727,0.1284}, {1503,-0.1177,16.5781,0.12842}, {1504,-0.1178,16.5836,0.12844}, {1505,-0.1179,16.589,0.12846}, {1506,-0.118,16.5945,0.12848}, {1507,-0.1182,16.5999,0.1285}, {1508,-0.1183,16.6054,0.12852}, {1509,-0.1184,16.6109,0.12854}, {1510,-0.1185,16.6163,0.12856}, {1511,-0.1186,16.6218,0.12858}, {1512,-0.1187,16.6272,0.1286}, {1513,-0.1188,16.6327,0.12863}, {1514,-0.1189,16.6381,0.12865}, {1515,-0.119,16.6436,0.12867}, {1516,-0.1191,16.649,0.12869}, {1517,-0.1192,16.6545,0.12871}, {1518,-0.1193,16.6599,0.12873}, {1519,-0.1195,16.6654,0.12875}, {1520,-0.1196,16.6709,0.12877}, {1521,-0.1197,16.6763,0.12879}, {1522,-0.1198,16.6818,0.12881}, {1523,-0.1199,16.6872,0.12883}, {1524,-0.12,16.6927,0.12885}, {1525,-0.1201,16.6981,0.12887}, {1526,-0.1202,16.7036,0.12889}, {1527,-0.1203,16.709,0.12891}, {1528,-0.1204,16.7145,0.12893}, {1529,-0.1205,16.72,0.12895}, {1530,-0.1206,16.7254,0.12897}, {1531,-0.1207,16.7309,0.12899}, {1532,-0.1208,16.7363,0.12901}, {1533,-0.121,16.7418,0.12903}, {1534,-0.1211,16.7472,0.12905}, {1535,-0.1212,16.7527,0.12907}, {1536,-0.1213,16.7581,0.12909}, {1537,-0.1214,16.7636,0.12911}, {1538,-0.1215,16.769,0.12913}, {1539,-0.1216,16.7745,0.12915}, {1540,-0.1217,16.78,0.12917}, {1541,-0.1218,16.7854,0.12919}, {1542,-0.1219,16.7909,0.12921}, {1543,-0.122,16.7963,0.12923}, {1544,-0.1221,16.8018,0.12925}, {1545,-0.1222,16.8072,0.12928}, {1546,-0.1223,16.8127,0.1293}, {1547,-0.1225,16.8181,0.12932}, {1548,-0.1226,16.8236,0.12934}, {1549,-0.1227,16.829,0.12936}, {1550,-0.1228,16.8345,0.12938}, {1551,-0.1229,16.84,0.1294}, {1552,-0.123,16.8454,0.12942}, {1553,-0.1231,16.8509,0.12944}, {1554,-0.1232,16.8563,0.12946}, {1555,-0.1233,16.8618,0.12948}, {1556,-0.1234,16.8672,0.1295}, {1557,-0.1235,16.8727,0.12952}, {1558,-0.1236,16.8781,0.12954}, {1559,-0.1237,16.8836,0.12956}, {1560,-0.1238,16.8891,0.12958}, {1561,-0.1239,16.8945,0.1296}, {1562,-0.124,16.9,0.12962}, {1563,-0.1242,16.9054,0.12965}, {1564,-0.1243,16.9109,0.12967}, {1565,-0.1244,16.9163,0.12969}, {1566,-0.1245,16.9218,0.12971}, {1567,-0.1246,16.9272,0.12973}, {1568,-0.1247,16.9327,0.12975}, {1569,-0.1248,16.9382,0.12977}, {1570,-0.1249,16.9436,0.12979}, {1571,-0.125,16.9491,0.12981}, {1572,-0.1251,16.9545,0.12983}, {1573,-0.1252,16.96,0.12985}, {1574,-0.1253,16.9654,0.12987}, {1575,-0.1254,16.9709,0.12989}, {1576,-0.1255,16.9763,0.12991}, {1577,-0.1256,16.9818,0.12993}, {1578,-0.1257,16.9873,0.12996}, {1579,-0.1258,16.9927,0.12998}, {1580,-0.1259,16.9982,0.13}, {1581,-0.126,17.0036,0.13002}, {1582,-0.1262,17.0091,0.13004}, {1583,-0.1263,17.0145,0.13006}, {1584,-0.1264,17.02,0.13008}, {1585,-0.1265,17.0255,0.1301}, {1586,-0.1266,17.0309,0.13012}, {1587,-0.1267,17.0364,0.13014}, {1588,-0.1268,17.0418,0.13016}, {1589,-0.1269,17.0473,0.13018}, {1590,-0.127,17.0527,0.1302}, {1591,-0.1271,17.0582,0.13023}, {1592,-0.1272,17.0636,0.13025}, {1593,-0.1273,17.0691,0.13027}, {1594,-0.1274,17.0746,0.13029}, {1595,-0.1275,17.08,0.13031}, {1596,-0.1276,17.0855,0.13033}, {1597,-0.1277,17.0909,0.13035}, {1598,-0.1278,17.0964,0.13037}, {1599,-0.1279,17.1018,0.13039}, {1600,-0.128,17.1073,0.13041}, {1601,-0.1281,17.1127,0.13043}, {1602,-0.1282,17.1182,0.13045}, {1603,-0.1283,17.1237,0.13047}, {1604,-0.1285,17.1291,0.1305}, {1605,-0.1286,17.1346,0.13052}, {1606,-0.1287,17.14,0.13054}, {1607,-0.1288,17.1455,0.13056}, {1608,-0.1289,17.1509,0.13058}, {1609,-0.129,17.1564,0.1306}, {1610,-0.1291,17.1618,0.13062}, {1611,-0.1292,17.1673,0.13064}, {1612,-0.1293,17.1728,0.13066}, {1613,-0.1294,17.1782,0.13068}, {1614,-0.1295,17.1837,0.1307}, {1615,-0.1296,17.1891,0.13073}, {1616,-0.1297,17.1946,0.13075}, {1617,-0.1298,17.2,0.13077}, {1618,-0.1299,17.2055,0.13079}, {1619,-0.13,17.2109,0.13081}, {1620,-0.1301,17.2164,0.13083}, {1621,-0.1302,17.2218,0.13085}, {1622,-0.1303,17.2273,0.13087}, {1623,-0.1304,17.2328,0.13089}, {1624,-0.1305,17.2382,0.13091}, {1625,-0.1306,17.2437,0.13093}, {1626,-0.1307,17.2491,0.13096}, {1627,-0.1308,17.2546,0.13098}, {1628,-0.1309,17.26,0.131}, {1629,-0.131,17.2655,0.13102}, {1630,-0.1311,17.2709,0.13104}, {1631,-0.1312,17.2764,0.13106}, {1632,-0.1314,17.2818,0.13108}, {1633,-0.1315,17.2873,0.1311}, {1634,-0.1316,17.2927,0.13112}, {1635,-0.1317,17.2982,0.13114}, {1636,-0.1318,17.3037,0.13117}, {1637,-0.1319,17.3091,0.13119}, {1638,-0.132,17.3146,0.13121}, {1639,-0.1321,17.32,0.13123}, {1640,-0.1322,17.3255,0.13125}, {1641,-0.1323,17.3309,0.13127}, {1642,-0.1324,17.3364,0.13129}, {1643,-0.1325,17.3418,0.13131}, {1644,-0.1326,17.3473,0.13133}, {1645,-0.1327,17.3527,0.13135}, {1646,-0.1328,17.3582,0.13137}, {1647,-0.1329,17.3636,0.1314}, {1648,-0.133,17.3691,0.13142}, {1649,-0.1331,17.3745,0.13144}, {1650,-0.1332,17.38,0.13146}, {1651,-0.1333,17.3854,0.13148}, {1652,-0.1334,17.3909,0.1315}, {1653,-0.1335,17.3963,0.13152}, {1654,-0.1336,17.4018,0.13154}, {1655,-0.1337,17.4072,0.13156}, {1656,-0.1338,17.4127,0.13159}, {1657,-0.1339,17.4181,0.13161}, {1658,-0.134,17.4236,0.13163}, {1659,-0.1341,17.429,0.13165}, {1660,-0.1342,17.4345,0.13167}, {1661,-0.1343,17.4399,0.13169}, {1662,-0.1344,17.4454,0.13171}, {1663,-0.1345,17.4508,0.13173}, {1664,-0.1346,17.4563,0.13175}, {1665,-0.1347,17.4617,0.13177}, {1666,-0.1348,17.4672,0.1318}, {1667,-0.1349,17.4726,0.13182}, {1668,-0.135,17.4781,0.13184}, {1669,-0.1351,17.4835,0.13186}, {1670,-0.1352,17.489,0.13188}, {1671,-0.1353,17.4944,0.1319}, {1672,-0.1354,17.4999,0.13192}, {1673,-0.1355,17.5053,0.13194}, {1674,-0.1356,17.5107,0.13196}, {1675,-0.1357,17.5162,0.13199}, {1676,-0.1358,17.5216,0.13201}, {1677,-0.1359,17.5271,0.13203}, {1678,-0.136,17.5325,0.13205}, {1679,-0.1361,17.538,0.13207}, {1680,-0.1362,17.5434,0.13209}, {1681,-0.1363,17.5489,0.13211}, {1682,-0.1364,17.5543,0.13213}, {1683,-0.1365,17.5598,0.13215}, {1684,-0.1366,17.5652,0.13218}, {1685,-0.1367,17.5706,0.1322}, {1686,-0.1368,17.5761,0.13222}, {1687,-0.1369,17.5815,0.13224}, {1688,-0.137,17.587,0.13226}, {1689,-0.1371,17.5924,0.13228}, {1690,-0.1373,17.5979,0.1323}, {1691,-0.1374,17.6033,0.13232}, {1692,-0.1375,17.6087,0.13234}, {1693,-0.1376,17.6142,0.13237}, {1694,-0.1377,17.6196,0.13239}, {1695,-0.1378,17.6251,0.13241}, {1696,-0.1379,17.6305,0.13243}, {1697,-0.138,17.636,0.13245}, {1698,-0.1381,17.6414,0.13247}, {1699,-0.1382,17.6468,0.13249}, {1700,-0.1383,17.6523,0.13251}, {1701,-0.1384,17.6577,0.13253}, {1702,-0.1385,17.6632,0.13256}, {1703,-0.1386,17.6686,0.13258}, {1704,-0.1387,17.674,0.1326}, {1705,-0.1388,17.6795,0.13262}, {1706,-0.1389,17.6849,0.13264}, {1707,-0.139,17.6904,0.13266}, {1708,-0.1391,17.6958,0.13268}, {1709,-0.1392,17.7012,0.1327}, {1710,-0.1393,17.7067,0.13272}, {1711,-0.1394,17.7121,0.13275}, {1712,-0.1395,17.7175,0.13277}, {1713,-0.1396,17.723,0.13279}, {1714,-0.1397,17.7284,0.13281}, {1715,-0.1398,17.7339,0.13283}, {1716,-0.1399,17.7393,0.13285}, {1717,-0.14,17.7447,0.13287}, {1718,-0.1401,17.7502,0.13289}, {1719,-0.1402,17.7556,0.13291}, {1720,-0.1403,17.761,0.13294}, {1721,-0.1404,17.7665,0.13296}, {1722,-0.1404,17.7719,0.13298}, {1723,-0.1405,17.7773,0.133}, {1724,-0.1406,17.7828,0.13302}, {1725,-0.1407,17.7882,0.13304}, {1726,-0.1408,17.7936,0.13306}, {1727,-0.1409,17.7991,0.13308}, {1728,-0.141,17.8045,0.1331}, {1729,-0.1411,17.8099,0.13313}, {1730,-0.1412,17.8154,0.13315}, {1731,-0.1413,17.8208,0.13317}, {1732,-0.1414,17.8262,0.13319}, {1733,-0.1415,17.8317,0.13321}, {1734,-0.1416,17.8371,0.13323}, {1735,-0.1417,17.8425,0.13325}, {1736,-0.1418,17.848,0.13327}, {1737,-0.1419,17.8534,0.13329}, {1738,-0.142,17.8588,0.13332}, {1739,-0.1421,17.8642,0.13334}, {1740,-0.1422,17.8697,0.13336}, {1741,-0.1423,17.8751,0.13338}, {1742,-0.1424,17.8805,0.1334}, {1743,-0.1425,17.886,0.13342}, {1744,-0.1426,17.8914,0.13344}, {1745,-0.1427,17.8968,0.13346}, {1746,-0.1428,17.9022,0.13348}, {1747,-0.1429,17.9077,0.13351}, {1748,-0.143,17.9131,0.13353}, {1749,-0.1431,17.9185,0.13355}, {1750,-0.1432,17.924,0.13357}, {1751,-0.1433,17.9294,0.13359}, {1752,-0.1434,17.9348,0.13361}, {1753,-0.1435,17.9402,0.13363}, {1754,-0.1436,17.9457,0.13365}, {1755,-0.1437,17.9511,0.13367}, {1756,-0.1438,17.9565,0.1337}, {1757,-0.1439,17.9619,0.13372}, {1758,-0.144,17.9674,0.13374}, {1759,-0.1441,17.9728,0.13376}, {1760,-0.1442,17.9782,0.13378}, {1761,-0.1443,17.9836,0.1338}, {1762,-0.1444,17.989,0.13382}, {1763,-0.1445,17.9945,0.13384}, {1764,-0.1446,17.9999,0.13386}, {1765,-0.1447,18.0053,0.13389}, {1766,-0.1448,18.0107,0.13391}, {1767,-0.1449,18.0162,0.13393}, {1768,-0.145,18.0216,0.13395}, {1769,-0.1451,18.027,0.13397}, {1770,-0.1452,18.0324,0.13399}, {1771,-0.1453,18.0378,0.13401}, {1772,-0.1454,18.0432,0.13403}, {1773,-0.1455,18.0487,0.13405}, {1774,-0.1456,18.0541,0.13408}, {1775,-0.1457,18.0595,0.1341}, {1776,-0.1458,18.0649,0.13412}, {1777,-0.1459,18.0703,0.13414}, {1778,-0.146,18.0758,0.13416}, {1779,-0.1461,18.0812,0.13418}, {1780,-0.1462,18.0866,0.1342}, {1781,-0.1462,18.092,0.13422}, {1782,-0.1463,18.0974,0.13424}, {1783,-0.1464,18.1028,0.13426}, {1784,-0.1465,18.1082,0.13429}, {1785,-0.1466,18.1137,0.13431}, {1786,-0.1467,18.1191,0.13433}, {1787,-0.1468,18.1245,0.13435}, {1788,-0.1469,18.1299,0.13437}, {1789,-0.147,18.1353,0.13439}, {1790,-0.1471,18.1407,0.13441}, {1791,-0.1472,18.1461,0.13443}, {1792,-0.1473,18.1515,0.13445}, {1793,-0.1474,18.157,0.13448}, {1794,-0.1475,18.1624,0.1345}, {1795,-0.1476,18.1678,0.13452}, {1796,-0.1477,18.1732,0.13454}, {1797,-0.1478,18.1786,0.13456}, {1798,-0.1479,18.184,0.13458}, {1799,-0.148,18.1894,0.1346}, {1800,-0.1481,18.1948,0.13462}, {1801,-0.1482,18.2002,0.13464}, {1802,-0.1483,18.2056,0.13466}, {1803,-0.1484,18.211,0.13469}, {1804,-0.1485,18.2164,0.13471}, {1805,-0.1486,18.2218,0.13473}, {1806,-0.1487,18.2272,0.13475}, {1807,-0.1488,18.2327,0.13477}, {1808,-0.1489,18.2381,0.13479}, {1809,-0.149,18.2435,0.13481}, {1810,-0.1491,18.2489,0.13483}, {1811,-0.1491,18.2543,0.13485}, {1812,-0.1492,18.2597,0.13487}, {1813,-0.1493,18.2651,0.1349}, {1814,-0.1494,18.2705,0.13492}, {1815,-0.1495,18.2759,0.13494}, {1816,-0.1496,18.2813,0.13496}, {1817,-0.1497,18.2867,0.13498}, {1818,-0.1498,18.2921,0.135}, {1819,-0.1499,18.2975,0.13502}, {1820,-0.15,18.3029,0.13504}, {1821,-0.1501,18.3083,0.13506}, {1822,-0.1502,18.3137,0.13508}, {1823,-0.1503,18.319,0.13511}, {1824,-0.1504,18.3244,0.13513}, {1825,-0.1505,18.3298,0.13515}, {1826,-0.1506,18.3352,0.13517}, {1827,-0.1507,18.3406,0.13519}, {1828,-0.1508,18.346,0.13521}, {1829,-0.1509,18.3514,0.13523}, {1830,-0.151,18.3568,0.13525}, {1831,-0.1511,18.3622,0.13527}, {1832,-0.1512,18.3676,0.13529}, {1833,-0.1513,18.373,0.13531}, {1834,-0.1514,18.3784,0.13534}, {1835,-0.1514,18.3838,0.13536}, {1836,-0.1515,18.3891,0.13538}, {1837,-0.1516,18.3945,0.1354}, {1838,-0.1517,18.3999,0.13542}, {1839,-0.1518,18.4053,0.13544}, {1840,-0.1519,18.4107,0.13546}, {1841,-0.152,18.4161,0.13548}, {1842,-0.1521,18.4215,0.1355}, {1843,-0.1522,18.4268,0.13552}, {1844,-0.1523,18.4322,0.13554}, {1845,-0.1524,18.4376,0.13557}, {1846,-0.1525,18.443,0.13559}, {1847,-0.1526,18.4484,0.13561}, {1848,-0.1527,18.4538,0.13563}, {1849,-0.1528,18.4591,0.13565}, {1850,-0.1529,18.4645,0.13567}, {1851,-0.153,18.4699,0.13569}, {1852,-0.1531,18.4753,0.13571}, {1853,-0.1532,18.4807,0.13573}, {1854,-0.1533,18.486,0.13575}, {1855,-0.1533,18.4914,0.13577}, {1856,-0.1534,18.4968,0.1358}, }; return boysWeightForAge[index < boysWeightForAge.length ? index : boysWeightForAge.length]; } public double[]getGirlsWeightForAge(int index){ double[][]girlsWeightForAge={ {0,0.3809,3.2322,0.14171}, {1,0.3259,3.1957,0.14578}, {2,0.3101,3.2104,0.14637}, {3,0.2986,3.2315,0.14657}, {4,0.2891,3.2558,0.14658}, {5,0.281,3.2821,0.14646}, {6,0.2737,3.3099,0.14626}, {7,0.2671,3.3388,0.146}, {8,0.2609,3.3687,0.14569}, {9,0.2551,3.3995,0.14534}, {10,0.2497,3.4314,0.14498}, {11,0.2446,3.4643,0.14459}, {12,0.2397,3.4983,0.1442}, {13,0.2349,3.5333,0.1438}, {14,0.2304,3.5693,0.14339}, {15,0.226,3.6063,0.14299}, {16,0.2218,3.6438,0.14258}, {17,0.2177,3.6818,0.14218}, {18,0.2137,3.7201,0.14177}, {19,0.2099,3.7584,0.14138}, {20,0.2061,3.7968,0.14098}, {21,0.2024,3.8352,0.1406}, {22,0.1989,3.8735,0.14021}, {23,0.1954,3.9116,0.13984}, {24,0.1919,3.9495,0.13947}, {25,0.1886,3.9872,0.1391}, {26,0.1853,4.0247,0.13875}, {27,0.1821,4.0618,0.1384}, {28,0.1789,4.0987,0.13805}, {29,0.1758,4.1353,0.13771}, {30,0.1727,4.1716,0.13738}, {31,0.1697,4.2075,0.13706}, {32,0.1668,4.2431,0.13674}, {33,0.1638,4.2783,0.13643}, {34,0.161,4.3131,0.13613}, {35,0.1582,4.3476,0.13583}, {36,0.1554,4.3818,0.13554}, {37,0.1526,4.4155,0.13526}, {38,0.1499,4.449,0.13498}, {39,0.1473,4.482,0.1347}, {40,0.1446,4.5148,0.13444}, {41,0.142,4.5472,0.13418}, {42,0.1395,4.5793,0.13392}, {43,0.1369,4.611,0.13367}, {44,0.1344,4.6425,0.13342}, {45,0.132,4.6736,0.13318}, {46,0.1295,4.7044,0.13295}, {47,0.1271,4.7349,0.13272}, {48,0.1247,4.7651,0.1325}, {49,0.1224,4.795,0.13228}, {50,0.12,4.8245,0.13206}, {51,0.1177,4.8538,0.13185}, {52,0.1154,4.8828,0.13165}, {53,0.1132,4.9115,0.13145}, {54,0.1109,4.9399,0.13125}, {55,0.1087,4.968,0.13106}, {56,0.1065,4.9959,0.13087}, {57,0.1044,5.0235,0.13068}, {58,0.1022,5.0509,0.1305}, {59,0.1001,5.078,0.13033}, {60,0.098,5.1049,0.13015}, {61,0.0959,5.1315,0.12998}, {62,0.0938,5.158,0.12982}, {63,0.0918,5.1842,0.12966}, {64,0.0897,5.2102,0.1295}, {65,0.0877,5.236,0.12934}, {66,0.0857,5.2616,0.12919}, {67,0.0838,5.287,0.12904}, {68,0.0818,5.3121,0.12889}, {69,0.0798,5.337,0.12875}, {70,0.0779,5.3618,0.12861}, {71,0.076,5.3863,0.12847}, {72,0.0741,5.4107,0.12834}, {73,0.0722,5.4348,0.12821}, {74,0.0704,5.4587,0.12808}, {75,0.0685,5.4825,0.12795}, {76,0.0667,5.5061,0.12783}, {77,0.0648,5.5295,0.1277}, {78,0.063,5.5527,0.12758}, {79,0.0612,5.5757,0.12747}, {80,0.0595,5.5986,0.12735}, {81,0.0577,5.6213,0.12724}, {82,0.0559,5.6438,0.12713}, {83,0.0542,5.6662,0.12702}, {84,0.0525,5.6883,0.12691}, {85,0.0508,5.7104,0.12681}, {86,0.049,5.7322,0.12671}, {87,0.0474,5.7539,0.1266}, {88,0.0457,5.7755,0.12651}, {89,0.044,5.7969,0.12641}, {90,0.0424,5.8181,0.12631}, {91,0.0407,5.8393,0.12622}, {92,0.0391,5.8602,0.12613}, {93,0.0375,5.881,0.12604}, {94,0.0358,5.9017,0.12595}, {95,0.0342,5.9223,0.12586}, {96,0.0327,5.9427,0.12577}, {97,0.0311,5.9629,0.12569}, {98,0.0295,5.9831,0.12561}, {99,0.0279,6.0031,0.12553}, {100,0.0264,6.0229,0.12545}, {101,0.0249,6.0426,0.12537}, {102,0.0233,6.0622,0.12529}, {103,0.0218,6.0817,0.12522}, {104,0.0203,6.101,0.12514}, {105,0.0188,6.1202,0.12507}, {106,0.0173,6.1393,0.125}, {107,0.0158,6.1582,0.12493}, {108,0.0144,6.1771,0.12486}, {109,0.0129,6.1958,0.12479}, {110,0.0114,6.2143,0.12472}, {111,0.01,6.2328,0.12466}, {112,0.0086,6.2511,0.12459}, {113,0.0071,6.2693,0.12453}, {114,0.0057,6.2874,0.12447}, {115,0.0043,6.3054,0.12441}, {116,0.0029,6.3232,0.12435}, {117,0.0015,6.341,0.12429}, {118,0.0001,6.3586,0.12423}, {119,-0.0013,6.3761,0.12417}, {120,-0.0026,6.3935,0.12412}, {121,-0.004,6.4108,0.12406}, {122,-0.0053,6.428,0.12401}, {123,-0.0067,6.445,0.12395}, {124,-0.008,6.462,0.1239}, {125,-0.0094,6.4788,0.12385}, {126,-0.0107,6.4956,0.1238}, {127,-0.012,6.5122,0.12375}, {128,-0.0133,6.5288,0.1237}, {129,-0.0146,6.5452,0.12365}, {130,-0.0159,6.5615,0.1236}, {131,-0.0172,6.5777,0.12355}, {132,-0.0185,6.5939,0.12351}, {133,-0.0198,6.6099,0.12346}, {134,-0.021,6.6258,0.12342}, {135,-0.0223,6.6416,0.12337}, {136,-0.0235,6.6573,0.12333}, {137,-0.0248,6.6729,0.12329}, {138,-0.026,6.6884,0.12325}, {139,-0.0273,6.7039,0.12321}, {140,-0.0285,6.7192,0.12317}, {141,-0.0297,6.7344,0.12313}, {142,-0.0309,6.7495,0.12309}, {143,-0.0321,6.7646,0.12305}, {144,-0.0333,6.7795,0.12301}, {145,-0.0345,6.7944,0.12298}, {146,-0.0357,6.8091,0.12294}, {147,-0.0369,6.8238,0.12291}, {148,-0.0381,6.8384,0.12287}, {149,-0.0393,6.8529,0.12284}, {150,-0.0404,6.8673,0.12281}, {151,-0.0416,6.8816,0.12277}, {152,-0.0428,6.8959,0.12274}, {153,-0.0439,6.91,0.12271}, {154,-0.045,6.9241,0.12268}, {155,-0.0462,6.9381,0.12265}, {156,-0.0473,6.952,0.12262}, {157,-0.0484,6.9659,0.12259}, {158,-0.0496,6.9797,0.12256}, {159,-0.0507,6.9934,0.12254}, {160,-0.0518,7.007,0.12251}, {161,-0.0529,7.0205,0.12248}, {162,-0.054,7.034,0.12246}, {163,-0.0551,7.0474,0.12243}, {164,-0.0562,7.0607,0.12241}, {165,-0.0573,7.074,0.12238}, {166,-0.0583,7.0872,0.12236}, {167,-0.0594,7.1003,0.12234}, {168,-0.0605,7.1133,0.12231}, {169,-0.0615,7.1263,0.12229}, {170,-0.0626,7.1393,0.12227}, {171,-0.0637,7.1521,0.12225}, {172,-0.0647,7.1649,0.12223}, {173,-0.0658,7.1776,0.12221}, {174,-0.0668,7.1903,0.12219}, {175,-0.0678,7.2029,0.12217}, {176,-0.0689,7.2154,0.12215}, {177,-0.0699,7.2279,0.12214}, {178,-0.0709,7.2403,0.12212}, {179,-0.0719,7.2527,0.1221}, {180,-0.0729,7.265,0.12208}, {181,-0.0739,7.2772,0.12207}, {182,-0.0749,7.2894,0.12205}, {183,-0.0759,7.3016,0.12204}, {184,-0.0769,7.3136,0.12202}, {185,-0.0779,7.3256,0.12201}, {186,-0.0789,7.3376,0.122}, {187,-0.0799,7.3495,0.12198}, {188,-0.0808,7.3614,0.12197}, {189,-0.0818,7.3732,0.12196}, {190,-0.0828,7.3849,0.12195}, {191,-0.0837,7.3966,0.12194}, {192,-0.0847,7.4082,0.12192}, {193,-0.0857,7.4198,0.12191}, {194,-0.0866,7.4314,0.1219}, {195,-0.0875,7.4429,0.12189}, {196,-0.0885,7.4543,0.12188}, {197,-0.0894,7.4657,0.12188}, {198,-0.0904,7.477,0.12187}, {199,-0.0913,7.4883,0.12186}, {200,-0.0922,7.4995,0.12185}, {201,-0.0931,7.5107,0.12184}, {202,-0.094,7.5219,0.12184}, {203,-0.095,7.533,0.12183}, {204,-0.0959,7.544,0.12182}, {205,-0.0968,7.5551,0.12182}, {206,-0.0977,7.566,0.12181}, {207,-0.0986,7.5769,0.12181}, {208,-0.0995,7.5878,0.1218}, {209,-0.1003,7.5986,0.1218}, {210,-0.1012,7.6094,0.12179}, {211,-0.1021,7.6202,0.12179}, {212,-0.103,7.6309,0.12179}, {213,-0.1039,7.6416,0.12178}, {214,-0.1047,7.6522,0.12178}, {215,-0.1056,7.6628,0.12178}, {216,-0.1065,7.6733,0.12177}, {217,-0.1073,7.6838,0.12177}, {218,-0.1082,7.6943,0.12177}, {219,-0.109,7.7047,0.12177}, {220,-0.1099,7.7151,0.12177}, {221,-0.1107,7.7254,0.12177}, {222,-0.1116,7.7357,0.12177}, {223,-0.1124,7.746,0.12176}, {224,-0.1132,7.7562,0.12176}, {225,-0.1141,7.7664,0.12176}, {226,-0.1149,7.7766,0.12176}, {227,-0.1157,7.7867,0.12177}, {228,-0.1165,7.7968,0.12177}, {229,-0.1173,7.8068,0.12177}, {230,-0.1181,7.8169,0.12177}, {231,-0.119,7.8268,0.12177}, {232,-0.1198,7.8368,0.12177}, {233,-0.1206,7.8467,0.12177}, {234,-0.1214,7.8566,0.12178}, {235,-0.1222,7.8664,0.12178}, {236,-0.1229,7.8762,0.12178}, {237,-0.1237,7.886,0.12178}, {238,-0.1245,7.8957,0.12179}, {239,-0.1253,7.9054,0.12179}, {240,-0.1261,7.9151,0.12179}, {241,-0.1269,7.9247,0.1218}, {242,-0.1276,7.9343,0.1218}, {243,-0.1284,7.9439,0.1218}, {244,-0.1292,7.9534,0.12181}, {245,-0.1299,7.9629,0.12181}, {246,-0.1307,7.9724,0.12182}, {247,-0.1314,7.9819,0.12182}, {248,-0.1322,7.9913,0.12182}, {249,-0.1329,8.0007,0.12183}, {250,-0.1337,8.01,0.12183}, {251,-0.1344,8.0193,0.12184}, {252,-0.1352,8.0286,0.12185}, {253,-0.1359,8.0379,0.12185}, {254,-0.1367,8.0471,0.12186}, {255,-0.1374,8.0563,0.12186}, {256,-0.1381,8.0655,0.12187}, {257,-0.1388,8.0746,0.12187}, {258,-0.1396,8.0837,0.12188}, {259,-0.1403,8.0928,0.12189}, {260,-0.141,8.1019,0.12189}, {261,-0.1417,8.1109,0.1219}, {262,-0.1424,8.1199,0.1219}, {263,-0.1431,8.1289,0.12191}, {264,-0.1438,8.1378,0.12192}, {265,-0.1445,8.1468,0.12192}, {266,-0.1452,8.1557,0.12193}, {267,-0.1459,8.1645,0.12194}, {268,-0.1466,8.1734,0.12194}, {269,-0.1473,8.1822,0.12195}, {270,-0.148,8.191,0.12196}, {271,-0.1487,8.1998,0.12197}, {272,-0.1494,8.2085,0.12197}, {273,-0.1501,8.2172,0.12198}, {274,-0.1507,8.2259,0.12199}, {275,-0.1514,8.2346,0.12199}, {276,-0.1521,8.2432,0.122}, {277,-0.1528,8.2519,0.12201}, {278,-0.1534,8.2605,0.12202}, {279,-0.1541,8.269,0.12202}, {280,-0.1547,8.2776,0.12203}, {281,-0.1554,8.2861,0.12204}, {282,-0.1561,8.2946,0.12205}, {283,-0.1567,8.3031,0.12206}, {284,-0.1574,8.3116,0.12206}, {285,-0.158,8.3201,0.12207}, {286,-0.1587,8.3285,0.12208}, {287,-0.1593,8.3369,0.12209}, {288,-0.1599,8.3453,0.12209}, {289,-0.1606,8.3536,0.1221}, {290,-0.1612,8.362,0.12211}, {291,-0.1618,8.3703,0.12212}, {292,-0.1625,8.3786,0.12213}, {293,-0.1631,8.3869,0.12213}, {294,-0.1637,8.3952,0.12214}, {295,-0.1643,8.4035,0.12215}, {296,-0.165,8.4117,0.12216}, {297,-0.1656,8.4199,0.12217}, {298,-0.1662,8.4281,0.12218}, {299,-0.1668,8.4363,0.12218}, {300,-0.1674,8.4445,0.12219}, {301,-0.168,8.4526,0.1222}, {302,-0.1686,8.4607,0.12221}, {303,-0.1692,8.4688,0.12222}, {304,-0.1698,8.4769,0.12222}, {305,-0.1704,8.485,0.12223}, {306,-0.171,8.4931,0.12224}, {307,-0.1716,8.5011,0.12225}, {308,-0.1722,8.5092,0.12226}, {309,-0.1728,8.5172,0.12227}, {310,-0.1734,8.5252,0.12227}, {311,-0.174,8.5332,0.12228}, {312,-0.1745,8.5411,0.12229}, {313,-0.1751,8.5491,0.1223}, {314,-0.1757,8.557,0.12231}, {315,-0.1763,8.565,0.12231}, {316,-0.1768,8.5729,0.12232}, {317,-0.1774,8.5808,0.12233}, {318,-0.178,8.5887,0.12234}, {319,-0.1785,8.5965,0.12235}, {320,-0.1791,8.6044,0.12235}, {321,-0.1797,8.6122,0.12236}, {322,-0.1802,8.6201,0.12237}, {323,-0.1808,8.6279,0.12238}, {324,-0.1813,8.6357,0.12239}, {325,-0.1819,8.6435,0.12239}, {326,-0.1824,8.6512,0.1224}, {327,-0.183,8.659,0.12241}, {328,-0.1835,8.6667,0.12242}, {329,-0.1841,8.6745,0.12243}, {330,-0.1846,8.6822,0.12243}, {331,-0.1851,8.6899,0.12244}, {332,-0.1857,8.6976,0.12245}, {333,-0.1862,8.7053,0.12246}, {334,-0.1867,8.713,0.12246}, {335,-0.1873,8.7207,0.12247}, {336,-0.1878,8.7283,0.12248}, {337,-0.1883,8.736,0.12249}, {338,-0.1889,8.7436,0.12249}, {339,-0.1894,8.7512,0.1225}, {340,-0.1899,8.7588,0.12251}, {341,-0.1904,8.7664,0.12252}, {342,-0.1909,8.774,0.12252}, {343,-0.1914,8.7816,0.12253}, {344,-0.192,8.7892,0.12254}, {345,-0.1925,8.7968,0.12254}, {346,-0.193,8.8043,0.12255}, {347,-0.1935,8.8119,0.12256}, {348,-0.194,8.8194,0.12256}, {349,-0.1945,8.8269,0.12257}, {350,-0.195,8.8344,0.12258}, {351,-0.1955,8.842,0.12259}, {352,-0.196,8.8495,0.12259}, {353,-0.1965,8.8569,0.1226}, {354,-0.197,8.8644,0.12261}, {355,-0.1974,8.8719,0.12261}, {356,-0.1979,8.8794,0.12262}, {357,-0.1984,8.8868,0.12262}, {358,-0.1989,8.8943,0.12263}, {359,-0.1994,8.9017,0.12264}, {360,-0.1999,8.9092,0.12264}, {361,-0.2003,8.9166,0.12265}, {362,-0.2008,8.924,0.12266}, {363,-0.2013,8.9314,0.12266}, {364,-0.2018,8.9388,0.12267}, {365,-0.2022,8.9462,0.12267}, {366,-0.2027,8.9536,0.12268}, {367,-0.2032,8.961,0.12269}, {368,-0.2036,8.9684,0.12269}, {369,-0.2041,8.9757,0.1227}, {370,-0.2046,8.9831,0.1227}, {371,-0.205,8.9904,0.12271}, {372,-0.2055,8.9978,0.12272}, {373,-0.2059,9.0051,0.12272}, {374,-0.2064,9.0125,0.12273}, {375,-0.2068,9.0198,0.12273}, {376,-0.2073,9.0271,0.12274}, {377,-0.2077,9.0344,0.12274}, {378,-0.2082,9.0417,0.12275}, {379,-0.2086,9.049,0.12275}, {380,-0.2091,9.0563,0.12276}, {381,-0.2095,9.0636,0.12276}, {382,-0.21,9.0709,0.12277}, {383,-0.2104,9.0782,0.12277}, {384,-0.2108,9.0854,0.12278}, {385,-0.2113,9.0927,0.12278}, {386,-0.2117,9.0999,0.12279}, {387,-0.2121,9.1072,0.12279}, {388,-0.2126,9.1144,0.1228}, {389,-0.213,9.1217,0.1228}, {390,-0.2134,9.1289,0.12281}, {391,-0.2139,9.1361,0.12281}, {392,-0.2143,9.1434,0.12282}, {393,-0.2147,9.1506,0.12282}, {394,-0.2151,9.1578,0.12282}, {395,-0.2155,9.165,0.12283}, {396,-0.216,9.1722,0.12283}, {397,-0.2164,9.1794,0.12284}, {398,-0.2168,9.1866,0.12284}, {399,-0.2172,9.1938,0.12285}, {400,-0.2176,9.2009,0.12285}, {401,-0.218,9.2081,0.12285}, {402,-0.2184,9.2153,0.12286}, {403,-0.2188,9.2225,0.12286}, {404,-0.2192,9.2296,0.12287}, {405,-0.2196,9.2368,0.12287}, {406,-0.22,9.2439,0.12287}, {407,-0.2204,9.2511,0.12288}, {408,-0.2208,9.2582,0.12288}, {409,-0.2212,9.2654,0.12288}, {410,-0.2216,9.2725,0.12289}, {411,-0.222,9.2796,0.12289}, {412,-0.2224,9.2867,0.12289}, {413,-0.2228,9.2939,0.1229}, {414,-0.2232,9.301,0.1229}, {415,-0.2236,9.3081,0.1229}, {416,-0.224,9.3152,0.12291}, {417,-0.2243,9.3223,0.12291}, {418,-0.2247,9.3294,0.12291}, {419,-0.2251,9.3365,0.12292}, {420,-0.2255,9.3436,0.12292}, {421,-0.2259,9.3507,0.12292}, {422,-0.2262,9.3578,0.12292}, {423,-0.2266,9.3649,0.12293}, {424,-0.227,9.372,0.12293}, {425,-0.2274,9.379,0.12293}, {426,-0.2277,9.3861,0.12294}, {427,-0.2281,9.3932,0.12294}, {428,-0.2285,9.4002,0.12294}, {429,-0.2288,9.4073,0.12294}, {430,-0.2292,9.4144,0.12295}, {431,-0.2296,9.4214,0.12295}, {432,-0.2299,9.4285,0.12295}, {433,-0.2303,9.4355,0.12295}, {434,-0.2307,9.4426,0.12295}, {435,-0.231,9.4496,0.12296}, {436,-0.2314,9.4567,0.12296}, {437,-0.2317,9.4637,0.12296}, {438,-0.2321,9.4707,0.12296}, {439,-0.2324,9.4778,0.12296}, {440,-0.2328,9.4848,0.12297}, {441,-0.2331,9.4918,0.12297}, {442,-0.2335,9.4988,0.12297}, {443,-0.2338,9.5058,0.12297}, {444,-0.2342,9.5129,0.12297}, {445,-0.2345,9.5199,0.12298}, {446,-0.2349,9.5269,0.12298}, {447,-0.2352,9.5339,0.12298}, {448,-0.2355,9.5409,0.12298}, {449,-0.2359,9.5479,0.12298}, {450,-0.2362,9.5549,0.12298}, {451,-0.2366,9.5619,0.12299}, {452,-0.2369,9.5689,0.12299}, {453,-0.2372,9.5759,0.12299}, {454,-0.2376,9.5829,0.12299}, {455,-0.2379,9.5898,0.12299}, {456,-0.2382,9.5968,0.12299}, {457,-0.2385,9.6038,0.12299}, {458,-0.2389,9.6108,0.123}, {459,-0.2392,9.6178,0.123}, {460,-0.2395,9.6247,0.123}, {461,-0.2398,9.6317,0.123}, {462,-0.2402,9.6387,0.123}, {463,-0.2405,9.6457,0.123}, {464,-0.2408,9.6526,0.123}, {465,-0.2411,9.6596,0.123}, {466,-0.2414,9.6665,0.12301}, {467,-0.2418,9.6735,0.12301}, {468,-0.2421,9.6805,0.12301}, {469,-0.2424,9.6874,0.12301}, {470,-0.2427,9.6944,0.12301}, {471,-0.243,9.7013,0.12301}, {472,-0.2433,9.7083,0.12301}, {473,-0.2436,9.7152,0.12301}, {474,-0.2439,9.7222,0.12301}, {475,-0.2442,9.7291,0.12302}, {476,-0.2446,9.7361,0.12302}, {477,-0.2449,9.743,0.12302}, {478,-0.2452,9.75,0.12302}, {479,-0.2455,9.7569,0.12302}, {480,-0.2458,9.7638,0.12302}, {481,-0.2461,9.7708,0.12302}, {482,-0.2464,9.7777,0.12302}, {483,-0.2467,9.7846,0.12302}, {484,-0.247,9.7916,0.12302}, {485,-0.2472,9.7985,0.12303}, {486,-0.2475,9.8054,0.12303}, {487,-0.2478,9.8124,0.12303}, {488,-0.2481,9.8193,0.12303}, {489,-0.2484,9.8262,0.12303}, {490,-0.2487,9.8331,0.12303}, {491,-0.249,9.8401,0.12303}, {492,-0.2493,9.847,0.12303}, {493,-0.2496,9.8539,0.12303}, {494,-0.2499,9.8608,0.12303}, {495,-0.2501,9.8677,0.12303}, {496,-0.2504,9.8746,0.12304}, {497,-0.2507,9.8816,0.12304}, {498,-0.251,9.8885,0.12304}, {499,-0.2513,9.8954,0.12304}, {500,-0.2515,9.9023,0.12304}, {501,-0.2518,9.9092,0.12304}, {502,-0.2521,9.9161,0.12304}, {503,-0.2524,9.923,0.12304}, {504,-0.2526,9.9299,0.12304}, {505,-0.2529,9.9368,0.12304}, {506,-0.2532,9.9437,0.12304}, {507,-0.2535,9.9506,0.12305}, {508,-0.2537,9.9575,0.12305}, {509,-0.254,9.9644,0.12305}, {510,-0.2543,9.9713,0.12305}, {511,-0.2545,9.9782,0.12305}, {512,-0.2548,9.9851,0.12305}, {513,-0.2551,9.992,0.12305}, {514,-0.2553,9.9989,0.12305}, {515,-0.2556,10.0058,0.12305}, {516,-0.2558,10.0127,0.12305}, {517,-0.2561,10.0196,0.12305}, {518,-0.2564,10.0265,0.12306}, {519,-0.2566,10.0334,0.12306}, {520,-0.2569,10.0402,0.12306}, {521,-0.2571,10.0471,0.12306}, {522,-0.2574,10.054,0.12306}, {523,-0.2577,10.0609,0.12306}, {524,-0.2579,10.0678,0.12306}, {525,-0.2582,10.0746,0.12306}, {526,-0.2584,10.0815,0.12306}, {527,-0.2587,10.0884,0.12307}, {528,-0.2589,10.0953,0.12307}, {529,-0.2592,10.1021,0.12307}, {530,-0.2594,10.109,0.12307}, {531,-0.2597,10.1159,0.12307}, {532,-0.2599,10.1227,0.12307}, {533,-0.2601,10.1296,0.12307}, {534,-0.2604,10.1365,0.12307}, {535,-0.2606,10.1433,0.12308}, {536,-0.2609,10.1502,0.12308}, {537,-0.2611,10.157,0.12308}, {538,-0.2614,10.1639,0.12308}, {539,-0.2616,10.1707,0.12308}, {540,-0.2618,10.1776,0.12308}, {541,-0.2621,10.1845,0.12308}, {542,-0.2623,10.1913,0.12309}, {543,-0.2625,10.1982,0.12309}, {544,-0.2628,10.205,0.12309}, {545,-0.263,10.2119,0.12309}, {546,-0.2632,10.2187,0.12309}, {547,-0.2635,10.2255,0.12309}, {548,-0.2637,10.2324,0.12309}, {549,-0.2639,10.2392,0.1231}, {550,-0.2642,10.2461,0.1231}, {551,-0.2644,10.2529,0.1231}, {552,-0.2646,10.2597,0.1231}, {553,-0.2649,10.2666,0.1231}, {554,-0.2651,10.2734,0.1231}, {555,-0.2653,10.2803,0.12311}, {556,-0.2655,10.2871,0.12311}, {557,-0.2658,10.2939,0.12311}, {558,-0.266,10.3008,0.12311}, {559,-0.2662,10.3076,0.12311}, {560,-0.2664,10.3144,0.12311}, {561,-0.2666,10.3213,0.12312}, {562,-0.2669,10.3281,0.12312}, {563,-0.2671,10.3349,0.12312}, {564,-0.2673,10.3417,0.12312}, {565,-0.2675,10.3486,0.12312}, {566,-0.2677,10.3554,0.12313}, {567,-0.2679,10.3622,0.12313}, {568,-0.2682,10.369,0.12313}, {569,-0.2684,10.3759,0.12313}, {570,-0.2686,10.3827,0.12313}, {571,-0.2688,10.3895,0.12314}, {572,-0.269,10.3963,0.12314}, {573,-0.2692,10.4031,0.12314}, {574,-0.2694,10.41,0.12314}, {575,-0.2696,10.4168,0.12314}, {576,-0.2698,10.4236,0.12315}, {577,-0.27,10.4304,0.12315}, {578,-0.2702,10.4372,0.12315}, {579,-0.2705,10.444,0.12315}, {580,-0.2707,10.4508,0.12316}, {581,-0.2709,10.4577,0.12316}, {582,-0.2711,10.4645,0.12316}, {583,-0.2713,10.4713,0.12316}, {584,-0.2715,10.4781,0.12316}, {585,-0.2717,10.4849,0.12317}, {586,-0.2719,10.4917,0.12317}, {587,-0.2721,10.4985,0.12317}, {588,-0.2723,10.5053,0.12317}, {589,-0.2725,10.5121,0.12318}, {590,-0.2727,10.5189,0.12318}, {591,-0.2729,10.5257,0.12318}, {592,-0.273,10.5325,0.12319}, {593,-0.2732,10.5393,0.12319}, {594,-0.2734,10.5461,0.12319}, {595,-0.2736,10.5529,0.12319}, {596,-0.2738,10.5597,0.1232}, {597,-0.274,10.5665,0.1232}, {598,-0.2742,10.5733,0.1232}, {599,-0.2744,10.5801,0.1232}, {600,-0.2746,10.5869,0.12321}, {601,-0.2748,10.5937,0.12321}, {602,-0.275,10.6005,0.12321}, {603,-0.2751,10.6073,0.12322}, {604,-0.2753,10.6141,0.12322}, {605,-0.2755,10.6209,0.12322}, {606,-0.2757,10.6277,0.12323}, {607,-0.2759,10.6345,0.12323}, {608,-0.2761,10.6413,0.12323}, {609,-0.2763,10.6481,0.12324}, {610,-0.2764,10.6549,0.12324}, {611,-0.2766,10.6617,0.12324}, {612,-0.2768,10.6685,0.12325}, {613,-0.277,10.6753,0.12325}, {614,-0.2772,10.6821,0.12325}, {615,-0.2773,10.6889,0.12326}, {616,-0.2775,10.6957,0.12326}, {617,-0.2777,10.7025,0.12326}, {618,-0.2779,10.7093,0.12327}, {619,-0.278,10.7161,0.12327}, {620,-0.2782,10.7229,0.12327}, {621,-0.2784,10.7297,0.12328}, {622,-0.2786,10.7365,0.12328}, {623,-0.2787,10.7433,0.12328}, {624,-0.2789,10.7501,0.12329}, {625,-0.2791,10.7569,0.12329}, {626,-0.2793,10.7637,0.1233}, {627,-0.2794,10.7705,0.1233}, {628,-0.2796,10.7773,0.1233}, {629,-0.2798,10.7841,0.12331}, {630,-0.2799,10.7909,0.12331}, {631,-0.2801,10.7977,0.12332}, {632,-0.2803,10.8045,0.12332}, {633,-0.2804,10.8113,0.12332}, {634,-0.2806,10.8181,0.12333}, {635,-0.2808,10.8249,0.12333}, {636,-0.2809,10.8317,0.12334}, {637,-0.2811,10.8385,0.12334}, {638,-0.2813,10.8453,0.12335}, {639,-0.2814,10.8521,0.12335}, {640,-0.2816,10.8589,0.12336}, {641,-0.2818,10.8657,0.12336}, {642,-0.2819,10.8725,0.12336}, {643,-0.2821,10.8793,0.12337}, {644,-0.2822,10.8861,0.12337}, {645,-0.2824,10.8929,0.12338}, {646,-0.2826,10.8997,0.12338}, {647,-0.2827,10.9065,0.12339}, {648,-0.2829,10.9133,0.12339}, {649,-0.283,10.9202,0.1234}, {650,-0.2832,10.927,0.1234}, {651,-0.2834,10.9338,0.12341}, {652,-0.2835,10.9406,0.12341}, {653,-0.2837,10.9474,0.12342}, {654,-0.2838,10.9542,0.12342}, {655,-0.284,10.961,0.12343}, {656,-0.2841,10.9679,0.12343}, {657,-0.2843,10.9747,0.12344}, {658,-0.2844,10.9815,0.12344}, {659,-0.2846,10.9883,0.12345}, {660,-0.2847,10.9951,0.12345}, {661,-0.2849,11.0019,0.12346}, {662,-0.285,11.0088,0.12346}, {663,-0.2852,11.0156,0.12347}, {664,-0.2853,11.0224,0.12347}, {665,-0.2855,11.0292,0.12348}, {666,-0.2856,11.036,0.12348}, {667,-0.2858,11.0429,0.12349}, {668,-0.2859,11.0497,0.1235}, {669,-0.2861,11.0565,0.1235}, {670,-0.2862,11.0633,0.12351}, {671,-0.2864,11.0702,0.12351}, {672,-0.2865,11.077,0.12352}, {673,-0.2866,11.0838,0.12352}, {674,-0.2868,11.0906,0.12353}, {675,-0.2869,11.0975,0.12353}, {676,-0.2871,11.1043,0.12354}, {677,-0.2872,11.1111,0.12355}, {678,-0.2874,11.118,0.12355}, {679,-0.2875,11.1248,0.12356}, {680,-0.2876,11.1316,0.12356}, {681,-0.2878,11.1384,0.12357}, {682,-0.2879,11.1453,0.12358}, {683,-0.2881,11.1521,0.12358}, {684,-0.2882,11.1589,0.12359}, {685,-0.2883,11.1658,0.12359}, {686,-0.2885,11.1726,0.1236}, {687,-0.2886,11.1795,0.12361}, {688,-0.2887,11.1863,0.12361}, {689,-0.2889,11.1931,0.12362}, {690,-0.289,11.2,0.12362}, {691,-0.2891,11.2068,0.12363}, {692,-0.2893,11.2137,0.12364}, {693,-0.2894,11.2205,0.12364}, {694,-0.2895,11.2273,0.12365}, {695,-0.2897,11.2342,0.12366}, {696,-0.2898,11.241,0.12366}, {697,-0.2899,11.2479,0.12367}, {698,-0.2901,11.2547,0.12367}, {699,-0.2902,11.2616,0.12368}, {700,-0.2903,11.2684,0.12369}, {701,-0.2905,11.2753,0.12369}, {702,-0.2906,11.2821,0.1237}, {703,-0.2907,11.2889,0.12371}, {704,-0.2909,11.2958,0.12371}, {705,-0.291,11.3026,0.12372}, {706,-0.2911,11.3095,0.12373}, {707,-0.2912,11.3163,0.12373}, {708,-0.2914,11.3232,0.12374}, {709,-0.2915,11.33,0.12375}, {710,-0.2916,11.3369,0.12375}, {711,-0.2917,11.3438,0.12376}, {712,-0.2919,11.3506,0.12377}, {713,-0.292,11.3575,0.12377}, {714,-0.2921,11.3643,0.12378}, {715,-0.2922,11.3712,0.12379}, {716,-0.2924,11.378,0.12379}, {717,-0.2925,11.3849,0.1238}, {718,-0.2926,11.3917,0.12381}, {719,-0.2927,11.3986,0.12382}, {720,-0.2928,11.4055,0.12382}, {721,-0.293,11.4123,0.12383}, {722,-0.2931,11.4192,0.12384}, {723,-0.2932,11.426,0.12384}, {724,-0.2933,11.4329,0.12385}, {725,-0.2934,11.4397,0.12386}, {726,-0.2936,11.4466,0.12387}, {727,-0.2937,11.4535,0.12387}, {728,-0.2938,11.4603,0.12388}, {729,-0.2939,11.4672,0.12389}, {730,-0.294,11.4741,0.12389}, {731,-0.2942,11.4809,0.1239}, {732,-0.2943,11.4878,0.12391}, {733,-0.2944,11.4946,0.12392}, {734,-0.2945,11.5015,0.12392}, {735,-0.2946,11.5084,0.12393}, {736,-0.2947,11.5152,0.12394}, {737,-0.2948,11.5221,0.12395}, {738,-0.295,11.529,0.12395}, {739,-0.2951,11.5358,0.12396}, {740,-0.2952,11.5427,0.12397}, {741,-0.2953,11.5496,0.12398}, {742,-0.2954,11.5564,0.12399}, {743,-0.2955,11.5633,0.12399}, {744,-0.2956,11.5702,0.124}, {745,-0.2957,11.577,0.12401}, {746,-0.2959,11.5839,0.12402}, {747,-0.296,11.5907,0.12402}, {748,-0.2961,11.5976,0.12403}, {749,-0.2962,11.6045,0.12404}, {750,-0.2963,11.6113,0.12405}, {751,-0.2964,11.6182,0.12406}, {752,-0.2965,11.6251,0.12406}, {753,-0.2966,11.6319,0.12407}, {754,-0.2967,11.6388,0.12408}, {755,-0.2968,11.6456,0.12409}, {756,-0.2969,11.6525,0.1241}, {757,-0.297,11.6594,0.1241}, {758,-0.2972,11.6662,0.12411}, {759,-0.2973,11.6731,0.12412}, {760,-0.2974,11.6799,0.12413}, {761,-0.2975,11.6868,0.12414}, {762,-0.2976,11.6937,0.12415}, {763,-0.2977,11.7005,0.12415}, {764,-0.2978,11.7074,0.12416}, {765,-0.2979,11.7142,0.12417}, {766,-0.298,11.7211,0.12418}, {767,-0.2981,11.7279,0.12419}, {768,-0.2982,11.7348,0.1242}, {769,-0.2983,11.7416,0.12421}, {770,-0.2984,11.7485,0.12421}, {771,-0.2985,11.7553,0.12422}, {772,-0.2986,11.7622,0.12423}, {773,-0.2987,11.769,0.12424}, {774,-0.2988,11.7759,0.12425}, {775,-0.2989,11.7827,0.12426}, {776,-0.299,11.7896,0.12427}, {777,-0.2991,11.7964,0.12428}, {778,-0.2992,11.8033,0.12429}, {779,-0.2993,11.8101,0.12429}, {780,-0.2994,11.817,0.1243}, {781,-0.2995,11.8238,0.12431}, {782,-0.2996,11.8307,0.12432}, {783,-0.2997,11.8375,0.12433}, {784,-0.2998,11.8443,0.12434}, {785,-0.2999,11.8512,0.12435}, {786,-0.3,11.858,0.12436}, {787,-0.3001,11.8648,0.12437}, {788,-0.3002,11.8717,0.12438}, {789,-0.3003,11.8785,0.12439}, {790,-0.3004,11.8853,0.1244}, {791,-0.3005,11.8922,0.12441}, {792,-0.3006,11.899,0.12441}, {793,-0.3007,11.9058,0.12442}, {794,-0.3007,11.9126,0.12443}, {795,-0.3008,11.9194,0.12444}, {796,-0.3009,11.9263,0.12445}, {797,-0.301,11.9331,0.12446}, {798,-0.3011,11.9399,0.12447}, {799,-0.3012,11.9467,0.12448}, {800,-0.3013,11.9535,0.12449}, {801,-0.3014,11.9603,0.1245}, {802,-0.3015,11.9671,0.12451}, {803,-0.3016,11.9739,0.12452}, {804,-0.3017,11.9808,0.12453}, {805,-0.3018,11.9876,0.12454}, {806,-0.3019,11.9944,0.12455}, {807,-0.3019,12.0011,0.12456}, {808,-0.302,12.0079,0.12457}, {809,-0.3021,12.0147,0.12458}, {810,-0.3022,12.0215,0.12459}, {811,-0.3023,12.0283,0.1246}, {812,-0.3024,12.0351,0.12461}, {813,-0.3025,12.0419,0.12462}, {814,-0.3026,12.0487,0.12463}, {815,-0.3027,12.0554,0.12465}, {816,-0.3027,12.0622,0.12466}, {817,-0.3028,12.069,0.12467}, {818,-0.3029,12.0758,0.12468}, {819,-0.303,12.0825,0.12469}, {820,-0.3031,12.0893,0.1247}, {821,-0.3032,12.0961,0.12471}, {822,-0.3033,12.1028,0.12472}, {823,-0.3033,12.1096,0.12473}, {824,-0.3034,12.1163,0.12474}, {825,-0.3035,12.1231,0.12475}, {826,-0.3036,12.1298,0.12476}, {827,-0.3037,12.1366,0.12477}, {828,-0.3038,12.1433,0.12479}, {829,-0.3039,12.15,0.1248}, {830,-0.3039,12.1568,0.12481}, {831,-0.304,12.1635,0.12482}, {832,-0.3041,12.1702,0.12483}, {833,-0.3042,12.177,0.12484}, {834,-0.3043,12.1837,0.12485}, {835,-0.3044,12.1904,0.12486}, {836,-0.3044,12.1971,0.12487}, {837,-0.3045,12.2039,0.12489}, {838,-0.3046,12.2106,0.1249}, {839,-0.3047,12.2173,0.12491}, {840,-0.3048,12.224,0.12492}, {841,-0.3048,12.2307,0.12493}, {842,-0.3049,12.2374,0.12494}, {843,-0.305,12.2441,0.12495}, {844,-0.3051,12.2508,0.12497}, {845,-0.3052,12.2575,0.12498}, {846,-0.3052,12.2642,0.12499}, {847,-0.3053,12.2709,0.125}, {848,-0.3054,12.2775,0.12501}, {849,-0.3055,12.2842,0.12503}, {850,-0.3056,12.2909,0.12504}, {851,-0.3056,12.2976,0.12505}, {852,-0.3057,12.3042,0.12506}, {853,-0.3058,12.3109,0.12507}, {854,-0.3059,12.3176,0.12509}, {855,-0.3059,12.3242,0.1251}, {856,-0.306,12.3309,0.12511}, {857,-0.3061,12.3375,0.12512}, {858,-0.3062,12.3442,0.12513}, {859,-0.3063,12.3508,0.12515}, {860,-0.3063,12.3575,0.12516}, {861,-0.3064,12.3641,0.12517}, {862,-0.3065,12.3707,0.12518}, {863,-0.3066,12.3774,0.1252}, {864,-0.3066,12.384,0.12521}, {865,-0.3067,12.3906,0.12522}, {866,-0.3068,12.3973,0.12523}, {867,-0.3069,12.4039,0.12525}, {868,-0.3069,12.4105,0.12526}, {869,-0.307,12.4171,0.12527}, {870,-0.3071,12.4237,0.12528}, {871,-0.3072,12.4303,0.1253}, {872,-0.3072,12.4369,0.12531}, {873,-0.3073,12.4435,0.12532}, {874,-0.3074,12.4501,0.12533}, {875,-0.3074,12.4567,0.12535}, {876,-0.3075,12.4633,0.12536}, {877,-0.3076,12.4699,0.12537}, {878,-0.3077,12.4765,0.12539}, {879,-0.3077,12.4831,0.1254}, {880,-0.3078,12.4896,0.12541}, {881,-0.3079,12.4962,0.12543}, {882,-0.308,12.5028,0.12544}, {883,-0.308,12.5093,0.12545}, {884,-0.3081,12.5159,0.12547}, {885,-0.3082,12.5225,0.12548}, {886,-0.3082,12.529,0.12549}, {887,-0.3083,12.5356,0.12551}, {888,-0.3084,12.5421,0.12552}, {889,-0.3085,12.5487,0.12553}, {890,-0.3085,12.5552,0.12555}, {891,-0.3086,12.5617,0.12556}, {892,-0.3087,12.5683,0.12557}, {893,-0.3087,12.5748,0.12559}, {894,-0.3088,12.5813,0.1256}, {895,-0.3089,12.5879,0.12561}, {896,-0.3089,12.5944,0.12563}, {897,-0.309,12.6009,0.12564}, {898,-0.3091,12.6074,0.12566}, {899,-0.3091,12.6139,0.12567}, {900,-0.3092,12.6204,0.12568}, {901,-0.3093,12.6269,0.1257}, {902,-0.3093,12.6334,0.12571}, {903,-0.3094,12.6399,0.12573}, {904,-0.3095,12.6464,0.12574}, {905,-0.3095,12.6529,0.12575}, {906,-0.3096,12.6594,0.12577}, {907,-0.3097,12.6659,0.12578}, {908,-0.3097,12.6723,0.1258}, {909,-0.3098,12.6788,0.12581}, {910,-0.3099,12.6853,0.12583}, {911,-0.3099,12.6918,0.12584}, {912,-0.31,12.6982,0.12585}, {913,-0.3101,12.7047,0.12587}, {914,-0.3101,12.7111,0.12588}, {915,-0.3102,12.7176,0.1259}, {916,-0.3103,12.724,0.12591}, {917,-0.3103,12.7305,0.12593}, {918,-0.3104,12.7369,0.12594}, {919,-0.3105,12.7434,0.12596}, {920,-0.3105,12.7498,0.12597}, {921,-0.3106,12.7563,0.12599}, {922,-0.3107,12.7627,0.126}, {923,-0.3107,12.7691,0.12602}, {924,-0.3108,12.7755,0.12603}, {925,-0.3109,12.782,0.12605}, {926,-0.3109,12.7884,0.12606}, {927,-0.311,12.7948,0.12608}, {928,-0.311,12.8012,0.12609}, {929,-0.3111,12.8076,0.12611}, {930,-0.3112,12.814,0.12612}, {931,-0.3112,12.8204,0.12614}, {932,-0.3113,12.8268,0.12615}, {933,-0.3114,12.8332,0.12617}, {934,-0.3114,12.8396,0.12618}, {935,-0.3115,12.846,0.1262}, {936,-0.3116,12.8524,0.12621}, {937,-0.3116,12.8588,0.12623}, {938,-0.3117,12.8651,0.12625}, {939,-0.3117,12.8715,0.12626}, {940,-0.3118,12.8779,0.12628}, {941,-0.3119,12.8843,0.12629}, {942,-0.3119,12.8906,0.12631}, {943,-0.312,12.897,0.12632}, {944,-0.312,12.9033,0.12634}, {945,-0.3121,12.9097,0.12636}, {946,-0.3122,12.9161,0.12637}, {947,-0.3122,12.9224,0.12639}, {948,-0.3123,12.9288,0.1264}, {949,-0.3123,12.9351,0.12642}, {950,-0.3124,12.9415,0.12644}, {951,-0.3125,12.9478,0.12645}, {952,-0.3125,12.9541,0.12647}, {953,-0.3126,12.9605,0.12648}, {954,-0.3126,12.9668,0.1265}, {955,-0.3127,12.9732,0.12652}, {956,-0.3128,12.9795,0.12653}, {957,-0.3128,12.9858,0.12655}, {958,-0.3129,12.9921,0.12656}, {959,-0.3129,12.9985,0.12658}, {960,-0.313,13.0048,0.1266}, {961,-0.3131,13.0111,0.12661}, {962,-0.3131,13.0174,0.12663}, {963,-0.3132,13.0237,0.12665}, {964,-0.3132,13.03,0.12666}, {965,-0.3133,13.0363,0.12668}, {966,-0.3134,13.0427,0.1267}, {967,-0.3134,13.049,0.12671}, {968,-0.3135,13.0553,0.12673}, {969,-0.3135,13.0616,0.12675}, {970,-0.3136,13.0679,0.12676}, {971,-0.3136,13.0742,0.12678}, {972,-0.3137,13.0804,0.1268}, {973,-0.3138,13.0867,0.12681}, {974,-0.3138,13.093,0.12683}, {975,-0.3139,13.0993,0.12685}, {976,-0.3139,13.1056,0.12687}, {977,-0.314,13.1119,0.12688}, {978,-0.314,13.1182,0.1269}, {979,-0.3141,13.1245,0.12692}, {980,-0.3142,13.1307,0.12693}, {981,-0.3142,13.137,0.12695}, {982,-0.3143,13.1433,0.12697}, {983,-0.3143,13.1496,0.12699}, {984,-0.3144,13.1558,0.127}, {985,-0.3144,13.1621,0.12702}, {986,-0.3145,13.1684,0.12704}, {987,-0.3145,13.1746,0.12706}, {988,-0.3146,13.1809,0.12707}, {989,-0.3147,13.1872,0.12709}, {990,-0.3147,13.1934,0.12711}, {991,-0.3148,13.1997,0.12713}, {992,-0.3148,13.2059,0.12714}, {993,-0.3149,13.2122,0.12716}, {994,-0.3149,13.2185,0.12718}, {995,-0.315,13.2247,0.1272}, {996,-0.315,13.231,0.12721}, {997,-0.3151,13.2372,0.12723}, {998,-0.3152,13.2435,0.12725}, {999,-0.3152,13.2497,0.12727}, {1000,-0.3153,13.256,0.12729}, {1001,-0.3153,13.2622,0.1273}, {1002,-0.3154,13.2684,0.12732}, {1003,-0.3154,13.2747,0.12734}, {1004,-0.3155,13.2809,0.12736}, {1005,-0.3155,13.2872,0.12738}, {1006,-0.3156,13.2934,0.12739}, {1007,-0.3156,13.2996,0.12741}, {1008,-0.3157,13.3059,0.12743}, {1009,-0.3158,13.3121,0.12745}, {1010,-0.3158,13.3183,0.12747}, {1011,-0.3159,13.3246,0.12749}, {1012,-0.3159,13.3308,0.1275}, {1013,-0.316,13.337,0.12752}, {1014,-0.316,13.3433,0.12754}, {1015,-0.3161,13.3495,0.12756}, {1016,-0.3161,13.3557,0.12758}, {1017,-0.3162,13.3619,0.1276}, {1018,-0.3162,13.3682,0.12762}, {1019,-0.3163,13.3744,0.12763}, {1020,-0.3163,13.3806,0.12765}, {1021,-0.3164,13.3868,0.12767}, {1022,-0.3164,13.3931,0.12769}, {1023,-0.3165,13.3993,0.12771}, {1024,-0.3165,13.4055,0.12773}, {1025,-0.3166,13.4117,0.12775}, {1026,-0.3167,13.4179,0.12777}, {1027,-0.3167,13.4242,0.12779}, {1028,-0.3168,13.4304,0.12781}, {1029,-0.3168,13.4366,0.12782}, {1030,-0.3169,13.4428,0.12784}, {1031,-0.3169,13.449,0.12786}, {1032,-0.317,13.4552,0.12788}, {1033,-0.317,13.4614,0.1279}, {1034,-0.3171,13.4677,0.12792}, {1035,-0.3171,13.4739,0.12794}, {1036,-0.3172,13.4801,0.12796}, {1037,-0.3172,13.4863,0.12798}, {1038,-0.3173,13.4925,0.128}, {1039,-0.3173,13.4987,0.12802}, {1040,-0.3174,13.5049,0.12804}, {1041,-0.3174,13.5111,0.12806}, {1042,-0.3175,13.5173,0.12808}, {1043,-0.3175,13.5235,0.1281}, {1044,-0.3176,13.5297,0.12812}, {1045,-0.3176,13.5359,0.12814}, {1046,-0.3177,13.5421,0.12816}, {1047,-0.3177,13.5483,0.12818}, {1048,-0.3178,13.5545,0.12819}, {1049,-0.3178,13.5607,0.12821}, {1050,-0.3179,13.5669,0.12823}, {1051,-0.3179,13.5731,0.12825}, {1052,-0.318,13.5793,0.12827}, {1053,-0.318,13.5855,0.12829}, {1054,-0.3181,13.5917,0.12832}, {1055,-0.3181,13.5979,0.12834}, {1056,-0.3182,13.6041,0.12836}, {1057,-0.3182,13.6103,0.12838}, {1058,-0.3183,13.6165,0.1284}, {1059,-0.3183,13.6227,0.12842}, {1060,-0.3184,13.6289,0.12844}, {1061,-0.3184,13.6351,0.12846}, {1062,-0.3185,13.6413,0.12848}, {1063,-0.3185,13.6475,0.1285}, {1064,-0.3186,13.6537,0.12852}, {1065,-0.3186,13.6599,0.12854}, {1066,-0.3187,13.6661,0.12856}, {1067,-0.3187,13.6723,0.12858}, {1068,-0.3188,13.6785,0.1286}, {1069,-0.3188,13.6847,0.12862}, {1070,-0.3189,13.6909,0.12864}, {1071,-0.3189,13.6971,0.12866}, {1072,-0.319,13.7033,0.12868}, {1073,-0.319,13.7095,0.12871}, {1074,-0.3191,13.7157,0.12873}, {1075,-0.3191,13.7218,0.12875}, {1076,-0.3192,13.728,0.12877}, {1077,-0.3192,13.7342,0.12879}, {1078,-0.3193,13.7404,0.12881}, {1079,-0.3193,13.7466,0.12883}, {1080,-0.3194,13.7528,0.12885}, {1081,-0.3194,13.759,0.12887}, {1082,-0.3195,13.7652,0.1289}, {1083,-0.3195,13.7714,0.12892}, {1084,-0.3196,13.7776,0.12894}, {1085,-0.3196,13.7838,0.12896}, {1086,-0.3197,13.7899,0.12898}, {1087,-0.3197,13.7961,0.129}, {1088,-0.3198,13.8023,0.12902}, {1089,-0.3198,13.8085,0.12905}, {1090,-0.3198,13.8147,0.12907}, {1091,-0.3199,13.8209,0.12909}, {1092,-0.3199,13.8271,0.12911}, {1093,-0.32,13.8333,0.12913}, {1094,-0.32,13.8395,0.12915}, {1095,-0.3201,13.8456,0.12918}, {1096,-0.3201,13.8518,0.1292}, {1097,-0.3202,13.858,0.12922}, {1098,-0.3202,13.8642,0.12924}, {1099,-0.3203,13.8704,0.12926}, {1100,-0.3203,13.8766,0.12929}, {1101,-0.3204,13.8828,0.12931}, {1102,-0.3204,13.8889,0.12933}, {1103,-0.3205,13.8951,0.12935}, {1104,-0.3205,13.9013,0.12937}, {1105,-0.3206,13.9075,0.1294}, {1106,-0.3206,13.9137,0.12942}, {1107,-0.3207,13.9199,0.12944}, {1108,-0.3207,13.9261,0.12946}, {1109,-0.3208,13.9322,0.12948}, {1110,-0.3208,13.9384,0.12951}, {1111,-0.3208,13.9446,0.12953}, {1112,-0.3209,13.9508,0.12955}, {1113,-0.3209,13.957,0.12957}, {1114,-0.321,13.9632,0.1296}, {1115,-0.321,13.9693,0.12962}, {1116,-0.3211,13.9755,0.12964}, {1117,-0.3211,13.9817,0.12967}, {1118,-0.3212,13.9879,0.12969}, {1119,-0.3212,13.9941,0.12971}, {1120,-0.3213,14.0003,0.12973}, {1121,-0.3213,14.0064,0.12976}, {1122,-0.3214,14.0126,0.12978}, {1123,-0.3214,14.0188,0.1298}, {1124,-0.3215,14.025,0.12982}, {1125,-0.3215,14.0312,0.12985}, {1126,-0.3216,14.0373,0.12987}, {1127,-0.3216,14.0435,0.12989}, {1128,-0.3216,14.0497,0.12992}, {1129,-0.3217,14.0559,0.12994}, {1130,-0.3217,14.0621,0.12996}, {1131,-0.3218,14.0682,0.12999}, {1132,-0.3218,14.0744,0.13001}, {1133,-0.3219,14.0806,0.13003}, {1134,-0.3219,14.0868,0.13006}, {1135,-0.322,14.093,0.13008}, {1136,-0.322,14.0991,0.1301}, {1137,-0.3221,14.1053,0.13013}, {1138,-0.3221,14.1115,0.13015}, {1139,-0.3222,14.1177,0.13017}, {1140,-0.3222,14.1238,0.1302}, {1141,-0.3222,14.13,0.13022}, {1142,-0.3223,14.1362,0.13024}, {1143,-0.3223,14.1424,0.13027}, {1144,-0.3224,14.1485,0.13029}, {1145,-0.3224,14.1547,0.13032}, {1146,-0.3225,14.1609,0.13034}, {1147,-0.3225,14.1671,0.13036}, {1148,-0.3226,14.1732,0.13039}, {1149,-0.3226,14.1794,0.13041}, {1150,-0.3227,14.1856,0.13043}, {1151,-0.3227,14.1917,0.13046}, {1152,-0.3227,14.1979,0.13048}, {1153,-0.3228,14.2041,0.13051}, {1154,-0.3228,14.2103,0.13053}, {1155,-0.3229,14.2164,0.13055}, {1156,-0.3229,14.2226,0.13058}, {1157,-0.323,14.2288,0.1306}, {1158,-0.323,14.2349,0.13063}, {1159,-0.3231,14.2411,0.13065}, {1160,-0.3231,14.2473,0.13068}, {1161,-0.3232,14.2534,0.1307}, {1162,-0.3232,14.2596,0.13072}, {1163,-0.3232,14.2658,0.13075}, {1164,-0.3233,14.2719,0.13077}, {1165,-0.3233,14.2781,0.1308}, {1166,-0.3234,14.2843,0.13082}, {1167,-0.3234,14.2904,0.13085}, {1168,-0.3235,14.2966,0.13087}, {1169,-0.3235,14.3028,0.1309}, {1170,-0.3236,14.3089,0.13092}, {1171,-0.3236,14.3151,0.13095}, {1172,-0.3237,14.3213,0.13097}, {1173,-0.3237,14.3274,0.13099}, {1174,-0.3237,14.3336,0.13102}, {1175,-0.3238,14.3397,0.13104}, {1176,-0.3238,14.3459,0.13107}, {1177,-0.3239,14.3521,0.13109}, {1178,-0.3239,14.3582,0.13112}, {1179,-0.324,14.3644,0.13114}, {1180,-0.324,14.3705,0.13117}, {1181,-0.3241,14.3767,0.13119}, {1182,-0.3241,14.3829,0.13122}, {1183,-0.3241,14.389,0.13124}, {1184,-0.3242,14.3952,0.13127}, {1185,-0.3242,14.4013,0.13129}, {1186,-0.3243,14.4075,0.13132}, {1187,-0.3243,14.4136,0.13134}, {1188,-0.3244,14.4198,0.13137}, {1189,-0.3244,14.4259,0.1314}, {1190,-0.3245,14.4321,0.13142}, {1191,-0.3245,14.4382,0.13145}, {1192,-0.3245,14.4444,0.13147}, {1193,-0.3246,14.4505,0.1315}, {1194,-0.3246,14.4567,0.13152}, {1195,-0.3247,14.4628,0.13155}, {1196,-0.3247,14.469,0.13157}, {1197,-0.3248,14.4751,0.1316}, {1198,-0.3248,14.4813,0.13162}, {1199,-0.3249,14.4874,0.13165}, {1200,-0.3249,14.4936,0.13167}, {1201,-0.3249,14.4997,0.1317}, {1202,-0.325,14.5059,0.13173}, {1203,-0.325,14.512,0.13175}, {1204,-0.3251,14.5181,0.13178}, {1205,-0.3251,14.5243,0.1318}, {1206,-0.3252,14.5304,0.13183}, {1207,-0.3252,14.5366,0.13185}, {1208,-0.3253,14.5427,0.13188}, {1209,-0.3253,14.5488,0.13191}, {1210,-0.3253,14.555,0.13193}, {1211,-0.3254,14.5611,0.13196}, {1212,-0.3254,14.5673,0.13198}, {1213,-0.3255,14.5734,0.13201}, {1214,-0.3255,14.5795,0.13204}, {1215,-0.3256,14.5857,0.13206}, {1216,-0.3256,14.5918,0.13209}, {1217,-0.3257,14.5979,0.13211}, {1218,-0.3257,14.6041,0.13214}, {1219,-0.3257,14.6102,0.13217}, {1220,-0.3258,14.6163,0.13219}, {1221,-0.3258,14.6225,0.13222}, {1222,-0.3259,14.6286,0.13225}, {1223,-0.3259,14.6347,0.13227}, {1224,-0.326,14.6408,0.1323}, {1225,-0.326,14.647,0.13232}, {1226,-0.3261,14.6531,0.13235}, {1227,-0.3261,14.6592,0.13238}, {1228,-0.3261,14.6653,0.1324}, {1229,-0.3262,14.6715,0.13243}, {1230,-0.3262,14.6776,0.13246}, {1231,-0.3263,14.6837,0.13248}, {1232,-0.3263,14.6898,0.13251}, {1233,-0.3264,14.696,0.13254}, {1234,-0.3264,14.7021,0.13256}, {1235,-0.3264,14.7082,0.13259}, {1236,-0.3265,14.7143,0.13262}, {1237,-0.3265,14.7204,0.13264}, {1238,-0.3266,14.7265,0.13267}, {1239,-0.3266,14.7327,0.13269}, {1240,-0.3267,14.7388,0.13272}, {1241,-0.3267,14.7449,0.13275}, {1242,-0.3268,14.751,0.13278}, {1243,-0.3268,14.7571,0.1328}, {1244,-0.3268,14.7632,0.13283}, {1245,-0.3269,14.7693,0.13286}, {1246,-0.3269,14.7754,0.13288}, {1247,-0.327,14.7816,0.13291}, {1248,-0.327,14.7877,0.13294}, {1249,-0.3271,14.7938,0.13296}, {1250,-0.3271,14.7999,0.13299}, {1251,-0.3271,14.806,0.13302}, {1252,-0.3272,14.8121,0.13304}, {1253,-0.3272,14.8182,0.13307}, {1254,-0.3273,14.8243,0.1331}, {1255,-0.3273,14.8304,0.13312}, {1256,-0.3274,14.8365,0.13315}, {1257,-0.3274,14.8426,0.13318}, {1258,-0.3274,14.8487,0.13321}, {1259,-0.3275,14.8548,0.13323}, {1260,-0.3275,14.8609,0.13326}, {1261,-0.3276,14.867,0.13329}, {1262,-0.3276,14.8731,0.13331}, {1263,-0.3277,14.8792,0.13334}, {1264,-0.3277,14.8853,0.13337}, {1265,-0.3278,14.8913,0.13339}, {1266,-0.3278,14.8974,0.13342}, {1267,-0.3278,14.9035,0.13345}, {1268,-0.3279,14.9096,0.13348}, {1269,-0.3279,14.9157,0.1335}, {1270,-0.328,14.9218,0.13353}, {1271,-0.328,14.9279,0.13356}, {1272,-0.3281,14.934,0.13359}, {1273,-0.3281,14.94,0.13361}, {1274,-0.3281,14.9461,0.13364}, {1275,-0.3282,14.9522,0.13367}, {1276,-0.3282,14.9583,0.13369}, {1277,-0.3283,14.9644,0.13372}, {1278,-0.3283,14.9704,0.13375}, {1279,-0.3284,14.9765,0.13378}, {1280,-0.3284,14.9826,0.1338}, {1281,-0.3284,14.9887,0.13383}, {1282,-0.3285,14.9948,0.13386}, {1283,-0.3285,15.0008,0.13389}, {1284,-0.3286,15.0069,0.13391}, {1285,-0.3286,15.013,0.13394}, {1286,-0.3287,15.019,0.13397}, {1287,-0.3287,15.0251,0.134}, {1288,-0.3287,15.0312,0.13402}, {1289,-0.3288,15.0373,0.13405}, {1290,-0.3288,15.0433,0.13408}, {1291,-0.3289,15.0494,0.13411}, {1292,-0.3289,15.0555,0.13413}, {1293,-0.329,15.0615,0.13416}, {1294,-0.329,15.0676,0.13419}, {1295,-0.329,15.0736,0.13422}, {1296,-0.3291,15.0797,0.13425}, {1297,-0.3291,15.0858,0.13427}, {1298,-0.3292,15.0918,0.1343}, {1299,-0.3292,15.0979,0.13433}, {1300,-0.3293,15.1039,0.13436}, {1301,-0.3293,15.11,0.13438}, {1302,-0.3293,15.1161,0.13441}, {1303,-0.3294,15.1221,0.13444}, {1304,-0.3294,15.1282,0.13447}, {1305,-0.3295,15.1342,0.13449}, {1306,-0.3295,15.1403,0.13452}, {1307,-0.3296,15.1463,0.13455}, {1308,-0.3296,15.1524,0.13458}, {1309,-0.3296,15.1584,0.13461}, {1310,-0.3297,15.1645,0.13463}, {1311,-0.3297,15.1705,0.13466}, {1312,-0.3298,15.1766,0.13469}, {1313,-0.3298,15.1826,0.13472}, {1314,-0.3299,15.1887,0.13474}, {1315,-0.3299,15.1947,0.13477}, {1316,-0.3299,15.2008,0.1348}, {1317,-0.33,15.2068,0.13483}, {1318,-0.33,15.2128,0.13486}, {1319,-0.3301,15.2189,0.13488}, {1320,-0.3301,15.2249,0.13491}, {1321,-0.3302,15.231,0.13494}, {1322,-0.3302,15.237,0.13497}, {1323,-0.3302,15.243,0.135}, {1324,-0.3303,15.2491,0.13502}, {1325,-0.3303,15.2551,0.13505}, {1326,-0.3304,15.2611,0.13508}, {1327,-0.3304,15.2672,0.13511}, {1328,-0.3305,15.2732,0.13514}, {1329,-0.3305,15.2792,0.13516}, {1330,-0.3305,15.2853,0.13519}, {1331,-0.3306,15.2913,0.13522}, {1332,-0.3306,15.2973,0.13525}, {1333,-0.3307,15.3034,0.13527}, {1334,-0.3307,15.3094,0.1353}, {1335,-0.3308,15.3154,0.13533}, {1336,-0.3308,15.3214,0.13536}, {1337,-0.3308,15.3275,0.13539}, {1338,-0.3309,15.3335,0.13541}, {1339,-0.3309,15.3395,0.13544}, {1340,-0.331,15.3455,0.13547}, {1341,-0.331,15.3516,0.1355}, {1342,-0.3311,15.3576,0.13553}, {1343,-0.3311,15.3636,0.13555}, {1344,-0.3311,15.3696,0.13558}, {1345,-0.3312,15.3756,0.13561}, {1346,-0.3312,15.3817,0.13564}, {1347,-0.3313,15.3877,0.13567}, {1348,-0.3313,15.3937,0.13569}, {1349,-0.3314,15.3997,0.13572}, {1350,-0.3314,15.4057,0.13575}, {1351,-0.3314,15.4117,0.13578}, {1352,-0.3315,15.4178,0.13581}, {1353,-0.3315,15.4238,0.13584}, {1354,-0.3316,15.4298,0.13586}, {1355,-0.3316,15.4358,0.13589}, {1356,-0.3317,15.4418,0.13592}, {1357,-0.3317,15.4478,0.13595}, {1358,-0.3317,15.4538,0.13598}, {1359,-0.3318,15.4598,0.136}, {1360,-0.3318,15.4658,0.13603}, {1361,-0.3319,15.4719,0.13606}, {1362,-0.3319,15.4779,0.13609}, {1363,-0.332,15.4839,0.13612}, {1364,-0.332,15.4899,0.13614}, {1365,-0.332,15.4959,0.13617}, {1366,-0.3321,15.5019,0.1362}, {1367,-0.3321,15.5079,0.13623}, {1368,-0.3322,15.5139,0.13626}, {1369,-0.3322,15.5199,0.13628}, {1370,-0.3322,15.5259,0.13631}, {1371,-0.3323,15.5319,0.13634}, {1372,-0.3323,15.5379,0.13637}, {1373,-0.3324,15.5439,0.1364}, {1374,-0.3324,15.5499,0.13642}, {1375,-0.3325,15.5559,0.13645}, {1376,-0.3325,15.5619,0.13648}, {1377,-0.3325,15.5679,0.13651}, {1378,-0.3326,15.5739,0.13654}, {1379,-0.3326,15.5799,0.13656}, {1380,-0.3327,15.5859,0.13659}, {1381,-0.3327,15.5918,0.13662}, {1382,-0.3328,15.5978,0.13665}, {1383,-0.3328,15.6038,0.13668}, {1384,-0.3328,15.6098,0.1367}, {1385,-0.3329,15.6158,0.13673}, {1386,-0.3329,15.6218,0.13676}, {1387,-0.333,15.6278,0.13679}, {1388,-0.333,15.6338,0.13682}, {1389,-0.3331,15.6398,0.13684}, {1390,-0.3331,15.6458,0.13687}, {1391,-0.3331,15.6517,0.1369}, {1392,-0.3332,15.6577,0.13693}, {1393,-0.3332,15.6637,0.13696}, {1394,-0.3333,15.6697,0.13698}, {1395,-0.3333,15.6757,0.13701}, {1396,-0.3334,15.6817,0.13704}, {1397,-0.3334,15.6877,0.13707}, {1398,-0.3334,15.6936,0.1371}, {1399,-0.3335,15.6996,0.13712}, {1400,-0.3335,15.7056,0.13715}, {1401,-0.3336,15.7116,0.13718}, {1402,-0.3336,15.7176,0.13721}, {1403,-0.3337,15.7236,0.13724}, {1404,-0.3337,15.7295,0.13726}, {1405,-0.3337,15.7355,0.13729}, {1406,-0.3338,15.7415,0.13732}, {1407,-0.3338,15.7475,0.13735}, {1408,-0.3339,15.7534,0.13737}, {1409,-0.3339,15.7594,0.1374}, {1410,-0.3339,15.7654,0.13743}, {1411,-0.334,15.7714,0.13746}, {1412,-0.334,15.7774,0.13749}, {1413,-0.3341,15.7833,0.13751}, {1414,-0.3341,15.7893,0.13754}, {1415,-0.3342,15.7953,0.13757}, {1416,-0.3342,15.8013,0.1376}, {1417,-0.3342,15.8072,0.13763}, {1418,-0.3343,15.8132,0.13765}, {1419,-0.3343,15.8192,0.13768}, {1420,-0.3344,15.8252,0.13771}, {1421,-0.3344,15.8311,0.13774}, {1422,-0.3345,15.8371,0.13776}, {1423,-0.3345,15.8431,0.13779}, {1424,-0.3345,15.849,0.13782}, {1425,-0.3346,15.855,0.13785}, {1426,-0.3346,15.861,0.13788}, {1427,-0.3347,15.8669,0.1379}, {1428,-0.3347,15.8729,0.13793}, {1429,-0.3348,15.8789,0.13796}, {1430,-0.3348,15.8849,0.13799}, {1431,-0.3348,15.8908,0.13801}, {1432,-0.3349,15.8968,0.13804}, {1433,-0.3349,15.9028,0.13807}, {1434,-0.335,15.9087,0.1381}, {1435,-0.335,15.9147,0.13813}, {1436,-0.3351,15.9207,0.13815}, {1437,-0.3351,15.9266,0.13818}, {1438,-0.3351,15.9326,0.13821}, {1439,-0.3352,15.9386,0.13824}, {1440,-0.3352,15.9445,0.13826}, {1441,-0.3353,15.9505,0.13829}, {1442,-0.3353,15.9565,0.13832}, {1443,-0.3354,15.9624,0.13835}, {1444,-0.3354,15.9684,0.13838}, {1445,-0.3354,15.9744,0.1384}, {1446,-0.3355,15.9803,0.13843}, {1447,-0.3355,15.9863,0.13846}, {1448,-0.3356,15.9922,0.13849}, {1449,-0.3356,15.9982,0.13851}, {1450,-0.3357,16.0042,0.13854}, {1451,-0.3357,16.0101,0.13857}, {1452,-0.3357,16.0161,0.1386}, {1453,-0.3358,16.0221,0.13862}, {1454,-0.3358,16.028,0.13865}, {1455,-0.3359,16.034,0.13868}, {1456,-0.3359,16.0399,0.13871}, {1457,-0.3359,16.0459,0.13873}, {1458,-0.336,16.0519,0.13876}, {1459,-0.336,16.0578,0.13879}, {1460,-0.3361,16.0638,0.13882}, {1461,-0.3361,16.0697,0.13884}, {1462,-0.3362,16.0757,0.13887}, {1463,-0.3362,16.0817,0.1389}, {1464,-0.3362,16.0876,0.13893}, {1465,-0.3363,16.0936,0.13895}, {1466,-0.3363,16.0995,0.13898}, {1467,-0.3364,16.1055,0.13901}, {1468,-0.3364,16.1115,0.13904}, {1469,-0.3365,16.1174,0.13907}, {1470,-0.3365,16.1234,0.13909}, {1471,-0.3365,16.1293,0.13912}, {1472,-0.3366,16.1353,0.13915}, {1473,-0.3366,16.1413,0.13918}, {1474,-0.3367,16.1472,0.1392}, {1475,-0.3367,16.1532,0.13923}, {1476,-0.3368,16.1591,0.13926}, {1477,-0.3368,16.1651,0.13928}, {1478,-0.3368,16.171,0.13931}, {1479,-0.3369,16.177,0.13934}, {1480,-0.3369,16.1829,0.13937}, {1481,-0.337,16.1889,0.13939}, {1482,-0.337,16.1949,0.13942}, {1483,-0.3371,16.2008,0.13945}, {1484,-0.3371,16.2068,0.13948}, {1485,-0.3371,16.2127,0.1395}, {1486,-0.3372,16.2187,0.13953}, {1487,-0.3372,16.2246,0.13956}, {1488,-0.3373,16.2306,0.13959}, {1489,-0.3373,16.2365,0.13961}, {1490,-0.3374,16.2425,0.13964}, {1491,-0.3374,16.2485,0.13967}, {1492,-0.3374,16.2544,0.1397}, {1493,-0.3375,16.2604,0.13972}, {1494,-0.3375,16.2663,0.13975}, {1495,-0.3376,16.2723,0.13978}, {1496,-0.3376,16.2782,0.1398}, {1497,-0.3377,16.2842,0.13983}, {1498,-0.3377,16.2901,0.13986}, {1499,-0.3377,16.2961,0.13989}, {1500,-0.3378,16.302,0.13991}, {1501,-0.3378,16.308,0.13994}, {1502,-0.3379,16.314,0.13997}, {1503,-0.3379,16.3199,0.14}, {1504,-0.338,16.3259,0.14002}, {1505,-0.338,16.3318,0.14005}, {1506,-0.338,16.3378,0.14008}, {1507,-0.3381,16.3437,0.1401}, {1508,-0.3381,16.3497,0.14013}, {1509,-0.3382,16.3556,0.14016}, {1510,-0.3382,16.3616,0.14019}, {1511,-0.3383,16.3675,0.14021}, {1512,-0.3383,16.3735,0.14024}, {1513,-0.3383,16.3794,0.14027}, {1514,-0.3384,16.3854,0.14029}, {1515,-0.3384,16.3913,0.14032}, {1516,-0.3385,16.3973,0.14035}, {1517,-0.3385,16.4032,0.14038}, {1518,-0.3386,16.4092,0.1404}, {1519,-0.3386,16.4151,0.14043}, {1520,-0.3386,16.4211,0.14046}, {1521,-0.3387,16.427,0.14048}, {1522,-0.3387,16.433,0.14051}, {1523,-0.3388,16.4389,0.14054}, {1524,-0.3388,16.4449,0.14056}, {1525,-0.3389,16.4508,0.14059}, {1526,-0.3389,16.4568,0.14062}, {1527,-0.3389,16.4627,0.14065}, {1528,-0.339,16.4687,0.14067}, {1529,-0.339,16.4746,0.1407}, {1530,-0.3391,16.4806,0.14073}, {1531,-0.3391,16.4865,0.14075}, {1532,-0.3392,16.4925,0.14078}, {1533,-0.3392,16.4984,0.14081}, {1534,-0.3392,16.5044,0.14083}, {1535,-0.3393,16.5103,0.14086}, {1536,-0.3393,16.5163,0.14089}, {1537,-0.3394,16.5222,0.14091}, {1538,-0.3394,16.5282,0.14094}, {1539,-0.3395,16.5341,0.14097}, {1540,-0.3395,16.5401,0.141}, {1541,-0.3396,16.546,0.14102}, {1542,-0.3396,16.552,0.14105}, {1543,-0.3396,16.5579,0.14108}, {1544,-0.3397,16.5639,0.1411}, {1545,-0.3397,16.5698,0.14113}, {1546,-0.3398,16.5758,0.14116}, {1547,-0.3398,16.5817,0.14118}, {1548,-0.3399,16.5876,0.14121}, {1549,-0.3399,16.5936,0.14124}, {1550,-0.3399,16.5995,0.14126}, {1551,-0.34,16.6055,0.14129}, {1552,-0.34,16.6114,0.14132}, {1553,-0.3401,16.6174,0.14134}, {1554,-0.3401,16.6233,0.14137}, {1555,-0.3402,16.6293,0.1414}, {1556,-0.3402,16.6352,0.14142}, {1557,-0.3402,16.6412,0.14145}, {1558,-0.3403,16.6471,0.14148}, {1559,-0.3403,16.653,0.1415}, {1560,-0.3404,16.659,0.14153}, {1561,-0.3404,16.6649,0.14156}, {1562,-0.3405,16.6709,0.14158}, {1563,-0.3405,16.6768,0.14161}, {1564,-0.3405,16.6828,0.14164}, {1565,-0.3406,16.6887,0.14166}, {1566,-0.3406,16.6947,0.14169}, {1567,-0.3407,16.7006,0.14172}, {1568,-0.3407,16.7065,0.14174}, {1569,-0.3408,16.7125,0.14177}, {1570,-0.3408,16.7184,0.14179}, {1571,-0.3408,16.7244,0.14182}, {1572,-0.3409,16.7303,0.14185}, {1573,-0.3409,16.7363,0.14187}, {1574,-0.341,16.7422,0.1419}, {1575,-0.341,16.7481,0.14193}, {1576,-0.3411,16.7541,0.14195}, {1577,-0.3411,16.76,0.14198}, {1578,-0.3412,16.766,0.14201}, {1579,-0.3412,16.7719,0.14203}, {1580,-0.3412,16.7778,0.14206}, {1581,-0.3413,16.7838,0.14209}, {1582,-0.3413,16.7897,0.14211}, {1583,-0.3414,16.7957,0.14214}, {1584,-0.3414,16.8016,0.14216}, {1585,-0.3415,16.8075,0.14219}, {1586,-0.3415,16.8135,0.14222}, {1587,-0.3415,16.8194,0.14224}, {1588,-0.3416,16.8254,0.14227}, {1589,-0.3416,16.8313,0.1423}, {1590,-0.3417,16.8372,0.14232}, {1591,-0.3417,16.8432,0.14235}, {1592,-0.3418,16.8491,0.14237}, {1593,-0.3418,16.855,0.1424}, {1594,-0.3418,16.861,0.14243}, {1595,-0.3419,16.8669,0.14245}, {1596,-0.3419,16.8729,0.14248}, {1597,-0.342,16.8788,0.14251}, {1598,-0.342,16.8847,0.14253}, {1599,-0.3421,16.8907,0.14256}, {1600,-0.3421,16.8966,0.14258}, {1601,-0.3421,16.9025,0.14261}, {1602,-0.3422,16.9085,0.14264}, {1603,-0.3422,16.9144,0.14266}, {1604,-0.3423,16.9203,0.14269}, {1605,-0.3423,16.9263,0.14271}, {1606,-0.3424,16.9322,0.14274}, {1607,-0.3424,16.9381,0.14277}, {1608,-0.3425,16.9441,0.14279}, {1609,-0.3425,16.95,0.14282}, {1610,-0.3425,16.9559,0.14284}, {1611,-0.3426,16.9619,0.14287}, {1612,-0.3426,16.9678,0.1429}, {1613,-0.3427,16.9737,0.14292}, {1614,-0.3427,16.9796,0.14295}, {1615,-0.3428,16.9856,0.14297}, {1616,-0.3428,16.9915,0.143}, {1617,-0.3428,16.9974,0.14303}, {1618,-0.3429,17.0034,0.14305}, {1619,-0.3429,17.0093,0.14308}, {1620,-0.343,17.0152,0.1431}, {1621,-0.343,17.0211,0.14313}, {1622,-0.3431,17.0271,0.14315}, {1623,-0.3431,17.033,0.14318}, {1624,-0.3431,17.0389,0.14321}, {1625,-0.3432,17.0448,0.14323}, {1626,-0.3432,17.0508,0.14326}, {1627,-0.3433,17.0567,0.14328}, {1628,-0.3433,17.0626,0.14331}, {1629,-0.3434,17.0685,0.14334}, {1630,-0.3434,17.0744,0.14336}, {1631,-0.3434,17.0804,0.14339}, {1632,-0.3435,17.0863,0.14341}, {1633,-0.3435,17.0922,0.14344}, {1634,-0.3436,17.0981,0.14346}, {1635,-0.3436,17.104,0.14349}, {1636,-0.3437,17.11,0.14352}, {1637,-0.3437,17.1159,0.14354}, {1638,-0.3438,17.1218,0.14357}, {1639,-0.3438,17.1277,0.14359}, {1640,-0.3438,17.1336,0.14362}, {1641,-0.3439,17.1395,0.14364}, {1642,-0.3439,17.1455,0.14367}, {1643,-0.344,17.1514,0.14369}, {1644,-0.344,17.1573,0.14372}, {1645,-0.3441,17.1632,0.14375}, {1646,-0.3441,17.1691,0.14377}, {1647,-0.3441,17.175,0.1438}, {1648,-0.3442,17.1809,0.14382}, {1649,-0.3442,17.1868,0.14385}, {1650,-0.3443,17.1927,0.14387}, {1651,-0.3443,17.1987,0.1439}, {1652,-0.3444,17.2046,0.14392}, {1653,-0.3444,17.2105,0.14395}, {1654,-0.3444,17.2164,0.14398}, {1655,-0.3445,17.2223,0.144}, {1656,-0.3445,17.2282,0.14403}, {1657,-0.3446,17.2341,0.14405}, {1658,-0.3446,17.24,0.14408}, {1659,-0.3447,17.2459,0.1441}, {1660,-0.3447,17.2518,0.14413}, {1661,-0.3448,17.2577,0.14415}, {1662,-0.3448,17.2636,0.14418}, {1663,-0.3448,17.2695,0.1442}, {1664,-0.3449,17.2754,0.14423}, {1665,-0.3449,17.2813,0.14426}, {1666,-0.345,17.2872,0.14428}, {1667,-0.345,17.2931,0.14431}, {1668,-0.3451,17.299,0.14433}, {1669,-0.3451,17.3049,0.14436}, {1670,-0.3451,17.3108,0.14438}, {1671,-0.3452,17.3167,0.14441}, {1672,-0.3452,17.3226,0.14443}, {1673,-0.3453,17.3285,0.14446}, {1674,-0.3453,17.3344,0.14448}, {1675,-0.3454,17.3402,0.14451}, {1676,-0.3454,17.3461,0.14453}, {1677,-0.3454,17.352,0.14456}, {1678,-0.3455,17.3579,0.14458}, {1679,-0.3455,17.3638,0.14461}, {1680,-0.3456,17.3697,0.14463}, {1681,-0.3456,17.3756,0.14466}, {1682,-0.3457,17.3815,0.14468}, {1683,-0.3457,17.3873,0.14471}, {1684,-0.3457,17.3932,0.14473}, {1685,-0.3458,17.3991,0.14476}, {1686,-0.3458,17.405,0.14479}, {1687,-0.3459,17.4109,0.14481}, {1688,-0.3459,17.4167,0.14484}, {1689,-0.346,17.4226,0.14486}, {1690,-0.346,17.4285,0.14489}, {1691,-0.346,17.4344,0.14491}, {1692,-0.3461,17.4403,0.14494}, {1693,-0.3461,17.4461,0.14496}, {1694,-0.3462,17.452,0.14499}, {1695,-0.3462,17.4579,0.14501}, {1696,-0.3463,17.4637,0.14504}, {1697,-0.3463,17.4696,0.14506}, {1698,-0.3463,17.4755,0.14509}, {1699,-0.3464,17.4814,0.14511}, {1700,-0.3464,17.4872,0.14514}, {1701,-0.3465,17.4931,0.14516}, {1702,-0.3465,17.499,0.14519}, {1703,-0.3466,17.5048,0.14521}, {1704,-0.3466,17.5107,0.14524}, {1705,-0.3467,17.5166,0.14526}, {1706,-0.3467,17.5224,0.14529}, {1707,-0.3467,17.5283,0.14531}, {1708,-0.3468,17.5341,0.14534}, {1709,-0.3468,17.54,0.14536}, {1710,-0.3469,17.5459,0.14539}, {1711,-0.3469,17.5517,0.14541}, {1712,-0.347,17.5576,0.14544}, {1713,-0.347,17.5634,0.14546}, {1714,-0.347,17.5693,0.14549}, {1715,-0.3471,17.5751,0.14551}, {1716,-0.3471,17.581,0.14553}, {1717,-0.3472,17.5868,0.14556}, {1718,-0.3472,17.5927,0.14558}, {1719,-0.3473,17.5985,0.14561}, {1720,-0.3473,17.6044,0.14563}, {1721,-0.3473,17.6102,0.14566}, {1722,-0.3474,17.6161,0.14568}, {1723,-0.3474,17.6219,0.14571}, {1724,-0.3475,17.6278,0.14573}, {1725,-0.3475,17.6336,0.14576}, {1726,-0.3476,17.6394,0.14578}, {1727,-0.3476,17.6453,0.14581}, {1728,-0.3476,17.6511,0.14583}, {1729,-0.3477,17.657,0.14586}, {1730,-0.3477,17.6628,0.14588}, {1731,-0.3478,17.6686,0.14591}, {1732,-0.3478,17.6745,0.14593}, {1733,-0.3479,17.6803,0.14596}, {1734,-0.3479,17.6861,0.14598}, {1735,-0.3479,17.692,0.146}, {1736,-0.348,17.6978,0.14603}, {1737,-0.348,17.7036,0.14605}, {1738,-0.3481,17.7095,0.14608}, {1739,-0.3481,17.7153,0.1461}, {1740,-0.3482,17.7211,0.14613}, {1741,-0.3482,17.7269,0.14615}, {1742,-0.3482,17.7328,0.14618}, {1743,-0.3483,17.7386,0.1462}, {1744,-0.3483,17.7444,0.14623}, {1745,-0.3484,17.7502,0.14625}, {1746,-0.3484,17.7561,0.14628}, {1747,-0.3485,17.7619,0.1463}, {1748,-0.3485,17.7677,0.14632}, {1749,-0.3485,17.7735,0.14635}, {1750,-0.3486,17.7793,0.14637}, {1751,-0.3486,17.7851,0.1464}, {1752,-0.3487,17.791,0.14642}, {1753,-0.3487,17.7968,0.14645}, {1754,-0.3488,17.8026,0.14647}, {1755,-0.3488,17.8084,0.1465}, {1756,-0.3488,17.8142,0.14652}, {1757,-0.3489,17.82,0.14654}, {1758,-0.3489,17.8258,0.14657}, {1759,-0.349,17.8316,0.14659}, {1760,-0.349,17.8374,0.14662}, {1761,-0.3491,17.8432,0.14664}, {1762,-0.3491,17.849,0.14667}, {1763,-0.3491,17.8548,0.14669}, {1764,-0.3492,17.8606,0.14672}, {1765,-0.3492,17.8664,0.14674}, {1766,-0.3493,17.8722,0.14676}, {1767,-0.3493,17.878,0.14679}, {1768,-0.3493,17.8838,0.14681}, {1769,-0.3494,17.8896,0.14684}, {1770,-0.3494,17.8954,0.14686}, {1771,-0.3495,17.9012,0.14689}, {1772,-0.3495,17.907,0.14691}, {1773,-0.3496,17.9128,0.14693}, {1774,-0.3496,17.9186,0.14696}, {1775,-0.3496,17.9243,0.14698}, {1776,-0.3497,17.9301,0.14701}, {1777,-0.3497,17.9359,0.14703}, {1778,-0.3498,17.9417,0.14706}, {1779,-0.3498,17.9475,0.14708}, {1780,-0.3499,17.9533,0.1471}, {1781,-0.3499,17.959,0.14713}, {1782,-0.3499,17.9648,0.14715}, {1783,-0.35,17.9706,0.14718}, {1784,-0.35,17.9764,0.1472}, {1785,-0.3501,17.9821,0.14722}, {1786,-0.3501,17.9879,0.14725}, {1787,-0.3502,17.9937,0.14727}, {1788,-0.3502,17.9995,0.1473}, {1789,-0.3502,18.0052,0.14732}, {1790,-0.3503,18.011,0.14735}, {1791,-0.3503,18.0168,0.14737}, {1792,-0.3504,18.0225,0.14739}, {1793,-0.3504,18.0283,0.14742}, {1794,-0.3505,18.0341,0.14744}, {1795,-0.3505,18.0398,0.14747}, {1796,-0.3505,18.0456,0.14749}, {1797,-0.3506,18.0513,0.14751}, {1798,-0.3506,18.0571,0.14754}, {1799,-0.3507,18.0629,0.14756}, {1800,-0.3507,18.0686,0.14759}, {1801,-0.3507,18.0744,0.14761}, {1802,-0.3508,18.0801,0.14763}, {1803,-0.3508,18.0859,0.14766}, {1804,-0.3509,18.0916,0.14768}, {1805,-0.3509,18.0974,0.14771}, {1806,-0.351,18.1031,0.14773}, {1807,-0.351,18.1089,0.14775}, {1808,-0.351,18.1146,0.14778}, {1809,-0.3511,18.1204,0.1478}, {1810,-0.3511,18.1261,0.14783}, {1811,-0.3512,18.1319,0.14785}, {1812,-0.3512,18.1376,0.14787}, {1813,-0.3513,18.1434,0.1479}, {1814,-0.3513,18.1491,0.14792}, {1815,-0.3513,18.1548,0.14794}, {1816,-0.3514,18.1606,0.14797}, {1817,-0.3514,18.1663,0.14799}, {1818,-0.3515,18.172,0.14802}, {1819,-0.3515,18.1778,0.14804}, {1820,-0.3515,18.1835,0.14806}, {1821,-0.3516,18.1892,0.14809}, {1822,-0.3516,18.195,0.14811}, {1823,-0.3517,18.2007,0.14814}, {1824,-0.3517,18.2064,0.14816}, {1825,-0.3518,18.2122,0.14818}, {1826,-0.3518,18.2179,0.14821}, {1827,-0.3518,18.2236,0.14823}, {1828,-0.3519,18.2293,0.14825}, {1829,-0.3519,18.235,0.14828}, {1830,-0.352,18.2408,0.1483}, {1831,-0.352,18.2465,0.14833}, {1832,-0.352,18.2522,0.14835}, {1833,-0.3521,18.2579,0.14837}, {1834,-0.3521,18.2636,0.1484}, {1835,-0.3522,18.2693,0.14842}, {1836,-0.3522,18.2751,0.14844}, {1837,-0.3523,18.2808,0.14847}, {1838,-0.3523,18.2865,0.14849}, {1839,-0.3523,18.2922,0.14852}, {1840,-0.3524,18.2979,0.14854}, {1841,-0.3524,18.3036,0.14856}, {1842,-0.3525,18.3093,0.14859}, {1843,-0.3525,18.315,0.14861}, {1844,-0.3526,18.3207,0.14863}, {1845,-0.3526,18.3264,0.14866}, {1846,-0.3526,18.3321,0.14868}, {1847,-0.3527,18.3378,0.14871}, {1848,-0.3527,18.3435,0.14873}, {1849,-0.3528,18.3492,0.14875}, {1850,-0.3528,18.3549,0.14878}, {1851,-0.3528,18.3606,0.1488}, {1852,-0.3529,18.3663,0.14882}, {1853,-0.3529,18.372,0.14885}, {1854,-0.353,18.3777,0.14887}, {1855,-0.353,18.3834,0.14889}, {1856,-0.3531,18.389,0.14892} }; return girlsWeightForAge[index < girlsWeightForAge.length ? index : girlsWeightForAge.length]; } public double[]getBoysLengthForAge(int index){ double[][]boysLengthForAge = { {0,1,49.8842,0.03795}, {1,1,50.0601,0.03785}, {2,1,50.2359,0.03775}, {3,1,50.4118,0.03764}, {4,1,50.5876,0.03754}, {5,1,50.7635,0.03744}, {6,1,50.9393,0.03734}, {7,1,51.1152,0.03723}, {8,1,51.291,0.03713}, {9,1,51.4669,0.03703}, {10,1,51.6427,0.03693}, {11,1,51.8186,0.03682}, {12,1,51.9944,0.03672}, {13,1,52.1702,0.03662}, {14,1,52.3461,0.03652}, {15,1,52.4978,0.03645}, {16,1,52.6488,0.03639}, {17,1,52.799,0.03633}, {18,1,52.9483,0.03627}, {19,1,53.0967,0.03621}, {20,1,53.2441,0.03615}, {21,1,53.3905,0.03609}, {22,1,53.536,0.03603}, {23,1,53.6805,0.03597}, {24,1,53.8239,0.03592}, {25,1,53.9664,0.03586}, {26,1,54.1079,0.03581}, {27,1,54.2485,0.03575}, {28,1,54.3881,0.0357}, {29,1,54.5268,0.03565}, {30,1,54.6645,0.03559}, {31,1,54.8012,0.03554}, {32,1,54.9368,0.03549}, {33,1,55.0714,0.03544}, {34,1,55.2049,0.03539}, {35,1,55.3374,0.03534}, {36,1,55.4688,0.03529}, {37,1,55.5992,0.03524}, {38,1,55.7285,0.0352}, {39,1,55.8568,0.03515}, {40,1,55.9841,0.0351}, {41,1,56.1104,0.03506}, {42,1,56.2357,0.03501}, {43,1,56.3599,0.03496}, {44,1,56.4833,0.03492}, {45,1,56.6056,0.03488}, {46,1,56.7269,0.03483}, {47,1,56.8472,0.03479}, {48,1,56.9666,0.03475}, {49,1,57.0851,0.0347}, {50,1,57.2026,0.03466}, {51,1,57.3192,0.03462}, {52,1,57.4349,0.03458}, {53,1,57.5497,0.03454}, {54,1,57.6637,0.0345}, {55,1,57.7767,0.03446}, {56,1,57.8889,0.03442}, {57,1,58.0003,0.03438}, {58,1,58.1109,0.03434}, {59,1,58.2207,0.03431}, {60,1,58.3299,0.03427}, {61,1,58.4384,0.03423}, {62,1,58.5463,0.0342}, {63,1,58.6536,0.03416}, {64,1,58.7603,0.03412}, {65,1,58.8664,0.03409}, {66,1,58.9718,0.03405}, {67,1,59.0766,0.03402}, {68,1,59.1808,0.03398}, {69,1,59.2843,0.03395}, {70,1,59.3872,0.03392}, {71,1,59.4894,0.03388}, {72,1,59.591,0.03385}, {73,1,59.692,0.03382}, {74,1,59.7923,0.03379}, {75,1,59.892,0.03375}, {76,1,59.991,0.03372}, {77,1,60.0894,0.03369}, {78,1,60.1872,0.03366}, {79,1,60.2843,0.03363}, {80,1,60.3808,0.0336}, {81,1,60.4767,0.03357}, {82,1,60.5719,0.03354}, {83,1,60.6665,0.03351}, {84,1,60.7605,0.03348}, {85,1,60.8539,0.03345}, {86,1,60.9466,0.03342}, {87,1,61.0388,0.0334}, {88,1,61.1303,0.03337}, {89,1,61.2212,0.03334}, {90,1,61.3115,0.03331}, {91,1,61.4013,0.03329}, {92,1,61.4904,0.03326}, {93,1,61.579,0.03323}, {94,1,61.667,0.03321}, {95,1,61.7543,0.03318}, {96,1,61.8411,0.03316}, {97,1,61.9274,0.03313}, {98,1,62.013,0.03311}, {99,1,62.0981,0.03308}, {100,1,62.1826,0.03306}, {101,1,62.2665,0.03303}, {102,1,62.3499,0.03301}, {103,1,62.4327,0.03298}, {104,1,62.5149,0.03296}, {105,1,62.5966,0.03294}, {106,1,62.6778,0.03291}, {107,1,62.7584,0.03289}, {108,1,62.8384,0.03287}, {109,1,62.918,0.03284}, {110,1,62.9969,0.03282}, {111,1,63.0754,0.0328}, {112,1,63.1533,0.03278}, {113,1,63.2307,0.03276}, {114,1,63.3076,0.03273}, {115,1,63.3839,0.03271}, {116,1,63.4598,0.03269}, {117,1,63.5351,0.03267}, {118,1,63.6099,0.03265}, {119,1,63.6842,0.03263}, {120,1,63.758,0.03261}, {121,1,63.8313,0.03259}, {122,1,63.9041,0.03257}, {123,1,63.9765,0.03255}, {124,1,64.0483,0.03253}, {125,1,64.1197,0.03251}, {126,1,64.1906,0.03249}, {127,1,64.261,0.03247}, {128,1,64.331,0.03245}, {129,1,64.4006,0.03243}, {130,1,64.4697,0.03241}, {131,1,64.5383,0.03239}, {132,1,64.6066,0.03238}, {133,1,64.6744,0.03236}, {134,1,64.7418,0.03234}, {135,1,64.8088,0.03232}, {136,1,64.8755,0.0323}, {137,1,64.9417,0.03229}, {138,1,65.0075,0.03227}, {139,1,65.073,0.03225}, {140,1,65.138,0.03223}, {141,1,65.2027,0.03222}, {142,1,65.2671,0.0322}, {143,1,65.331,0.03218}, {144,1,65.3946,0.03217}, {145,1,65.4579,0.03215}, {146,1,65.5208,0.03214}, {147,1,65.5834,0.03212}, {148,1,65.6456,0.0321}, {149,1,65.7075,0.03209}, {150,1,65.769,0.03207}, {151,1,65.8303,0.03206}, {152,1,65.8912,0.03204}, {153,1,65.9518,0.03203}, {154,1,66.0121,0.03201}, {155,1,66.0721,0.032}, {156,1,66.1317,0.03198}, {157,1,66.1911,0.03197}, {158,1,66.2502,0.03196}, {159,1,66.3089,0.03194}, {160,1,66.3674,0.03193}, {161,1,66.4256,0.03191}, {162,1,66.4835,0.0319}, {163,1,66.5412,0.03189}, {164,1,66.5985,0.03187}, {165,1,66.6556,0.03186}, {166,1,66.7125,0.03185}, {167,1,66.7691,0.03183}, {168,1,66.8254,0.03182}, {169,1,66.8815,0.03181}, {170,1,66.9373,0.0318}, {171,1,66.993,0.03179}, {172,1,67.0483,0.03177}, {173,1,67.1035,0.03176}, {174,1,67.1584,0.03175}, {175,1,67.2132,0.03174}, {176,1,67.2677,0.03173}, {177,1,67.3219,0.03171}, {178,1,67.376,0.0317}, {179,1,67.4299,0.03169}, {180,1,67.4836,0.03168}, {181,1,67.5371,0.03167}, {182,1,67.5904,0.03166}, {183,1,67.6435,0.03165}, {184,1,67.6964,0.03164}, {185,1,67.7491,0.03163}, {186,1,67.8017,0.03162}, {187,1,67.8541,0.03161}, {188,1,67.9062,0.0316}, {189,1,67.9583,0.03159}, {190,1,68.0101,0.03158}, {191,1,68.0618,0.03157}, {192,1,68.1133,0.03156}, {193,1,68.1647,0.03155}, {194,1,68.2158,0.03154}, {195,1,68.2669,0.03153}, {196,1,68.3177,0.03152}, {197,1,68.3685,0.03152}, {198,1,68.419,0.03151}, {199,1,68.4695,0.0315}, {200,1,68.5198,0.03149}, {201,1,68.5699,0.03148}, {202,1,68.6199,0.03147}, {203,1,68.6698,0.03147}, {204,1,68.7195,0.03146}, {205,1,68.7691,0.03145}, {206,1,68.8186,0.03144}, {207,1,68.8679,0.03144}, {208,1,68.9171,0.03143}, {209,1,68.9662,0.03142}, {210,1,69.0152,0.03141}, {211,1,69.0641,0.03141}, {212,1,69.1128,0.0314}, {213,1,69.1615,0.03139}, {214,1,69.21,0.03139}, {215,1,69.2584,0.03138}, {216,1,69.3067,0.03137}, {217,1,69.3549,0.03137}, {218,1,69.4031,0.03136}, {219,1,69.4511,0.03136}, {220,1,69.499,0.03135}, {221,1,69.5468,0.03134}, {222,1,69.5945,0.03134}, {223,1,69.6421,0.03133}, {224,1,69.6896,0.03133}, {225,1,69.737,0.03132}, {226,1,69.7844,0.03132}, {227,1,69.8316,0.03131}, {228,1,69.8787,0.03131}, {229,1,69.9258,0.0313}, {230,1,69.9728,0.0313}, {231,1,70.0197,0.03129}, {232,1,70.0665,0.03129}, {233,1,70.1132,0.03128}, {234,1,70.1599,0.03128}, {235,1,70.2064,0.03127}, {236,1,70.2529,0.03127}, {237,1,70.2994,0.03126}, {238,1,70.3457,0.03126}, {239,1,70.392,0.03126}, {240,1,70.4382,0.03125}, {241,1,70.4843,0.03125}, {242,1,70.5304,0.03125}, {243,1,70.5764,0.03124}, {244,1,70.6224,0.03124}, {245,1,70.6683,0.03123}, {246,1,70.7141,0.03123}, {247,1,70.7598,0.03123}, {248,1,70.8055,0.03122}, {249,1,70.8511,0.03122}, {250,1,70.8967,0.03122}, {251,1,70.9422,0.03122}, {252,1,70.9876,0.03121}, {253,1,71.033,0.03121}, {254,1,71.0783,0.03121}, {255,1,71.1235,0.03121}, {256,1,71.1687,0.0312}, {257,1,71.2138,0.0312}, {258,1,71.2589,0.0312}, {259,1,71.3039,0.0312}, {260,1,71.3488,0.03119}, {261,1,71.3937,0.03119}, {262,1,71.4385,0.03119}, {263,1,71.4832,0.03119}, {264,1,71.5279,0.03119}, {265,1,71.5725,0.03118}, {266,1,71.6171,0.03118}, {267,1,71.6616,0.03118}, {268,1,71.706,0.03118}, {269,1,71.7504,0.03118}, {270,1,71.7947,0.03118}, {271,1,71.839,0.03118}, {272,1,71.8832,0.03118}, {273,1,71.9273,0.03117}, {274,1,71.9714,0.03117}, {275,1,72.0154,0.03117}, {276,1,72.0594,0.03117}, {277,1,72.1033,0.03117}, {278,1,72.1472,0.03117}, {279,1,72.1909,0.03117}, {280,1,72.2347,0.03117}, {281,1,72.2783,0.03117}, {282,1,72.3219,0.03117}, {283,1,72.3655,0.03117}, {284,1,72.4089,0.03117}, {285,1,72.4523,0.03117}, {286,1,72.4957,0.03117}, {287,1,72.539,0.03117}, {288,1,72.5822,0.03117}, {289,1,72.6253,0.03117}, {290,1,72.6684,0.03117}, {291,1,72.7115,0.03117}, {292,1,72.7544,0.03117}, {293,1,72.7974,0.03117}, {294,1,72.8402,0.03117}, {295,1,72.883,0.03117}, {296,1,72.9257,0.03117}, {297,1,72.9684,0.03117}, {298,1,73.011,0.03117}, {299,1,73.0535,0.03118}, {300,1,73.096,0.03118}, {301,1,73.1384,0.03118}, {302,1,73.1808,0.03118}, {303,1,73.2231,0.03118}, {304,1,73.2653,0.03118}, {305,1,73.3075,0.03118}, {306,1,73.3497,0.03118}, {307,1,73.3917,0.03119}, {308,1,73.4337,0.03119}, {309,1,73.4757,0.03119}, {310,1,73.5176,0.03119}, {311,1,73.5594,0.03119}, {312,1,73.6012,0.03119}, {313,1,73.6429,0.0312}, {314,1,73.6845,0.0312}, {315,1,73.7261,0.0312}, {316,1,73.7677,0.0312}, {317,1,73.8091,0.0312}, {318,1,73.8506,0.03121}, {319,1,73.8919,0.03121}, {320,1,73.9333,0.03121}, {321,1,73.9745,0.03121}, {322,1,74.0157,0.03122}, {323,1,74.0569,0.03122}, {324,1,74.0979,0.03122}, {325,1,74.139,0.03122}, {326,1,74.18,0.03123}, {327,1,74.2209,0.03123}, {328,1,74.2618,0.03123}, {329,1,74.3026,0.03124}, {330,1,74.3433,0.03124}, {331,1,74.3841,0.03124}, {332,1,74.4247,0.03124}, {333,1,74.4653,0.03125}, {334,1,74.5059,0.03125}, {335,1,74.5464,0.03125}, {336,1,74.5868,0.03126}, {337,1,74.6272,0.03126}, {338,1,74.6676,0.03126}, {339,1,74.7079,0.03127}, {340,1,74.7481,0.03127}, {341,1,74.7883,0.03127}, {342,1,74.8285,0.03128}, {343,1,74.8686,0.03128}, {344,1,74.9086,0.03128}, {345,1,74.9486,0.03129}, {346,1,74.9886,0.03129}, {347,1,75.0285,0.0313}, {348,1,75.0683,0.0313}, {349,1,75.1081,0.0313}, {350,1,75.1479,0.03131}, {351,1,75.1876,0.03131}, {352,1,75.2273,0.03132}, {353,1,75.2669,0.03132}, {354,1,75.3065,0.03132}, {355,1,75.346,0.03133}, {356,1,75.3855,0.03133}, {357,1,75.425,0.03134}, {358,1,75.4644,0.03134}, {359,1,75.5037,0.03135}, {360,1,75.5431,0.03135}, {361,1,75.5824,0.03136}, {362,1,75.6216,0.03136}, {363,1,75.6608,0.03136}, {364,1,75.6999,0.03137}, {365,1,75.7391,0.03137}, {366,1,75.7781,0.03138}, {367,1,75.8172,0.03138}, {368,1,75.8562,0.03139}, {369,1,75.8951,0.03139}, {370,1,75.934,0.0314}, {371,1,75.9729,0.0314}, {372,1,76.0117,0.03141}, {373,1,76.0505,0.03141}, {374,1,76.0892,0.03142}, {375,1,76.1279,0.03142}, {376,1,76.1665,0.03143}, {377,1,76.2051,0.03143}, {378,1,76.2437,0.03144}, {379,1,76.2822,0.03144}, {380,1,76.3207,0.03145}, {381,1,76.3591,0.03146}, {382,1,76.3975,0.03146}, {383,1,76.4358,0.03147}, {384,1,76.4741,0.03147}, {385,1,76.5124,0.03148}, {386,1,76.5506,0.03148}, {387,1,76.5888,0.03149}, {388,1,76.6269,0.03149}, {389,1,76.665,0.0315}, {390,1,76.703,0.03151}, {391,1,76.741,0.03151}, {392,1,76.779,0.03152}, {393,1,76.8169,0.03152}, {394,1,76.8548,0.03153}, {395,1,76.8926,0.03154}, {396,1,76.9304,0.03154}, {397,1,76.9682,0.03155}, {398,1,77.0059,0.03155}, {399,1,77.0435,0.03156}, {400,1,77.0812,0.03157}, {401,1,77.1187,0.03157}, {402,1,77.1563,0.03158}, {403,1,77.1938,0.03159}, {404,1,77.2313,0.03159}, {405,1,77.2687,0.0316}, {406,1,77.306,0.0316}, {407,1,77.3434,0.03161}, {408,1,77.3807,0.03162}, {409,1,77.4179,0.03162}, {410,1,77.4551,0.03163}, {411,1,77.4923,0.03164}, {412,1,77.5295,0.03164}, {413,1,77.5665,0.03165}, {414,1,77.6036,0.03166}, {415,1,77.6406,0.03166}, {416,1,77.6776,0.03167}, {417,1,77.7145,0.03168}, {418,1,77.7514,0.03168}, {419,1,77.7883,0.03169}, {420,1,77.8251,0.0317}, {421,1,77.8618,0.0317}, {422,1,77.8986,0.03171}, {423,1,77.9353,0.03172}, {424,1,77.9719,0.03172}, {425,1,78.0085,0.03173}, {426,1,78.0451,0.03174}, {427,1,78.0817,0.03175}, {428,1,78.1182,0.03175}, {429,1,78.1546,0.03176}, {430,1,78.1911,0.03177}, {431,1,78.2275,0.03177}, {432,1,78.2638,0.03178}, {433,1,78.3001,0.03179}, {434,1,78.3364,0.0318}, {435,1,78.3727,0.0318}, {436,1,78.4089,0.03181}, {437,1,78.4451,0.03182}, {438,1,78.4812,0.03183}, {439,1,78.5173,0.03183}, {440,1,78.5534,0.03184}, {441,1,78.5894,0.03185}, {442,1,78.6254,0.03186}, {443,1,78.6614,0.03186}, {444,1,78.6973,0.03187}, {445,1,78.7332,0.03188}, {446,1,78.7691,0.03189}, {447,1,78.8049,0.03189}, {448,1,78.8407,0.0319}, {449,1,78.8764,0.03191}, {450,1,78.9122,0.03192}, {451,1,78.9479,0.03192}, {452,1,78.9835,0.03193}, {453,1,79.0191,0.03194}, {454,1,79.0547,0.03195}, {455,1,79.0903,0.03196}, {456,1,79.1258,0.03196}, {457,1,79.1613,0.03197}, {458,1,79.1968,0.03198}, {459,1,79.2322,0.03199}, {460,1,79.2676,0.032}, {461,1,79.303,0.032}, {462,1,79.3383,0.03201}, {463,1,79.3736,0.03202}, {464,1,79.4089,0.03203}, {465,1,79.4441,0.03204}, {466,1,79.4793,0.03204}, {467,1,79.5145,0.03205}, {468,1,79.5496,0.03206}, {469,1,79.5847,0.03207}, {470,1,79.6198,0.03208}, {471,1,79.6548,0.03209}, {472,1,79.6898,0.03209}, {473,1,79.7248,0.0321}, {474,1,79.7598,0.03211}, {475,1,79.7947,0.03212}, {476,1,79.8296,0.03213}, {477,1,79.8644,0.03214}, {478,1,79.8993,0.03214}, {479,1,79.9341,0.03215}, {480,1,79.9688,0.03216}, {481,1,80.0036,0.03217}, {482,1,80.0383,0.03218}, {483,1,80.0729,0.03219}, {484,1,80.1076,0.0322}, {485,1,80.1422,0.0322}, {486,1,80.1768,0.03221}, {487,1,80.2113,0.03222}, {488,1,80.2459,0.03223}, {489,1,80.2804,0.03224}, {490,1,80.3148,0.03225}, {491,1,80.3493,0.03226}, {492,1,80.3837,0.03226}, {493,1,80.4181,0.03227}, {494,1,80.4524,0.03228}, {495,1,80.4867,0.03229}, {496,1,80.521,0.0323}, {497,1,80.5553,0.03231}, {498,1,80.5895,0.03232}, {499,1,80.6237,0.03233}, {500,1,80.6578,0.03234}, {501,1,80.692,0.03234}, {502,1,80.7261,0.03235}, {503,1,80.7602,0.03236}, {504,1,80.7942,0.03237}, {505,1,80.8282,0.03238}, {506,1,80.8622,0.03239}, {507,1,80.8961,0.0324}, {508,1,80.9301,0.03241}, {509,1,80.964,0.03242}, {510,1,80.9978,0.03243}, {511,1,81.0317,0.03244}, {512,1,81.0655,0.03245}, {513,1,81.0992,0.03245}, {514,1,81.133,0.03246}, {515,1,81.1667,0.03247}, {516,1,81.2004,0.03248}, {517,1,81.234,0.03249}, {518,1,81.2677,0.0325}, {519,1,81.3013,0.03251}, {520,1,81.3348,0.03252}, {521,1,81.3684,0.03253}, {522,1,81.4019,0.03254}, {523,1,81.4353,0.03255}, {524,1,81.4688,0.03256}, {525,1,81.5022,0.03257}, {526,1,81.5356,0.03258}, {527,1,81.569,0.03259}, {528,1,81.6023,0.0326}, {529,1,81.6356,0.03261}, {530,1,81.6689,0.03261}, {531,1,81.7021,0.03262}, {532,1,81.7353,0.03263}, {533,1,81.7685,0.03264}, {534,1,81.8017,0.03265}, {535,1,81.8348,0.03266}, {536,1,81.8679,0.03267}, {537,1,81.9009,0.03268}, {538,1,81.934,0.03269}, {539,1,81.967,0.0327}, {540,1,82,0.03271}, {541,1,82.0329,0.03272}, {542,1,82.0659,0.03273}, {543,1,82.0987,0.03274}, {544,1,82.1316,0.03275}, {545,1,82.1644,0.03276}, {546,1,82.1973,0.03277}, {547,1,82.23,0.03278}, {548,1,82.2628,0.03279}, {549,1,82.2955,0.0328}, {550,1,82.3282,0.03281}, {551,1,82.3609,0.03282}, {552,1,82.3935,0.03283}, {553,1,82.4261,0.03284}, {554,1,82.4587,0.03285}, {555,1,82.4912,0.03286}, {556,1,82.5237,0.03287}, {557,1,82.5562,0.03288}, {558,1,82.5887,0.03289}, {559,1,82.6211,0.0329}, {560,1,82.6535,0.03291}, {561,1,82.6859,0.03292}, {562,1,82.7182,0.03293}, {563,1,82.7505,0.03294}, {564,1,82.7828,0.03295}, {565,1,82.8151,0.03296}, {566,1,82.8473,0.03297}, {567,1,82.8795,0.03298}, {568,1,82.9117,0.03299}, {569,1,82.9438,0.033}, {570,1,82.9759,0.03301}, {571,1,83.008,0.03302}, {572,1,83.04,0.03303}, {573,1,83.0721,0.03304}, {574,1,83.1041,0.03305}, {575,1,83.136,0.03306}, {576,1,83.168,0.03308}, {577,1,83.1999,0.03309}, {578,1,83.2318,0.0331}, {579,1,83.2637,0.03311}, {580,1,83.2955,0.03312}, {581,1,83.3273,0.03313}, {582,1,83.3591,0.03314}, {583,1,83.3908,0.03315}, {584,1,83.4226,0.03316}, {585,1,83.4543,0.03317}, {586,1,83.4859,0.03318}, {587,1,83.5176,0.03319}, {588,1,83.5492,0.0332}, {589,1,83.5808,0.03321}, {590,1,83.6124,0.03322}, {591,1,83.6439,0.03323}, {592,1,83.6754,0.03324}, {593,1,83.7069,0.03325}, {594,1,83.7384,0.03326}, {595,1,83.7698,0.03327}, {596,1,83.8012,0.03329}, {597,1,83.8326,0.0333}, {598,1,83.864,0.03331}, {599,1,83.8953,0.03332}, {600,1,83.9267,0.03333}, {601,1,83.9579,0.03334}, {602,1,83.9892,0.03335}, {603,1,84.0205,0.03336}, {604,1,84.0517,0.03337}, {605,1,84.0829,0.03338}, {606,1,84.114,0.03339}, {607,1,84.1452,0.0334}, {608,1,84.1763,0.03341}, {609,1,84.2074,0.03342}, {610,1,84.2385,0.03344}, {611,1,84.2695,0.03345}, {612,1,84.3006,0.03346}, {613,1,84.3316,0.03347}, {614,1,84.3626,0.03348}, {615,1,84.3935,0.03349}, {616,1,84.4245,0.0335}, {617,1,84.4554,0.03351}, {618,1,84.4862,0.03352}, {619,1,84.5171,0.03353}, {620,1,84.5479,0.03354}, {621,1,84.5787,0.03356}, {622,1,84.6095,0.03357}, {623,1,84.6403,0.03358}, {624,1,84.671,0.03359}, {625,1,84.7017,0.0336}, {626,1,84.7324,0.03361}, {627,1,84.7631,0.03362}, {628,1,84.7937,0.03363}, {629,1,84.8243,0.03364}, {630,1,84.8549,0.03365}, {631,1,84.8855,0.03367}, {632,1,84.916,0.03368}, {633,1,84.9465,0.03369}, {634,1,84.977,0.0337}, {635,1,85.0075,0.03371}, {636,1,85.0379,0.03372}, {637,1,85.0683,0.03373}, {638,1,85.0987,0.03374}, {639,1,85.1291,0.03375}, {640,1,85.1594,0.03377}, {641,1,85.1897,0.03378}, {642,1,85.22,0.03379}, {643,1,85.2503,0.0338}, {644,1,85.2805,0.03381}, {645,1,85.3108,0.03382}, {646,1,85.341,0.03383}, {647,1,85.3711,0.03384}, {648,1,85.4013,0.03385}, {649,1,85.4314,0.03387}, {650,1,85.4615,0.03388}, {651,1,85.4916,0.03389}, {652,1,85.5217,0.0339}, {653,1,85.5517,0.03391}, {654,1,85.5817,0.03392}, {655,1,85.6117,0.03393}, {656,1,85.6417,0.03394}, {657,1,85.6716,0.03396}, {658,1,85.7015,0.03397}, {659,1,85.7314,0.03398}, {660,1,85.7613,0.03399}, {661,1,85.7912,0.034}, {662,1,85.821,0.03401}, {663,1,85.8508,0.03402}, {664,1,85.8806,0.03404}, {665,1,85.9104,0.03405}, {666,1,85.9401,0.03406}, {667,1,85.9698,0.03407}, {668,1,85.9995,0.03408}, {669,1,86.0292,0.03409}, {670,1,86.0589,0.0341}, {671,1,86.0885,0.03411}, {672,1,86.1181,0.03413}, {673,1,86.1477,0.03414}, {674,1,86.1773,0.03415}, {675,1,86.2068,0.03416}, {676,1,86.2363,0.03417}, {677,1,86.2659,0.03418}, {678,1,86.2954,0.03419}, {679,1,86.3248,0.03421}, {680,1,86.3543,0.03422}, {681,1,86.3837,0.03423}, {682,1,86.4131,0.03424}, {683,1,86.4425,0.03425}, {684,1,86.4719,0.03426}, {685,1,86.5012,0.03427}, {686,1,86.5306,0.03429}, {687,1,86.5599,0.0343}, {688,1,86.5892,0.03431}, {689,1,86.6184,0.03432}, {690,1,86.6477,0.03433}, {691,1,86.6769,0.03434}, {692,1,86.7061,0.03435}, {693,1,86.7353,0.03437}, {694,1,86.7645,0.03438}, {695,1,86.7937,0.03439}, {696,1,86.8228,0.0344}, {697,1,86.8519,0.03441}, {698,1,86.881,0.03442}, {699,1,86.9101,0.03443}, {700,1,86.9392,0.03445}, {701,1,86.9682,0.03446}, {702,1,86.9972,0.03447}, {703,1,87.0262,0.03448}, {704,1,87.0552,0.03449}, {705,1,87.0842,0.0345}, {706,1,87.1131,0.03451}, {707,1,87.142,0.03453}, {708,1,87.1709,0.03454}, {709,1,87.1998,0.03455}, {710,1,87.2287,0.03456}, {711,1,87.2575,0.03457}, {712,1,87.2863,0.03458}, {713,1,87.3151,0.03459}, {714,1,87.3439,0.03461}, {715,1,87.3727,0.03462}, {716,1,87.4014,0.03463}, {717,1,87.4302,0.03464}, {718,1,87.4589,0.03465}, {719,1,87.4876,0.03466}, {720,1,87.5162,0.03467}, {721,1,87.5449,0.03469}, {722,1,87.5735,0.0347}, {723,1,87.6021,0.03471}, {724,1,87.6307,0.03472}, {725,1,87.6593,0.03473}, {726,1,87.6878,0.03474}, {727,1,87.7164,0.03475}, {728,1,87.7449,0.03477}, {729,1,87.7734,0.03478}, {730,1,87.8018,0.03479}, {731,1,87.1303,0.03508}, {732,1,87.1587,0.03509}, {733,1,87.1871,0.0351}, {734,1,87.2155,0.03511}, {735,1,87.2439,0.03513}, {736,1,87.2722,0.03514}, {737,1,87.3006,0.03515}, {738,1,87.3289,0.03516}, {739,1,87.3571,0.03517}, {740,1,87.3854,0.03518}, {741,1,87.4136,0.03519}, {742,1,87.4419,0.03521}, {743,1,87.4701,0.03522}, {744,1,87.4982,0.03523}, {745,1,87.5264,0.03524}, {746,1,87.5545,0.03525}, {747,1,87.5826,0.03526}, {748,1,87.6107,0.03527}, {749,1,87.6388,0.03528}, {750,1,87.6668,0.0353}, {751,1,87.6948,0.03531}, {752,1,87.7228,0.03532}, {753,1,87.7508,0.03533}, {754,1,87.7788,0.03534}, {755,1,87.8067,0.03535}, {756,1,87.8346,0.03536}, {757,1,87.8625,0.03538}, {758,1,87.8903,0.03539}, {759,1,87.9181,0.0354}, {760,1,87.946,0.03541}, {761,1,87.9737,0.03542}, {762,1,88.0015,0.03543}, {763,1,88.0292,0.03544}, {764,1,88.057,0.03545}, {765,1,88.0846,0.03547}, {766,1,88.1123,0.03548}, {767,1,88.14,0.03549}, {768,1,88.1676,0.0355}, {769,1,88.1952,0.03551}, {770,1,88.2228,0.03552}, {771,1,88.2503,0.03553}, {772,1,88.2778,0.03555}, {773,1,88.3053,0.03556}, {774,1,88.3328,0.03557}, {775,1,88.3603,0.03558}, {776,1,88.3877,0.03559}, {777,1,88.4151,0.0356}, {778,1,88.4425,0.03561}, {779,1,88.4699,0.03562}, {780,1,88.4972,0.03564}, {781,1,88.5245,0.03565}, {782,1,88.5518,0.03566}, {783,1,88.5791,0.03567}, {784,1,88.6063,0.03568}, {785,1,88.6335,0.03569}, {786,1,88.6607,0.0357}, {787,1,88.6879,0.03571}, {788,1,88.715,0.03572}, {789,1,88.7422,0.03574}, {790,1,88.7693,0.03575}, {791,1,88.7964,0.03576}, {792,1,88.8234,0.03577}, {793,1,88.8504,0.03578}, {794,1,88.8775,0.03579}, {795,1,88.9044,0.0358}, {796,1,88.9314,0.03581}, {797,1,88.9584,0.03582}, {798,1,88.9853,0.03584}, {799,1,89.0122,0.03585}, {800,1,89.0391,0.03586}, {801,1,89.0659,0.03587}, {802,1,89.0927,0.03588}, {803,1,89.1195,0.03589}, {804,1,89.1463,0.0359}, {805,1,89.1731,0.03591}, {806,1,89.1998,0.03592}, {807,1,89.2266,0.03593}, {808,1,89.2533,0.03595}, {809,1,89.2799,0.03596}, {810,1,89.3066,0.03597}, {811,1,89.3332,0.03598}, {812,1,89.3598,0.03599}, {813,1,89.3864,0.036}, {814,1,89.413,0.03601}, {815,1,89.4395,0.03602}, {816,1,89.466,0.03603}, {817,1,89.4925,0.03604}, {818,1,89.519,0.03605}, {819,1,89.5455,0.03607}, {820,1,89.5719,0.03608}, {821,1,89.5983,0.03609}, {822,1,89.6247,0.0361}, {823,1,89.651,0.03611}, {824,1,89.6774,0.03612}, {825,1,89.7037,0.03613}, {826,1,89.73,0.03614}, {827,1,89.7563,0.03615}, {828,1,89.7825,0.03616}, {829,1,89.8087,0.03617}, {830,1,89.8349,0.03618}, {831,1,89.8611,0.0362}, {832,1,89.8873,0.03621}, {833,1,89.9134,0.03622}, {834,1,89.9395,0.03623}, {835,1,89.9656,0.03624}, {836,1,89.9917,0.03625}, {837,1,90.0177,0.03626}, {838,1,90.0437,0.03627}, {839,1,90.0697,0.03628}, {840,1,90.0957,0.03629}, {841,1,90.1216,0.0363}, {842,1,90.1476,0.03631}, {843,1,90.1735,0.03632}, {844,1,90.1994,0.03633}, {845,1,90.2252,0.03634}, {846,1,90.251,0.03636}, {847,1,90.2769,0.03637}, {848,1,90.3026,0.03638}, {849,1,90.3284,0.03639}, {850,1,90.3541,0.0364}, {851,1,90.3799,0.03641}, {852,1,90.4056,0.03642}, {853,1,90.4312,0.03643}, {854,1,90.4569,0.03644}, {855,1,90.4825,0.03645}, {856,1,90.5081,0.03646}, {857,1,90.5337,0.03647}, {858,1,90.5592,0.03648}, {859,1,90.5848,0.03649}, {860,1,90.6103,0.0365}, {861,1,90.6358,0.03651}, {862,1,90.6612,0.03652}, {863,1,90.6867,0.03653}, {864,1,90.7121,0.03654}, {865,1,90.7375,0.03655}, {866,1,90.7628,0.03656}, {867,1,90.7882,0.03657}, {868,1,90.8135,0.03659}, {869,1,90.8388,0.0366}, {870,1,90.8641,0.03661}, {871,1,90.8893,0.03662}, {872,1,90.9146,0.03663}, {873,1,90.9398,0.03664}, {874,1,90.965,0.03665}, {875,1,90.9901,0.03666}, {876,1,91.0153,0.03667}, {877,1,91.0404,0.03668}, {878,1,91.0655,0.03669}, {879,1,91.0905,0.0367}, {880,1,91.1156,0.03671}, {881,1,91.1406,0.03672}, {882,1,91.1656,0.03673}, {883,1,91.1906,0.03674}, {884,1,91.2155,0.03675}, {885,1,91.2405,0.03676}, {886,1,91.2654,0.03677}, {887,1,91.2903,0.03678}, {888,1,91.3151,0.03679}, {889,1,91.34,0.0368}, {890,1,91.3648,0.03681}, {891,1,91.3896,0.03682}, {892,1,91.4144,0.03683}, {893,1,91.4391,0.03684}, {894,1,91.4639,0.03685}, {895,1,91.4886,0.03686}, {896,1,91.5133,0.03687}, {897,1,91.5379,0.03688}, {898,1,91.5626,0.03689}, {899,1,91.5872,0.0369}, {900,1,91.6118,0.03691}, {901,1,91.6364,0.03692}, {902,1,91.6609,0.03693}, {903,1,91.6855,0.03694}, {904,1,91.71,0.03695}, {905,1,91.7345,0.03696}, {906,1,91.759,0.03697}, {907,1,91.7834,0.03698}, {908,1,91.8078,0.03699}, {909,1,91.8323,0.037}, {910,1,91.8566,0.03701}, {911,1,91.881,0.03702}, {912,1,91.9053,0.03703}, {913,1,91.9297,0.03704}, {914,1,91.954,0.03705}, {915,1,91.9783,0.03706}, {916,1,92.0025,0.03707}, {917,1,92.0268,0.03708}, {918,1,92.051,0.03709}, {919,1,92.0752,0.0371}, {920,1,92.0993,0.03711}, {921,1,92.1235,0.03711}, {922,1,92.1476,0.03712}, {923,1,92.1717,0.03713}, {924,1,92.1958,0.03714}, {925,1,92.2199,0.03715}, {926,1,92.244,0.03716}, {927,1,92.268,0.03717}, {928,1,92.292,0.03718}, {929,1,92.316,0.03719}, {930,1,92.34,0.0372}, {931,1,92.3639,0.03721}, {932,1,92.3879,0.03722}, {933,1,92.4118,0.03723}, {934,1,92.4357,0.03724}, {935,1,92.4595,0.03725}, {936,1,92.4834,0.03726}, {937,1,92.5072,0.03727}, {938,1,92.531,0.03728}, {939,1,92.5548,0.03729}, {940,1,92.5786,0.0373}, {941,1,92.6023,0.0373}, {942,1,92.6261,0.03731}, {943,1,92.6498,0.03732}, {944,1,92.6735,0.03733}, {945,1,92.6971,0.03734}, {946,1,92.7208,0.03735}, {947,1,92.7444,0.03736}, {948,1,92.768,0.03737}, {949,1,92.7916,0.03738}, {950,1,92.8152,0.03739}, {951,1,92.8388,0.0374}, {952,1,92.8623,0.03741}, {953,1,92.8858,0.03742}, {954,1,92.9093,0.03743}, {955,1,92.9328,0.03743}, {956,1,92.9562,0.03744}, {957,1,92.9797,0.03745}, {958,1,93.0031,0.03746}, {959,1,93.0265,0.03747}, {960,1,93.0499,0.03748}, {961,1,93.0732,0.03749}, {962,1,93.0966,0.0375}, {963,1,93.1199,0.03751}, {964,1,93.1432,0.03752}, {965,1,93.1665,0.03753}, {966,1,93.1898,0.03753}, {967,1,93.213,0.03754}, {968,1,93.2363,0.03755}, {969,1,93.2595,0.03756}, {970,1,93.2827,0.03757}, {971,1,93.3059,0.03758}, {972,1,93.329,0.03759}, {973,1,93.3522,0.0376}, {974,1,93.3753,0.03761}, {975,1,93.3984,0.03762}, {976,1,93.4215,0.03762}, {977,1,93.4446,0.03763}, {978,1,93.4676,0.03764}, {979,1,93.4906,0.03765}, {980,1,93.5137,0.03766}, {981,1,93.5367,0.03767}, {982,1,93.5596,0.03768}, {983,1,93.5826,0.03769}, {984,1,93.6056,0.03769}, {985,1,93.6285,0.0377}, {986,1,93.6514,0.03771}, {987,1,93.6743,0.03772}, {988,1,93.6972,0.03773}, {989,1,93.7201,0.03774}, {990,1,93.7429,0.03775}, {991,1,93.7658,0.03776}, {992,1,93.7886,0.03776}, {993,1,93.8114,0.03777}, {994,1,93.8342,0.03778}, {995,1,93.8569,0.03779}, {996,1,93.8797,0.0378}, {997,1,93.9024,0.03781}, {998,1,93.9252,0.03782}, {999,1,93.9479,0.03782}, {1000,1,93.9706,0.03783}, {1001,1,93.9932,0.03784}, {1002,1,94.0159,0.03785}, {1003,1,94.0385,0.03786}, {1004,1,94.0612,0.03787}, {1005,1,94.0838,0.03788}, {1006,1,94.1064,0.03788}, {1007,1,94.129,0.03789}, {1008,1,94.1516,0.0379}, {1009,1,94.1741,0.03791}, {1010,1,94.1967,0.03792}, {1011,1,94.2192,0.03793}, {1012,1,94.2417,0.03793}, {1013,1,94.2642,0.03794}, {1014,1,94.2867,0.03795}, {1015,1,94.3092,0.03796}, {1016,1,94.3317,0.03797}, {1017,1,94.3541,0.03798}, {1018,1,94.3765,0.03798}, {1019,1,94.399,0.03799}, {1020,1,94.4214,0.038}, {1021,1,94.4438,0.03801}, {1022,1,94.4662,0.03802}, {1023,1,94.4885,0.03802}, {1024,1,94.5109,0.03803}, {1025,1,94.5332,0.03804}, {1026,1,94.5556,0.03805}, {1027,1,94.5779,0.03806}, {1028,1,94.6002,0.03807}, {1029,1,94.6225,0.03807}, {1030,1,94.6447,0.03808}, {1031,1,94.667,0.03809}, {1032,1,94.6893,0.0381}, {1033,1,94.7115,0.03811}, {1034,1,94.7337,0.03811}, {1035,1,94.7559,0.03812}, {1036,1,94.7782,0.03813}, {1037,1,94.8003,0.03814}, {1038,1,94.8225,0.03815}, {1039,1,94.8447,0.03815}, {1040,1,94.8668,0.03816}, {1041,1,94.889,0.03817}, {1042,1,94.9111,0.03818}, {1043,1,94.9332,0.03819}, {1044,1,94.9553,0.03819}, {1045,1,94.9774,0.0382}, {1046,1,94.9995,0.03821}, {1047,1,95.0216,0.03822}, {1048,1,95.0436,0.03822}, {1049,1,95.0657,0.03823}, {1050,1,95.0877,0.03824}, {1051,1,95.1097,0.03825}, {1052,1,95.1317,0.03826}, {1053,1,95.1537,0.03826}, {1054,1,95.1757,0.03827}, {1055,1,95.1977,0.03828}, {1056,1,95.2197,0.03829}, {1057,1,95.2416,0.03829}, {1058,1,95.2636,0.0383}, {1059,1,95.2855,0.03831}, {1060,1,95.3074,0.03832}, {1061,1,95.3293,0.03833}, {1062,1,95.3512,0.03833}, {1063,1,95.3731,0.03834}, {1064,1,95.3949,0.03835}, {1065,1,95.4168,0.03836}, {1066,1,95.4386,0.03836}, {1067,1,95.4605,0.03837}, {1068,1,95.4823,0.03838}, {1069,1,95.5041,0.03839}, {1070,1,95.5259,0.03839}, {1071,1,95.5477,0.0384}, {1072,1,95.5695,0.03841}, {1073,1,95.5913,0.03842}, {1074,1,95.613,0.03842}, {1075,1,95.6348,0.03843}, {1076,1,95.6565,0.03844}, {1077,1,95.6782,0.03845}, {1078,1,95.6999,0.03845}, {1079,1,95.7216,0.03846}, {1080,1,95.7433,0.03847}, {1081,1,95.765,0.03848}, {1082,1,95.7867,0.03848}, {1083,1,95.8083,0.03849}, {1084,1,95.83,0.0385}, {1085,1,95.8516,0.0385}, {1086,1,95.8732,0.03851}, {1087,1,95.8948,0.03852}, {1088,1,95.9165,0.03853}, {1089,1,95.938,0.03853}, {1090,1,95.9596,0.03854}, {1091,1,95.9812,0.03855}, {1092,1,96.0028,0.03856}, {1093,1,96.0243,0.03856}, {1094,1,96.0459,0.03857}, {1095,1,96.0674,0.03858}, {1096,1,96.0889,0.03858}, {1097,1,96.1104,0.03859}, {1098,1,96.1319,0.0386}, {1099,1,96.1534,0.03861}, {1100,1,96.1749,0.03861}, {1101,1,96.1964,0.03862}, {1102,1,96.2178,0.03863}, {1103,1,96.2393,0.03863}, {1104,1,96.2607,0.03864}, {1105,1,96.2821,0.03865}, {1106,1,96.3035,0.03866}, {1107,1,96.325,0.03866}, {1108,1,96.3464,0.03867}, {1109,1,96.3677,0.03868}, {1110,1,96.3891,0.03868}, {1111,1,96.4105,0.03869}, {1112,1,96.4318,0.0387}, {1113,1,96.4532,0.0387}, {1114,1,96.4745,0.03871}, {1115,1,96.4958,0.03872}, {1116,1,96.5172,0.03873}, {1117,1,96.5385,0.03873}, {1118,1,96.5598,0.03874}, {1119,1,96.581,0.03875}, {1120,1,96.6023,0.03875}, {1121,1,96.6236,0.03876}, {1122,1,96.6448,0.03877}, {1123,1,96.6661,0.03877}, {1124,1,96.6873,0.03878}, {1125,1,96.7085,0.03879}, {1126,1,96.7298,0.03879}, {1127,1,96.751,0.0388}, {1128,1,96.7722,0.03881}, {1129,1,96.7933,0.03881}, {1130,1,96.8145,0.03882}, {1131,1,96.8357,0.03883}, {1132,1,96.8568,0.03883}, {1133,1,96.878,0.03884}, {1134,1,96.8991,0.03885}, {1135,1,96.9203,0.03885}, {1136,1,96.9414,0.03886}, {1137,1,96.9625,0.03887}, {1138,1,96.9836,0.03887}, {1139,1,97.0047,0.03888}, {1140,1,97.0258,0.03889}, {1141,1,97.0468,0.03889}, {1142,1,97.0679,0.0389}, {1143,1,97.0889,0.03891}, {1144,1,97.11,0.03891}, {1145,1,97.131,0.03892}, {1146,1,97.1521,0.03893}, {1147,1,97.1731,0.03893}, {1148,1,97.1941,0.03894}, {1149,1,97.2151,0.03895}, {1150,1,97.2361,0.03895}, {1151,1,97.257,0.03896}, {1152,1,97.278,0.03897}, {1153,1,97.299,0.03897}, {1154,1,97.3199,0.03898}, {1155,1,97.3409,0.03899}, {1156,1,97.3618,0.03899}, {1157,1,97.3827,0.039}, {1158,1,97.4036,0.03901}, {1159,1,97.4245,0.03901}, {1160,1,97.4454,0.03902}, {1161,1,97.4663,0.03902}, {1162,1,97.4872,0.03903}, {1163,1,97.5081,0.03904}, {1164,1,97.5289,0.03904}, {1165,1,97.5498,0.03905}, {1166,1,97.5706,0.03906}, {1167,1,97.5914,0.03906}, {1168,1,97.6123,0.03907}, {1169,1,97.6331,0.03908}, {1170,1,97.6539,0.03908}, {1171,1,97.6747,0.03909}, {1172,1,97.6954,0.03909}, {1173,1,97.7162,0.0391}, {1174,1,97.737,0.03911}, {1175,1,97.7577,0.03911}, {1176,1,97.7785,0.03912}, {1177,1,97.7992,0.03913}, {1178,1,97.8199,0.03913}, {1179,1,97.8406,0.03914}, {1180,1,97.8614,0.03914}, {1181,1,97.8821,0.03915}, {1182,1,97.9027,0.03916}, {1183,1,97.9234,0.03916}, {1184,1,97.9441,0.03917}, {1185,1,97.9647,0.03917}, {1186,1,97.9854,0.03918}, {1187,1,98.006,0.03919}, {1188,1,98.0267,0.03919}, {1189,1,98.0473,0.0392}, {1190,1,98.0679,0.0392}, {1191,1,98.0885,0.03921}, {1192,1,98.1091,0.03922}, {1193,1,98.1297,0.03922}, {1194,1,98.1503,0.03923}, {1195,1,98.1708,0.03924}, {1196,1,98.1914,0.03924}, {1197,1,98.2119,0.03925}, {1198,1,98.2325,0.03925}, {1199,1,98.253,0.03926}, {1200,1,98.2735,0.03927}, {1201,1,98.294,0.03927}, {1202,1,98.3145,0.03928}, {1203,1,98.335,0.03928}, {1204,1,98.3555,0.03929}, {1205,1,98.3759,0.03929}, {1206,1,98.3964,0.0393}, {1207,1,98.4169,0.03931}, {1208,1,98.4373,0.03931}, {1209,1,98.4577,0.03932}, {1210,1,98.4782,0.03932}, {1211,1,98.4986,0.03933}, {1212,1,98.519,0.03934}, {1213,1,98.5394,0.03934}, {1214,1,98.5598,0.03935}, {1215,1,98.5801,0.03935}, {1216,1,98.6005,0.03936}, {1217,1,98.6209,0.03937}, {1218,1,98.6412,0.03937}, {1219,1,98.6615,0.03938}, {1220,1,98.6819,0.03938}, {1221,1,98.7022,0.03939}, {1222,1,98.7225,0.03939}, {1223,1,98.7428,0.0394}, {1224,1,98.7631,0.03941}, {1225,1,98.7834,0.03941}, {1226,1,98.8036,0.03942}, {1227,1,98.8239,0.03942}, {1228,1,98.8442,0.03943}, {1229,1,98.8644,0.03943}, {1230,1,98.8846,0.03944}, {1231,1,98.9049,0.03945}, {1232,1,98.9251,0.03945}, {1233,1,98.9453,0.03946}, {1234,1,98.9655,0.03946}, {1235,1,98.9857,0.03947}, {1236,1,99.0058,0.03947}, {1237,1,99.026,0.03948}, {1238,1,99.0461,0.03949}, {1239,1,99.0663,0.03949}, {1240,1,99.0864,0.0395}, {1241,1,99.1065,0.0395}, {1242,1,99.1267,0.03951}, {1243,1,99.1468,0.03951}, {1244,1,99.1669,0.03952}, {1245,1,99.1869,0.03952}, {1246,1,99.207,0.03953}, {1247,1,99.2271,0.03954}, {1248,1,99.2471,0.03954}, {1249,1,99.2672,0.03955}, {1250,1,99.2872,0.03955}, {1251,1,99.3072,0.03956}, {1252,1,99.3272,0.03956}, {1253,1,99.3472,0.03957}, {1254,1,99.3672,0.03957}, {1255,1,99.3872,0.03958}, {1256,1,99.4072,0.03958}, {1257,1,99.4272,0.03959}, {1258,1,99.4471,0.0396}, {1259,1,99.4671,0.0396}, {1260,1,99.487,0.03961}, {1261,1,99.5069,0.03961}, {1262,1,99.5268,0.03962}, {1263,1,99.5467,0.03962}, {1264,1,99.5666,0.03963}, {1265,1,99.5865,0.03963}, {1266,1,99.6064,0.03964}, {1267,1,99.6262,0.03964}, {1268,1,99.6461,0.03965}, {1269,1,99.666,0.03966}, {1270,1,99.6858,0.03966}, {1271,1,99.7056,0.03967}, {1272,1,99.7254,0.03967}, {1273,1,99.7452,0.03968}, {1274,1,99.765,0.03968}, {1275,1,99.7848,0.03969}, {1276,1,99.8046,0.03969}, {1277,1,99.8244,0.0397}, {1278,1,99.8441,0.0397}, {1279,1,99.8639,0.03971}, {1280,1,99.8836,0.03971}, {1281,1,99.9034,0.03972}, {1282,1,99.9231,0.03972}, {1283,1,99.9428,0.03973}, {1284,1,99.9625,0.03973}, {1285,1,99.9822,0.03974}, {1286,1,100.0019,0.03975}, {1287,1,100.0216,0.03975}, {1288,1,100.0412,0.03976}, {1289,1,100.0609,0.03976}, {1290,1,100.0805,0.03977}, {1291,1,100.1002,0.03977}, {1292,1,100.1198,0.03978}, {1293,1,100.1394,0.03978}, {1294,1,100.1591,0.03979}, {1295,1,100.1787,0.03979}, {1296,1,100.1983,0.0398}, {1297,1,100.2178,0.0398}, {1298,1,100.2374,0.03981}, {1299,1,100.257,0.03981}, {1300,1,100.2765,0.03982}, {1301,1,100.2961,0.03982}, {1302,1,100.3156,0.03983}, {1303,1,100.3352,0.03983}, {1304,1,100.3547,0.03984}, {1305,1,100.3742,0.03984}, {1306,1,100.3937,0.03985}, {1307,1,100.4132,0.03985}, {1308,1,100.4327,0.03986}, {1309,1,100.4522,0.03986}, {1310,1,100.4717,0.03987}, {1311,1,100.4911,0.03987}, {1312,1,100.5106,0.03988}, {1313,1,100.53,0.03988}, {1314,1,100.5495,0.03989}, {1315,1,100.5689,0.0399}, {1316,1,100.5883,0.0399}, {1317,1,100.6077,0.03991}, {1318,1,100.6271,0.03991}, {1319,1,100.6465,0.03992}, {1320,1,100.6659,0.03992}, {1321,1,100.6853,0.03993}, {1322,1,100.7046,0.03993}, {1323,1,100.724,0.03994}, {1324,1,100.7434,0.03994}, {1325,1,100.7627,0.03995}, {1326,1,100.782,0.03995}, {1327,1,100.8013,0.03996}, {1328,1,100.8207,0.03996}, {1329,1,100.84,0.03997}, {1330,1,100.8593,0.03997}, {1331,1,100.8786,0.03998}, {1332,1,100.8978,0.03998}, {1333,1,100.9171,0.03999}, {1334,1,100.9364,0.03999}, {1335,1,100.9556,0.04}, {1336,1,100.9749,0.04}, {1337,1,100.9941,0.04001}, {1338,1,101.0134,0.04001}, {1339,1,101.0326,0.04002}, {1340,1,101.0518,0.04002}, {1341,1,101.071,0.04003}, {1342,1,101.0902,0.04003}, {1343,1,101.1094,0.04004}, {1344,1,101.1286,0.04004}, {1345,1,101.1477,0.04004}, {1346,1,101.1669,0.04005}, {1347,1,101.1861,0.04005}, {1348,1,101.2052,0.04006}, {1349,1,101.2244,0.04006}, {1350,1,101.2435,0.04007}, {1351,1,101.2626,0.04007}, {1352,1,101.2817,0.04008}, {1353,1,101.3008,0.04008}, {1354,1,101.32,0.04009}, {1355,1,101.339,0.04009}, {1356,1,101.3581,0.0401}, {1357,1,101.3772,0.0401}, {1358,1,101.3963,0.04011}, {1359,1,101.4153,0.04011}, {1360,1,101.4344,0.04012}, {1361,1,101.4535,0.04012}, {1362,1,101.4725,0.04013}, {1363,1,101.4915,0.04013}, {1364,1,101.5106,0.04014}, {1365,1,101.5296,0.04014}, {1366,1,101.5486,0.04015}, {1367,1,101.5676,0.04015}, {1368,1,101.5866,0.04016}, {1369,1,101.6056,0.04016}, {1370,1,101.6246,0.04017}, {1371,1,101.6435,0.04017}, {1372,1,101.6625,0.04018}, {1373,1,101.6815,0.04018}, {1374,1,101.7004,0.04019}, {1375,1,101.7194,0.04019}, {1376,1,101.7383,0.0402}, {1377,1,101.7572,0.0402}, {1378,1,101.7762,0.0402}, {1379,1,101.7951,0.04021}, {1380,1,101.814,0.04021}, {1381,1,101.8329,0.04022}, {1382,1,101.8518,0.04022}, {1383,1,101.8707,0.04023}, {1384,1,101.8896,0.04023}, {1385,1,101.9085,0.04024}, {1386,1,101.9274,0.04024}, {1387,1,101.9462,0.04025}, {1388,1,101.9651,0.04025}, {1389,1,101.9839,0.04026}, {1390,1,102.0028,0.04026}, {1391,1,102.0216,0.04027}, {1392,1,102.0405,0.04027}, {1393,1,102.0593,0.04028}, {1394,1,102.0781,0.04028}, {1395,1,102.097,0.04029}, {1396,1,102.1158,0.04029}, {1397,1,102.1346,0.0403}, {1398,1,102.1534,0.0403}, {1399,1,102.1722,0.0403}, {1400,1,102.191,0.04031}, {1401,1,102.2097,0.04031}, {1402,1,102.2285,0.04032}, {1403,1,102.2473,0.04032}, {1404,1,102.2661,0.04033}, {1405,1,102.2848,0.04033}, {1406,1,102.3036,0.04034}, {1407,1,102.3223,0.04034}, {1408,1,102.3411,0.04035}, {1409,1,102.3598,0.04035}, {1410,1,102.3785,0.04036}, {1411,1,102.3972,0.04036}, {1412,1,102.416,0.04037}, {1413,1,102.4347,0.04037}, {1414,1,102.4534,0.04037}, {1415,1,102.4721,0.04038}, {1416,1,102.4908,0.04038}, {1417,1,102.5095,0.04039}, {1418,1,102.5282,0.04039}, {1419,1,102.5469,0.0404}, {1420,1,102.5655,0.0404}, {1421,1,102.5842,0.04041}, {1422,1,102.6029,0.04041}, {1423,1,102.6215,0.04042}, {1424,1,102.6402,0.04042}, {1425,1,102.6588,0.04043}, {1426,1,102.6775,0.04043}, {1427,1,102.6961,0.04044}, {1428,1,102.7148,0.04044}, {1429,1,102.7334,0.04044}, {1430,1,102.752,0.04045}, {1431,1,102.7706,0.04045}, {1432,1,102.7893,0.04046}, {1433,1,102.8079,0.04046}, {1434,1,102.8265,0.04047}, {1435,1,102.8451,0.04047}, {1436,1,102.8637,0.04048}, {1437,1,102.8823,0.04048}, {1438,1,102.9009,0.04049}, {1439,1,102.9195,0.04049}, {1440,1,102.938,0.0405}, {1441,1,102.9566,0.0405}, {1442,1,102.9752,0.0405}, {1443,1,102.9938,0.04051}, {1444,1,103.0123,0.04051}, {1445,1,103.0309,0.04052}, {1446,1,103.0494,0.04052}, {1447,1,103.068,0.04053}, {1448,1,103.0865,0.04053}, {1449,1,103.1051,0.04054}, {1450,1,103.1236,0.04054}, {1451,1,103.1421,0.04055}, {1452,1,103.1607,0.04055}, {1453,1,103.1792,0.04055}, {1454,1,103.1977,0.04056}, {1455,1,103.2162,0.04056}, {1456,1,103.2348,0.04057}, {1457,1,103.2533,0.04057}, {1458,1,103.2718,0.04058}, {1459,1,103.2903,0.04058}, {1460,1,103.3088,0.04059}, {1461,1,103.3273,0.04059}, {1462,1,103.3458,0.0406}, {1463,1,103.3643,0.0406}, {1464,1,103.3827,0.0406}, {1465,1,103.4012,0.04061}, {1466,1,103.4197,0.04061}, {1467,1,103.4382,0.04062}, {1468,1,103.4566,0.04062}, {1469,1,103.4751,0.04063}, {1470,1,103.4936,0.04063}, {1471,1,103.512,0.04064}, {1472,1,103.5305,0.04064}, {1473,1,103.5489,0.04065}, {1474,1,103.5674,0.04065}, {1475,1,103.5858,0.04065}, {1476,1,103.6043,0.04066}, {1477,1,103.6227,0.04066}, {1478,1,103.6412,0.04067}, {1479,1,103.6596,0.04067}, {1480,1,103.678,0.04068}, {1481,1,103.6965,0.04068}, {1482,1,103.7149,0.04069}, {1483,1,103.7333,0.04069}, {1484,1,103.7517,0.04069}, {1485,1,103.7701,0.0407}, {1486,1,103.7885,0.0407}, {1487,1,103.807,0.04071}, {1488,1,103.8254,0.04071}, {1489,1,103.8438,0.04072}, {1490,1,103.8622,0.04072}, {1491,1,103.8806,0.04073}, {1492,1,103.899,0.04073}, {1493,1,103.9174,0.04073}, {1494,1,103.9357,0.04074}, {1495,1,103.9541,0.04074}, {1496,1,103.9725,0.04075}, {1497,1,103.9909,0.04075}, {1498,1,104.0093,0.04076}, {1499,1,104.0277,0.04076}, {1500,1,104.046,0.04077}, {1501,1,104.0644,0.04077}, {1502,1,104.0828,0.04078}, {1503,1,104.1011,0.04078}, {1504,1,104.1195,0.04078}, {1505,1,104.1379,0.04079}, {1506,1,104.1562,0.04079}, {1507,1,104.1746,0.0408}, {1508,1,104.1929,0.0408}, {1509,1,104.2113,0.04081}, {1510,1,104.2296,0.04081}, {1511,1,104.248,0.04082}, {1512,1,104.2663,0.04082}, {1513,1,104.2847,0.04082}, {1514,1,104.303,0.04083}, {1515,1,104.3213,0.04083}, {1516,1,104.3397,0.04084}, {1517,1,104.358,0.04084}, {1518,1,104.3763,0.04085}, {1519,1,104.3947,0.04085}, {1520,1,104.413,0.04086}, {1521,1,104.4313,0.04086}, {1522,1,104.4496,0.04086}, {1523,1,104.4679,0.04087}, {1524,1,104.4863,0.04087}, {1525,1,104.5046,0.04088}, {1526,1,104.5229,0.04088}, {1527,1,104.5412,0.04089}, {1528,1,104.5595,0.04089}, {1529,1,104.5778,0.04089}, {1530,1,104.5961,0.0409}, {1531,1,104.6144,0.0409}, {1532,1,104.6327,0.04091}, {1533,1,104.651,0.04091}, {1534,1,104.6693,0.04092}, {1535,1,104.6876,0.04092}, {1536,1,104.7059,0.04093}, {1537,1,104.7242,0.04093}, {1538,1,104.7425,0.04093}, {1539,1,104.7608,0.04094}, {1540,1,104.7791,0.04094}, {1541,1,104.7974,0.04095}, {1542,1,104.8157,0.04095}, {1543,1,104.8339,0.04096}, {1544,1,104.8522,0.04096}, {1545,1,104.8705,0.04097}, {1546,1,104.8888,0.04097}, {1547,1,104.9071,0.04097}, {1548,1,104.9253,0.04098}, {1549,1,104.9436,0.04098}, {1550,1,104.9619,0.04099}, {1551,1,104.9802,0.04099}, {1552,1,104.9984,0.041}, {1553,1,105.0167,0.041}, {1554,1,105.035,0.041}, {1555,1,105.0532,0.04101}, {1556,1,105.0715,0.04101}, {1557,1,105.0898,0.04102}, {1558,1,105.108,0.04102}, {1559,1,105.1263,0.04103}, {1560,1,105.1445,0.04103}, {1561,1,105.1628,0.04104}, {1562,1,105.1811,0.04104}, {1563,1,105.1993,0.04104}, {1564,1,105.2176,0.04105}, {1565,1,105.2358,0.04105}, {1566,1,105.2541,0.04106}, {1567,1,105.2723,0.04106}, {1568,1,105.2906,0.04107}, {1569,1,105.3088,0.04107}, {1570,1,105.3271,0.04107}, {1571,1,105.3453,0.04108}, {1572,1,105.3635,0.04108}, {1573,1,105.3818,0.04109}, {1574,1,105.4,0.04109}, {1575,1,105.4183,0.0411}, {1576,1,105.4365,0.0411}, {1577,1,105.4547,0.04111}, {1578,1,105.473,0.04111}, {1579,1,105.4912,0.04111}, {1580,1,105.5094,0.04112}, {1581,1,105.5277,0.04112}, {1582,1,105.5459,0.04113}, {1583,1,105.5641,0.04113}, {1584,1,105.5824,0.04114}, {1585,1,105.6006,0.04114}, {1586,1,105.6188,0.04114}, {1587,1,105.637,0.04115}, {1588,1,105.6553,0.04115}, {1589,1,105.6735,0.04116}, {1590,1,105.6917,0.04116}, {1591,1,105.7099,0.04117}, {1592,1,105.7281,0.04117}, {1593,1,105.7463,0.04117}, {1594,1,105.7646,0.04118}, {1595,1,105.7828,0.04118}, {1596,1,105.801,0.04119}, {1597,1,105.8192,0.04119}, {1598,1,105.8374,0.0412}, {1599,1,105.8556,0.0412}, {1600,1,105.8738,0.0412}, {1601,1,105.892,0.04121}, {1602,1,105.9102,0.04121}, {1603,1,105.9284,0.04122}, {1604,1,105.9466,0.04122}, {1605,1,105.9648,0.04123}, {1606,1,105.983,0.04123}, {1607,1,106.0012,0.04123}, {1608,1,106.0194,0.04124}, {1609,1,106.0376,0.04124}, {1610,1,106.0558,0.04125}, {1611,1,106.074,0.04125}, {1612,1,106.0922,0.04126}, {1613,1,106.1104,0.04126}, {1614,1,106.1286,0.04127}, {1615,1,106.1467,0.04127}, {1616,1,106.1649,0.04127}, {1617,1,106.1831,0.04128}, {1618,1,106.2013,0.04128}, {1619,1,106.2195,0.04129}, {1620,1,106.2377,0.04129}, {1621,1,106.2558,0.0413}, {1622,1,106.274,0.0413}, {1623,1,106.2922,0.0413}, {1624,1,106.3104,0.04131}, {1625,1,106.3285,0.04131}, {1626,1,106.3467,0.04132}, {1627,1,106.3649,0.04132}, {1628,1,106.3831,0.04132}, {1629,1,106.4012,0.04133}, {1630,1,106.4194,0.04133}, {1631,1,106.4376,0.04134}, {1632,1,106.4557,0.04134}, {1633,1,106.4739,0.04135}, {1634,1,106.4921,0.04135}, {1635,1,106.5102,0.04135}, {1636,1,106.5284,0.04136}, {1637,1,106.5465,0.04136}, {1638,1,106.5647,0.04137}, {1639,1,106.5829,0.04137}, {1640,1,106.601,0.04138}, {1641,1,106.6192,0.04138}, {1642,1,106.6373,0.04138}, {1643,1,106.6555,0.04139}, {1644,1,106.6736,0.04139}, {1645,1,106.6918,0.0414}, {1646,1,106.7099,0.0414}, {1647,1,106.7281,0.04141}, {1648,1,106.7462,0.04141}, {1649,1,106.7644,0.04141}, {1650,1,106.7825,0.04142}, {1651,1,106.8006,0.04142}, {1652,1,106.8188,0.04143}, {1653,1,106.8369,0.04143}, {1654,1,106.8551,0.04144}, {1655,1,106.8732,0.04144}, {1656,1,106.8913,0.04144}, {1657,1,106.9095,0.04145}, {1658,1,106.9276,0.04145}, {1659,1,106.9457,0.04146}, {1660,1,106.9639,0.04146}, {1661,1,106.982,0.04147}, {1662,1,107.0001,0.04147}, {1663,1,107.0183,0.04147}, {1664,1,107.0364,0.04148}, {1665,1,107.0545,0.04148}, {1666,1,107.0727,0.04149}, {1667,1,107.0908,0.04149}, {1668,1,107.1089,0.04149}, {1669,1,107.127,0.0415}, {1670,1,107.1452,0.0415}, {1671,1,107.1633,0.04151}, {1672,1,107.1814,0.04151}, {1673,1,107.1995,0.04152}, {1674,1,107.2176,0.04152}, {1675,1,107.2358,0.04152}, {1676,1,107.2539,0.04153}, {1677,1,107.272,0.04153}, {1678,1,107.2901,0.04154}, {1679,1,107.3082,0.04154}, {1680,1,107.3263,0.04154}, {1681,1,107.3444,0.04155}, {1682,1,107.3625,0.04155}, {1683,1,107.3806,0.04156}, {1684,1,107.3988,0.04156}, {1685,1,107.4169,0.04157}, {1686,1,107.435,0.04157}, {1687,1,107.4531,0.04157}, {1688,1,107.4712,0.04158}, {1689,1,107.4893,0.04158}, {1690,1,107.5074,0.04159}, {1691,1,107.5255,0.04159}, {1692,1,107.5436,0.0416}, {1693,1,107.5617,0.0416}, {1694,1,107.5798,0.0416}, {1695,1,107.5979,0.04161}, {1696,1,107.616,0.04161}, {1697,1,107.6341,0.04162}, {1698,1,107.6522,0.04162}, {1699,1,107.6702,0.04162}, {1700,1,107.6883,0.04163}, {1701,1,107.7064,0.04163}, {1702,1,107.7245,0.04164}, {1703,1,107.7426,0.04164}, {1704,1,107.7607,0.04165}, {1705,1,107.7788,0.04165}, {1706,1,107.7969,0.04165}, {1707,1,107.8149,0.04166}, {1708,1,107.833,0.04166}, {1709,1,107.8511,0.04167}, {1710,1,107.8692,0.04167}, {1711,1,107.8873,0.04167}, {1712,1,107.9053,0.04168}, {1713,1,107.9234,0.04168}, {1714,1,107.9415,0.04169}, {1715,1,107.9596,0.04169}, {1716,1,107.9777,0.04169}, {1717,1,107.9957,0.0417}, {1718,1,108.0138,0.0417}, {1719,1,108.0319,0.04171}, {1720,1,108.0499,0.04171}, {1721,1,108.068,0.04172}, {1722,1,108.0861,0.04172}, {1723,1,108.1041,0.04172}, {1724,1,108.1222,0.04173}, {1725,1,108.1403,0.04173}, {1726,1,108.1583,0.04174}, {1727,1,108.1764,0.04174}, {1728,1,108.1945,0.04174}, {1729,1,108.2125,0.04175}, {1730,1,108.2306,0.04175}, {1731,1,108.2487,0.04176}, {1732,1,108.2667,0.04176}, {1733,1,108.2848,0.04176}, {1734,1,108.3028,0.04177}, {1735,1,108.3209,0.04177}, {1736,1,108.3389,0.04178}, {1737,1,108.357,0.04178}, {1738,1,108.375,0.04179}, {1739,1,108.3931,0.04179}, {1740,1,108.4112,0.04179}, {1741,1,108.4292,0.0418}, {1742,1,108.4473,0.0418}, {1743,1,108.4653,0.04181}, {1744,1,108.4833,0.04181}, {1745,1,108.5014,0.04181}, {1746,1,108.5194,0.04182}, {1747,1,108.5375,0.04182}, {1748,1,108.5555,0.04183}, {1749,1,108.5736,0.04183}, {1750,1,108.5916,0.04183}, {1751,1,108.6097,0.04184}, {1752,1,108.6277,0.04184}, {1753,1,108.6457,0.04185}, {1754,1,108.6638,0.04185}, {1755,1,108.6818,0.04185}, {1756,1,108.6998,0.04186}, {1757,1,108.7179,0.04186}, {1758,1,108.7359,0.04187}, {1759,1,108.7539,0.04187}, {1760,1,108.772,0.04188}, {1761,1,108.79,0.04188}, {1762,1,108.808,0.04188}, {1763,1,108.8261,0.04189}, {1764,1,108.8441,0.04189}, {1765,1,108.8621,0.0419}, {1766,1,108.8801,0.0419}, {1767,1,108.8982,0.0419}, {1768,1,108.9162,0.04191}, {1769,1,108.9342,0.04191}, {1770,1,108.9522,0.04192}, {1771,1,108.9702,0.04192}, {1772,1,108.9883,0.04192}, {1773,1,109.0063,0.04193}, {1774,1,109.0243,0.04193}, {1775,1,109.0423,0.04194}, {1776,1,109.0603,0.04194}, {1777,1,109.0783,0.04194}, {1778,1,109.0963,0.04195}, {1779,1,109.1144,0.04195}, {1780,1,109.1324,0.04196}, {1781,1,109.1504,0.04196}, {1782,1,109.1684,0.04196}, {1783,1,109.1864,0.04197}, {1784,1,109.2044,0.04197}, {1785,1,109.2224,0.04198}, {1786,1,109.2404,0.04198}, {1787,1,109.2584,0.04198}, {1788,1,109.2764,0.04199}, {1789,1,109.2944,0.04199}, {1790,1,109.3124,0.042}, {1791,1,109.3304,0.042}, {1792,1,109.3484,0.042}, {1793,1,109.3664,0.04201}, {1794,1,109.3843,0.04201}, {1795,1,109.4023,0.04202}, {1796,1,109.4203,0.04202}, {1797,1,109.4383,0.04202}, {1798,1,109.4563,0.04203}, {1799,1,109.4743,0.04203}, {1800,1,109.4923,0.04204}, {1801,1,109.5102,0.04204}, {1802,1,109.5282,0.04204}, {1803,1,109.5462,0.04205}, {1804,1,109.5642,0.04205}, {1805,1,109.5822,0.04206}, {1806,1,109.6001,0.04206}, {1807,1,109.6181,0.04206}, {1808,1,109.6361,0.04207}, {1809,1,109.654,0.04207}, {1810,1,109.672,0.04208}, {1811,1,109.69,0.04208}, {1812,1,109.7079,0.04208}, {1813,1,109.7259,0.04209}, {1814,1,109.7439,0.04209}, {1815,1,109.7618,0.0421}, {1816,1,109.7798,0.0421}, {1817,1,109.7978,0.0421}, {1818,1,109.8157,0.04211}, {1819,1,109.8337,0.04211}, {1820,1,109.8516,0.04212}, {1821,1,109.8696,0.04212}, {1822,1,109.8875,0.04212}, {1823,1,109.9055,0.04213}, {1824,1,109.9234,0.04213}, {1825,1,109.9414,0.04214}, {1826,1,109.9593,0.04214}, {1827,1,109.9773,0.04214}, {1828,1,109.9952,0.04215}, {1829,1,110.0131,0.04215}, {1830,1,110.0311,0.04216}, {1831,1,110.049,0.04216}, {1832,1,110.0669,0.04216}, {1833,1,110.0849,0.04217}, {1834,1,110.1028,0.04217}, {1835,1,110.1207,0.04218}, {1836,1,110.1387,0.04218}, {1837,1,110.1566,0.04218}, {1838,1,110.1745,0.04219}, {1839,1,110.1924,0.04219}, {1840,1,110.2104,0.0422}, {1841,1,110.2283,0.0422}, {1842,1,110.2462,0.0422}, {1843,1,110.2641,0.04221}, {1844,1,110.282,0.04221}, {1845,1,110.3,0.04222}, {1846,1,110.3179,0.04222}, {1847,1,110.3358,0.04222}, {1848,1,110.3537,0.04223}, {1849,1,110.3716,0.04223}, {1850,1,110.3895,0.04223}, {1851,1,110.4074,0.04224}, {1852,1,110.4253,0.04224}, {1853,1,110.4432,0.04225}, {1854,1,110.4611,0.04225}, {1855,1,110.479,0.04225}, {1856,1,110.4969,0.04226} }; return boysLengthForAge[index < boysLengthForAge.length ? index : boysLengthForAge.length]; } public double[]getGirlsLengthForAge(int index){ double[][]girlsLengthForAge = { {0,1,49.1477,0.0379}, {1,1,49.3166,0.03783}, {2,1,49.4854,0.03776}, {3,1,49.6543,0.0377}, {4,1,49.8232,0.03763}, {5,1,49.9921,0.03756}, {6,1,50.1609,0.03749}, {7,1,50.3298,0.03742}, {8,1,50.4987,0.03735}, {9,1,50.6676,0.03728}, {10,1,50.8365,0.03722}, {11,1,51.0053,0.03715}, {12,1,51.1742,0.03708}, {13,1,51.3431,0.03701}, {14,1,51.512,0.03694}, {15,1,51.651,0.0369}, {16,1,51.7895,0.03687}, {17,1,51.9272,0.03683}, {18,1,52.0641,0.0368}, {19,1,52.2002,0.03676}, {20,1,52.3353,0.03673}, {21,1,52.4695,0.03669}, {22,1,52.6027,0.03666}, {23,1,52.7349,0.03663}, {24,1,52.8661,0.0366}, {25,1,52.9963,0.03656}, {26,1,53.1255,0.03653}, {27,1,53.2537,0.0365}, {28,1,53.3809,0.03647}, {29,1,53.5072,0.03644}, {30,1,53.6326,0.03641}, {31,1,53.7571,0.03638}, {32,1,53.8806,0.03636}, {33,1,54.0031,0.03633}, {34,1,54.1247,0.0363}, {35,1,54.2454,0.03627}, {36,1,54.3651,0.03625}, {37,1,54.4839,0.03622}, {38,1,54.6018,0.03619}, {39,1,54.7187,0.03617}, {40,1,54.8348,0.03614}, {41,1,54.9499,0.03612}, {42,1,55.0642,0.03609}, {43,1,55.1777,0.03607}, {44,1,55.2903,0.03604}, {45,1,55.4021,0.03602}, {46,1,55.513,0.036}, {47,1,55.623,0.03597}, {48,1,55.7322,0.03595}, {49,1,55.8406,0.03593}, {50,1,55.9482,0.03591}, {51,1,56.0549,0.03588}, {52,1,56.1609,0.03586}, {53,1,56.266,0.03584}, {54,1,56.3704,0.03582}, {55,1,56.4739,0.0358}, {56,1,56.5767,0.03578}, {57,1,56.6788,0.03576}, {58,1,56.78,0.03574}, {59,1,56.8806,0.03572}, {60,1,56.9805,0.0357}, {61,1,57.0796,0.03568}, {62,1,57.1782,0.03566}, {63,1,57.2761,0.03564}, {64,1,57.3733,0.03562}, {65,1,57.4699,0.03561}, {66,1,57.5659,0.03559}, {67,1,57.6613,0.03557}, {68,1,57.756,0.03555}, {69,1,57.8501,0.03553}, {70,1,57.9436,0.03552}, {71,1,58.0365,0.0355}, {72,1,58.1288,0.03548}, {73,1,58.2206,0.03547}, {74,1,58.3117,0.03545}, {75,1,58.4022,0.03543}, {76,1,58.4922,0.03542}, {77,1,58.5816,0.0354}, {78,1,58.6705,0.03539}, {79,1,58.7588,0.03537}, {80,1,58.8465,0.03536}, {81,1,58.9337,0.03534}, {82,1,59.0204,0.03533}, {83,1,59.1066,0.03531}, {84,1,59.1922,0.0353}, {85,1,59.2773,0.03528}, {86,1,59.3619,0.03527}, {87,1,59.4459,0.03526}, {88,1,59.5295,0.03524}, {89,1,59.6126,0.03523}, {90,1,59.6952,0.03521}, {91,1,59.7773,0.0352}, {92,1,59.8589,0.03519}, {93,1,59.9401,0.03517}, {94,1,60.0209,0.03516}, {95,1,60.1011,0.03515}, {96,1,60.181,0.03514}, {97,1,60.2603,0.03512}, {98,1,60.3393,0.03511}, {99,1,60.4178,0.0351}, {100,1,60.4958,0.03509}, {101,1,60.5734,0.03508}, {102,1,60.6506,0.03506}, {103,1,60.7273,0.03505}, {104,1,60.8036,0.03504}, {105,1,60.8795,0.03503}, {106,1,60.955,0.03502}, {107,1,61.0301,0.03501}, {108,1,61.1047,0.035}, {109,1,61.1789,0.03499}, {110,1,61.2527,0.03497}, {111,1,61.3261,0.03496}, {112,1,61.3991,0.03495}, {113,1,61.4717,0.03494}, {114,1,61.5439,0.03493}, {115,1,61.6156,0.03492}, {116,1,61.687,0.03491}, {117,1,61.758,0.0349}, {118,1,61.8286,0.03489}, {119,1,61.8988,0.03488}, {120,1,61.9686,0.03487}, {121,1,62.0381,0.03487}, {122,1,62.1071,0.03486}, {123,1,62.1758,0.03485}, {124,1,62.2441,0.03484}, {125,1,62.312,0.03483}, {126,1,62.3795,0.03482}, {127,1,62.4467,0.03481}, {128,1,62.5135,0.0348}, {129,1,62.58,0.03479}, {130,1,62.6461,0.03479}, {131,1,62.7118,0.03478}, {132,1,62.7772,0.03477}, {133,1,62.8423,0.03476}, {134,1,62.907,0.03475}, {135,1,62.9714,0.03475}, {136,1,63.0354,0.03474}, {137,1,63.0991,0.03473}, {138,1,63.1626,0.03472}, {139,1,63.2257,0.03471}, {140,1,63.2884,0.03471}, {141,1,63.3509,0.0347}, {142,1,63.4131,0.03469}, {143,1,63.475,0.03469}, {144,1,63.5365,0.03468}, {145,1,63.5978,0.03467}, {146,1,63.6588,0.03467}, {147,1,63.7196,0.03466}, {148,1,63.78,0.03465}, {149,1,63.8402,0.03465}, {150,1,63.9,0.03464}, {151,1,63.9597,0.03463}, {152,1,64.019,0.03463}, {153,1,64.0781,0.03462}, {154,1,64.137,0.03461}, {155,1,64.1956,0.03461}, {156,1,64.2539,0.0346}, {157,1,64.312,0.0346}, {158,1,64.3699,0.03459}, {159,1,64.4276,0.03459}, {160,1,64.485,0.03458}, {161,1,64.5422,0.03457}, {162,1,64.5991,0.03457}, {163,1,64.6559,0.03456}, {164,1,64.7124,0.03456}, {165,1,64.7688,0.03455}, {166,1,64.8249,0.03455}, {167,1,64.8808,0.03454}, {168,1,64.9366,0.03454}, {169,1,64.9921,0.03453}, {170,1,65.0474,0.03453}, {171,1,65.1026,0.03453}, {172,1,65.1576,0.03452}, {173,1,65.2123,0.03452}, {174,1,65.267,0.03451}, {175,1,65.3214,0.03451}, {176,1,65.3757,0.0345}, {177,1,65.4298,0.0345}, {178,1,65.4837,0.0345}, {179,1,65.5375,0.03449}, {180,1,65.5911,0.03449}, {181,1,65.6445,0.03449}, {182,1,65.6978,0.03448}, {183,1,65.751,0.03448}, {184,1,65.804,0.03447}, {185,1,65.8568,0.03447}, {186,1,65.9095,0.03447}, {187,1,65.9621,0.03447}, {188,1,66.0145,0.03446}, {189,1,66.0668,0.03446}, {190,1,66.1189,0.03446}, {191,1,66.1709,0.03445}, {192,1,66.2228,0.03445}, {193,1,66.2745,0.03445}, {194,1,66.3261,0.03444}, {195,1,66.3776,0.03444}, {196,1,66.429,0.03444}, {197,1,66.4802,0.03444}, {198,1,66.5313,0.03444}, {199,1,66.5823,0.03443}, {200,1,66.6331,0.03443}, {201,1,66.6839,0.03443}, {202,1,66.7345,0.03443}, {203,1,66.785,0.03442}, {204,1,66.8354,0.03442}, {205,1,66.8857,0.03442}, {206,1,66.9359,0.03442}, {207,1,66.9859,0.03442}, {208,1,67.0359,0.03442}, {209,1,67.0858,0.03441}, {210,1,67.1355,0.03441}, {211,1,67.1852,0.03441}, {212,1,67.2347,0.03441}, {213,1,67.2842,0.03441}, {214,1,67.3335,0.03441}, {215,1,67.3828,0.03441}, {216,1,67.432,0.03441}, {217,1,67.481,0.0344}, {218,1,67.53,0.0344}, {219,1,67.5789,0.0344}, {220,1,67.6277,0.0344}, {221,1,67.6764,0.0344}, {222,1,67.725,0.0344}, {223,1,67.7735,0.0344}, {224,1,67.8219,0.0344}, {225,1,67.8703,0.0344}, {226,1,67.9185,0.0344}, {227,1,67.9667,0.0344}, {228,1,68.0148,0.0344}, {229,1,68.0628,0.0344}, {230,1,68.1107,0.0344}, {231,1,68.1585,0.0344}, {232,1,68.2063,0.0344}, {233,1,68.254,0.0344}, {234,1,68.3016,0.0344}, {235,1,68.3491,0.0344}, {236,1,68.3965,0.0344}, {237,1,68.4439,0.0344}, {238,1,68.4911,0.0344}, {239,1,68.5383,0.0344}, {240,1,68.5855,0.0344}, {241,1,68.6325,0.0344}, {242,1,68.6795,0.0344}, {243,1,68.7264,0.0344}, {244,1,68.7732,0.0344}, {245,1,68.82,0.0344}, {246,1,68.8666,0.0344}, {247,1,68.9133,0.0344}, {248,1,68.9598,0.0344}, {249,1,69.0063,0.0344}, {250,1,69.0527,0.0344}, {251,1,69.099,0.03441}, {252,1,69.1452,0.03441}, {253,1,69.1914,0.03441}, {254,1,69.2376,0.03441}, {255,1,69.2836,0.03441}, {256,1,69.3296,0.03441}, {257,1,69.3755,0.03441}, {258,1,69.4214,0.03441}, {259,1,69.4672,0.03441}, {260,1,69.5129,0.03442}, {261,1,69.5585,0.03442}, {262,1,69.6041,0.03442}, {263,1,69.6496,0.03442}, {264,1,69.6951,0.03442}, {265,1,69.7405,0.03442}, {266,1,69.7858,0.03443}, {267,1,69.8311,0.03443}, {268,1,69.8763,0.03443}, {269,1,69.9215,0.03443}, {270,1,69.9666,0.03443}, {271,1,70.0116,0.03444}, {272,1,70.0566,0.03444}, {273,1,70.1015,0.03444}, {274,1,70.1463,0.03444}, {275,1,70.1911,0.03444}, {276,1,70.2358,0.03445}, {277,1,70.2805,0.03445}, {278,1,70.3251,0.03445}, {279,1,70.3697,0.03445}, {280,1,70.4142,0.03445}, {281,1,70.4586,0.03446}, {282,1,70.503,0.03446}, {283,1,70.5474,0.03446}, {284,1,70.5917,0.03446}, {285,1,70.6359,0.03447}, {286,1,70.68,0.03447}, {287,1,70.7241,0.03447}, {288,1,70.7682,0.03448}, {289,1,70.8122,0.03448}, {290,1,70.8561,0.03448}, {291,1,70.9,0.03448}, {292,1,70.9439,0.03449}, {293,1,70.9876,0.03449}, {294,1,71.0314,0.03449}, {295,1,71.075,0.0345}, {296,1,71.1187,0.0345}, {297,1,71.1622,0.0345}, {298,1,71.2057,0.0345}, {299,1,71.2492,0.03451}, {300,1,71.2926,0.03451}, {301,1,71.3359,0.03451}, {302,1,71.3792,0.03452}, {303,1,71.4224,0.03452}, {304,1,71.4656,0.03452}, {305,1,71.5088,0.03453}, {306,1,71.5518,0.03453}, {307,1,71.5949,0.03453}, {308,1,71.6378,0.03454}, {309,1,71.6808,0.03454}, {310,1,71.7236,0.03454}, {311,1,71.7664,0.03455}, {312,1,71.8092,0.03455}, {313,1,71.8519,0.03456}, {314,1,71.8946,0.03456}, {315,1,71.9372,0.03456}, {316,1,71.9798,0.03457}, {317,1,72.0223,0.03457}, {318,1,72.0647,0.03457}, {319,1,72.1071,0.03458}, {320,1,72.1495,0.03458}, {321,1,72.1918,0.03459}, {322,1,72.234,0.03459}, {323,1,72.2762,0.03459}, {324,1,72.3184,0.0346}, {325,1,72.3605,0.0346}, {326,1,72.4025,0.03461}, {327,1,72.4445,0.03461}, {328,1,72.4865,0.03461}, {329,1,72.5284,0.03462}, {330,1,72.5702,0.03462}, {331,1,72.612,0.03463}, {332,1,72.6538,0.03463}, {333,1,72.6955,0.03464}, {334,1,72.7372,0.03464}, {335,1,72.7788,0.03464}, {336,1,72.8203,0.03465}, {337,1,72.8618,0.03465}, {338,1,72.9033,0.03466}, {339,1,72.9447,0.03466}, {340,1,72.9861,0.03467}, {341,1,73.0274,0.03467}, {342,1,73.0686,0.03468}, {343,1,73.1099,0.03468}, {344,1,73.151,0.03469}, {345,1,73.1922,0.03469}, {346,1,73.2332,0.03469}, {347,1,73.2743,0.0347}, {348,1,73.3152,0.0347}, {349,1,73.3562,0.03471}, {350,1,73.3971,0.03471}, {351,1,73.4379,0.03472}, {352,1,73.4787,0.03472}, {353,1,73.5195,0.03473}, {354,1,73.5602,0.03473}, {355,1,73.6008,0.03474}, {356,1,73.6414,0.03474}, {357,1,73.682,0.03475}, {358,1,73.7225,0.03475}, {359,1,73.763,0.03476}, {360,1,73.8034,0.03476}, {361,1,73.8438,0.03477}, {362,1,73.8842,0.03477}, {363,1,73.9245,0.03478}, {364,1,73.9647,0.03478}, {365,1,74.0049,0.03479}, {366,1,74.0451,0.03479}, {367,1,74.0852,0.0348}, {368,1,74.1253,0.0348}, {369,1,74.1653,0.03481}, {370,1,74.2053,0.03482}, {371,1,74.2452,0.03482}, {372,1,74.2851,0.03483}, {373,1,74.325,0.03483}, {374,1,74.3648,0.03484}, {375,1,74.4045,0.03484}, {376,1,74.4443,0.03485}, {377,1,74.4839,0.03485}, {378,1,74.5236,0.03486}, {379,1,74.5632,0.03486}, {380,1,74.6027,0.03487}, {381,1,74.6422,0.03488}, {382,1,74.6817,0.03488}, {383,1,74.7211,0.03489}, {384,1,74.7605,0.03489}, {385,1,74.7998,0.0349}, {386,1,74.8391,0.0349}, {387,1,74.8784,0.03491}, {388,1,74.9176,0.03491}, {389,1,74.9567,0.03492}, {390,1,74.9959,0.03493}, {391,1,75.0349,0.03493}, {392,1,75.074,0.03494}, {393,1,75.113,0.03494}, {394,1,75.1519,0.03495}, {395,1,75.1908,0.03495}, {396,1,75.2297,0.03496}, {397,1,75.2686,0.03497}, {398,1,75.3073,0.03497}, {399,1,75.3461,0.03498}, {400,1,75.3848,0.03498}, {401,1,75.4235,0.03499}, {402,1,75.4621,0.035}, {403,1,75.5007,0.035}, {404,1,75.5392,0.03501}, {405,1,75.5777,0.03501}, {406,1,75.6162,0.03502}, {407,1,75.6546,0.03503}, {408,1,75.693,0.03503}, {409,1,75.7313,0.03504}, {410,1,75.7696,0.03504}, {411,1,75.8079,0.03505}, {412,1,75.8461,0.03506}, {413,1,75.8843,0.03506}, {414,1,75.9224,0.03507}, {415,1,75.9605,0.03507}, {416,1,75.9986,0.03508}, {417,1,76.0366,0.03509}, {418,1,76.0746,0.03509}, {419,1,76.1125,0.0351}, {420,1,76.1504,0.03511}, {421,1,76.1883,0.03511}, {422,1,76.2261,0.03512}, {423,1,76.2639,0.03512}, {424,1,76.3016,0.03513}, {425,1,76.3393,0.03514}, {426,1,76.377,0.03514}, {427,1,76.4146,0.03515}, {428,1,76.4522,0.03516}, {429,1,76.4897,0.03516}, {430,1,76.5272,0.03517}, {431,1,76.5647,0.03518}, {432,1,76.6021,0.03518}, {433,1,76.6395,0.03519}, {434,1,76.6769,0.03519}, {435,1,76.7142,0.0352}, {436,1,76.7515,0.03521}, {437,1,76.7887,0.03521}, {438,1,76.8259,0.03522}, {439,1,76.8631,0.03523}, {440,1,76.9002,0.03523}, {441,1,76.9373,0.03524}, {442,1,76.9744,0.03525}, {443,1,77.0114,0.03525}, {444,1,77.0484,0.03526}, {445,1,77.0853,0.03527}, {446,1,77.1222,0.03527}, {447,1,77.1591,0.03528}, {448,1,77.1959,0.03529}, {449,1,77.2327,0.03529}, {450,1,77.2695,0.0353}, {451,1,77.3062,0.0353}, {452,1,77.3429,0.03531}, {453,1,77.3796,0.03532}, {454,1,77.4162,0.03532}, {455,1,77.4528,0.03533}, {456,1,77.4893,0.03534}, {457,1,77.5258,0.03534}, {458,1,77.5623,0.03535}, {459,1,77.5988,0.03536}, {460,1,77.6352,0.03536}, {461,1,77.6716,0.03537}, {462,1,77.7079,0.03538}, {463,1,77.7442,0.03538}, {464,1,77.7805,0.03539}, {465,1,77.8167,0.0354}, {466,1,77.8529,0.0354}, {467,1,77.8891,0.03541}, {468,1,77.9252,0.03542}, {469,1,77.9613,0.03543}, {470,1,77.9974,0.03543}, {471,1,78.0334,0.03544}, {472,1,78.0694,0.03545}, {473,1,78.1054,0.03545}, {474,1,78.1413,0.03546}, {475,1,78.1772,0.03547}, {476,1,78.2131,0.03547}, {477,1,78.249,0.03548}, {478,1,78.2848,0.03549}, {479,1,78.3205,0.03549}, {480,1,78.3563,0.0355}, {481,1,78.392,0.03551}, {482,1,78.4276,0.03551}, {483,1,78.4633,0.03552}, {484,1,78.4989,0.03553}, {485,1,78.5345,0.03553}, {486,1,78.57,0.03554}, {487,1,78.6055,0.03555}, {488,1,78.641,0.03556}, {489,1,78.6764,0.03556}, {490,1,78.7118,0.03557}, {491,1,78.7472,0.03558}, {492,1,78.7826,0.03558}, {493,1,78.8179,0.03559}, {494,1,78.8532,0.0356}, {495,1,78.8884,0.0356}, {496,1,78.9236,0.03561}, {497,1,78.9588,0.03562}, {498,1,78.994,0.03562}, {499,1,79.0291,0.03563}, {500,1,79.0642,0.03564}, {501,1,79.0993,0.03565}, {502,1,79.1343,0.03565}, {503,1,79.1693,0.03566}, {504,1,79.2042,0.03567}, {505,1,79.2392,0.03567}, {506,1,79.2741,0.03568}, {507,1,79.3089,0.03569}, {508,1,79.3438,0.03569}, {509,1,79.3786,0.0357}, {510,1,79.4134,0.03571}, {511,1,79.4481,0.03572}, {512,1,79.4828,0.03572}, {513,1,79.5175,0.03573}, {514,1,79.5521,0.03574}, {515,1,79.5868,0.03574}, {516,1,79.6213,0.03575}, {517,1,79.6559,0.03576}, {518,1,79.6904,0.03577}, {519,1,79.7249,0.03577}, {520,1,79.7594,0.03578}, {521,1,79.7938,0.03579}, {522,1,79.8282,0.03579}, {523,1,79.8626,0.0358}, {524,1,79.8969,0.03581}, {525,1,79.9312,0.03582}, {526,1,79.9655,0.03582}, {527,1,79.9998,0.03583}, {528,1,80.034,0.03584}, {529,1,80.0682,0.03584}, {530,1,80.1023,0.03585}, {531,1,80.1365,0.03586}, {532,1,80.1706,0.03587}, {533,1,80.2046,0.03587}, {534,1,80.2387,0.03588}, {535,1,80.2727,0.03589}, {536,1,80.3067,0.03589}, {537,1,80.3406,0.0359}, {538,1,80.3745,0.03591}, {539,1,80.4084,0.03592}, {540,1,80.4423,0.03592}, {541,1,80.4761,0.03593}, {542,1,80.5099,0.03594}, {543,1,80.5437,0.03594}, {544,1,80.5774,0.03595}, {545,1,80.6112,0.03596}, {546,1,80.6448,0.03597}, {547,1,80.6785,0.03597}, {548,1,80.7121,0.03598}, {549,1,80.7457,0.03599}, {550,1,80.7793,0.036}, {551,1,80.8128,0.036}, {552,1,80.8464,0.03601}, {553,1,80.8798,0.03602}, {554,1,80.9133,0.03602}, {555,1,80.9467,0.03603}, {556,1,80.9801,0.03604}, {557,1,81.0135,0.03605}, {558,1,81.0468,0.03605}, {559,1,81.0802,0.03606}, {560,1,81.1134,0.03607}, {561,1,81.1467,0.03608}, {562,1,81.1799,0.03608}, {563,1,81.2131,0.03609}, {564,1,81.2463,0.0361}, {565,1,81.2795,0.03611}, {566,1,81.3126,0.03611}, {567,1,81.3457,0.03612}, {568,1,81.3788,0.03613}, {569,1,81.4118,0.03613}, {570,1,81.4448,0.03614}, {571,1,81.4778,0.03615}, {572,1,81.5108,0.03616}, {573,1,81.5437,0.03616}, {574,1,81.5766,0.03617}, {575,1,81.6095,0.03618}, {576,1,81.6423,0.03619}, {577,1,81.6752,0.03619}, {578,1,81.708,0.0362}, {579,1,81.7407,0.03621}, {580,1,81.7735,0.03622}, {581,1,81.8062,0.03622}, {582,1,81.8389,0.03623}, {583,1,81.8715,0.03624}, {584,1,81.9042,0.03624}, {585,1,81.9368,0.03625}, {586,1,81.9694,0.03626}, {587,1,82.0019,0.03627}, {588,1,82.0345,0.03627}, {589,1,82.067,0.03628}, {590,1,82.0994,0.03629}, {591,1,82.1319,0.0363}, {592,1,82.1643,0.0363}, {593,1,82.1967,0.03631}, {594,1,82.2291,0.03632}, {595,1,82.2614,0.03633}, {596,1,82.2938,0.03633}, {597,1,82.3261,0.03634}, {598,1,82.3583,0.03635}, {599,1,82.3906,0.03636}, {600,1,82.4228,0.03636}, {601,1,82.455,0.03637}, {602,1,82.4872,0.03638}, {603,1,82.5193,0.03639}, {604,1,82.5514,0.03639}, {605,1,82.5835,0.0364}, {606,1,82.6156,0.03641}, {607,1,82.6476,0.03642}, {608,1,82.6796,0.03642}, {609,1,82.7116,0.03643}, {610,1,82.7436,0.03644}, {611,1,82.7755,0.03645}, {612,1,82.8074,0.03645}, {613,1,82.8393,0.03646}, {614,1,82.8712,0.03647}, {615,1,82.903,0.03648}, {616,1,82.9348,0.03648}, {617,1,82.9666,0.03649}, {618,1,82.9984,0.0365}, {619,1,83.0301,0.0365}, {620,1,83.0618,0.03651}, {621,1,83.0935,0.03652}, {622,1,83.1251,0.03653}, {623,1,83.1568,0.03653}, {624,1,83.1884,0.03654}, {625,1,83.22,0.03655}, {626,1,83.2515,0.03656}, {627,1,83.2831,0.03656}, {628,1,83.3146,0.03657}, {629,1,83.3461,0.03658}, {630,1,83.3775,0.03659}, {631,1,83.4089,0.03659}, {632,1,83.4403,0.0366}, {633,1,83.4717,0.03661}, {634,1,83.5031,0.03662}, {635,1,83.5344,0.03662}, {636,1,83.5657,0.03663}, {637,1,83.597,0.03664}, {638,1,83.6283,0.03665}, {639,1,83.6595,0.03665}, {640,1,83.6907,0.03666}, {641,1,83.7219,0.03667}, {642,1,83.753,0.03668}, {643,1,83.7842,0.03668}, {644,1,83.8153,0.03669}, {645,1,83.8464,0.0367}, {646,1,83.8774,0.03671}, {647,1,83.9085,0.03671}, {648,1,83.9395,0.03672}, {649,1,83.9705,0.03673}, {650,1,84.0014,0.03674}, {651,1,84.0324,0.03674}, {652,1,84.0633,0.03675}, {653,1,84.0941,0.03676}, {654,1,84.125,0.03677}, {655,1,84.1558,0.03677}, {656,1,84.1867,0.03678}, {657,1,84.2174,0.03679}, {658,1,84.2482,0.0368}, {659,1,84.2789,0.0368}, {660,1,84.3096,0.03681}, {661,1,84.3403,0.03682}, {662,1,84.371,0.03683}, {663,1,84.4016,0.03683}, {664,1,84.4323,0.03684}, {665,1,84.4628,0.03685}, {666,1,84.4934,0.03686}, {667,1,84.5239,0.03686}, {668,1,84.5545,0.03687}, {669,1,84.585,0.03688}, {670,1,84.6154,0.03689}, {671,1,84.6459,0.03689}, {672,1,84.6763,0.0369}, {673,1,84.7067,0.03691}, {674,1,84.737,0.03692}, {675,1,84.7674,0.03692}, {676,1,84.7977,0.03693}, {677,1,84.828,0.03694}, {678,1,84.8583,0.03695}, {679,1,84.8885,0.03695}, {680,1,84.9188,0.03696}, {681,1,84.949,0.03697}, {682,1,84.9791,0.03698}, {683,1,85.0093,0.03698}, {684,1,85.0394,0.03699}, {685,1,85.0695,0.037}, {686,1,85.0996,0.03701}, {687,1,85.1297,0.03701}, {688,1,85.1597,0.03702}, {689,1,85.1897,0.03703}, {690,1,85.2197,0.03704}, {691,1,85.2497,0.03704}, {692,1,85.2796,0.03705}, {693,1,85.3096,0.03706}, {694,1,85.3395,0.03706}, {695,1,85.3693,0.03707}, {696,1,85.3992,0.03708}, {697,1,85.429,0.03709}, {698,1,85.4588,0.03709}, {699,1,85.4886,0.0371}, {700,1,85.5184,0.03711}, {701,1,85.5481,0.03712}, {702,1,85.5778,0.03712}, {703,1,85.6075,0.03713}, {704,1,85.6372,0.03714}, {705,1,85.6668,0.03715}, {706,1,85.6964,0.03715}, {707,1,85.726,0.03716}, {708,1,85.7556,0.03717}, {709,1,85.7852,0.03718}, {710,1,85.8147,0.03718}, {711,1,85.8442,0.03719}, {712,1,85.8737,0.0372}, {713,1,85.9032,0.03721}, {714,1,85.9326,0.03721}, {715,1,85.9621,0.03722}, {716,1,85.9915,0.03723}, {717,1,86.0208,0.03724}, {718,1,86.0502,0.03724}, {719,1,86.0795,0.03725}, {720,1,86.1089,0.03726}, {721,1,86.1381,0.03727}, {722,1,86.1674,0.03727}, {723,1,86.1967,0.03728}, {724,1,86.2259,0.03729}, {725,1,86.2551,0.03729}, {726,1,86.2843,0.0373}, {727,1,86.3134,0.03731}, {728,1,86.3426,0.03732}, {729,1,86.3717,0.03732}, {730,1,86.4008,0.03733}, {731,1,85.7299,0.03764}, {732,1,85.7589,0.03765}, {733,1,85.788,0.03766}, {734,1,85.817,0.03767}, {735,1,85.846,0.03767}, {736,1,85.8749,0.03768}, {737,1,85.9039,0.03769}, {738,1,85.9328,0.0377}, {739,1,85.9617,0.0377}, {740,1,85.9906,0.03771}, {741,1,86.0194,0.03772}, {742,1,86.0483,0.03772}, {743,1,86.0771,0.03773}, {744,1,86.1059,0.03774}, {745,1,86.1347,0.03775}, {746,1,86.1634,0.03775}, {747,1,86.1921,0.03776}, {748,1,86.2209,0.03777}, {749,1,86.2495,0.03778}, {750,1,86.2782,0.03778}, {751,1,86.3069,0.03779}, {752,1,86.3355,0.0378}, {753,1,86.3641,0.0378}, {754,1,86.3927,0.03781}, {755,1,86.4212,0.03782}, {756,1,86.4498,0.03783}, {757,1,86.4783,0.03783}, {758,1,86.5068,0.03784}, {759,1,86.5353,0.03785}, {760,1,86.5638,0.03786}, {761,1,86.5922,0.03786}, {762,1,86.6206,0.03787}, {763,1,86.649,0.03788}, {764,1,86.6774,0.03788}, {765,1,86.7057,0.03789}, {766,1,86.7341,0.0379}, {767,1,86.7624,0.03791}, {768,1,86.7907,0.03791}, {769,1,86.819,0.03792}, {770,1,86.8472,0.03793}, {771,1,86.8754,0.03794}, {772,1,86.9037,0.03794}, {773,1,86.9319,0.03795}, {774,1,86.96,0.03796}, {775,1,86.9882,0.03796}, {776,1,87.0163,0.03797}, {777,1,87.0444,0.03798}, {778,1,87.0725,0.03799}, {779,1,87.1006,0.03799}, {780,1,87.1286,0.038}, {781,1,87.1567,0.03801}, {782,1,87.1847,0.03801}, {783,1,87.2126,0.03802}, {784,1,87.2406,0.03803}, {785,1,87.2686,0.03804}, {786,1,87.2965,0.03804}, {787,1,87.3244,0.03805}, {788,1,87.3523,0.03806}, {789,1,87.3801,0.03806}, {790,1,87.408,0.03807}, {791,1,87.4358,0.03808}, {792,1,87.4636,0.03809}, {793,1,87.4914,0.03809}, {794,1,87.5192,0.0381}, {795,1,87.5469,0.03811}, {796,1,87.5746,0.03812}, {797,1,87.6023,0.03812}, {798,1,87.63,0.03813}, {799,1,87.6577,0.03814}, {800,1,87.6853,0.03814}, {801,1,87.7129,0.03815}, {802,1,87.7405,0.03816}, {803,1,87.7681,0.03817}, {804,1,87.7956,0.03817}, {805,1,87.8232,0.03818}, {806,1,87.8507,0.03819}, {807,1,87.8782,0.03819}, {808,1,87.9056,0.0382}, {809,1,87.9331,0.03821}, {810,1,87.9605,0.03821}, {811,1,87.9879,0.03822}, {812,1,88.0153,0.03823}, {813,1,88.0427,0.03824}, {814,1,88.07,0.03824}, {815,1,88.0974,0.03825}, {816,1,88.1247,0.03826}, {817,1,88.1519,0.03826}, {818,1,88.1792,0.03827}, {819,1,88.2065,0.03828}, {820,1,88.2337,0.03829}, {821,1,88.2609,0.03829}, {822,1,88.2881,0.0383}, {823,1,88.3152,0.03831}, {824,1,88.3423,0.03831}, {825,1,88.3695,0.03832}, {826,1,88.3966,0.03833}, {827,1,88.4236,0.03834}, {828,1,88.4507,0.03834}, {829,1,88.4777,0.03835}, {830,1,88.5047,0.03836}, {831,1,88.5317,0.03836}, {832,1,88.5587,0.03837}, {833,1,88.5856,0.03838}, {834,1,88.6126,0.03838}, {835,1,88.6395,0.03839}, {836,1,88.6664,0.0384}, {837,1,88.6932,0.03841}, {838,1,88.7201,0.03841}, {839,1,88.7469,0.03842}, {840,1,88.7737,0.03843}, {841,1,88.8005,0.03843}, {842,1,88.8273,0.03844}, {843,1,88.854,0.03845}, {844,1,88.8807,0.03845}, {845,1,88.9074,0.03846}, {846,1,88.9341,0.03847}, {847,1,88.9608,0.03848}, {848,1,88.9874,0.03848}, {849,1,89.014,0.03849}, {850,1,89.0406,0.0385}, {851,1,89.0672,0.0385}, {852,1,89.0938,0.03851}, {853,1,89.1203,0.03852}, {854,1,89.1468,0.03852}, {855,1,89.1733,0.03853}, {856,1,89.1998,0.03854}, {857,1,89.2263,0.03855}, {858,1,89.2527,0.03855}, {859,1,89.2791,0.03856}, {860,1,89.3055,0.03857}, {861,1,89.3319,0.03857}, {862,1,89.3583,0.03858}, {863,1,89.3846,0.03859}, {864,1,89.4109,0.03859}, {865,1,89.4372,0.0386}, {866,1,89.4635,0.03861}, {867,1,89.4898,0.03861}, {868,1,89.516,0.03862}, {869,1,89.5422,0.03863}, {870,1,89.5684,0.03864}, {871,1,89.5946,0.03864}, {872,1,89.6208,0.03865}, {873,1,89.6469,0.03866}, {874,1,89.673,0.03866}, {875,1,89.6991,0.03867}, {876,1,89.7252,0.03868}, {877,1,89.7513,0.03868}, {878,1,89.7773,0.03869}, {879,1,89.8033,0.0387}, {880,1,89.8293,0.0387}, {881,1,89.8553,0.03871}, {882,1,89.8813,0.03872}, {883,1,89.9072,0.03872}, {884,1,89.9331,0.03873}, {885,1,89.9591,0.03874}, {886,1,89.9849,0.03874}, {887,1,90.0108,0.03875}, {888,1,90.0366,0.03876}, {889,1,90.0625,0.03877}, {890,1,90.0883,0.03877}, {891,1,90.1141,0.03878}, {892,1,90.1398,0.03879}, {893,1,90.1656,0.03879}, {894,1,90.1913,0.0388}, {895,1,90.217,0.03881}, {896,1,90.2427,0.03881}, {897,1,90.2684,0.03882}, {898,1,90.294,0.03883}, {899,1,90.3197,0.03883}, {900,1,90.3453,0.03884}, {901,1,90.3709,0.03885}, {902,1,90.3965,0.03885}, {903,1,90.422,0.03886}, {904,1,90.4476,0.03887}, {905,1,90.4731,0.03887}, {906,1,90.4986,0.03888}, {907,1,90.524,0.03889}, {908,1,90.5495,0.03889}, {909,1,90.575,0.0389}, {910,1,90.6004,0.03891}, {911,1,90.6258,0.03891}, {912,1,90.6512,0.03892}, {913,1,90.6765,0.03893}, {914,1,90.7019,0.03893}, {915,1,90.7272,0.03894}, {916,1,90.7525,0.03895}, {917,1,90.7778,0.03895}, {918,1,90.8031,0.03896}, {919,1,90.8283,0.03897}, {920,1,90.8536,0.03897}, {921,1,90.8788,0.03898}, {922,1,90.904,0.03899}, {923,1,90.9292,0.03899}, {924,1,90.9544,0.039}, {925,1,90.9795,0.03901}, {926,1,91.0046,0.03901}, {927,1,91.0297,0.03902}, {928,1,91.0548,0.03903}, {929,1,91.0799,0.03903}, {930,1,91.105,0.03904}, {931,1,91.13,0.03905}, {932,1,91.155,0.03905}, {933,1,91.18,0.03906}, {934,1,91.205,0.03907}, {935,1,91.23,0.03907}, {936,1,91.2549,0.03908}, {937,1,91.2799,0.03909}, {938,1,91.3048,0.03909}, {939,1,91.3297,0.0391}, {940,1,91.3545,0.03911}, {941,1,91.3794,0.03911}, {942,1,91.4043,0.03912}, {943,1,91.4291,0.03913}, {944,1,91.4539,0.03913}, {945,1,91.4787,0.03914}, {946,1,91.5035,0.03915}, {947,1,91.5282,0.03915}, {948,1,91.553,0.03916}, {949,1,91.5777,0.03917}, {950,1,91.6024,0.03917}, {951,1,91.6271,0.03918}, {952,1,91.6518,0.03918}, {953,1,91.6764,0.03919}, {954,1,91.7011,0.0392}, {955,1,91.7257,0.0392}, {956,1,91.7503,0.03921}, {957,1,91.7749,0.03922}, {958,1,91.7995,0.03922}, {959,1,91.8241,0.03923}, {960,1,91.8486,0.03924}, {961,1,91.8731,0.03924}, {962,1,91.8976,0.03925}, {963,1,91.9221,0.03926}, {964,1,91.9466,0.03926}, {965,1,91.9711,0.03927}, {966,1,91.9955,0.03928}, {967,1,92.02,0.03928}, {968,1,92.0444,0.03929}, {969,1,92.0688,0.03929}, {970,1,92.0932,0.0393}, {971,1,92.1175,0.03931}, {972,1,92.1419,0.03931}, {973,1,92.1662,0.03932}, {974,1,92.1906,0.03933}, {975,1,92.2149,0.03933}, {976,1,92.2392,0.03934}, {977,1,92.2635,0.03935}, {978,1,92.2877,0.03935}, {979,1,92.312,0.03936}, {980,1,92.3362,0.03936}, {981,1,92.3604,0.03937}, {982,1,92.3846,0.03938}, {983,1,92.4088,0.03938}, {984,1,92.433,0.03939}, {985,1,92.4572,0.0394}, {986,1,92.4813,0.0394}, {987,1,92.5054,0.03941}, {988,1,92.5295,0.03942}, {989,1,92.5536,0.03942}, {990,1,92.5777,0.03943}, {991,1,92.6018,0.03943}, {992,1,92.6259,0.03944}, {993,1,92.6499,0.03945}, {994,1,92.6739,0.03945}, {995,1,92.698,0.03946}, {996,1,92.722,0.03947}, {997,1,92.7459,0.03947}, {998,1,92.7699,0.03948}, {999,1,92.7939,0.03948}, {1000,1,92.8178,0.03949}, {1001,1,92.8418,0.0395}, {1002,1,92.8657,0.0395}, {1003,1,92.8896,0.03951}, {1004,1,92.9135,0.03952}, {1005,1,92.9373,0.03952}, {1006,1,92.9612,0.03953}, {1007,1,92.985,0.03953}, {1008,1,93.0089,0.03954}, {1009,1,93.0327,0.03955}, {1010,1,93.0565,0.03955}, {1011,1,93.0803,0.03956}, {1012,1,93.1041,0.03957}, {1013,1,93.1278,0.03957}, {1014,1,93.1516,0.03958}, {1015,1,93.1753,0.03958}, {1016,1,93.1991,0.03959}, {1017,1,93.2228,0.0396}, {1018,1,93.2465,0.0396}, {1019,1,93.2702,0.03961}, {1020,1,93.2938,0.03961}, {1021,1,93.3175,0.03962}, {1022,1,93.3411,0.03963}, {1023,1,93.3648,0.03963}, {1024,1,93.3884,0.03964}, {1025,1,93.412,0.03964}, {1026,1,93.4356,0.03965}, {1027,1,93.4592,0.03966}, {1028,1,93.4827,0.03966}, {1029,1,93.5063,0.03967}, {1030,1,93.5298,0.03968}, {1031,1,93.5534,0.03968}, {1032,1,93.5769,0.03969}, {1033,1,93.6004,0.03969}, {1034,1,93.6239,0.0397}, {1035,1,93.6473,0.03971}, {1036,1,93.6708,0.03971}, {1037,1,93.6943,0.03972}, {1038,1,93.7177,0.03972}, {1039,1,93.7411,0.03973}, {1040,1,93.7646,0.03974}, {1041,1,93.788,0.03974}, {1042,1,93.8113,0.03975}, {1043,1,93.8347,0.03975}, {1044,1,93.8581,0.03976}, {1045,1,93.8814,0.03977}, {1046,1,93.9048,0.03977}, {1047,1,93.9281,0.03978}, {1048,1,93.9514,0.03978}, {1049,1,93.9747,0.03979}, {1050,1,93.998,0.0398}, {1051,1,94.0213,0.0398}, {1052,1,94.0446,0.03981}, {1053,1,94.0678,0.03981}, {1054,1,94.0911,0.03982}, {1055,1,94.1143,0.03983}, {1056,1,94.1376,0.03983}, {1057,1,94.1608,0.03984}, {1058,1,94.184,0.03984}, {1059,1,94.2071,0.03985}, {1060,1,94.2303,0.03986}, {1061,1,94.2535,0.03986}, {1062,1,94.2766,0.03987}, {1063,1,94.2998,0.03987}, {1064,1,94.3229,0.03988}, {1065,1,94.346,0.03989}, {1066,1,94.3691,0.03989}, {1067,1,94.3922,0.0399}, {1068,1,94.4153,0.0399}, {1069,1,94.4384,0.03991}, {1070,1,94.4615,0.03991}, {1071,1,94.4845,0.03992}, {1072,1,94.5075,0.03993}, {1073,1,94.5306,0.03993}, {1074,1,94.5536,0.03994}, {1075,1,94.5766,0.03994}, {1076,1,94.5996,0.03995}, {1077,1,94.6226,0.03996}, {1078,1,94.6455,0.03996}, {1079,1,94.6685,0.03997}, {1080,1,94.6914,0.03997}, {1081,1,94.7144,0.03998}, {1082,1,94.7373,0.03999}, {1083,1,94.7602,0.03999}, {1084,1,94.7831,0.04}, {1085,1,94.806,0.04}, {1086,1,94.8289,0.04001}, {1087,1,94.8518,0.04001}, {1088,1,94.8747,0.04002}, {1089,1,94.8975,0.04003}, {1090,1,94.9203,0.04003}, {1091,1,94.9432,0.04004}, {1092,1,94.966,0.04004}, {1093,1,94.9888,0.04005}, {1094,1,95.0116,0.04005}, {1095,1,95.0344,0.04006}, {1096,1,95.0572,0.04007}, {1097,1,95.0799,0.04007}, {1098,1,95.1027,0.04008}, {1099,1,95.1254,0.04008}, {1100,1,95.1482,0.04009}, {1101,1,95.1709,0.04009}, {1102,1,95.1936,0.0401}, {1103,1,95.2163,0.04011}, {1104,1,95.239,0.04011}, {1105,1,95.2617,0.04012}, {1106,1,95.2844,0.04012}, {1107,1,95.307,0.04013}, {1108,1,95.3297,0.04013}, {1109,1,95.3523,0.04014}, {1110,1,95.375,0.04015}, {1111,1,95.3976,0.04015}, {1112,1,95.4202,0.04016}, {1113,1,95.4428,0.04016}, {1114,1,95.4654,0.04017}, {1115,1,95.488,0.04017}, {1116,1,95.5105,0.04018}, {1117,1,95.5331,0.04019}, {1118,1,95.5556,0.04019}, {1119,1,95.5782,0.0402}, {1120,1,95.6007,0.0402}, {1121,1,95.6232,0.04021}, {1122,1,95.6457,0.04021}, {1123,1,95.6682,0.04022}, {1124,1,95.6907,0.04023}, {1125,1,95.7132,0.04023}, {1126,1,95.7356,0.04024}, {1127,1,95.7581,0.04024}, {1128,1,95.7805,0.04025}, {1129,1,95.803,0.04025}, {1130,1,95.8254,0.04026}, {1131,1,95.8478,0.04026}, {1132,1,95.8702,0.04027}, {1133,1,95.8926,0.04028}, {1134,1,95.915,0.04028}, {1135,1,95.9374,0.04029}, {1136,1,95.9597,0.04029}, {1137,1,95.9821,0.0403}, {1138,1,96.0044,0.0403}, {1139,1,96.0268,0.04031}, {1140,1,96.0491,0.04032}, {1141,1,96.0714,0.04032}, {1142,1,96.0937,0.04033}, {1143,1,96.116,0.04033}, {1144,1,96.1383,0.04034}, {1145,1,96.1606,0.04034}, {1146,1,96.1828,0.04035}, {1147,1,96.2051,0.04035}, {1148,1,96.2273,0.04036}, {1149,1,96.2495,0.04036}, {1150,1,96.2718,0.04037}, {1151,1,96.294,0.04038}, {1152,1,96.3162,0.04038}, {1153,1,96.3384,0.04039}, {1154,1,96.3606,0.04039}, {1155,1,96.3827,0.0404}, {1156,1,96.4049,0.0404}, {1157,1,96.427,0.04041}, {1158,1,96.4492,0.04041}, {1159,1,96.4713,0.04042}, {1160,1,96.4934,0.04043}, {1161,1,96.5156,0.04043}, {1162,1,96.5377,0.04044}, {1163,1,96.5598,0.04044}, {1164,1,96.5818,0.04045}, {1165,1,96.6039,0.04045}, {1166,1,96.626,0.04046}, {1167,1,96.648,0.04046}, {1168,1,96.6701,0.04047}, {1169,1,96.6921,0.04047}, {1170,1,96.7141,0.04048}, {1171,1,96.7362,0.04049}, {1172,1,96.7582,0.04049}, {1173,1,96.7802,0.0405}, {1174,1,96.8021,0.0405}, {1175,1,96.8241,0.04051}, {1176,1,96.8461,0.04051}, {1177,1,96.868,0.04052}, {1178,1,96.89,0.04052}, {1179,1,96.9119,0.04053}, {1180,1,96.9339,0.04053}, {1181,1,96.9558,0.04054}, {1182,1,96.9777,0.04054}, {1183,1,96.9996,0.04055}, {1184,1,97.0215,0.04056}, {1185,1,97.0434,0.04056}, {1186,1,97.0652,0.04057}, {1187,1,97.0871,0.04057}, {1188,1,97.1089,0.04058}, {1189,1,97.1308,0.04058}, {1190,1,97.1526,0.04059}, {1191,1,97.1744,0.04059}, {1192,1,97.1963,0.0406}, {1193,1,97.2181,0.0406}, {1194,1,97.2399,0.04061}, {1195,1,97.2616,0.04061}, {1196,1,97.2834,0.04062}, {1197,1,97.3052,0.04063}, {1198,1,97.3269,0.04063}, {1199,1,97.3487,0.04064}, {1200,1,97.3704,0.04064}, {1201,1,97.3922,0.04065}, {1202,1,97.4139,0.04065}, {1203,1,97.4356,0.04066}, {1204,1,97.4573,0.04066}, {1205,1,97.479,0.04067}, {1206,1,97.5007,0.04067}, {1207,1,97.5223,0.04068}, {1208,1,97.544,0.04068}, {1209,1,97.5657,0.04069}, {1210,1,97.5873,0.04069}, {1211,1,97.6089,0.0407}, {1212,1,97.6306,0.0407}, {1213,1,97.6522,0.04071}, {1214,1,97.6738,0.04072}, {1215,1,97.6954,0.04072}, {1216,1,97.717,0.04073}, {1217,1,97.7385,0.04073}, {1218,1,97.7601,0.04074}, {1219,1,97.7817,0.04074}, {1220,1,97.8032,0.04075}, {1221,1,97.8248,0.04075}, {1222,1,97.8463,0.04076}, {1223,1,97.8678,0.04076}, {1224,1,97.8893,0.04077}, {1225,1,97.9108,0.04077}, {1226,1,97.9323,0.04078}, {1227,1,97.9538,0.04078}, {1228,1,97.9753,0.04079}, {1229,1,97.9968,0.04079}, {1230,1,98.0182,0.0408}, {1231,1,98.0397,0.0408}, {1232,1,98.0611,0.04081}, {1233,1,98.0825,0.04081}, {1234,1,98.1039,0.04082}, {1235,1,98.1253,0.04082}, {1236,1,98.1467,0.04083}, {1237,1,98.1681,0.04084}, {1238,1,98.1895,0.04084}, {1239,1,98.2109,0.04085}, {1240,1,98.2322,0.04085}, {1241,1,98.2536,0.04086}, {1242,1,98.2749,0.04086}, {1243,1,98.2963,0.04087}, {1244,1,98.3176,0.04087}, {1245,1,98.3389,0.04088}, {1246,1,98.3602,0.04088}, {1247,1,98.3815,0.04089}, {1248,1,98.4028,0.04089}, {1249,1,98.4241,0.0409}, {1250,1,98.4453,0.0409}, {1251,1,98.4666,0.04091}, {1252,1,98.4878,0.04091}, {1253,1,98.5091,0.04092}, {1254,1,98.5303,0.04092}, {1255,1,98.5515,0.04093}, {1256,1,98.5727,0.04093}, {1257,1,98.5939,0.04094}, {1258,1,98.6151,0.04094}, {1259,1,98.6363,0.04095}, {1260,1,98.6575,0.04095}, {1261,1,98.6786,0.04096}, {1262,1,98.6998,0.04096}, {1263,1,98.7209,0.04097}, {1264,1,98.7421,0.04097}, {1265,1,98.7632,0.04098}, {1266,1,98.7843,0.04098}, {1267,1,98.8054,0.04099}, {1268,1,98.8265,0.04099}, {1269,1,98.8476,0.041}, {1270,1,98.8687,0.041}, {1271,1,98.8897,0.04101}, {1272,1,98.9108,0.04101}, {1273,1,98.9318,0.04102}, {1274,1,98.9529,0.04103}, {1275,1,98.9739,0.04103}, {1276,1,98.9949,0.04104}, {1277,1,99.0159,0.04104}, {1278,1,99.0369,0.04105}, {1279,1,99.0579,0.04105}, {1280,1,99.0789,0.04106}, {1281,1,99.0999,0.04106}, {1282,1,99.1208,0.04107}, {1283,1,99.1418,0.04107}, {1284,1,99.1628,0.04108}, {1285,1,99.1837,0.04108}, {1286,1,99.2046,0.04109}, {1287,1,99.2255,0.04109}, {1288,1,99.2464,0.0411}, {1289,1,99.2673,0.0411}, {1290,1,99.2882,0.04111}, {1291,1,99.3091,0.04111}, {1292,1,99.33,0.04112}, {1293,1,99.3509,0.04112}, {1294,1,99.3717,0.04113}, {1295,1,99.3926,0.04113}, {1296,1,99.4134,0.04114}, {1297,1,99.4342,0.04114}, {1298,1,99.455,0.04115}, {1299,1,99.4758,0.04115}, {1300,1,99.4966,0.04116}, {1301,1,99.5174,0.04116}, {1302,1,99.5382,0.04117}, {1303,1,99.559,0.04117}, {1304,1,99.5798,0.04118}, {1305,1,99.6005,0.04118}, {1306,1,99.6212,0.04119}, {1307,1,99.642,0.04119}, {1308,1,99.6627,0.0412}, {1309,1,99.6834,0.0412}, {1310,1,99.7041,0.04121}, {1311,1,99.7248,0.04121}, {1312,1,99.7455,0.04122}, {1313,1,99.7662,0.04122}, {1314,1,99.7869,0.04123}, {1315,1,99.8075,0.04123}, {1316,1,99.8282,0.04124}, {1317,1,99.8488,0.04124}, {1318,1,99.8695,0.04125}, {1319,1,99.8901,0.04125}, {1320,1,99.9107,0.04126}, {1321,1,99.9313,0.04126}, {1322,1,99.9519,0.04126}, {1323,1,99.9725,0.04127}, {1324,1,99.9931,0.04127}, {1325,1,100.0137,0.04128}, {1326,1,100.0342,0.04128}, {1327,1,100.0548,0.04129}, {1328,1,100.0753,0.04129}, {1329,1,100.0959,0.0413}, {1330,1,100.1164,0.0413}, {1331,1,100.1369,0.04131}, {1332,1,100.1574,0.04131}, {1333,1,100.1779,0.04132}, {1334,1,100.1984,0.04132}, {1335,1,100.2189,0.04133}, {1336,1,100.2394,0.04133}, {1337,1,100.2598,0.04134}, {1338,1,100.2803,0.04134}, {1339,1,100.3007,0.04135}, {1340,1,100.3212,0.04135}, {1341,1,100.3416,0.04136}, {1342,1,100.362,0.04136}, {1343,1,100.3824,0.04137}, {1344,1,100.4028,0.04137}, {1345,1,100.4232,0.04138}, {1346,1,100.4436,0.04138}, {1347,1,100.464,0.04139}, {1348,1,100.4843,0.04139}, {1349,1,100.5047,0.0414}, {1350,1,100.525,0.0414}, {1351,1,100.5454,0.04141}, {1352,1,100.5657,0.04141}, {1353,1,100.586,0.04142}, {1354,1,100.6063,0.04142}, {1355,1,100.6266,0.04143}, {1356,1,100.6469,0.04143}, {1357,1,100.6672,0.04144}, {1358,1,100.6875,0.04144}, {1359,1,100.7077,0.04145}, {1360,1,100.728,0.04145}, {1361,1,100.7482,0.04146}, {1362,1,100.7685,0.04146}, {1363,1,100.7887,0.04146}, {1364,1,100.8089,0.04147}, {1365,1,100.8291,0.04147}, {1366,1,100.8493,0.04148}, {1367,1,100.8695,0.04148}, {1368,1,100.8897,0.04149}, {1369,1,100.9099,0.04149}, {1370,1,100.9301,0.0415}, {1371,1,100.9502,0.0415}, {1372,1,100.9704,0.04151}, {1373,1,100.9905,0.04151}, {1374,1,101.0107,0.04152}, {1375,1,101.0308,0.04152}, {1376,1,101.0509,0.04153}, {1377,1,101.071,0.04153}, {1378,1,101.0911,0.04154}, {1379,1,101.1112,0.04154}, {1380,1,101.1313,0.04155}, {1381,1,101.1514,0.04155}, {1382,1,101.1714,0.04156}, {1383,1,101.1915,0.04156}, {1384,1,101.2115,0.04157}, {1385,1,101.2316,0.04157}, {1386,1,101.2516,0.04158}, {1387,1,101.2716,0.04158}, {1388,1,101.2917,0.04158}, {1389,1,101.3117,0.04159}, {1390,1,101.3317,0.04159}, {1391,1,101.3517,0.0416}, {1392,1,101.3716,0.0416}, {1393,1,101.3916,0.04161}, {1394,1,101.4116,0.04161}, {1395,1,101.4315,0.04162}, {1396,1,101.4515,0.04162}, {1397,1,101.4714,0.04163}, {1398,1,101.4914,0.04163}, {1399,1,101.5113,0.04164}, {1400,1,101.5312,0.04164}, {1401,1,101.5511,0.04165}, {1402,1,101.571,0.04165}, {1403,1,101.5909,0.04166}, {1404,1,101.6108,0.04166}, {1405,1,101.6306,0.04167}, {1406,1,101.6505,0.04167}, {1407,1,101.6704,0.04167}, {1408,1,101.6902,0.04168}, {1409,1,101.7101,0.04168}, {1410,1,101.7299,0.04169}, {1411,1,101.7497,0.04169}, {1412,1,101.7695,0.0417}, {1413,1,101.7893,0.0417}, {1414,1,101.8091,0.04171}, {1415,1,101.8289,0.04171}, {1416,1,101.8487,0.04172}, {1417,1,101.8685,0.04172}, {1418,1,101.8883,0.04173}, {1419,1,101.908,0.04173}, {1420,1,101.9278,0.04174}, {1421,1,101.9475,0.04174}, {1422,1,101.9673,0.04175}, {1423,1,101.987,0.04175}, {1424,1,102.0067,0.04175}, {1425,1,102.0264,0.04176}, {1426,1,102.0461,0.04176}, {1427,1,102.0658,0.04177}, {1428,1,102.0855,0.04177}, {1429,1,102.1052,0.04178}, {1430,1,102.1249,0.04178}, {1431,1,102.1446,0.04179}, {1432,1,102.1642,0.04179}, {1433,1,102.1839,0.0418}, {1434,1,102.2035,0.0418}, {1435,1,102.2232,0.04181}, {1436,1,102.2428,0.04181}, {1437,1,102.2624,0.04181}, {1438,1,102.282,0.04182}, {1439,1,102.3016,0.04182}, {1440,1,102.3212,0.04183}, {1441,1,102.3408,0.04183}, {1442,1,102.3604,0.04184}, {1443,1,102.38,0.04184}, {1444,1,102.3996,0.04185}, {1445,1,102.4191,0.04185}, {1446,1,102.4387,0.04186}, {1447,1,102.4582,0.04186}, {1448,1,102.4778,0.04187}, {1449,1,102.4973,0.04187}, {1450,1,102.5168,0.04187}, {1451,1,102.5364,0.04188}, {1452,1,102.5559,0.04188}, {1453,1,102.5754,0.04189}, {1454,1,102.5949,0.04189}, {1455,1,102.6144,0.0419}, {1456,1,102.6338,0.0419}, {1457,1,102.6533,0.04191}, {1458,1,102.6728,0.04191}, {1459,1,102.6923,0.04192}, {1460,1,102.7117,0.04192}, {1461,1,102.7312,0.04193}, {1462,1,102.7506,0.04193}, {1463,1,102.77,0.04193}, {1464,1,102.7895,0.04194}, {1465,1,102.8089,0.04194}, {1466,1,102.8283,0.04195}, {1467,1,102.8477,0.04195}, {1468,1,102.8671,0.04196}, {1469,1,102.8865,0.04196}, {1470,1,102.9059,0.04197}, {1471,1,102.9252,0.04197}, {1472,1,102.9446,0.04198}, {1473,1,102.964,0.04198}, {1474,1,102.9833,0.04198}, {1475,1,103.0027,0.04199}, {1476,1,103.022,0.04199}, {1477,1,103.0414,0.042}, {1478,1,103.0607,0.042}, {1479,1,103.08,0.04201}, {1480,1,103.0993,0.04201}, {1481,1,103.1186,0.04202}, {1482,1,103.1379,0.04202}, {1483,1,103.1572,0.04203}, {1484,1,103.1765,0.04203}, {1485,1,103.1958,0.04203}, {1486,1,103.2151,0.04204}, {1487,1,103.2343,0.04204}, {1488,1,103.2536,0.04205}, {1489,1,103.2728,0.04205}, {1490,1,103.2921,0.04206}, {1491,1,103.3113,0.04206}, {1492,1,103.3306,0.04207}, {1493,1,103.3498,0.04207}, {1494,1,103.369,0.04208}, {1495,1,103.3882,0.04208}, {1496,1,103.4074,0.04208}, {1497,1,103.4266,0.04209}, {1498,1,103.4458,0.04209}, {1499,1,103.465,0.0421}, {1500,1,103.4842,0.0421}, {1501,1,103.5034,0.04211}, {1502,1,103.5225,0.04211}, {1503,1,103.5417,0.04212}, {1504,1,103.5608,0.04212}, {1505,1,103.58,0.04212}, {1506,1,103.5991,0.04213}, {1507,1,103.6183,0.04213}, {1508,1,103.6374,0.04214}, {1509,1,103.6565,0.04214}, {1510,1,103.6756,0.04215}, {1511,1,103.6947,0.04215}, {1512,1,103.7138,0.04216}, {1513,1,103.7329,0.04216}, {1514,1,103.752,0.04216}, {1515,1,103.7711,0.04217}, {1516,1,103.7902,0.04217}, {1517,1,103.8092,0.04218}, {1518,1,103.8283,0.04218}, {1519,1,103.8473,0.04219}, {1520,1,103.8664,0.04219}, {1521,1,103.8854,0.0422}, {1522,1,103.9045,0.0422}, {1523,1,103.9235,0.0422}, {1524,1,103.9425,0.04221}, {1525,1,103.9616,0.04221}, {1526,1,103.9806,0.04222}, {1527,1,103.9996,0.04222}, {1528,1,104.0186,0.04223}, {1529,1,104.0376,0.04223}, {1530,1,104.0565,0.04224}, {1531,1,104.0755,0.04224}, {1532,1,104.0945,0.04224}, {1533,1,104.1135,0.04225}, {1534,1,104.1324,0.04225}, {1535,1,104.1514,0.04226}, {1536,1,104.1703,0.04226}, {1537,1,104.1893,0.04227}, {1538,1,104.2082,0.04227}, {1539,1,104.2271,0.04227}, {1540,1,104.2461,0.04228}, {1541,1,104.265,0.04228}, {1542,1,104.2839,0.04229}, {1543,1,104.3028,0.04229}, {1544,1,104.3217,0.0423}, {1545,1,104.3406,0.0423}, {1546,1,104.3595,0.04231}, {1547,1,104.3784,0.04231}, {1548,1,104.3972,0.04231}, {1549,1,104.4161,0.04232}, {1550,1,104.435,0.04232}, {1551,1,104.4538,0.04233}, {1552,1,104.4727,0.04233}, {1553,1,104.4915,0.04234}, {1554,1,104.5104,0.04234}, {1555,1,104.5292,0.04234}, {1556,1,104.548,0.04235}, {1557,1,104.5668,0.04235}, {1558,1,104.5856,0.04236}, {1559,1,104.6045,0.04236}, {1560,1,104.6233,0.04237}, {1561,1,104.6421,0.04237}, {1562,1,104.6608,0.04238}, {1563,1,104.6796,0.04238}, {1564,1,104.6984,0.04238}, {1565,1,104.7172,0.04239}, {1566,1,104.736,0.04239}, {1567,1,104.7547,0.0424}, {1568,1,104.7735,0.0424}, {1569,1,104.7922,0.04241}, {1570,1,104.811,0.04241}, {1571,1,104.8297,0.04241}, {1572,1,104.8484,0.04242}, {1573,1,104.8672,0.04242}, {1574,1,104.8859,0.04243}, {1575,1,104.9046,0.04243}, {1576,1,104.9233,0.04244}, {1577,1,104.942,0.04244}, {1578,1,104.9607,0.04244}, {1579,1,104.9794,0.04245}, {1580,1,104.9981,0.04245}, {1581,1,105.0167,0.04246}, {1582,1,105.0354,0.04246}, {1583,1,105.0541,0.04247}, {1584,1,105.0727,0.04247}, {1585,1,105.0914,0.04247}, {1586,1,105.11,0.04248}, {1587,1,105.1287,0.04248}, {1588,1,105.1473,0.04249}, {1589,1,105.166,0.04249}, {1590,1,105.1846,0.0425}, {1591,1,105.2032,0.0425}, {1592,1,105.2218,0.0425}, {1593,1,105.2404,0.04251}, {1594,1,105.259,0.04251}, {1595,1,105.2776,0.04252}, {1596,1,105.2962,0.04252}, {1597,1,105.3148,0.04253}, {1598,1,105.3334,0.04253}, {1599,1,105.352,0.04253}, {1600,1,105.3705,0.04254}, {1601,1,105.3891,0.04254}, {1602,1,105.4076,0.04255}, {1603,1,105.4262,0.04255}, {1604,1,105.4447,0.04256}, {1605,1,105.4633,0.04256}, {1606,1,105.4818,0.04256}, {1607,1,105.5003,0.04257}, {1608,1,105.5189,0.04257}, {1609,1,105.5374,0.04258}, {1610,1,105.5559,0.04258}, {1611,1,105.5744,0.04259}, {1612,1,105.5929,0.04259}, {1613,1,105.6114,0.04259}, {1614,1,105.6299,0.0426}, {1615,1,105.6483,0.0426}, {1616,1,105.6668,0.04261}, {1617,1,105.6853,0.04261}, {1618,1,105.7037,0.04262}, {1619,1,105.7222,0.04262}, {1620,1,105.7406,0.04262}, {1621,1,105.7591,0.04263}, {1622,1,105.7775,0.04263}, {1623,1,105.796,0.04264}, {1624,1,105.8144,0.04264}, {1625,1,105.8328,0.04264}, {1626,1,105.8512,0.04265}, {1627,1,105.8696,0.04265}, {1628,1,105.888,0.04266}, {1629,1,105.9064,0.04266}, {1630,1,105.9248,0.04267}, {1631,1,105.9432,0.04267}, {1632,1,105.9616,0.04267}, {1633,1,105.98,0.04268}, {1634,1,105.9983,0.04268}, {1635,1,106.0167,0.04269}, {1636,1,106.0351,0.04269}, {1637,1,106.0534,0.0427}, {1638,1,106.0718,0.0427}, {1639,1,106.0901,0.0427}, {1640,1,106.1084,0.04271}, {1641,1,106.1268,0.04271}, {1642,1,106.1451,0.04272}, {1643,1,106.1634,0.04272}, {1644,1,106.1817,0.04272}, {1645,1,106.2,0.04273}, {1646,1,106.2183,0.04273}, {1647,1,106.2366,0.04274}, {1648,1,106.2549,0.04274}, {1649,1,106.2732,0.04275}, {1650,1,106.2915,0.04275}, {1651,1,106.3097,0.04275}, {1652,1,106.328,0.04276}, {1653,1,106.3463,0.04276}, {1654,1,106.3645,0.04277}, {1655,1,106.3828,0.04277}, {1656,1,106.401,0.04277}, {1657,1,106.4192,0.04278}, {1658,1,106.4375,0.04278}, {1659,1,106.4557,0.04279}, {1660,1,106.4739,0.04279}, {1661,1,106.4921,0.0428}, {1662,1,106.5103,0.0428}, {1663,1,106.5285,0.0428}, {1664,1,106.5467,0.04281}, {1665,1,106.5649,0.04281}, {1666,1,106.5831,0.04282}, {1667,1,106.6013,0.04282}, {1668,1,106.6195,0.04282}, {1669,1,106.6376,0.04283}, {1670,1,106.6558,0.04283}, {1671,1,106.6739,0.04284}, {1672,1,106.6921,0.04284}, {1673,1,106.7102,0.04285}, {1674,1,106.7284,0.04285}, {1675,1,106.7465,0.04285}, {1676,1,106.7646,0.04286}, {1677,1,106.7828,0.04286}, {1678,1,106.8009,0.04287}, {1679,1,106.819,0.04287}, {1680,1,106.8371,0.04287}, {1681,1,106.8552,0.04288}, {1682,1,106.8733,0.04288}, {1683,1,106.8914,0.04289}, {1684,1,106.9094,0.04289}, {1685,1,106.9275,0.04289}, {1686,1,106.9456,0.0429}, {1687,1,106.9636,0.0429}, {1688,1,106.9817,0.04291}, {1689,1,106.9998,0.04291}, {1690,1,107.0178,0.04292}, {1691,1,107.0358,0.04292}, {1692,1,107.0539,0.04292}, {1693,1,107.0719,0.04293}, {1694,1,107.0899,0.04293}, {1695,1,107.1079,0.04294}, {1696,1,107.126,0.04294}, {1697,1,107.144,0.04294}, {1698,1,107.162,0.04295}, {1699,1,107.1799,0.04295}, {1700,1,107.1979,0.04296}, {1701,1,107.2159,0.04296}, {1702,1,107.2339,0.04296}, {1703,1,107.2519,0.04297}, {1704,1,107.2698,0.04297}, {1705,1,107.2878,0.04298}, {1706,1,107.3057,0.04298}, {1707,1,107.3237,0.04299}, {1708,1,107.3416,0.04299}, {1709,1,107.3596,0.04299}, {1710,1,107.3775,0.043}, {1711,1,107.3954,0.043}, {1712,1,107.4133,0.04301}, {1713,1,107.4312,0.04301}, {1714,1,107.4492,0.04301}, {1715,1,107.4671,0.04302}, {1716,1,107.4849,0.04302}, {1717,1,107.5028,0.04303}, {1718,1,107.5207,0.04303}, {1719,1,107.5386,0.04303}, {1720,1,107.5565,0.04304}, {1721,1,107.5743,0.04304}, {1722,1,107.5922,0.04305}, {1723,1,107.61,0.04305}, {1724,1,107.6279,0.04305}, {1725,1,107.6457,0.04306}, {1726,1,107.6636,0.04306}, {1727,1,107.6814,0.04307}, {1728,1,107.6992,0.04307}, {1729,1,107.717,0.04308}, {1730,1,107.7349,0.04308}, {1731,1,107.7527,0.04308}, {1732,1,107.7705,0.04309}, {1733,1,107.7883,0.04309}, {1734,1,107.806,0.0431}, {1735,1,107.8238,0.0431}, {1736,1,107.8416,0.0431}, {1737,1,107.8594,0.04311}, {1738,1,107.8772,0.04311}, {1739,1,107.8949,0.04312}, {1740,1,107.9127,0.04312}, {1741,1,107.9304,0.04312}, {1742,1,107.9482,0.04313}, {1743,1,107.9659,0.04313}, {1744,1,107.9836,0.04314}, {1745,1,108.0014,0.04314}, {1746,1,108.0191,0.04314}, {1747,1,108.0368,0.04315}, {1748,1,108.0545,0.04315}, {1749,1,108.0722,0.04316}, {1750,1,108.0899,0.04316}, {1751,1,108.1076,0.04316}, {1752,1,108.1253,0.04317}, {1753,1,108.143,0.04317}, {1754,1,108.1607,0.04318}, {1755,1,108.1783,0.04318}, {1756,1,108.196,0.04318}, {1757,1,108.2137,0.04319}, {1758,1,108.2313,0.04319}, {1759,1,108.249,0.0432}, {1760,1,108.2666,0.0432}, {1761,1,108.2842,0.04321}, {1762,1,108.3019,0.04321}, {1763,1,108.3195,0.04321}, {1764,1,108.3371,0.04322}, {1765,1,108.3547,0.04322}, {1766,1,108.3723,0.04323}, {1767,1,108.3899,0.04323}, {1768,1,108.4075,0.04323}, {1769,1,108.4251,0.04324}, {1770,1,108.4427,0.04324}, {1771,1,108.4603,0.04325}, {1772,1,108.4779,0.04325}, {1773,1,108.4954,0.04325}, {1774,1,108.513,0.04326}, {1775,1,108.5306,0.04326}, {1776,1,108.5481,0.04327}, {1777,1,108.5657,0.04327}, {1778,1,108.5832,0.04327}, {1779,1,108.6008,0.04328}, {1780,1,108.6183,0.04328}, {1781,1,108.6358,0.04329}, {1782,1,108.6533,0.04329}, {1783,1,108.6709,0.04329}, {1784,1,108.6884,0.0433}, {1785,1,108.7059,0.0433}, {1786,1,108.7234,0.04331}, {1787,1,108.7409,0.04331}, {1788,1,108.7583,0.04331}, {1789,1,108.7758,0.04332}, {1790,1,108.7933,0.04332}, {1791,1,108.8108,0.04333}, {1792,1,108.8282,0.04333}, {1793,1,108.8457,0.04333}, {1794,1,108.8632,0.04334}, {1795,1,108.8806,0.04334}, {1796,1,108.8981,0.04335}, {1797,1,108.9155,0.04335}, {1798,1,108.9329,0.04335}, {1799,1,108.9504,0.04336}, {1800,1,108.9678,0.04336}, {1801,1,108.9852,0.04337}, {1802,1,109.0026,0.04337}, {1803,1,109.02,0.04337}, {1804,1,109.0374,0.04338}, {1805,1,109.0548,0.04338}, {1806,1,109.0722,0.04339}, {1807,1,109.0896,0.04339}, {1808,1,109.107,0.04339}, {1809,1,109.1244,0.0434}, {1810,1,109.1417,0.0434}, {1811,1,109.1591,0.04341}, {1812,1,109.1764,0.04341}, {1813,1,109.1938,0.04341}, {1814,1,109.2112,0.04342}, {1815,1,109.2285,0.04342}, {1816,1,109.2458,0.04343}, {1817,1,109.2632,0.04343}, {1818,1,109.2805,0.04343}, {1819,1,109.2978,0.04344}, {1820,1,109.3151,0.04344}, {1821,1,109.3324,0.04345}, {1822,1,109.3498,0.04345}, {1823,1,109.3671,0.04345}, {1824,1,109.3844,0.04346}, {1825,1,109.4016,0.04346}, {1826,1,109.4189,0.04346}, {1827,1,109.4362,0.04347}, {1828,1,109.4535,0.04347}, {1829,1,109.4708,0.04348}, {1830,1,109.488,0.04348}, {1831,1,109.5053,0.04348}, {1832,1,109.5225,0.04349}, {1833,1,109.5398,0.04349}, {1834,1,109.557,0.0435}, {1835,1,109.5743,0.0435}, {1836,1,109.5915,0.0435}, {1837,1,109.6088,0.04351}, {1838,1,109.626,0.04351}, {1839,1,109.6432,0.04352}, {1840,1,109.6604,0.04352}, {1841,1,109.6776,0.04352}, {1842,1,109.6948,0.04353}, {1843,1,109.712,0.04353}, {1844,1,109.7292,0.04354}, {1845,1,109.7464,0.04354}, {1846,1,109.7636,0.04354}, {1847,1,109.7808,0.04355}, {1848,1,109.798,0.04355}, {1849,1,109.8151,0.04356}, {1850,1,109.8323,0.04356}, {1851,1,109.8494,0.04356}, {1852,1,109.8666,0.04357}, {1853,1,109.8837,0.04357}, {1854,1,109.9009,0.04358}, {1855,1,109.918,0.04358}, {1856,1,109.9352,0.04358} }; return girlsLengthForAge[index < girlsLengthForAge.length ? index : girlsLengthForAge.length]; } public double[]getBoysWeightForLength(int index){ double[][]boysWeightForLength = { {45,-0.3521,2.441,0.09182}, {45.1,-0.3521,2.4577,0.09176}, {45.2,-0.3521,2.4744,0.0917}, {45.3,-0.3521,2.4911,0.09164}, {45.4,-0.3521,2.5078,0.09159}, {45.5,-0.3521,2.5244,0.09153}, {45.6,-0.3521,2.5411,0.09147}, {45.7,-0.3521,2.5578,0.09141}, {45.8,-0.3521,2.5744,0.09135}, {45.9,-0.3521,2.5911,0.09129}, {46,-0.3521,2.6077,0.09124}, {46.1,-0.3521,2.6244,0.09118}, {46.2,-0.3521,2.6411,0.09112}, {46.3,-0.3521,2.6578,0.09106}, {46.4,-0.3521,2.6745,0.091}, {46.5,-0.3521,2.6913,0.09094}, {46.6,-0.3521,2.7081,0.09088}, {46.7,-0.3521,2.7249,0.09083}, {46.8,-0.3521,2.7417,0.09077}, {46.9,-0.3521,2.7586,0.09071}, {47,-0.3521,2.7755,0.09065}, {47.1,-0.3521,2.7925,0.09059}, {47.2,-0.3521,2.8095,0.09053}, {47.3,-0.3521,2.8266,0.09047}, {47.4,-0.3521,2.8437,0.09042}, {47.5,-0.3521,2.8609,0.09036}, {47.6,-0.3521,2.8782,0.0903}, {47.7,-0.3521,2.8955,0.09024}, {47.8,-0.3521,2.9129,0.09018}, {47.9,-0.3521,2.9304,0.09012}, {48,-0.3521,2.948,0.09007}, {48.1,-0.3521,2.9657,0.09001}, {48.2,-0.3521,2.9835,0.08995}, {48.3,-0.3521,3.0014,0.08989}, {48.4,-0.3521,3.0195,0.08983}, {48.5,-0.3521,3.0377,0.08977}, {48.6,-0.3521,3.056,0.08972}, {48.7,-0.3521,3.0745,0.08966}, {48.8,-0.3521,3.0931,0.0896}, {48.9,-0.3521,3.1119,0.08954}, {49,-0.3521,3.1308,0.08948}, {49.1,-0.3521,3.1499,0.08943}, {49.2,-0.3521,3.1691,0.08937}, {49.3,-0.3521,3.1884,0.08931}, {49.4,-0.3521,3.2079,0.08925}, {49.5,-0.3521,3.2276,0.08919}, {49.6,-0.3521,3.2473,0.08913}, {49.7,-0.3521,3.2672,0.08908}, {49.8,-0.3521,3.2873,0.08902}, {49.9,-0.3521,3.3075,0.08896}, {50,-0.3521,3.3278,0.0889}, {50.1,-0.3521,3.3482,0.08884}, {50.2,-0.3521,3.3688,0.08878}, {50.3,-0.3521,3.3894,0.08872}, {50.4,-0.3521,3.4102,0.08867}, {50.5,-0.3521,3.4311,0.08861}, {50.6,-0.3521,3.4522,0.08855}, {50.7,-0.3521,3.4733,0.08849}, {50.8,-0.3521,3.4946,0.08843}, {50.9,-0.3521,3.5161,0.08837}, {51,-0.3521,3.5376,0.08831}, {51.1,-0.3521,3.5593,0.08825}, {51.2,-0.3521,3.5812,0.08819}, {51.3,-0.3521,3.6032,0.08813}, {51.4,-0.3521,3.6254,0.08807}, {51.5,-0.3521,3.6477,0.08801}, {51.6,-0.3521,3.6702,0.08795}, {51.7,-0.3521,3.6929,0.08789}, {51.8,-0.3521,3.7157,0.08783}, {51.9,-0.3521,3.7388,0.08777}, {52,-0.3521,3.762,0.08771}, {52.1,-0.3521,3.7855,0.08765}, {52.2,-0.3521,3.8092,0.08759}, {52.3,-0.3521,3.833,0.08753}, {52.4,-0.3521,3.8571,0.08747}, {52.5,-0.3521,3.8814,0.08741}, {52.6,-0.3521,3.9059,0.08735}, {52.7,-0.3521,3.9306,0.08729}, {52.8,-0.3521,3.9555,0.08723}, {52.9,-0.3521,3.9806,0.08717}, {53,-0.3521,4.006,0.08711}, {53.1,-0.3521,4.0315,0.08705}, {53.2,-0.3521,4.0572,0.08699}, {53.3,-0.3521,4.0831,0.08693}, {53.4,-0.3521,4.1092,0.08687}, {53.5,-0.3521,4.1354,0.08681}, {53.6,-0.3521,4.1619,0.08675}, {53.7,-0.3521,4.1885,0.08669}, {53.8,-0.3521,4.2153,0.08663}, {53.9,-0.3521,4.2422,0.08657}, {54,-0.3521,4.2693,0.08651}, {54.1,-0.3521,4.2965,0.08645}, {54.2,-0.3521,4.3239,0.08639}, {54.3,-0.3521,4.3513,0.08633}, {54.4,-0.3521,4.3789,0.08627}, {54.5,-0.3521,4.4066,0.08621}, {54.6,-0.3521,4.4344,0.08615}, {54.7,-0.3521,4.4623,0.0861}, {54.8,-0.3521,4.4903,0.08604}, {54.9,-0.3521,4.5185,0.08598}, {55,-0.3521,4.5467,0.08592}, {55.1,-0.3521,4.575,0.08586}, {55.2,-0.3521,4.6034,0.0858}, {55.3,-0.3521,4.6319,0.08575}, {55.4,-0.3521,4.6605,0.08569}, {55.5,-0.3521,4.6892,0.08563}, {55.6,-0.3521,4.718,0.08558}, {55.7,-0.3521,4.7469,0.08552}, {55.8,-0.3521,4.7758,0.08546}, {55.9,-0.3521,4.8048,0.08541}, {56,-0.3521,4.8338,0.08535}, {56.1,-0.3521,4.8629,0.08529}, {56.2,-0.3521,4.892,0.08524}, {56.3,-0.3521,4.9212,0.08518}, {56.4,-0.3521,4.9504,0.08513}, {56.5,-0.3521,4.9796,0.08507}, {56.6,-0.3521,5.0088,0.08502}, {56.7,-0.3521,5.0381,0.08497}, {56.8,-0.3521,5.0673,0.08491}, {56.9,-0.3521,5.0966,0.08486}, {57,-0.3521,5.1259,0.08481}, {57.1,-0.3521,5.1551,0.08475}, {57.2,-0.3521,5.1844,0.0847}, {57.3,-0.3521,5.2137,0.08465}, {57.4,-0.3521,5.2429,0.0846}, {57.5,-0.3521,5.2721,0.08455}, {57.6,-0.3521,5.3014,0.08449}, {57.7,-0.3521,5.3306,0.08444}, {57.8,-0.3521,5.3598,0.08439}, {57.9,-0.3521,5.3889,0.08434}, {58,-0.3521,5.418,0.0843}, {58.1,-0.3521,5.4471,0.08425}, {58.2,-0.3521,5.4762,0.0842}, {58.3,-0.3521,5.5053,0.08415}, {58.4,-0.3521,5.5343,0.0841}, {58.5,-0.3521,5.5632,0.08406}, {58.6,-0.3521,5.5922,0.08401}, {58.7,-0.3521,5.621,0.08397}, {58.8,-0.3521,5.6499,0.08392}, {58.9,-0.3521,5.6787,0.08388}, {59,-0.3521,5.7074,0.08383}, {59.1,-0.3521,5.7361,0.08379}, {59.2,-0.3521,5.7647,0.08375}, {59.3,-0.3521,5.7933,0.0837}, {59.4,-0.3521,5.8217,0.08366}, {59.5,-0.3521,5.8501,0.08362}, {59.6,-0.3521,5.8784,0.08358}, {59.7,-0.3521,5.9067,0.08354}, {59.8,-0.3521,5.9348,0.0835}, {59.9,-0.3521,5.9628,0.08346}, {60,-0.3521,5.9907,0.08342}, {60.1,-0.3521,6.0185,0.08339}, {60.2,-0.3521,6.0461,0.08335}, {60.3,-0.3521,6.0737,0.08331}, {60.4,-0.3521,6.1011,0.08328}, {60.5,-0.3521,6.1284,0.08324}, {60.6,-0.3521,6.1556,0.08321}, {60.7,-0.3521,6.1827,0.08317}, {60.8,-0.3521,6.2096,0.08314}, {60.9,-0.3521,6.2365,0.08311}, {61,-0.3521,6.2632,0.08308}, {61.1,-0.3521,6.2899,0.08304}, {61.2,-0.3521,6.3164,0.08301}, {61.3,-0.3521,6.3428,0.08298}, {61.4,-0.3521,6.3692,0.08295}, {61.5,-0.3521,6.3954,0.08292}, {61.6,-0.3521,6.4215,0.0829}, {61.7,-0.3521,6.4475,0.08287}, {61.8,-0.3521,6.4735,0.08284}, {61.9,-0.3521,6.4993,0.08281}, {62,-0.3521,6.5251,0.08279}, {62.1,-0.3521,6.5508,0.08276}, {62.2,-0.3521,6.5764,0.08273}, {62.3,-0.3521,6.6019,0.08271}, {62.4,-0.3521,6.6273,0.08268}, {62.5,-0.3521,6.6527,0.08266}, {62.6,-0.3521,6.678,0.08264}, {62.7,-0.3521,6.7033,0.08261}, {62.8,-0.3521,6.7284,0.08259}, {62.9,-0.3521,6.7535,0.08257}, {63,-0.3521,6.7786,0.08255}, {63.1,-0.3521,6.8035,0.08253}, {63.2,-0.3521,6.8285,0.08251}, {63.3,-0.3521,6.8533,0.08249}, {63.4,-0.3521,6.8781,0.08247}, {63.5,-0.3521,6.9028,0.08245}, {63.6,-0.3521,6.9275,0.08243}, {63.7,-0.3521,6.9521,0.08241}, {63.8,-0.3521,6.9766,0.0824}, {63.9,-0.3521,7.0011,0.08238}, {64,-0.3521,7.0255,0.08236}, {64.1,-0.3521,7.0499,0.08235}, {64.2,-0.3521,7.0742,0.08233}, {64.3,-0.3521,7.0984,0.08232}, {64.4,-0.3521,7.1226,0.0823}, {64.5,-0.3521,7.1467,0.08229}, {64.6,-0.3521,7.1708,0.08228}, {64.7,-0.3521,7.1948,0.08227}, {64.8,-0.3521,7.2188,0.08225}, {64.9,-0.3521,7.2427,0.08224}, {65,-0.3521,7.2666,0.08223}, {65.1,-0.3521,7.2905,0.08222}, {65.2,-0.3521,7.3143,0.08221}, {65.3,-0.3521,7.338,0.0822}, {65.4,-0.3521,7.3617,0.08219}, {65.5,-0.3521,7.3854,0.08218}, {65.6,-0.3521,7.4091,0.08218}, {65.7,-0.3521,7.4327,0.08217}, {65.8,-0.3521,7.4563,0.08216}, {65.9,-0.3521,7.4799,0.08216}, {66,-0.3521,7.5034,0.08215}, {66.1,-0.3521,7.5269,0.08214}, {66.2,-0.3521,7.5504,0.08214}, {66.3,-0.3521,7.5738,0.08214}, {66.4,-0.3521,7.5973,0.08213}, {66.5,-0.3521,7.6206,0.08213}, {66.6,-0.3521,7.644,0.08213}, {66.7,-0.3521,7.6673,0.08212}, {66.8,-0.3521,7.6906,0.08212}, {66.9,-0.3521,7.7138,0.08212}, {67,-0.3521,7.737,0.08212}, {67.1,-0.3521,7.7602,0.08212}, {67.2,-0.3521,7.7834,0.08212}, {67.3,-0.3521,7.8065,0.08212}, {67.4,-0.3521,7.8296,0.08212}, {67.5,-0.3521,7.8526,0.08212}, {67.6,-0.3521,7.8757,0.08212}, {67.7,-0.3521,7.8986,0.08213}, {67.8,-0.3521,7.9216,0.08213}, {67.9,-0.3521,7.9445,0.08213}, {68,-0.3521,7.9674,0.08214}, {68.1,-0.3521,7.9903,0.08214}, {68.2,-0.3521,8.0132,0.08214}, {68.3,-0.3521,8.036,0.08215}, {68.4,-0.3521,8.0588,0.08215}, {68.5,-0.3521,8.0816,0.08216}, {68.6,-0.3521,8.1044,0.08217}, {68.7,-0.3521,8.1272,0.08217}, {68.8,-0.3521,8.15,0.08218}, {68.9,-0.3521,8.1727,0.08219}, {69,-0.3521,8.1955,0.08219}, {69.1,-0.3521,8.2183,0.0822}, {69.2,-0.3521,8.241,0.08221}, {69.3,-0.3521,8.2638,0.08222}, {69.4,-0.3521,8.2865,0.08223}, {69.5,-0.3521,8.3092,0.08224}, {69.6,-0.3521,8.332,0.08225}, {69.7,-0.3521,8.3547,0.08226}, {69.8,-0.3521,8.3774,0.08227}, {69.9,-0.3521,8.4001,0.08228}, {70,-0.3521,8.4227,0.08229}, {70.1,-0.3521,8.4454,0.0823}, {70.2,-0.3521,8.468,0.08231}, {70.3,-0.3521,8.4906,0.08232}, {70.4,-0.3521,8.5132,0.08233}, {70.5,-0.3521,8.5358,0.08235}, {70.6,-0.3521,8.5583,0.08236}, {70.7,-0.3521,8.5808,0.08237}, {70.8,-0.3521,8.6032,0.08238}, {70.9,-0.3521,8.6257,0.0824}, {71,-0.3521,8.648,0.08241}, {71.1,-0.3521,8.6704,0.08242}, {71.2,-0.3521,8.6927,0.08243}, {71.3,-0.3521,8.715,0.08245}, {71.4,-0.3521,8.7372,0.08246}, {71.5,-0.3521,8.7594,0.08248}, {71.6,-0.3521,8.7815,0.08249}, {71.7,-0.3521,8.8036,0.0825}, {71.8,-0.3521,8.8257,0.08252}, {71.9,-0.3521,8.8477,0.08253}, {72,-0.3521,8.8697,0.08254}, {72.1,-0.3521,8.8916,0.08256}, {72.2,-0.3521,8.9135,0.08257}, {72.3,-0.3521,8.9353,0.08259}, {72.4,-0.3521,8.9571,0.0826}, {72.5,-0.3521,8.9788,0.08262}, {72.6,-0.3521,9.0005,0.08263}, {72.7,-0.3521,9.0221,0.08264}, {72.8,-0.3521,9.0436,0.08266}, {72.9,-0.3521,9.0651,0.08267}, {73,-0.3521,9.0865,0.08269}, {73.1,-0.3521,9.1079,0.0827}, {73.2,-0.3521,9.1292,0.08272}, {73.3,-0.3521,9.1504,0.08273}, {73.4,-0.3521,9.1716,0.08274}, {73.5,-0.3521,9.1927,0.08276}, {73.6,-0.3521,9.2137,0.08277}, {73.7,-0.3521,9.2347,0.08278}, {73.8,-0.3521,9.2557,0.0828}, {73.9,-0.3521,9.2766,0.08281}, {74,-0.3521,9.2974,0.08283}, {74.1,-0.3521,9.3182,0.08284}, {74.2,-0.3521,9.339,0.08285}, {74.3,-0.3521,9.3597,0.08287}, {74.4,-0.3521,9.3803,0.08288}, {74.5,-0.3521,9.401,0.08289}, {74.6,-0.3521,9.4215,0.0829}, {74.7,-0.3521,9.442,0.08292}, {74.8,-0.3521,9.4625,0.08293}, {74.9,-0.3521,9.4829,0.08294}, {75,-0.3521,9.5032,0.08295}, {75.1,-0.3521,9.5235,0.08297}, {75.2,-0.3521,9.5438,0.08298}, {75.3,-0.3521,9.5639,0.08299}, {75.4,-0.3521,9.5841,0.083}, {75.5,-0.3521,9.6041,0.08301}, {75.6,-0.3521,9.6241,0.08302}, {75.7,-0.3521,9.644,0.08303}, {75.8,-0.3521,9.6639,0.08305}, {75.9,-0.3521,9.6836,0.08306}, {76,-0.3521,9.7033,0.08307}, {76.1,-0.3521,9.723,0.08307}, {76.2,-0.3521,9.7425,0.08308}, {76.3,-0.3521,9.762,0.08309}, {76.4,-0.3521,9.7814,0.0831}, {76.5,-0.3521,9.8007,0.08311}, {76.6,-0.3521,9.82,0.08312}, {76.7,-0.3521,9.8392,0.08312}, {76.8,-0.3521,9.8583,0.08313}, {76.9,-0.3521,9.8773,0.08314}, {77,-0.3521,9.8963,0.08314}, {77.1,-0.3521,9.9152,0.08315}, {77.2,-0.3521,9.9341,0.08315}, {77.3,-0.3521,9.9528,0.08316}, {77.4,-0.3521,9.9716,0.08316}, {77.5,-0.3521,9.9902,0.08317}, {77.6,-0.3521,10.0088,0.08317}, {77.7,-0.3521,10.0274,0.08317}, {77.8,-0.3521,10.0459,0.08318}, {77.9,-0.3521,10.0643,0.08318}, {78,-0.3521,10.0827,0.08318}, {78.1,-0.3521,10.1011,0.08318}, {78.2,-0.3521,10.1194,0.08318}, {78.3,-0.3521,10.1377,0.08318}, {78.4,-0.3521,10.1559,0.08318}, {78.5,-0.3521,10.1741,0.08318}, {78.6,-0.3521,10.1923,0.08317}, {78.7,-0.3521,10.2105,0.08317}, {78.8,-0.3521,10.2286,0.08317}, {78.9,-0.3521,10.2468,0.08316}, {79,-0.3521,10.2649,0.08316}, {79.1,-0.3521,10.2831,0.08315}, {79.2,-0.3521,10.3012,0.08315}, {79.3,-0.3521,10.3194,0.08314}, {79.4,-0.3521,10.3376,0.08313}, {79.5,-0.3521,10.3558,0.08313}, {79.6,-0.3521,10.3741,0.08312}, {79.7,-0.3521,10.3923,0.08311}, {79.8,-0.3521,10.4107,0.0831}, {79.9,-0.3521,10.4291,0.08309}, {80,-0.3521,10.4475,0.08308}, {80.1,-0.3521,10.466,0.08307}, {80.2,-0.3521,10.4845,0.08305}, {80.3,-0.3521,10.5031,0.08304}, {80.4,-0.3521,10.5217,0.08303}, {80.5,-0.3521,10.5405,0.08301}, {80.6,-0.3521,10.5592,0.083}, {80.7,-0.3521,10.5781,0.08298}, {80.8,-0.3521,10.597,0.08297}, {80.9,-0.3521,10.6161,0.08295}, {81,-0.3521,10.6352,0.08293}, {81.1,-0.3521,10.6544,0.08291}, {81.2,-0.3521,10.6737,0.0829}, {81.3,-0.3521,10.6931,0.08288}, {81.4,-0.3521,10.7126,0.08286}, {81.5,-0.3521,10.7322,0.08284}, {81.6,-0.3521,10.752,0.08282}, {81.7,-0.3521,10.7718,0.08279}, {81.8,-0.3521,10.7918,0.08277}, {81.9,-0.3521,10.8119,0.08275}, {82,-0.3521,10.8321,0.08273}, {82.1,-0.3521,10.8524,0.0827}, {82.2,-0.3521,10.8728,0.08268}, {82.3,-0.3521,10.8934,0.08265}, {82.4,-0.3521,10.9142,0.08263}, {82.5,-0.3521,10.935,0.0826}, {82.6,-0.3521,10.956,0.08258}, {82.7,-0.3521,10.9772,0.08255}, {82.8,-0.3521,10.9985,0.08252}, {82.9,-0.3521,11.0199,0.08249}, {83,-0.3521,11.0415,0.08246}, {83.1,-0.3521,11.0632,0.08244}, {83.2,-0.3521,11.0851,0.08241}, {83.3,-0.3521,11.1071,0.08238}, {83.4,-0.3521,11.1293,0.08235}, {83.5,-0.3521,11.1516,0.08231}, {83.6,-0.3521,11.174,0.08228}, {83.7,-0.3521,11.1966,0.08225}, {83.8,-0.3521,11.2193,0.08222}, {83.9,-0.3521,11.2422,0.08219}, {84,-0.3521,11.2651,0.08215}, {84.1,-0.3521,11.2882,0.08212}, {84.2,-0.3521,11.3114,0.08209}, {84.3,-0.3521,11.3347,0.08205}, {84.4,-0.3521,11.3581,0.08202}, {84.5,-0.3521,11.3817,0.08198}, {84.6,-0.3521,11.4053,0.08195}, {84.7,-0.3521,11.429,0.08191}, {84.8,-0.3521,11.4529,0.08188}, {84.9,-0.3521,11.4768,0.08184}, {85,-0.3521,11.5007,0.08181}, {85.1,-0.3521,11.5248,0.08177}, {85.2,-0.3521,11.549,0.08174}, {85.3,-0.3521,11.5732,0.0817}, {85.4,-0.3521,11.5975,0.08166}, {85.5,-0.3521,11.6218,0.08163}, {85.6,-0.3521,11.6462,0.08159}, {85.7,-0.3521,11.6707,0.08156}, {85.8,-0.3521,11.6952,0.08152}, {85.9,-0.3521,11.7198,0.08148}, {86,-0.3521,11.7444,0.08145}, {86.1,-0.3521,11.769,0.08141}, {86.2,-0.3521,11.7937,0.08138}, {86.3,-0.3521,11.8184,0.08134}, {86.4,-0.3521,11.8431,0.08131}, {86.5,-0.3521,11.8678,0.08128}, {86.6,-0.3521,11.8926,0.08124}, {86.7,-0.3521,11.9173,0.08121}, {86.8,-0.3521,11.9421,0.08118}, {86.9,-0.3521,11.9668,0.08114}, {87,-0.3521,11.9916,0.08111}, {87.1,-0.3521,12.0163,0.08108}, {87.2,-0.3521,12.0411,0.08105}, {87.3,-0.3521,12.0658,0.08102}, {87.4,-0.3521,12.0905,0.08099}, {87.5,-0.3521,12.1152,0.08096}, {87.6,-0.3521,12.1398,0.08093}, {87.7,-0.3521,12.1645,0.0809}, {87.8,-0.3521,12.1891,0.08087}, {87.9,-0.3521,12.2136,0.08084}, {88,-0.3521,12.2382,0.08082}, {88.1,-0.3521,12.2627,0.08079}, {88.2,-0.3521,12.2871,0.08076}, {88.3,-0.3521,12.3116,0.08074}, {88.4,-0.3521,12.336,0.08071}, {88.5,-0.3521,12.3603,0.08069}, {88.6,-0.3521,12.3846,0.08067}, {88.7,-0.3521,12.4089,0.08064}, {88.8,-0.3521,12.4332,0.08062}, {88.9,-0.3521,12.4574,0.0806}, {89,-0.3521,12.4815,0.08058}, {89.1,-0.3521,12.5057,0.08056}, {89.2,-0.3521,12.5298,0.08054}, {89.3,-0.3521,12.5538,0.08052}, {89.4,-0.3521,12.5778,0.0805}, {89.5,-0.3521,12.6017,0.08048}, {89.6,-0.3521,12.6257,0.08047}, {89.7,-0.3521,12.6495,0.08045}, {89.8,-0.3521,12.6734,0.08044}, {89.9,-0.3521,12.6972,0.08042}, {90,-0.3521,12.7209,0.08041}, {90.1,-0.3521,12.7446,0.08039}, {90.2,-0.3521,12.7683,0.08038}, {90.3,-0.3521,12.792,0.08037}, {90.4,-0.3521,12.8156,0.08035}, {90.5,-0.3521,12.8392,0.08034}, {90.6,-0.3521,12.8628,0.08033}, {90.7,-0.3521,12.8864,0.08032}, {90.8,-0.3521,12.9099,0.08031}, {90.9,-0.3521,12.9334,0.0803}, {91,-0.3521,12.9569,0.0803}, {91.1,-0.3521,12.9804,0.08029}, {91.2,-0.3521,13.0038,0.08028}, {91.3,-0.3521,13.0273,0.08027}, {91.4,-0.3521,13.0507,0.08027}, {91.5,-0.3521,13.0742,0.08026}, {91.6,-0.3521,13.0976,0.08026}, {91.7,-0.3521,13.1209,0.08025}, {91.8,-0.3521,13.1443,0.08025}, {91.9,-0.3521,13.1677,0.08025}, {92,-0.3521,13.191,0.08025}, {92.1,-0.3521,13.2143,0.08025}, {92.2,-0.3521,13.2376,0.08024}, {92.3,-0.3521,13.2609,0.08024}, {92.4,-0.3521,13.2842,0.08024}, {92.5,-0.3521,13.3075,0.08025}, {92.6,-0.3521,13.3308,0.08025}, {92.7,-0.3521,13.3541,0.08025}, {92.8,-0.3521,13.3773,0.08025}, {92.9,-0.3521,13.4006,0.08026}, {93,-0.3521,13.4239,0.08026}, {93.1,-0.3521,13.4472,0.08027}, {93.2,-0.3521,13.4705,0.08027}, {93.3,-0.3521,13.4937,0.08028}, {93.4,-0.3521,13.5171,0.08028}, {93.5,-0.3521,13.5404,0.08029}, {93.6,-0.3521,13.5637,0.0803}, {93.7,-0.3521,13.587,0.08031}, {93.8,-0.3521,13.6104,0.08032}, {93.9,-0.3521,13.6338,0.08033}, {94,-0.3521,13.6572,0.08034}, {94.1,-0.3521,13.6806,0.08035}, {94.2,-0.3521,13.7041,0.08036}, {94.3,-0.3521,13.7275,0.08037}, {94.4,-0.3521,13.751,0.08038}, {94.5,-0.3521,13.7746,0.0804}, {94.6,-0.3521,13.7981,0.08041}, {94.7,-0.3521,13.8217,0.08043}, {94.8,-0.3521,13.8454,0.08044}, {94.9,-0.3521,13.8691,0.08046}, {95,-0.3521,13.8928,0.08047}, {95.1,-0.3521,13.9165,0.08049}, {95.2,-0.3521,13.9403,0.08051}, {95.3,-0.3521,13.9642,0.08052}, {95.4,-0.3521,13.9881,0.08054}, {95.5,-0.3521,14.012,0.08056}, {95.6,-0.3521,14.036,0.08058}, {95.7,-0.3521,14.06,0.0806}, {95.8,-0.3521,14.0841,0.08062}, {95.9,-0.3521,14.1083,0.08064}, {96,-0.3521,14.1325,0.08067}, {96.1,-0.3521,14.1567,0.08069}, {96.2,-0.3521,14.1811,0.08071}, {96.3,-0.3521,14.2055,0.08073}, {96.4,-0.3521,14.2299,0.08076}, {96.5,-0.3521,14.2544,0.08078}, {96.6,-0.3521,14.279,0.08081}, {96.7,-0.3521,14.3037,0.08083}, {96.8,-0.3521,14.3284,0.08086}, {96.9,-0.3521,14.3533,0.08089}, {97,-0.3521,14.3782,0.08092}, {97.1,-0.3521,14.4031,0.08094}, {97.2,-0.3521,14.4282,0.08097}, {97.3,-0.3521,14.4533,0.081}, {97.4,-0.3521,14.4785,0.08103}, {97.5,-0.3521,14.5038,0.08106}, {97.6,-0.3521,14.5292,0.08109}, {97.7,-0.3521,14.5547,0.08112}, {97.8,-0.3521,14.5802,0.08116}, {97.9,-0.3521,14.6058,0.08119}, {98,-0.3521,14.6316,0.08122}, {98.1,-0.3521,14.6574,0.08125}, {98.2,-0.3521,14.6832,0.08129}, {98.3,-0.3521,14.7092,0.08132}, {98.4,-0.3521,14.7353,0.08136}, {98.5,-0.3521,14.7614,0.08139}, {98.6,-0.3521,14.7877,0.08143}, {98.7,-0.3521,14.814,0.08146}, {98.8,-0.3521,14.8404,0.0815}, {98.9,-0.3521,14.8669,0.08154}, {99,-0.3521,14.8934,0.08157}, {99.1,-0.3521,14.9201,0.08161}, {99.2,-0.3521,14.9468,0.08165}, {99.3,-0.3521,14.9736,0.08169}, {99.4,-0.3521,15.0005,0.08173}, {99.5,-0.3521,15.0275,0.08177}, {99.6,-0.3521,15.0546,0.08181}, {99.7,-0.3521,15.0818,0.08185}, {99.8,-0.3521,15.109,0.08189}, {99.9,-0.3521,15.1363,0.08194}, {100,-0.3521,15.1637,0.08198}, {100.1,-0.3521,15.1912,0.08202}, {100.2,-0.3521,15.2187,0.08206}, {100.3,-0.3521,15.2463,0.08211}, {100.4,-0.3521,15.274,0.08215}, {100.5,-0.3521,15.3018,0.0822}, {100.6,-0.3521,15.3297,0.08224}, {100.7,-0.3521,15.3576,0.08229}, {100.8,-0.3521,15.3856,0.08233}, {100.9,-0.3521,15.4137,0.08238}, {101,-0.3521,15.4419,0.08243}, {101.1,-0.3521,15.4701,0.08247}, {101.2,-0.3521,15.4985,0.08252}, {101.3,-0.3521,15.5268,0.08257}, {101.4,-0.3521,15.5553,0.08262}, {101.5,-0.3521,15.5838,0.08267}, {101.6,-0.3521,15.6125,0.08272}, {101.7,-0.3521,15.6412,0.08277}, {101.8,-0.3521,15.6699,0.08281}, {101.9,-0.3521,15.6987,0.08287}, {102,-0.3521,15.7276,0.08292}, {102.1,-0.3521,15.7566,0.08297}, {102.2,-0.3521,15.7857,0.08302}, {102.3,-0.3521,15.8148,0.08307}, {102.4,-0.3521,15.844,0.08312}, {102.5,-0.3521,15.8732,0.08317}, {102.6,-0.3521,15.9026,0.08322}, {102.7,-0.3521,15.932,0.08328}, {102.8,-0.3521,15.9615,0.08333}, {102.9,-0.3521,15.991,0.08338}, {103,-0.3521,16.0206,0.08343}, {103.1,-0.3521,16.0503,0.08349}, {103.2,-0.3521,16.0801,0.08354}, {103.3,-0.3521,16.1099,0.08359}, {103.4,-0.3521,16.1398,0.08365}, {103.5,-0.3521,16.1697,0.0837}, {103.6,-0.3521,16.1997,0.08376}, {103.7,-0.3521,16.2298,0.08381}, {103.8,-0.3521,16.26,0.08386}, {103.9,-0.3521,16.2902,0.08392}, {104,-0.3521,16.3204,0.08397}, {104.1,-0.3521,16.3508,0.08403}, {104.2,-0.3521,16.3812,0.08408}, {104.3,-0.3521,16.4117,0.08414}, {104.4,-0.3521,16.4422,0.08419}, {104.5,-0.3521,16.4728,0.08425}, {104.6,-0.3521,16.5035,0.08431}, {104.7,-0.3521,16.5342,0.08436}, {104.8,-0.3521,16.565,0.08442}, {104.9,-0.3521,16.5959,0.08447}, {105,-0.3521,16.6268,0.08453}, {105.1,-0.3521,16.6579,0.08458}, {105.2,-0.3521,16.6889,0.08464}, {105.3,-0.3521,16.7201,0.0847}, {105.4,-0.3521,16.7513,0.08475}, {105.5,-0.3521,16.7826,0.08481}, {105.6,-0.3521,16.8139,0.08487}, {105.7,-0.3521,16.8454,0.08493}, {105.8,-0.3521,16.8769,0.08498}, {105.9,-0.3521,16.9084,0.08504}, {106,-0.3521,16.9401,0.0851}, {106.1,-0.3521,16.9718,0.08516}, {106.2,-0.3521,17.0036,0.08521}, {106.3,-0.3521,17.0355,0.08527}, {106.4,-0.3521,17.0674,0.08533}, {106.5,-0.3521,17.0995,0.08539}, {106.6,-0.3521,17.1316,0.08545}, {106.7,-0.3521,17.1637,0.08551}, {106.8,-0.3521,17.196,0.08557}, {106.9,-0.3521,17.2283,0.08562}, {107,-0.3521,17.2607,0.08568}, {107.1,-0.3521,17.2931,0.08574}, {107.2,-0.3521,17.3256,0.0858}, {107.3,-0.3521,17.3582,0.08586}, {107.4,-0.3521,17.3909,0.08592}, {107.5,-0.3521,17.4237,0.08599}, {107.6,-0.3521,17.4565,0.08605}, {107.7,-0.3521,17.4894,0.08611}, {107.8,-0.3521,17.5224,0.08617}, {107.9,-0.3521,17.5554,0.08623}, {108,-0.3521,17.5885,0.08629}, {108.1,-0.3521,17.6217,0.08635}, {108.2,-0.3521,17.655,0.08641}, {108.3,-0.3521,17.6884,0.08648}, {108.4,-0.3521,17.7218,0.08654}, {108.5,-0.3521,17.7553,0.0866}, {108.6,-0.3521,17.7889,0.08666}, {108.7,-0.3521,17.8226,0.08673}, {108.8,-0.3521,17.8564,0.08679}, {108.9,-0.3521,17.8903,0.08685}, {109,-0.3521,17.9242,0.08691}, {109.1,-0.3521,17.9583,0.08698}, {109.2,-0.3521,17.9924,0.08704}, {109.3,-0.3521,18.0267,0.0871}, {109.4,-0.3521,18.061,0.08717}, {109.5,-0.3521,18.0954,0.08723}, {109.6,-0.3521,18.1299,0.0873}, {109.7,-0.3521,18.1645,0.08736}, {109.8,-0.3521,18.1992,0.08742}, {109.9,-0.3521,18.234,0.08749}, {110,-0.3521,18.2689,0.08755} }; return boysWeightForLength[index < boysWeightForLength.length ? index : boysWeightForLength.length-1]; } public double[]getGirlsWeightForLength(int index){ double[][]girlsWeightForLength = { {45,-0.3833,2.4607,0.09029}, {45.1,-0.3833,2.4777,0.0903}, {45.2,-0.3833,2.4947,0.0903}, {45.3,-0.3833,2.5117,0.09031}, {45.4,-0.3833,2.5287,0.09032}, {45.5,-0.3833,2.5457,0.09033}, {45.6,-0.3833,2.5627,0.09033}, {45.7,-0.3833,2.5797,0.09034}, {45.8,-0.3833,2.5967,0.09035}, {45.9,-0.3833,2.6137,0.09036}, {46,-0.3833,2.6306,0.09037}, {46.1,-0.3833,2.6476,0.09037}, {46.2,-0.3833,2.6646,0.09038}, {46.3,-0.3833,2.6816,0.09039}, {46.4,-0.3833,2.6986,0.0904}, {46.5,-0.3833,2.7155,0.0904}, {46.6,-0.3833,2.7326,0.09041}, {46.7,-0.3833,2.7496,0.09042}, {46.8,-0.3833,2.7666,0.09043}, {46.9,-0.3833,2.7837,0.09044}, {47,-0.3833,2.8007,0.09044}, {47.1,-0.3833,2.8179,0.09045}, {47.2,-0.3833,2.835,0.09046}, {47.3,-0.3833,2.8522,0.09047}, {47.4,-0.3833,2.8694,0.09047}, {47.5,-0.3833,2.8867,0.09048}, {47.6,-0.3833,2.9041,0.09049}, {47.7,-0.3833,2.9215,0.0905}, {47.8,-0.3833,2.939,0.0905}, {47.9,-0.3833,2.9565,0.09051}, {48,-0.3833,2.9741,0.09052}, {48.1,-0.3833,2.9918,0.09053}, {48.2,-0.3833,3.0096,0.09054}, {48.3,-0.3833,3.0275,0.09054}, {48.4,-0.3833,3.0455,0.09055}, {48.5,-0.3833,3.0636,0.09056}, {48.6,-0.3833,3.0818,0.09057}, {48.7,-0.3833,3.1001,0.09057}, {48.8,-0.3833,3.1186,0.09058}, {48.9,-0.3833,3.1372,0.09059}, {49,-0.3833,3.156,0.0906}, {49.1,-0.3833,3.1749,0.09061}, {49.2,-0.3833,3.1939,0.09061}, {49.3,-0.3833,3.2131,0.09062}, {49.4,-0.3833,3.2325,0.09063}, {49.5,-0.3833,3.252,0.09064}, {49.6,-0.3833,3.2717,0.09065}, {49.7,-0.3833,3.2915,0.09065}, {49.8,-0.3833,3.3114,0.09066}, {49.9,-0.3833,3.3316,0.09067}, {50,-0.3833,3.3518,0.09068}, {50.1,-0.3833,3.3723,0.09069}, {50.2,-0.3833,3.3929,0.09069}, {50.3,-0.3833,3.4136,0.0907}, {50.4,-0.3833,3.4346,0.09071}, {50.5,-0.3833,3.4557,0.09072}, {50.6,-0.3833,3.4769,0.09073}, {50.7,-0.3833,3.4983,0.09074}, {50.8,-0.3833,3.5199,0.09074}, {50.9,-0.3833,3.5417,0.09075}, {51,-0.3833,3.5636,0.09076}, {51.1,-0.3833,3.5856,0.09077}, {51.2,-0.3833,3.6078,0.09078}, {51.3,-0.3833,3.6302,0.09079}, {51.4,-0.3833,3.6527,0.0908}, {51.5,-0.3833,3.6754,0.0908}, {51.6,-0.3833,3.6982,0.09081}, {51.7,-0.3833,3.7212,0.09082}, {51.8,-0.3833,3.7444,0.09083}, {51.9,-0.3833,3.7677,0.09084}, {52,-0.3833,3.7911,0.09085}, {52.1,-0.3833,3.8147,0.09086}, {52.2,-0.3833,3.8385,0.09086}, {52.3,-0.3833,3.8623,0.09087}, {52.4,-0.3833,3.8863,0.09088}, {52.5,-0.3833,3.9105,0.09089}, {52.6,-0.3833,3.9348,0.0909}, {52.7,-0.3833,3.9592,0.09091}, {52.8,-0.3833,3.9837,0.09092}, {52.9,-0.3833,4.0084,0.09093}, {53,-0.3833,4.0332,0.09093}, {53.1,-0.3833,4.0581,0.09094}, {53.2,-0.3833,4.0832,0.09095}, {53.3,-0.3833,4.1084,0.09096}, {53.4,-0.3833,4.1337,0.09097}, {53.5,-0.3833,4.1591,0.09098}, {53.6,-0.3833,4.1846,0.09099}, {53.7,-0.3833,4.2102,0.09099}, {53.8,-0.3833,4.2359,0.091}, {53.9,-0.3833,4.2617,0.09101}, {54,-0.3833,4.2875,0.09102}, {54.1,-0.3833,4.3135,0.09103}, {54.2,-0.3833,4.3395,0.09104}, {54.3,-0.3833,4.3655,0.09105}, {54.4,-0.3833,4.3917,0.09105}, {54.5,-0.3833,4.4179,0.09106}, {54.6,-0.3833,4.4442,0.09107}, {54.7,-0.3833,4.4705,0.09108}, {54.8,-0.3833,4.4969,0.09109}, {54.9,-0.3833,4.5233,0.09109}, {55,-0.3833,4.5498,0.0911}, {55.1,-0.3833,4.5763,0.09111}, {55.2,-0.3833,4.6029,0.09112}, {55.3,-0.3833,4.6295,0.09113}, {55.4,-0.3833,4.6561,0.09113}, {55.5,-0.3833,4.6827,0.09114}, {55.6,-0.3833,4.7094,0.09115}, {55.7,-0.3833,4.7361,0.09116}, {55.8,-0.3833,4.7628,0.09116}, {55.9,-0.3833,4.7895,0.09117}, {56,-0.3833,4.8162,0.09118}, {56.1,-0.3833,4.843,0.09119}, {56.2,-0.3833,4.8697,0.09119}, {56.3,-0.3833,4.8964,0.0912}, {56.4,-0.3833,4.9232,0.09121}, {56.5,-0.3833,4.95,0.09121}, {56.6,-0.3833,4.9767,0.09122}, {56.7,-0.3833,5.0034,0.09123}, {56.8,-0.3833,5.0302,0.09123}, {56.9,-0.3833,5.0569,0.09124}, {57,-0.3833,5.0837,0.09125}, {57.1,-0.3833,5.1104,0.09125}, {57.2,-0.3833,5.1371,0.09126}, {57.3,-0.3833,5.1639,0.09126}, {57.4,-0.3833,5.1906,0.09127}, {57.5,-0.3833,5.2173,0.09128}, {57.6,-0.3833,5.244,0.09128}, {57.7,-0.3833,5.2707,0.09129}, {57.8,-0.3833,5.2974,0.09129}, {57.9,-0.3833,5.324,0.0913}, {58,-0.3833,5.3507,0.0913}, {58.1,-0.3833,5.3773,0.09131}, {58.2,-0.3833,5.4039,0.09131}, {58.3,-0.3833,5.4304,0.09131}, {58.4,-0.3833,5.4569,0.09132}, {58.5,-0.3833,5.4834,0.09132}, {58.6,-0.3833,5.5098,0.09133}, {58.7,-0.3833,5.5362,0.09133}, {58.8,-0.3833,5.5625,0.09133}, {58.9,-0.3833,5.5888,0.09134}, {59,-0.3833,5.6151,0.09134}, {59.1,-0.3833,5.6413,0.09134}, {59.2,-0.3833,5.6674,0.09135}, {59.3,-0.3833,5.6935,0.09135}, {59.4,-0.3833,5.7195,0.09135}, {59.5,-0.3833,5.7454,0.09135}, {59.6,-0.3833,5.7713,0.09136}, {59.7,-0.3833,5.7971,0.09136}, {59.8,-0.3833,5.8229,0.09136}, {59.9,-0.3833,5.8485,0.09136}, {60,-0.3833,5.8742,0.09136}, {60.1,-0.3833,5.8997,0.09136}, {60.2,-0.3833,5.9252,0.09137}, {60.3,-0.3833,5.9507,0.09137}, {60.4,-0.3833,5.9761,0.09137}, {60.5,-0.3833,6.0014,0.09137}, {60.6,-0.3833,6.0266,0.09137}, {60.7,-0.3833,6.0518,0.09137}, {60.8,-0.3833,6.0769,0.09137}, {60.9,-0.3833,6.102,0.09137}, {61,-0.3833,6.127,0.09137}, {61.1,-0.3833,6.1519,0.09137}, {61.2,-0.3833,6.1768,0.09136}, {61.3,-0.3833,6.2017,0.09136}, {61.4,-0.3833,6.2264,0.09136}, {61.5,-0.3833,6.2511,0.09136}, {61.6,-0.3833,6.2758,0.09136}, {61.7,-0.3833,6.3004,0.09136}, {61.8,-0.3833,6.3249,0.09135}, {61.9,-0.3833,6.3494,0.09135}, {62,-0.3833,6.3738,0.09135}, {62.1,-0.3833,6.3981,0.09135}, {62.2,-0.3833,6.4224,0.09134}, {62.3,-0.3833,6.4466,0.09134}, {62.4,-0.3833,6.4708,0.09134}, {62.5,-0.3833,6.4948,0.09133}, {62.6,-0.3833,6.5189,0.09133}, {62.7,-0.3833,6.5429,0.09133}, {62.8,-0.3833,6.5668,0.09132}, {62.9,-0.3833,6.5906,0.09132}, {63,-0.3833,6.6144,0.09131}, {63.1,-0.3833,6.6382,0.09131}, {63.2,-0.3833,6.6619,0.0913}, {63.3,-0.3833,6.6856,0.0913}, {63.4,-0.3833,6.7092,0.09129}, {63.5,-0.3833,6.7328,0.09129}, {63.6,-0.3833,6.7563,0.09128}, {63.7,-0.3833,6.7798,0.09128}, {63.8,-0.3833,6.8033,0.09127}, {63.9,-0.3833,6.8267,0.09127}, {64,-0.3833,6.8501,0.09126}, {64.1,-0.3833,6.8734,0.09125}, {64.2,-0.3833,6.8967,0.09125}, {64.3,-0.3833,6.9199,0.09124}, {64.4,-0.3833,6.9431,0.09123}, {64.5,-0.3833,6.9662,0.09123}, {64.6,-0.3833,6.9893,0.09122}, {64.7,-0.3833,7.0124,0.09121}, {64.8,-0.3833,7.0354,0.0912}, {64.9,-0.3833,7.0583,0.0912}, {65,-0.3833,7.0812,0.09119}, {65.1,-0.3833,7.1041,0.09118}, {65.2,-0.3833,7.1269,0.09117}, {65.3,-0.3833,7.1497,0.09116}, {65.4,-0.3833,7.1724,0.09116}, {65.5,-0.3833,7.195,0.09115}, {65.6,-0.3833,7.2177,0.09114}, {65.7,-0.3833,7.2402,0.09113}, {65.8,-0.3833,7.2627,0.09112}, {65.9,-0.3833,7.2852,0.09111}, {66,-0.3833,7.3076,0.0911}, {66.1,-0.3833,7.33,0.09109}, {66.2,-0.3833,7.3523,0.09109}, {66.3,-0.3833,7.3745,0.09108}, {66.4,-0.3833,7.3967,0.09107}, {66.5,-0.3833,7.4189,0.09106}, {66.6,-0.3833,7.441,0.09105}, {66.7,-0.3833,7.463,0.09104}, {66.8,-0.3833,7.485,0.09103}, {66.9,-0.3833,7.5069,0.09102}, {67,-0.3833,7.5288,0.09101}, {67.1,-0.3833,7.5507,0.091}, {67.2,-0.3833,7.5724,0.09099}, {67.3,-0.3833,7.5942,0.09098}, {67.4,-0.3833,7.6158,0.09097}, {67.5,-0.3833,7.6375,0.09096}, {67.6,-0.3833,7.659,0.09095}, {67.7,-0.3833,7.6806,0.09094}, {67.8,-0.3833,7.702,0.09093}, {67.9,-0.3833,7.7234,0.09091}, {68,-0.3833,7.7448,0.0909}, {68.1,-0.3833,7.7661,0.09089}, {68.2,-0.3833,7.7874,0.09088}, {68.3,-0.3833,7.8086,0.09087}, {68.4,-0.3833,7.8298,0.09086}, {68.5,-0.3833,7.8509,0.09085}, {68.6,-0.3833,7.872,0.09084}, {68.7,-0.3833,7.893,0.09083}, {68.8,-0.3833,7.914,0.09082}, {68.9,-0.3833,7.935,0.0908}, {69,-0.3833,7.9559,0.09079}, {69.1,-0.3833,7.9768,0.09078}, {69.2,-0.3833,7.9976,0.09077}, {69.3,-0.3833,8.0184,0.09076}, {69.4,-0.3833,8.0392,0.09075}, {69.5,-0.3833,8.0599,0.09074}, {69.6,-0.3833,8.0806,0.09072}, {69.7,-0.3833,8.1012,0.09071}, {69.8,-0.3833,8.1218,0.0907}, {69.9,-0.3833,8.1424,0.09069}, {70,-0.3833,8.163,0.09068}, {70.1,-0.3833,8.1835,0.09067}, {70.2,-0.3833,8.2039,0.09065}, {70.3,-0.3833,8.2244,0.09064}, {70.4,-0.3833,8.2448,0.09063}, {70.5,-0.3833,8.2651,0.09062}, {70.6,-0.3833,8.2855,0.09061}, {70.7,-0.3833,8.3058,0.09059}, {70.8,-0.3833,8.3261,0.09058}, {70.9,-0.3833,8.3464,0.09057}, {71,-0.3833,8.3666,0.09056}, {71.1,-0.3833,8.3869,0.09055}, {71.2,-0.3833,8.4071,0.09053}, {71.3,-0.3833,8.4273,0.09052}, {71.4,-0.3833,8.4474,0.09051}, {71.5,-0.3833,8.4676,0.0905}, {71.6,-0.3833,8.4877,0.09048}, {71.7,-0.3833,8.5078,0.09047}, {71.8,-0.3833,8.5278,0.09046}, {71.9,-0.3833,8.5479,0.09045}, {72,-0.3833,8.5679,0.09043}, {72.1,-0.3833,8.5879,0.09042}, {72.2,-0.3833,8.6078,0.09041}, {72.3,-0.3833,8.6277,0.0904}, {72.4,-0.3833,8.6476,0.09039}, {72.5,-0.3833,8.6674,0.09037}, {72.6,-0.3833,8.6872,0.09036}, {72.7,-0.3833,8.707,0.09035}, {72.8,-0.3833,8.7267,0.09034}, {72.9,-0.3833,8.7464,0.09032}, {73,-0.3833,8.7661,0.09031}, {73.1,-0.3833,8.7857,0.0903}, {73.2,-0.3833,8.8053,0.09028}, {73.3,-0.3833,8.8248,0.09027}, {73.4,-0.3833,8.8443,0.09026}, {73.5,-0.3833,8.8638,0.09025}, {73.6,-0.3833,8.8831,0.09023}, {73.7,-0.3833,8.9025,0.09022}, {73.8,-0.3833,8.9217,0.09021}, {73.9,-0.3833,8.941,0.0902}, {74,-0.3833,8.9601,0.09018}, {74.1,-0.3833,8.9792,0.09017}, {74.2,-0.3833,8.9983,0.09016}, {74.3,-0.3833,9.0173,0.09014}, {74.4,-0.3833,9.0363,0.09013}, {74.5,-0.3833,9.0552,0.09012}, {74.6,-0.3833,9.074,0.09011}, {74.7,-0.3833,9.0928,0.09009}, {74.8,-0.3833,9.1116,0.09008}, {74.9,-0.3833,9.1303,0.09007}, {75,-0.3833,9.149,0.09005}, {75.1,-0.3833,9.1676,0.09004}, {75.2,-0.3833,9.1862,0.09003}, {75.3,-0.3833,9.2048,0.09001}, {75.4,-0.3833,9.2233,0.09}, {75.5,-0.3833,9.2418,0.08999}, {75.6,-0.3833,9.2602,0.08997}, {75.7,-0.3833,9.2786,0.08996}, {75.8,-0.3833,9.297,0.08995}, {75.9,-0.3833,9.3154,0.08993}, {76,-0.3833,9.3337,0.08992}, {76.1,-0.3833,9.352,0.08991}, {76.2,-0.3833,9.3703,0.08989}, {76.3,-0.3833,9.3886,0.08988}, {76.4,-0.3833,9.4069,0.08987}, {76.5,-0.3833,9.4252,0.08985}, {76.6,-0.3833,9.4435,0.08984}, {76.7,-0.3833,9.4617,0.08983}, {76.8,-0.3833,9.48,0.08981}, {76.9,-0.3833,9.4983,0.0898}, {77,-0.3833,9.5166,0.08979}, {77.1,-0.3833,9.535,0.08977}, {77.2,-0.3833,9.5533,0.08976}, {77.3,-0.3833,9.5717,0.08975}, {77.4,-0.3833,9.5901,0.08973}, {77.5,-0.3833,9.6086,0.08972}, {77.6,-0.3833,9.6271,0.08971}, {77.7,-0.3833,9.6456,0.08969}, {77.8,-0.3833,9.6642,0.08968}, {77.9,-0.3833,9.6828,0.08966}, {78,-0.3833,9.7015,0.08965}, {78.1,-0.3833,9.7202,0.08964}, {78.2,-0.3833,9.739,0.08963}, {78.3,-0.3833,9.7578,0.08961}, {78.4,-0.3833,9.7767,0.0896}, {78.5,-0.3833,9.7957,0.08959}, {78.6,-0.3833,9.8147,0.08957}, {78.7,-0.3833,9.8338,0.08956}, {78.8,-0.3833,9.853,0.08955}, {78.9,-0.3833,9.8722,0.08953}, {79,-0.3833,9.8915,0.08952}, {79.1,-0.3833,9.9109,0.08951}, {79.2,-0.3833,9.9303,0.0895}, {79.3,-0.3833,9.9499,0.08948}, {79.4,-0.3833,9.9695,0.08947}, {79.5,-0.3833,9.9892,0.08946}, {79.6,-0.3833,10.009,0.08945}, {79.7,-0.3833,10.0289,0.08943}, {79.8,-0.3833,10.0489,0.08942}, {79.9,-0.3833,10.069,0.08941}, {80,-0.3833,10.0891,0.0894}, {80.1,-0.3833,10.1094,0.08939}, {80.2,-0.3833,10.1298,0.08937}, {80.3,-0.3833,10.1503,0.08936}, {80.4,-0.3833,10.1709,0.08935}, {80.5,-0.3833,10.1916,0.08934}, {80.6,-0.3833,10.2123,0.08933}, {80.7,-0.3833,10.2332,0.08932}, {80.8,-0.3833,10.2542,0.0893}, {80.9,-0.3833,10.2753,0.08929}, {81,-0.3833,10.2965,0.08928}, {81.1,-0.3833,10.3178,0.08927}, {81.2,-0.3833,10.3393,0.08926}, {81.3,-0.3833,10.3608,0.08925}, {81.4,-0.3833,10.3824,0.08924}, {81.5,-0.3833,10.4041,0.08923}, {81.6,-0.3833,10.4258,0.08922}, {81.7,-0.3833,10.4477,0.08921}, {81.8,-0.3833,10.4697,0.0892}, {81.9,-0.3833,10.4918,0.08919}, {82,-0.3833,10.514,0.08918}, {82.1,-0.3833,10.5363,0.08917}, {82.2,-0.3833,10.5586,0.08916}, {82.3,-0.3833,10.5811,0.08915}, {82.4,-0.3833,10.6037,0.08915}, {82.5,-0.3833,10.6263,0.08914}, {82.6,-0.3833,10.6491,0.08913}, {82.7,-0.3833,10.6719,0.08912}, {82.8,-0.3833,10.6948,0.08911}, {82.9,-0.3833,10.7178,0.0891}, {83,-0.3833,10.741,0.0891}, {83.1,-0.3833,10.7641,0.08909}, {83.2,-0.3833,10.7874,0.08908}, {83.3,-0.3833,10.8108,0.08907}, {83.4,-0.3833,10.8343,0.08907}, {83.5,-0.3833,10.8578,0.08906}, {83.6,-0.3833,10.8814,0.08905}, {83.7,-0.3833,10.9051,0.08905}, {83.8,-0.3833,10.9289,0.08904}, {83.9,-0.3833,10.9527,0.08903}, {84,-0.3833,10.9767,0.08903}, {84.1,-0.3833,11.0007,0.08902}, {84.2,-0.3833,11.0248,0.08902}, {84.3,-0.3833,11.0489,0.08901}, {84.4,-0.3833,11.0731,0.08901}, {84.5,-0.3833,11.0974,0.089}, {84.6,-0.3833,11.1218,0.089}, {84.7,-0.3833,11.1462,0.08899}, {84.8,-0.3833,11.1707,0.08899}, {84.9,-0.3833,11.1952,0.08899}, {85,-0.3833,11.2198,0.08898}, {85.1,-0.3833,11.2444,0.08898}, {85.2,-0.3833,11.2691,0.08897}, {85.3,-0.3833,11.2939,0.08897}, {85.4,-0.3833,11.3187,0.08897}, {85.5,-0.3833,11.3435,0.08897}, {85.6,-0.3833,11.3684,0.08896}, {85.7,-0.3833,11.3934,0.08896}, {85.8,-0.3833,11.4183,0.08896}, {85.9,-0.3833,11.4434,0.08896}, {86,-0.3833,11.4684,0.08895}, {86.1,-0.3833,11.4935,0.08895}, {86.2,-0.3833,11.5186,0.08895}, {86.3,-0.3833,11.5437,0.08895}, {86.4,-0.3833,11.5689,0.08895}, {86.5,-0.3833,11.594,0.08895}, {86.6,-0.3833,11.6192,0.08895}, {86.7,-0.3833,11.6444,0.08895}, {86.8,-0.3833,11.6696,0.08895}, {86.9,-0.3833,11.6948,0.08895}, {87,-0.3833,11.7201,0.08895}, {87.1,-0.3833,11.7453,0.08895}, {87.2,-0.3833,11.7705,0.08895}, {87.3,-0.3833,11.7957,0.08895}, {87.4,-0.3833,11.8209,0.08895}, {87.5,-0.3833,11.8461,0.08895}, {87.6,-0.3833,11.8713,0.08896}, {87.7,-0.3833,11.8965,0.08896}, {87.8,-0.3833,11.9217,0.08896}, {87.9,-0.3833,11.9468,0.08896}, {88,-0.3833,11.972,0.08896}, {88.1,-0.3833,11.9971,0.08897}, {88.2,-0.3833,12.0223,0.08897}, {88.3,-0.3833,12.0474,0.08897}, {88.4,-0.3833,12.0725,0.08898}, {88.5,-0.3833,12.0976,0.08898}, {88.6,-0.3833,12.1227,0.08898}, {88.7,-0.3833,12.1478,0.08899}, {88.8,-0.3833,12.1728,0.08899}, {88.9,-0.3833,12.1978,0.089}, {89,-0.3833,12.2229,0.089}, {89.1,-0.3833,12.2479,0.08901}, {89.2,-0.3833,12.2729,0.08901}, {89.3,-0.3833,12.2978,0.08902}, {89.4,-0.3833,12.3228,0.08902}, {89.5,-0.3833,12.3477,0.08903}, {89.6,-0.3833,12.3727,0.08903}, {89.7,-0.3833,12.3976,0.08904}, {89.8,-0.3833,12.4225,0.08904}, {89.9,-0.3833,12.4474,0.08905}, {90,-0.3833,12.4723,0.08906}, {90.1,-0.3833,12.4971,0.08906}, {90.2,-0.3833,12.522,0.08907}, {90.3,-0.3833,12.5468,0.08908}, {90.4,-0.3833,12.5717,0.08909}, {90.5,-0.3833,12.5965,0.08909}, {90.6,-0.3833,12.6213,0.0891}, {90.7,-0.3833,12.6461,0.08911}, {90.8,-0.3833,12.6709,0.08912}, {90.9,-0.3833,12.6957,0.08912}, {91,-0.3833,12.7205,0.08913}, {91.1,-0.3833,12.7453,0.08914}, {91.2,-0.3833,12.77,0.08915}, {91.3,-0.3833,12.7948,0.08916}, {91.4,-0.3833,12.8196,0.08917}, {91.5,-0.3833,12.8443,0.08918}, {91.6,-0.3833,12.8691,0.08919}, {91.7,-0.3833,12.8939,0.0892}, {91.8,-0.3833,12.9186,0.08921}, {91.9,-0.3833,12.9434,0.08922}, {92,-0.3833,12.9681,0.08923}, {92.1,-0.3833,12.9929,0.08924}, {92.2,-0.3833,13.0177,0.08925}, {92.3,-0.3833,13.0424,0.08926}, {92.4,-0.3833,13.0672,0.08927}, {92.5,-0.3833,13.092,0.08928}, {92.6,-0.3833,13.1167,0.0893}, {92.7,-0.3833,13.1415,0.08931}, {92.8,-0.3833,13.1663,0.08932}, {92.9,-0.3833,13.1911,0.08933}, {93,-0.3833,13.2158,0.08934}, {93.1,-0.3833,13.2406,0.08936}, {93.2,-0.3833,13.2654,0.08937}, {93.3,-0.3833,13.2902,0.08938}, {93.4,-0.3833,13.3151,0.0894}, {93.5,-0.3833,13.3399,0.08941}, {93.6,-0.3833,13.3647,0.08942}, {93.7,-0.3833,13.3896,0.08944}, {93.8,-0.3833,13.4145,0.08945}, {93.9,-0.3833,13.4394,0.08947}, {94,-0.3833,13.4643,0.08948}, {94.1,-0.3833,13.4892,0.08949}, {94.2,-0.3833,13.5142,0.08951}, {94.3,-0.3833,13.5391,0.08952}, {94.4,-0.3833,13.5641,0.08954}, {94.5,-0.3833,13.5892,0.08955}, {94.6,-0.3833,13.6142,0.08957}, {94.7,-0.3833,13.6393,0.08959}, {94.8,-0.3833,13.6644,0.0896}, {94.9,-0.3833,13.6895,0.08962}, {95,-0.3833,13.7146,0.08963}, {95.1,-0.3833,13.7398,0.08965}, {95.2,-0.3833,13.765,0.08967}, {95.3,-0.3833,13.7902,0.08968}, {95.4,-0.3833,13.8155,0.0897}, {95.5,-0.3833,13.8408,0.08972}, {95.6,-0.3833,13.8661,0.08974}, {95.7,-0.3833,13.8914,0.08975}, {95.8,-0.3833,13.9168,0.08977}, {95.9,-0.3833,13.9422,0.08979}, {96,-0.3833,13.9676,0.08981}, {96.1,-0.3833,13.9931,0.08983}, {96.2,-0.3833,14.0186,0.08984}, {96.3,-0.3833,14.0441,0.08986}, {96.4,-0.3833,14.0697,0.08988}, {96.5,-0.3833,14.0953,0.0899}, {96.6,-0.3833,14.1209,0.08992}, {96.7,-0.3833,14.1466,0.08994}, {96.8,-0.3833,14.1724,0.08996}, {96.9,-0.3833,14.1981,0.08998}, {97,-0.3833,14.2239,0.09}, {97.1,-0.3833,14.2498,0.09002}, {97.2,-0.3833,14.2757,0.09004}, {97.3,-0.3833,14.3016,0.09006}, {97.4,-0.3833,14.3276,0.09008}, {97.5,-0.3833,14.3537,0.0901}, {97.6,-0.3833,14.3798,0.09012}, {97.7,-0.3833,14.4059,0.09015}, {97.8,-0.3833,14.4321,0.09017}, {97.9,-0.3833,14.4584,0.09019}, {98,-0.3833,14.4848,0.09021}, {98.1,-0.3833,14.5112,0.09023}, {98.2,-0.3833,14.5376,0.09026}, {98.3,-0.3833,14.5642,0.09028}, {98.4,-0.3833,14.5908,0.0903}, {98.5,-0.3833,14.6174,0.09033}, {98.6,-0.3833,14.6442,0.09035}, {98.7,-0.3833,14.671,0.09037}, {98.8,-0.3833,14.6979,0.0904}, {98.9,-0.3833,14.7248,0.09042}, {99,-0.3833,14.7519,0.09044}, {99.1,-0.3833,14.779,0.09047}, {99.2,-0.3833,14.8062,0.09049}, {99.3,-0.3833,14.8334,0.09052}, {99.4,-0.3833,14.8608,0.09054}, {99.5,-0.3833,14.8882,0.09057}, {99.6,-0.3833,14.9157,0.09059}, {99.7,-0.3833,14.9434,0.09062}, {99.8,-0.3833,14.9711,0.09064}, {99.9,-0.3833,14.9989,0.09067}, {100,-0.3833,15.0267,0.09069}, {100.1,-0.3833,15.0547,0.09072}, {100.2,-0.3833,15.0828,0.09075}, {100.3,-0.3833,15.1109,0.09077}, {100.4,-0.3833,15.1392,0.0908}, {100.5,-0.3833,15.1676,0.09083}, {100.6,-0.3833,15.196,0.09085}, {100.7,-0.3833,15.2246,0.09088}, {100.8,-0.3833,15.2532,0.09091}, {100.9,-0.3833,15.2819,0.09093}, {101,-0.3833,15.3108,0.09096}, {101.1,-0.3833,15.3397,0.09099}, {101.2,-0.3833,15.3687,0.09102}, {101.3,-0.3833,15.3979,0.09105}, {101.4,-0.3833,15.4271,0.09107}, {101.5,-0.3833,15.4564,0.0911}, {101.6,-0.3833,15.4858,0.09113}, {101.7,-0.3833,15.5154,0.09116}, {101.8,-0.3833,15.545,0.09119}, {101.9,-0.3833,15.5747,0.09122}, {102,-0.3833,15.6046,0.09125}, {102.1,-0.3833,15.6345,0.09128}, {102.2,-0.3833,15.6646,0.09131}, {102.3,-0.3833,15.6947,0.09133}, {102.4,-0.3833,15.725,0.09136}, {102.5,-0.3833,15.7553,0.09139}, {102.6,-0.3833,15.7858,0.09142}, {102.7,-0.3833,15.8164,0.09146}, {102.8,-0.3833,15.847,0.09149}, {102.9,-0.3833,15.8778,0.09152}, {103,-0.3833,15.9087,0.09155}, {103.1,-0.3833,15.9396,0.09158}, {103.2,-0.3833,15.9707,0.09161}, {103.3,-0.3833,16.0019,0.09164}, {103.4,-0.3833,16.0332,0.09167}, {103.5,-0.3833,16.0645,0.0917}, {103.6,-0.3833,16.096,0.09173}, {103.7,-0.3833,16.1276,0.09177}, {103.8,-0.3833,16.1593,0.0918}, {103.9,-0.3833,16.191,0.09183}, {104,-0.3833,16.2229,0.09186}, {104.1,-0.3833,16.2549,0.0919}, {104.2,-0.3833,16.287,0.09193}, {104.3,-0.3833,16.3191,0.09196}, {104.4,-0.3833,16.3514,0.09199}, {104.5,-0.3833,16.3837,0.09203}, {104.6,-0.3833,16.4162,0.09206}, {104.7,-0.3833,16.4488,0.09209}, {104.8,-0.3833,16.4814,0.09213}, {104.9,-0.3833,16.5142,0.09216}, {105,-0.3833,16.547,0.09219}, {105.1,-0.3833,16.58,0.09223}, {105.2,-0.3833,16.6131,0.09226}, {105.3,-0.3833,16.6462,0.09229}, {105.4,-0.3833,16.6795,0.09233}, {105.5,-0.3833,16.7129,0.09236}, {105.6,-0.3833,16.7464,0.0924}, {105.7,-0.3833,16.78,0.09243}, {105.8,-0.3833,16.8137,0.09247}, {105.9,-0.3833,16.8475,0.0925}, {106,-0.3833,16.8814,0.09254}, {106.1,-0.3833,16.9154,0.09257}, {106.2,-0.3833,16.9496,0.09261}, {106.3,-0.3833,16.9838,0.09264}, {106.4,-0.3833,17.0182,0.09268}, {106.5,-0.3833,17.0527,0.09271}, {106.6,-0.3833,17.0873,0.09275}, {106.7,-0.3833,17.122,0.09278}, {106.8,-0.3833,17.1569,0.09282}, {106.9,-0.3833,17.1918,0.09286}, {107,-0.3833,17.2269,0.09289}, {107.1,-0.3833,17.262,0.09293}, {107.2,-0.3833,17.2973,0.09296}, {107.3,-0.3833,17.3327,0.093}, {107.4,-0.3833,17.3683,0.09304}, {107.5,-0.3833,17.4039,0.09307}, {107.6,-0.3833,17.4397,0.09311}, {107.7,-0.3833,17.4755,0.09315}, {107.8,-0.3833,17.5115,0.09318}, {107.9,-0.3833,17.5476,0.09322}, {108,-0.3833,17.5839,0.09326}, {108.1,-0.3833,17.6202,0.09329}, {108.2,-0.3833,17.6567,0.09333}, {108.3,-0.3833,17.6932,0.09337}, {108.4,-0.3833,17.7299,0.09341}, {108.5,-0.3833,17.7668,0.09344}, {108.6,-0.3833,17.8037,0.09348}, {108.7,-0.3833,17.8407,0.09352}, {108.8,-0.3833,17.8779,0.09356}, {108.9,-0.3833,17.9152,0.09359}, {109,-0.3833,17.9526,0.09363}, {109.1,-0.3833,17.9901,0.09367}, {109.2,-0.3833,18.0277,0.09371}, {109.3,-0.3833,18.0654,0.09375}, {109.4,-0.3833,18.1033,0.09378}, {109.5,-0.3833,18.1412,0.09382}, {109.6,-0.3833,18.1792,0.09386}, {109.7,-0.3833,18.2174,0.0939}, {109.8,-0.3833,18.2556,0.09394}, {109.9,-0.3833,18.294,0.09397}, {110,-0.3833,18.3324,0.09401}, }; return girlsWeightForLength[index < girlsWeightForLength.length ? index : girlsWeightForLength.length-1]; } public double[]getBoysWeightForHeight(int index){ double[][]boysWeightForHeight = { {65,-0.3521,7.4327,0.08217}, {65.1,-0.3521,7.4563,0.08216}, {65.2,-0.3521,7.4799,0.08216}, {65.3,-0.3521,7.5034,0.08215}, {65.4,-0.3521,7.5269,0.08214}, {65.5,-0.3521,7.5504,0.08214}, {65.6,-0.3521,7.5738,0.08214}, {65.7,-0.3521,7.5973,0.08213}, {65.8,-0.3521,7.6206,0.08213}, {65.9,-0.3521,7.644,0.08213}, {66,-0.3521,7.6673,0.08212}, {66.1,-0.3521,7.6906,0.08212}, {66.2,-0.3521,7.7138,0.08212}, {66.3,-0.3521,7.737,0.08212}, {66.4,-0.3521,7.7602,0.08212}, {66.5,-0.3521,7.7834,0.08212}, {66.6,-0.3521,7.8065,0.08212}, {66.7,-0.3521,7.8296,0.08212}, {66.8,-0.3521,7.8526,0.08212}, {66.9,-0.3521,7.8757,0.08212}, {67,-0.3521,7.8986,0.08213}, {67.1,-0.3521,7.9216,0.08213}, {67.2,-0.3521,7.9445,0.08213}, {67.3,-0.3521,7.9674,0.08214}, {67.4,-0.3521,7.9903,0.08214}, {67.5,-0.3521,8.0132,0.08214}, {67.6,-0.3521,8.036,0.08215}, {67.7,-0.3521,8.0588,0.08215}, {67.8,-0.3521,8.0816,0.08216}, {67.9,-0.3521,8.1044,0.08217}, {68,-0.3521,8.1272,0.08217}, {68.1,-0.3521,8.15,0.08218}, {68.2,-0.3521,8.1727,0.08219}, {68.3,-0.3521,8.1955,0.08219}, {68.4,-0.3521,8.2183,0.0822}, {68.5,-0.3521,8.241,0.08221}, {68.6,-0.3521,8.2638,0.08222}, {68.7,-0.3521,8.2865,0.08223}, {68.8,-0.3521,8.3092,0.08224}, {68.9,-0.3521,8.332,0.08225}, {69,-0.3521,8.3547,0.08226}, {69.1,-0.3521,8.3774,0.08227}, {69.2,-0.3521,8.4001,0.08228}, {69.3,-0.3521,8.4227,0.08229}, {69.4,-0.3521,8.4454,0.0823}, {69.5,-0.3521,8.468,0.08231}, {69.6,-0.3521,8.4906,0.08232}, {69.7,-0.3521,8.5132,0.08233}, {69.8,-0.3521,8.5358,0.08235}, {69.9,-0.3521,8.5583,0.08236}, {70,-0.3521,8.5808,0.08237}, {70.1,-0.3521,8.6032,0.08238}, {70.2,-0.3521,8.6257,0.0824}, {70.3,-0.3521,8.648,0.08241}, {70.4,-0.3521,8.6704,0.08242}, {70.5,-0.3521,8.6927,0.08243}, {70.6,-0.3521,8.715,0.08245}, {70.7,-0.3521,8.7372,0.08246}, {70.8,-0.3521,8.7594,0.08248}, {70.9,-0.3521,8.7815,0.08249}, {71,-0.3521,8.8036,0.0825}, {71.1,-0.3521,8.8257,0.08252}, {71.2,-0.3521,8.8477,0.08253}, {71.3,-0.3521,8.8697,0.08254}, {71.4,-0.3521,8.8916,0.08256}, {71.5,-0.3521,8.9135,0.08257}, {71.6,-0.3521,8.9353,0.08259}, {71.7,-0.3521,8.9571,0.0826}, {71.8,-0.3521,8.9788,0.08262}, {71.9,-0.3521,9.0005,0.08263}, {72,-0.3521,9.0221,0.08264}, {72.1,-0.3521,9.0436,0.08266}, {72.2,-0.3521,9.0651,0.08267}, {72.3,-0.3521,9.0865,0.08269}, {72.4,-0.3521,9.1079,0.0827}, {72.5,-0.3521,9.1292,0.08272}, {72.6,-0.3521,9.1504,0.08273}, {72.7,-0.3521,9.1716,0.08274}, {72.8,-0.3521,9.1927,0.08276}, {72.9,-0.3521,9.2137,0.08277}, {73,-0.3521,9.2347,0.08278}, {73.1,-0.3521,9.2557,0.0828}, {73.2,-0.3521,9.2766,0.08281}, {73.3,-0.3521,9.2974,0.08283}, {73.4,-0.3521,9.3182,0.08284}, {73.5,-0.3521,9.339,0.08285}, {73.6,-0.3521,9.3597,0.08287}, {73.7,-0.3521,9.3803,0.08288}, {73.8,-0.3521,9.401,0.08289}, {73.9,-0.3521,9.4215,0.0829}, {74,-0.3521,9.442,0.08292}, {74.1,-0.3521,9.4625,0.08293}, {74.2,-0.3521,9.4829,0.08294}, {74.3,-0.3521,9.5032,0.08295}, {74.4,-0.3521,9.5235,0.08297}, {74.5,-0.3521,9.5438,0.08298}, {74.6,-0.3521,9.5639,0.08299}, {74.7,-0.3521,9.5841,0.083}, {74.8,-0.3521,9.6041,0.08301}, {74.9,-0.3521,9.6241,0.08302}, {75,-0.3521,9.644,0.08303}, {75.1,-0.3521,9.6639,0.08305}, {75.2,-0.3521,9.6836,0.08306}, {75.3,-0.3521,9.7033,0.08307}, {75.4,-0.3521,9.723,0.08307}, {75.5,-0.3521,9.7425,0.08308}, {75.6,-0.3521,9.762,0.08309}, {75.7,-0.3521,9.7814,0.0831}, {75.8,-0.3521,9.8007,0.08311}, {75.9,-0.3521,9.82,0.08312}, {76,-0.3521,9.8392,0.08312}, {76.1,-0.3521,9.8583,0.08313}, {76.2,-0.3521,9.8773,0.08314}, {76.3,-0.3521,9.8963,0.08314}, {76.4,-0.3521,9.9152,0.08315}, {76.5,-0.3521,9.9341,0.08315}, {76.6,-0.3521,9.9528,0.08316}, {76.7,-0.3521,9.9716,0.08316}, {76.8,-0.3521,9.9902,0.08317}, {76.9,-0.3521,10.0088,0.08317}, {77,-0.3521,10.0274,0.08317}, {77.1,-0.3521,10.0459,0.08318}, {77.2,-0.3521,10.0643,0.08318}, {77.3,-0.3521,10.0827,0.08318}, {77.4,-0.3521,10.1011,0.08318}, {77.5,-0.3521,10.1194,0.08318}, {77.6,-0.3521,10.1377,0.08318}, {77.7,-0.3521,10.1559,0.08318}, {77.8,-0.3521,10.1741,0.08318}, {77.9,-0.3521,10.1923,0.08317}, {78,-0.3521,10.2105,0.08317}, {78.1,-0.3521,10.2286,0.08317}, {78.2,-0.3521,10.2468,0.08316}, {78.3,-0.3521,10.2649,0.08316}, {78.4,-0.3521,10.2831,0.08315}, {78.5,-0.3521,10.3012,0.08315}, {78.6,-0.3521,10.3194,0.08314}, {78.7,-0.3521,10.3376,0.08313}, {78.8,-0.3521,10.3558,0.08313}, {78.9,-0.3521,10.3741,0.08312}, {79,-0.3521,10.3923,0.08311}, {79.1,-0.3521,10.4107,0.0831}, {79.2,-0.3521,10.4291,0.08309}, {79.3,-0.3521,10.4475,0.08308}, {79.4,-0.3521,10.466,0.08307}, {79.5,-0.3521,10.4845,0.08305}, {79.6,-0.3521,10.5031,0.08304}, {79.7,-0.3521,10.5217,0.08303}, {79.8,-0.3521,10.5405,0.08301}, {79.9,-0.3521,10.5592,0.083}, {80,-0.3521,10.5781,0.08298}, {80.1,-0.3521,10.597,0.08297}, {80.2,-0.3521,10.6161,0.08295}, {80.3,-0.3521,10.6352,0.08293}, {80.4,-0.3521,10.6544,0.08291}, {80.5,-0.3521,10.6737,0.0829}, {80.6,-0.3521,10.6931,0.08288}, {80.7,-0.3521,10.7126,0.08286}, {80.8,-0.3521,10.7322,0.08284}, {80.9,-0.3521,10.752,0.08282}, {81,-0.3521,10.7718,0.08279}, {81.1,-0.3521,10.7918,0.08277}, {81.2,-0.3521,10.8119,0.08275}, {81.3,-0.3521,10.8321,0.08273}, {81.4,-0.3521,10.8524,0.0827}, {81.5,-0.3521,10.8728,0.08268}, {81.6,-0.3521,10.8934,0.08265}, {81.7,-0.3521,10.9142,0.08263}, {81.8,-0.3521,10.935,0.0826}, {81.9,-0.3521,10.956,0.08258}, {82,-0.3521,10.9772,0.08255}, {82.1,-0.3521,10.9985,0.08252}, {82.2,-0.3521,11.0199,0.08249}, {82.3,-0.3521,11.0415,0.08246}, {82.4,-0.3521,11.0632,0.08244}, {82.5,-0.3521,11.0851,0.08241}, {82.6,-0.3521,11.1071,0.08238}, {82.7,-0.3521,11.1293,0.08235}, {82.8,-0.3521,11.1516,0.08231}, {82.9,-0.3521,11.174,0.08228}, {83,-0.3521,11.1966,0.08225}, {83.1,-0.3521,11.2193,0.08222}, {83.2,-0.3521,11.2422,0.08219}, {83.3,-0.3521,11.2651,0.08215}, {83.4,-0.3521,11.2882,0.08212}, {83.5,-0.3521,11.3114,0.08209}, {83.6,-0.3521,11.3347,0.08205}, {83.7,-0.3521,11.3581,0.08202}, {83.8,-0.3521,11.3817,0.08198}, {83.9,-0.3521,11.4053,0.08195}, {84,-0.3521,11.429,0.08191}, {84.1,-0.3521,11.4529,0.08188}, {84.2,-0.3521,11.4768,0.08184}, {84.3,-0.3521,11.5007,0.08181}, {84.4,-0.3521,11.5248,0.08177}, {84.5,-0.3521,11.549,0.08174}, {84.6,-0.3521,11.5732,0.0817}, {84.7,-0.3521,11.5975,0.08166}, {84.8,-0.3521,11.6218,0.08163}, {84.9,-0.3521,11.6462,0.08159}, {85,-0.3521,11.6707,0.08156}, {85.1,-0.3521,11.6952,0.08152}, {85.2,-0.3521,11.7198,0.08148}, {85.3,-0.3521,11.7444,0.08145}, {85.4,-0.3521,11.769,0.08141}, {85.5,-0.3521,11.7937,0.08138}, {85.6,-0.3521,11.8184,0.08134}, {85.7,-0.3521,11.8431,0.08131}, {85.8,-0.3521,11.8678,0.08128}, {85.9,-0.3521,11.8926,0.08124}, {86,-0.3521,11.9173,0.08121}, {86.1,-0.3521,11.9421,0.08118}, {86.2,-0.3521,11.9668,0.08114}, {86.3,-0.3521,11.9916,0.08111}, {86.4,-0.3521,12.0163,0.08108}, {86.5,-0.3521,12.0411,0.08105}, {86.6,-0.3521,12.0658,0.08102}, {86.7,-0.3521,12.0905,0.08099}, {86.8,-0.3521,12.1152,0.08096}, {86.9,-0.3521,12.1398,0.08093}, {87,-0.3521,12.1645,0.0809}, {87.1,-0.3521,12.1891,0.08087}, {87.2,-0.3521,12.2136,0.08084}, {87.3,-0.3521,12.2382,0.08082}, {87.4,-0.3521,12.2627,0.08079}, {87.5,-0.3521,12.2871,0.08076}, {87.6,-0.3521,12.3116,0.08074}, {87.7,-0.3521,12.336,0.08071}, {87.8,-0.3521,12.3603,0.08069}, {87.9,-0.3521,12.3846,0.08067}, {88,-0.3521,12.4089,0.08064}, {88.1,-0.3521,12.4332,0.08062}, {88.2,-0.3521,12.4574,0.0806}, {88.3,-0.3521,12.4815,0.08058}, {88.4,-0.3521,12.5057,0.08056}, {88.5,-0.3521,12.5298,0.08054}, {88.6,-0.3521,12.5538,0.08052}, {88.7,-0.3521,12.5778,0.0805}, {88.8,-0.3521,12.6017,0.08048}, {88.9,-0.3521,12.6257,0.08047}, {89,-0.3521,12.6495,0.08045}, {89.1,-0.3521,12.6734,0.08044}, {89.2,-0.3521,12.6972,0.08042}, {89.3,-0.3521,12.7209,0.08041}, {89.4,-0.3521,12.7446,0.08039}, {89.5,-0.3521,12.7683,0.08038}, {89.6,-0.3521,12.792,0.08037}, {89.7,-0.3521,12.8156,0.08035}, {89.8,-0.3521,12.8392,0.08034}, {89.9,-0.3521,12.8628,0.08033}, {90,-0.3521,12.8864,0.08032}, {90.1,-0.3521,12.9099,0.08031}, {90.2,-0.3521,12.9334,0.0803}, {90.3,-0.3521,12.9569,0.0803}, {90.4,-0.3521,12.9804,0.08029}, {90.5,-0.3521,13.0038,0.08028}, {90.6,-0.3521,13.0273,0.08027}, {90.7,-0.3521,13.0507,0.08027}, {90.8,-0.3521,13.0742,0.08026}, {90.9,-0.3521,13.0976,0.08026}, {91,-0.3521,13.1209,0.08025}, {91.1,-0.3521,13.1443,0.08025}, {91.2,-0.3521,13.1677,0.08025}, {91.3,-0.3521,13.191,0.08025}, {91.4,-0.3521,13.2143,0.08025}, {91.5,-0.3521,13.2376,0.08024}, {91.6,-0.3521,13.2609,0.08024}, {91.7,-0.3521,13.2842,0.08024}, {91.8,-0.3521,13.3075,0.08025}, {91.9,-0.3521,13.3308,0.08025}, {92,-0.3521,13.3541,0.08025}, {92.1,-0.3521,13.3773,0.08025}, {92.2,-0.3521,13.4006,0.08026}, {92.3,-0.3521,13.4239,0.08026}, {92.4,-0.3521,13.4472,0.08027}, {92.5,-0.3521,13.4705,0.08027}, {92.6,-0.3521,13.4937,0.08028}, {92.7,-0.3521,13.5171,0.08028}, {92.8,-0.3521,13.5404,0.08029}, {92.9,-0.3521,13.5637,0.0803}, {93,-0.3521,13.587,0.08031}, {93.1,-0.3521,13.6104,0.08032}, {93.2,-0.3521,13.6338,0.08033}, {93.3,-0.3521,13.6572,0.08034}, {93.4,-0.3521,13.6806,0.08035}, {93.5,-0.3521,13.7041,0.08036}, {93.6,-0.3521,13.7275,0.08037}, {93.7,-0.3521,13.751,0.08038}, {93.8,-0.3521,13.7746,0.0804}, {93.9,-0.3521,13.7981,0.08041}, {94,-0.3521,13.8217,0.08043}, {94.1,-0.3521,13.8454,0.08044}, {94.2,-0.3521,13.8691,0.08046}, {94.3,-0.3521,13.8928,0.08047}, {94.4,-0.3521,13.9165,0.08049}, {94.5,-0.3521,13.9403,0.08051}, {94.6,-0.3521,13.9642,0.08052}, {94.7,-0.3521,13.9881,0.08054}, {94.8,-0.3521,14.012,0.08056}, {94.9,-0.3521,14.036,0.08058}, {95,-0.3521,14.06,0.0806}, {95.1,-0.3521,14.0841,0.08062}, {95.2,-0.3521,14.1083,0.08064}, {95.3,-0.3521,14.1325,0.08067}, {95.4,-0.3521,14.1567,0.08069}, {95.5,-0.3521,14.1811,0.08071}, {95.6,-0.3521,14.2055,0.08073}, {95.7,-0.3521,14.2299,0.08076}, {95.8,-0.3521,14.2544,0.08078}, {95.9,-0.3521,14.279,0.08081}, {96,-0.3521,14.3037,0.08083}, {96.1,-0.3521,14.3284,0.08086}, {96.2,-0.3521,14.3533,0.08089}, {96.3,-0.3521,14.3782,0.08092}, {96.4,-0.3521,14.4031,0.08094}, {96.5,-0.3521,14.4282,0.08097}, {96.6,-0.3521,14.4533,0.081}, {96.7,-0.3521,14.4785,0.08103}, {96.8,-0.3521,14.5038,0.08106}, {96.9,-0.3521,14.5292,0.08109}, {97,-0.3521,14.5547,0.08112}, {97.1,-0.3521,14.5802,0.08116}, {97.2,-0.3521,14.6058,0.08119}, {97.3,-0.3521,14.6316,0.08122}, {97.4,-0.3521,14.6574,0.08125}, {97.5,-0.3521,14.6832,0.08129}, {97.6,-0.3521,14.7092,0.08132}, {97.7,-0.3521,14.7353,0.08136}, {97.8,-0.3521,14.7614,0.08139}, {97.9,-0.3521,14.7877,0.08143}, {98,-0.3521,14.814,0.08146}, {98.1,-0.3521,14.8404,0.0815}, {98.2,-0.3521,14.8669,0.08154}, {98.3,-0.3521,14.8934,0.08157}, {98.4,-0.3521,14.9201,0.08161}, {98.5,-0.3521,14.9468,0.08165}, {98.6,-0.3521,14.9736,0.08169}, {98.7,-0.3521,15.0005,0.08173}, {98.8,-0.3521,15.0275,0.08177}, {98.9,-0.3521,15.0546,0.08181}, {99,-0.3521,15.0818,0.08185}, {99.1,-0.3521,15.109,0.08189}, {99.2,-0.3521,15.1363,0.08194}, {99.3,-0.3521,15.1637,0.08198}, {99.4,-0.3521,15.1912,0.08202}, {99.5,-0.3521,15.2187,0.08206}, {99.6,-0.3521,15.2463,0.08211}, {99.7,-0.3521,15.274,0.08215}, {99.8,-0.3521,15.3018,0.0822}, {99.9,-0.3521,15.3297,0.08224}, {100,-0.3521,15.3576,0.08229}, {100.1,-0.3521,15.3856,0.08233}, {100.2,-0.3521,15.4137,0.08238}, {100.3,-0.3521,15.4419,0.08243}, {100.4,-0.3521,15.4701,0.08247}, {100.5,-0.3521,15.4985,0.08252}, {100.6,-0.3521,15.5268,0.08257}, {100.7,-0.3521,15.5553,0.08262}, {100.8,-0.3521,15.5838,0.08267}, {100.9,-0.3521,15.6125,0.08272}, {101,-0.3521,15.6412,0.08277}, {101.1,-0.3521,15.6699,0.08281}, {101.2,-0.3521,15.6987,0.08287}, {101.3,-0.3521,15.7276,0.08292}, {101.4,-0.3521,15.7566,0.08297}, {101.5,-0.3521,15.7857,0.08302}, {101.6,-0.3521,15.8148,0.08307}, {101.7,-0.3521,15.844,0.08312}, {101.8,-0.3521,15.8732,0.08317}, {101.9,-0.3521,15.9026,0.08322}, {102,-0.3521,15.932,0.08328}, {102.1,-0.3521,15.9615,0.08333}, {102.2,-0.3521,15.991,0.08338}, {102.3,-0.3521,16.0206,0.08343}, {102.4,-0.3521,16.0503,0.08349}, {102.5,-0.3521,16.0801,0.08354}, {102.6,-0.3521,16.1099,0.08359}, {102.7,-0.3521,16.1398,0.08365}, {102.8,-0.3521,16.1697,0.0837}, {102.9,-0.3521,16.1997,0.08376}, {103,-0.3521,16.2298,0.08381}, {103.1,-0.3521,16.26,0.08386}, {103.2,-0.3521,16.2902,0.08392}, {103.3,-0.3521,16.3204,0.08397}, {103.4,-0.3521,16.3508,0.08403}, {103.5,-0.3521,16.3812,0.08408}, {103.6,-0.3521,16.4117,0.08414}, {103.7,-0.3521,16.4422,0.08419}, {103.8,-0.3521,16.4728,0.08425}, {103.9,-0.3521,16.5035,0.08431}, {104,-0.3521,16.5342,0.08436}, {104.1,-0.3521,16.565,0.08442}, {104.2,-0.3521,16.5959,0.08447}, {104.3,-0.3521,16.6268,0.08453}, {104.4,-0.3521,16.6579,0.08458}, {104.5,-0.3521,16.6889,0.08464}, {104.6,-0.3521,16.7201,0.0847}, {104.7,-0.3521,16.7513,0.08475}, {104.8,-0.3521,16.7826,0.08481}, {104.9,-0.3521,16.8139,0.08487}, {105,-0.3521,16.8454,0.08493}, {105.1,-0.3521,16.8769,0.08498}, {105.2,-0.3521,16.9084,0.08504}, {105.3,-0.3521,16.9401,0.0851}, {105.4,-0.3521,16.9718,0.08516}, {105.5,-0.3521,17.0036,0.08521}, {105.6,-0.3521,17.0355,0.08527}, {105.7,-0.3521,17.0674,0.08533}, {105.8,-0.3521,17.0995,0.08539}, {105.9,-0.3521,17.1316,0.08545}, {106,-0.3521,17.1637,0.08551}, {106.1,-0.3521,17.196,0.08557}, {106.2,-0.3521,17.2283,0.08562}, {106.3,-0.3521,17.2607,0.08568}, {106.4,-0.3521,17.2931,0.08574}, {106.5,-0.3521,17.3256,0.0858}, {106.6,-0.3521,17.3582,0.08586}, {106.7,-0.3521,17.3909,0.08592}, {106.8,-0.3521,17.4237,0.08599}, {106.9,-0.3521,17.4565,0.08605}, {107,-0.3521,17.4894,0.08611}, {107.1,-0.3521,17.5224,0.08617}, {107.2,-0.3521,17.5554,0.08623}, {107.3,-0.3521,17.5885,0.08629}, {107.4,-0.3521,17.6217,0.08635}, {107.5,-0.3521,17.655,0.08641}, {107.6,-0.3521,17.6884,0.08648}, {107.7,-0.3521,17.7218,0.08654}, {107.8,-0.3521,17.7553,0.0866}, {107.9,-0.3521,17.7889,0.08666}, {108,-0.3521,17.8226,0.08673}, {108.1,-0.3521,17.8564,0.08679}, {108.2,-0.3521,17.8903,0.08685}, {108.3,-0.3521,17.9242,0.08691}, {108.4,-0.3521,17.9583,0.08698}, {108.5,-0.3521,17.9924,0.08704}, {108.6,-0.3521,18.0267,0.0871}, {108.7,-0.3521,18.061,0.08717}, {108.8,-0.3521,18.0954,0.08723}, {108.9,-0.3521,18.1299,0.0873}, {109,-0.3521,18.1645,0.08736}, {109.1,-0.3521,18.1992,0.08742}, {109.2,-0.3521,18.234,0.08749}, {109.3,-0.3521,18.2689,0.08755}, {109.4,-0.3521,18.3039,0.08762}, {109.5,-0.3521,18.339,0.08768}, {109.6,-0.3521,18.3742,0.08774}, {109.7,-0.3521,18.4094,0.08781}, {109.8,-0.3521,18.4448,0.08787}, {109.9,-0.3521,18.4802,0.08794}, {110,-0.3521,18.5158,0.088}, {110.1,-0.3521,18.5514,0.08806}, {110.2,-0.3521,18.5871,0.08813}, {110.3,-0.3521,18.6229,0.08819}, {110.4,-0.3521,18.6588,0.08826}, {110.5,-0.3521,18.6948,0.08832}, {110.6,-0.3521,18.7308,0.08838}, {110.7,-0.3521,18.767,0.08845}, {110.8,-0.3521,18.8032,0.08851}, {110.9,-0.3521,18.8395,0.08858}, {111,-0.3521,18.8759,0.08864}, {111.1,-0.3521,18.9123,0.08871}, {111.2,-0.3521,18.9489,0.08877}, {111.3,-0.3521,18.9855,0.08883}, {111.4,-0.3521,19.0222,0.0889}, {111.5,-0.3521,19.059,0.08896}, {111.6,-0.3521,19.0958,0.08903}, {111.7,-0.3521,19.1327,0.08909}, {111.8,-0.3521,19.1697,0.08915}, {111.9,-0.3521,19.2067,0.08922}, {112,-0.3521,19.2439,0.08928}, {112.1,-0.3521,19.281,0.08934}, {112.2,-0.3521,19.3183,0.08941}, {112.3,-0.3521,19.3556,0.08947}, {112.4,-0.3521,19.393,0.08953}, {112.5,-0.3521,19.4304,0.0896}, {112.6,-0.3521,19.4679,0.08966}, {112.7,-0.3521,19.5055,0.08972}, {112.8,-0.3521,19.5431,0.08979}, {112.9,-0.3521,19.5807,0.08985}, {113,-0.3521,19.6185,0.08991}, {113.1,-0.3521,19.6563,0.08997}, {113.2,-0.3521,19.6941,0.09004}, {113.3,-0.3521,19.7321,0.0901}, {113.4,-0.3521,19.77,0.09016}, {113.5,-0.3521,19.8081,0.09022}, {113.6,-0.3521,19.8461,0.09029}, {113.7,-0.3521,19.8843,0.09035}, {113.8,-0.3521,19.9225,0.09041}, {113.9,-0.3521,19.9607,0.09047}, {114,-0.3521,19.999,0.09054}, {114.1,-0.3521,20.0373,0.0906}, {114.2,-0.3521,20.0757,0.09066}, {114.3,-0.3521,20.1142,0.09072}, {114.4,-0.3521,20.1527,0.09079}, {114.5,-0.3521,20.1912,0.09085}, {114.6,-0.3521,20.2298,0.09091}, {114.7,-0.3521,20.2684,0.09097}, {114.8,-0.3521,20.3071,0.09103}, {114.9,-0.3521,20.3458,0.0911}, {115,-0.3521,20.3846,0.09116}, {115.1,-0.3521,20.4233,0.09122}, {115.2,-0.3521,20.4622,0.09128}, {115.3,-0.3521,20.501,0.09134}, {115.4,-0.3521,20.54,0.0914}, {115.5,-0.3521,20.5789,0.09147}, {115.6,-0.3521,20.6179,0.09153}, {115.7,-0.3521,20.6569,0.09159}, {115.8,-0.3521,20.6959,0.09165}, {115.9,-0.3521,20.735,0.09171}, {116,-0.3521,20.7741,0.09177}, {116.1,-0.3521,20.8132,0.09183}, {116.2,-0.3521,20.8524,0.0919}, {116.3,-0.3521,20.8916,0.09196}, {116.4,-0.3521,20.9308,0.09202}, {116.5,-0.3521,20.97,0.09208}, {116.6,-0.3521,21.0093,0.09214}, {116.7,-0.3521,21.0486,0.0922}, {116.8,-0.3521,21.0879,0.09227}, {116.9,-0.3521,21.1272,0.09233}, {117,-0.3521,21.1666,0.09239}, {117.1,-0.3521,21.2059,0.09245}, {117.2,-0.3521,21.2453,0.09251}, {117.3,-0.3521,21.2847,0.09257}, {117.4,-0.3521,21.3242,0.09263}, {117.5,-0.3521,21.3636,0.0927}, {117.6,-0.3521,21.4031,0.09276}, {117.7,-0.3521,21.4426,0.09282}, {117.8,-0.3521,21.482,0.09288}, {117.9,-0.3521,21.5215,0.09294}, {118,-0.3521,21.5611,0.093}, {118.1,-0.3521,21.6006,0.09307}, {118.2,-0.3521,21.6401,0.09313}, {118.3,-0.3521,21.6797,0.09319}, {118.4,-0.3521,21.7193,0.09325}, {118.5,-0.3521,21.7588,0.09331}, {118.6,-0.3521,21.7984,0.09338}, {118.7,-0.3521,21.838,0.09344}, {118.8,-0.3521,21.8776,0.0935}, {118.9,-0.3521,21.9172,0.09356}, {119,-0.3521,21.9568,0.09362}, {119.1,-0.3521,21.9964,0.09368}, {119.2,-0.3521,22.036,0.09375}, {119.3,-0.3521,22.0757,0.09381}, {119.4,-0.3521,22.1153,0.09387}, {119.5,-0.3521,22.1549,0.09393}, {119.6,-0.3521,22.1945,0.09399}, {119.7,-0.3521,22.2341,0.09406}, {119.8,-0.3521,22.2738,0.09412}, {119.9,-0.3521,22.3134,0.09418}, {120,-0.3521,22.353,0.09424} }; return boysWeightForHeight[index < boysWeightForHeight.length ? index : boysWeightForHeight.length]; } public double[]getGirlsWeightForHeight(int index){ double[][]girlsWeightForHeight = { {65,-0.3833,7.2402,0.09113}, {65.1,-0.3833,7.2627,0.09112}, {65.2,-0.3833,7.2852,0.09111}, {65.3,-0.3833,7.3076,0.0911}, {65.4,-0.3833,7.33,0.09109}, {65.5,-0.3833,7.3523,0.09109}, {65.6,-0.3833,7.3745,0.09108}, {65.7,-0.3833,7.3967,0.09107}, {65.8,-0.3833,7.4189,0.09106}, {65.9,-0.3833,7.441,0.09105}, {66,-0.3833,7.463,0.09104}, {66.1,-0.3833,7.485,0.09103}, {66.2,-0.3833,7.5069,0.09102}, {66.3,-0.3833,7.5288,0.09101}, {66.4,-0.3833,7.5507,0.091}, {66.5,-0.3833,7.5724,0.09099}, {66.6,-0.3833,7.5942,0.09098}, {66.7,-0.3833,7.6158,0.09097}, {66.8,-0.3833,7.6375,0.09096}, {66.9,-0.3833,7.659,0.09095}, {67,-0.3833,7.6806,0.09094}, {67.1,-0.3833,7.702,0.09093}, {67.2,-0.3833,7.7234,0.09091}, {67.3,-0.3833,7.7448,0.0909}, {67.4,-0.3833,7.7661,0.09089}, {67.5,-0.3833,7.7874,0.09088}, {67.6,-0.3833,7.8086,0.09087}, {67.7,-0.3833,7.8298,0.09086}, {67.8,-0.3833,7.8509,0.09085}, {67.9,-0.3833,7.872,0.09084}, {68,-0.3833,7.893,0.09083}, {68.1,-0.3833,7.914,0.09082}, {68.2,-0.3833,7.935,0.0908}, {68.3,-0.3833,7.9559,0.09079}, {68.4,-0.3833,7.9768,0.09078}, {68.5,-0.3833,7.9976,0.09077}, {68.6,-0.3833,8.0184,0.09076}, {68.7,-0.3833,8.0392,0.09075}, {68.8,-0.3833,8.0599,0.09074}, {68.9,-0.3833,8.0806,0.09072}, {69,-0.3833,8.1012,0.09071}, {69.1,-0.3833,8.1218,0.0907}, {69.2,-0.3833,8.1424,0.09069}, {69.3,-0.3833,8.163,0.09068}, {69.4,-0.3833,8.1835,0.09067}, {69.5,-0.3833,8.2039,0.09065}, {69.6,-0.3833,8.2244,0.09064}, {69.7,-0.3833,8.2448,0.09063}, {69.8,-0.3833,8.2651,0.09062}, {69.9,-0.3833,8.2855,0.09061}, {70,-0.3833,8.3058,0.09059}, {70.1,-0.3833,8.3261,0.09058}, {70.2,-0.3833,8.3464,0.09057}, {70.3,-0.3833,8.3666,0.09056}, {70.4,-0.3833,8.3869,0.09055}, {70.5,-0.3833,8.4071,0.09053}, {70.6,-0.3833,8.4273,0.09052}, {70.7,-0.3833,8.4474,0.09051}, {70.8,-0.3833,8.4676,0.0905}, {70.9,-0.3833,8.4877,0.09048}, {71,-0.3833,8.5078,0.09047}, {71.1,-0.3833,8.5278,0.09046}, {71.2,-0.3833,8.5479,0.09045}, {71.3,-0.3833,8.5679,0.09043}, {71.4,-0.3833,8.5879,0.09042}, {71.5,-0.3833,8.6078,0.09041}, {71.6,-0.3833,8.6277,0.0904}, {71.7,-0.3833,8.6476,0.09039}, {71.8,-0.3833,8.6674,0.09037}, {71.9,-0.3833,8.6872,0.09036}, {72,-0.3833,8.707,0.09035}, {72.1,-0.3833,8.7267,0.09034}, {72.2,-0.3833,8.7464,0.09032}, {72.3,-0.3833,8.7661,0.09031}, {72.4,-0.3833,8.7857,0.0903}, {72.5,-0.3833,8.8053,0.09028}, {72.6,-0.3833,8.8248,0.09027}, {72.7,-0.3833,8.8443,0.09026}, {72.8,-0.3833,8.8638,0.09025}, {72.9,-0.3833,8.8831,0.09023}, {73,-0.3833,8.9025,0.09022}, {73.1,-0.3833,8.9217,0.09021}, {73.2,-0.3833,8.941,0.0902}, {73.3,-0.3833,8.9601,0.09018}, {73.4,-0.3833,8.9792,0.09017}, {73.5,-0.3833,8.9983,0.09016}, {73.6,-0.3833,9.0173,0.09014}, {73.7,-0.3833,9.0363,0.09013}, {73.8,-0.3833,9.0552,0.09012}, {73.9,-0.3833,9.074,0.09011}, {74,-0.3833,9.0928,0.09009}, {74.1,-0.3833,9.1116,0.09008}, {74.2,-0.3833,9.1303,0.09007}, {74.3,-0.3833,9.149,0.09005}, {74.4,-0.3833,9.1676,0.09004}, {74.5,-0.3833,9.1862,0.09003}, {74.6,-0.3833,9.2048,0.09001}, {74.7,-0.3833,9.2233,0.09}, {74.8,-0.3833,9.2418,0.08999}, {74.9,-0.3833,9.2602,0.08997}, {75,-0.3833,9.2786,0.08996}, {75.1,-0.3833,9.297,0.08995}, {75.2,-0.3833,9.3154,0.08993}, {75.3,-0.3833,9.3337,0.08992}, {75.4,-0.3833,9.352,0.08991}, {75.5,-0.3833,9.3703,0.08989}, {75.6,-0.3833,9.3886,0.08988}, {75.7,-0.3833,9.4069,0.08987}, {75.8,-0.3833,9.4252,0.08985}, {75.9,-0.3833,9.4435,0.08984}, {76,-0.3833,9.4617,0.08983}, {76.1,-0.3833,9.48,0.08981}, {76.2,-0.3833,9.4983,0.0898}, {76.3,-0.3833,9.5166,0.08979}, {76.4,-0.3833,9.535,0.08977}, {76.5,-0.3833,9.5533,0.08976}, {76.6,-0.3833,9.5717,0.08975}, {76.7,-0.3833,9.5901,0.08973}, {76.8,-0.3833,9.6086,0.08972}, {76.9,-0.3833,9.6271,0.08971}, {77,-0.3833,9.6456,0.08969}, {77.1,-0.3833,9.6642,0.08968}, {77.2,-0.3833,9.6828,0.08966}, {77.3,-0.3833,9.7015,0.08965}, {77.4,-0.3833,9.7202,0.08964}, {77.5,-0.3833,9.739,0.08963}, {77.6,-0.3833,9.7578,0.08961}, {77.7,-0.3833,9.7767,0.0896}, {77.8,-0.3833,9.7957,0.08959}, {77.9,-0.3833,9.8147,0.08957}, {78,-0.3833,9.8338,0.08956}, {78.1,-0.3833,9.853,0.08955}, {78.2,-0.3833,9.8722,0.08953}, {78.3,-0.3833,9.8915,0.08952}, {78.4,-0.3833,9.9109,0.08951}, {78.5,-0.3833,9.9303,0.0895}, {78.6,-0.3833,9.9499,0.08948}, {78.7,-0.3833,9.9695,0.08947}, {78.8,-0.3833,9.9892,0.08946}, {78.9,-0.3833,10.009,0.08945}, {79,-0.3833,10.0289,0.08943}, {79.1,-0.3833,10.0489,0.08942}, {79.2,-0.3833,10.069,0.08941}, {79.3,-0.3833,10.0891,0.0894}, {79.4,-0.3833,10.1094,0.08939}, {79.5,-0.3833,10.1298,0.08937}, {79.6,-0.3833,10.1503,0.08936}, {79.7,-0.3833,10.1709,0.08935}, {79.8,-0.3833,10.1916,0.08934}, {79.9,-0.3833,10.2123,0.08933}, {80,-0.3833,10.2332,0.08932}, {80.1,-0.3833,10.2542,0.0893}, {80.2,-0.3833,10.2753,0.08929}, {80.3,-0.3833,10.2965,0.08928}, {80.4,-0.3833,10.3178,0.08927}, {80.5,-0.3833,10.3393,0.08926}, {80.6,-0.3833,10.3608,0.08925}, {80.7,-0.3833,10.3824,0.08924}, {80.8,-0.3833,10.4041,0.08923}, {80.9,-0.3833,10.4258,0.08922}, {81,-0.3833,10.4477,0.08921}, {81.1,-0.3833,10.4697,0.0892}, {81.2,-0.3833,10.4918,0.08919}, {81.3,-0.3833,10.514,0.08918}, {81.4,-0.3833,10.5363,0.08917}, {81.5,-0.3833,10.5586,0.08916}, {81.6,-0.3833,10.5811,0.08915}, {81.7,-0.3833,10.6037,0.08915}, {81.8,-0.3833,10.6263,0.08914}, {81.9,-0.3833,10.6491,0.08913}, {82,-0.3833,10.6719,0.08912}, {82.1,-0.3833,10.6948,0.08911}, {82.2,-0.3833,10.7178,0.0891}, {82.3,-0.3833,10.741,0.0891}, {82.4,-0.3833,10.7641,0.08909}, {82.5,-0.3833,10.7874,0.08908}, {82.6,-0.3833,10.8108,0.08907}, {82.7,-0.3833,10.8343,0.08907}, {82.8,-0.3833,10.8578,0.08906}, {82.9,-0.3833,10.8814,0.08905}, {83,-0.3833,10.9051,0.08905}, {83.1,-0.3833,10.9289,0.08904}, {83.2,-0.3833,10.9527,0.08903}, {83.3,-0.3833,10.9767,0.08903}, {83.4,-0.3833,11.0007,0.08902}, {83.5,-0.3833,11.0248,0.08902}, {83.6,-0.3833,11.0489,0.08901}, {83.7,-0.3833,11.0731,0.08901}, {83.8,-0.3833,11.0974,0.089}, {83.9,-0.3833,11.1218,0.089}, {84,-0.3833,11.1462,0.08899}, {84.1,-0.3833,11.1707,0.08899}, {84.2,-0.3833,11.1952,0.08899}, {84.3,-0.3833,11.2198,0.08898}, {84.4,-0.3833,11.2444,0.08898}, {84.5,-0.3833,11.2691,0.08897}, {84.6,-0.3833,11.2939,0.08897}, {84.7,-0.3833,11.3187,0.08897}, {84.8,-0.3833,11.3435,0.08897}, {84.9,-0.3833,11.3684,0.08896}, {85,-0.3833,11.3934,0.08896}, {85.1,-0.3833,11.4183,0.08896}, {85.2,-0.3833,11.4434,0.08896}, {85.3,-0.3833,11.4684,0.08895}, {85.4,-0.3833,11.4935,0.08895}, {85.5,-0.3833,11.5186,0.08895}, {85.6,-0.3833,11.5437,0.08895}, {85.7,-0.3833,11.5689,0.08895}, {85.8,-0.3833,11.594,0.08895}, {85.9,-0.3833,11.6192,0.08895}, {86,-0.3833,11.6444,0.08895}, {86.1,-0.3833,11.6696,0.08895}, {86.2,-0.3833,11.6948,0.08895}, {86.3,-0.3833,11.7201,0.08895}, {86.4,-0.3833,11.7453,0.08895}, {86.5,-0.3833,11.7705,0.08895}, {86.6,-0.3833,11.7957,0.08895}, {86.7,-0.3833,11.8209,0.08895}, {86.8,-0.3833,11.8461,0.08895}, {86.9,-0.3833,11.8713,0.08896}, {87,-0.3833,11.8965,0.08896}, {87.1,-0.3833,11.9217,0.08896}, {87.2,-0.3833,11.9468,0.08896}, {87.3,-0.3833,11.972,0.08896}, {87.4,-0.3833,11.9971,0.08897}, {87.5,-0.3833,12.0223,0.08897}, {87.6,-0.3833,12.0474,0.08897}, {87.7,-0.3833,12.0725,0.08898}, {87.8,-0.3833,12.0976,0.08898}, {87.9,-0.3833,12.1227,0.08898}, {88,-0.3833,12.1478,0.08899}, {88.1,-0.3833,12.1728,0.08899}, {88.2,-0.3833,12.1978,0.089}, {88.3,-0.3833,12.2229,0.089}, {88.4,-0.3833,12.2479,0.08901}, {88.5,-0.3833,12.2729,0.08901}, {88.6,-0.3833,12.2978,0.08902}, {88.7,-0.3833,12.3228,0.08902}, {88.8,-0.3833,12.3477,0.08903}, {88.9,-0.3833,12.3727,0.08903}, {89,-0.3833,12.3976,0.08904}, {89.1,-0.3833,12.4225,0.08904}, {89.2,-0.3833,12.4474,0.08905}, {89.3,-0.3833,12.4723,0.08906}, {89.4,-0.3833,12.4971,0.08906}, {89.5,-0.3833,12.522,0.08907}, {89.6,-0.3833,12.5468,0.08908}, {89.7,-0.3833,12.5717,0.08909}, {89.8,-0.3833,12.5965,0.08909}, {89.9,-0.3833,12.6213,0.0891}, {90,-0.3833,12.6461,0.08911}, {90.1,-0.3833,12.6709,0.08912}, {90.2,-0.3833,12.6957,0.08912}, {90.3,-0.3833,12.7205,0.08913}, {90.4,-0.3833,12.7453,0.08914}, {90.5,-0.3833,12.77,0.08915}, {90.6,-0.3833,12.7948,0.08916}, {90.7,-0.3833,12.8196,0.08917}, {90.8,-0.3833,12.8443,0.08918}, {90.9,-0.3833,12.8691,0.08919}, {91,-0.3833,12.8939,0.0892}, {91.1,-0.3833,12.9186,0.08921}, {91.2,-0.3833,12.9434,0.08922}, {91.3,-0.3833,12.9681,0.08923}, {91.4,-0.3833,12.9929,0.08924}, {91.5,-0.3833,13.0177,0.08925}, {91.6,-0.3833,13.0424,0.08926}, {91.7,-0.3833,13.0672,0.08927}, {91.8,-0.3833,13.092,0.08928}, {91.9,-0.3833,13.1167,0.0893}, {92,-0.3833,13.1415,0.08931}, {92.1,-0.3833,13.1663,0.08932}, {92.2,-0.3833,13.1911,0.08933}, {92.3,-0.3833,13.2158,0.08934}, {92.4,-0.3833,13.2406,0.08936}, {92.5,-0.3833,13.2654,0.08937}, {92.6,-0.3833,13.2902,0.08938}, {92.7,-0.3833,13.3151,0.0894}, {92.8,-0.3833,13.3399,0.08941}, {92.9,-0.3833,13.3647,0.08942}, {93,-0.3833,13.3896,0.08944}, {93.1,-0.3833,13.4145,0.08945}, {93.2,-0.3833,13.4394,0.08947}, {93.3,-0.3833,13.4643,0.08948}, {93.4,-0.3833,13.4892,0.08949}, {93.5,-0.3833,13.5142,0.08951}, {93.6,-0.3833,13.5391,0.08952}, {93.7,-0.3833,13.5641,0.08954}, {93.8,-0.3833,13.5892,0.08955}, {93.9,-0.3833,13.6142,0.08957}, {94,-0.3833,13.6393,0.08959}, {94.1,-0.3833,13.6644,0.0896}, {94.2,-0.3833,13.6895,0.08962}, {94.3,-0.3833,13.7146,0.08963}, {94.4,-0.3833,13.7398,0.08965}, {94.5,-0.3833,13.765,0.08967}, {94.6,-0.3833,13.7902,0.08968}, {94.7,-0.3833,13.8155,0.0897}, {94.8,-0.3833,13.8408,0.08972}, {94.9,-0.3833,13.8661,0.08974}, {95,-0.3833,13.8914,0.08975}, {95.1,-0.3833,13.9168,0.08977}, {95.2,-0.3833,13.9422,0.08979}, {95.3,-0.3833,13.9676,0.08981}, {95.4,-0.3833,13.9931,0.08983}, {95.5,-0.3833,14.0186,0.08984}, {95.6,-0.3833,14.0441,0.08986}, {95.7,-0.3833,14.0697,0.08988}, {95.8,-0.3833,14.0953,0.0899}, {95.9,-0.3833,14.1209,0.08992}, {96,-0.3833,14.1466,0.08994}, {96.1,-0.3833,14.1724,0.08996}, {96.2,-0.3833,14.1981,0.08998}, {96.3,-0.3833,14.2239,0.09}, {96.4,-0.3833,14.2498,0.09002}, {96.5,-0.3833,14.2757,0.09004}, {96.6,-0.3833,14.3016,0.09006}, {96.7,-0.3833,14.3276,0.09008}, {96.8,-0.3833,14.3537,0.0901}, {96.9,-0.3833,14.3798,0.09012}, {97,-0.3833,14.4059,0.09015}, {97.1,-0.3833,14.4321,0.09017}, {97.2,-0.3833,14.4584,0.09019}, {97.3,-0.3833,14.4848,0.09021}, {97.4,-0.3833,14.5112,0.09023}, {97.5,-0.3833,14.5376,0.09026}, {97.6,-0.3833,14.5642,0.09028}, {97.7,-0.3833,14.5908,0.0903}, {97.8,-0.3833,14.6174,0.09033}, {97.9,-0.3833,14.6442,0.09035}, {98,-0.3833,14.671,0.09037}, {98.1,-0.3833,14.6979,0.0904}, {98.2,-0.3833,14.7248,0.09042}, {98.3,-0.3833,14.7519,0.09044}, {98.4,-0.3833,14.779,0.09047}, {98.5,-0.3833,14.8062,0.09049}, {98.6,-0.3833,14.8334,0.09052}, {98.7,-0.3833,14.8608,0.09054}, {98.8,-0.3833,14.8882,0.09057}, {98.9,-0.3833,14.9157,0.09059}, {99,-0.3833,14.9434,0.09062}, {99.1,-0.3833,14.9711,0.09064}, {99.2,-0.3833,14.9989,0.09067}, {99.3,-0.3833,15.0267,0.09069}, {99.4,-0.3833,15.0547,0.09072}, {99.5,-0.3833,15.0828,0.09075}, {99.6,-0.3833,15.1109,0.09077}, {99.7,-0.3833,15.1392,0.0908}, {99.8,-0.3833,15.1676,0.09083}, {99.9,-0.3833,15.196,0.09085}, {100,-0.3833,15.2246,0.09088}, {100.1,-0.3833,15.2532,0.09091}, {100.2,-0.3833,15.2819,0.09093}, {100.3,-0.3833,15.3108,0.09096}, {100.4,-0.3833,15.3397,0.09099}, {100.5,-0.3833,15.3687,0.09102}, {100.6,-0.3833,15.3979,0.09105}, {100.7,-0.3833,15.4271,0.09107}, {100.8,-0.3833,15.4564,0.0911}, {100.9,-0.3833,15.4858,0.09113}, {101,-0.3833,15.5154,0.09116}, {101.1,-0.3833,15.545,0.09119}, {101.2,-0.3833,15.5747,0.09122}, {101.3,-0.3833,15.6046,0.09125}, {101.4,-0.3833,15.6345,0.09128}, {101.5,-0.3833,15.6646,0.09131}, {101.6,-0.3833,15.6947,0.09133}, {101.7,-0.3833,15.725,0.09136}, {101.8,-0.3833,15.7553,0.09139}, {101.9,-0.3833,15.7858,0.09142}, {102,-0.3833,15.8164,0.09146}, {102.1,-0.3833,15.847,0.09149}, {102.2,-0.3833,15.8778,0.09152}, {102.3,-0.3833,15.9087,0.09155}, {102.4,-0.3833,15.9396,0.09158}, {102.5,-0.3833,15.9707,0.09161}, {102.6,-0.3833,16.0019,0.09164}, {102.7,-0.3833,16.0332,0.09167}, {102.8,-0.3833,16.0645,0.0917}, {102.9,-0.3833,16.096,0.09173}, {103,-0.3833,16.1276,0.09177}, {103.1,-0.3833,16.1593,0.0918}, {103.2,-0.3833,16.191,0.09183}, {103.3,-0.3833,16.2229,0.09186}, {103.4,-0.3833,16.2549,0.0919}, {103.5,-0.3833,16.287,0.09193}, {103.6,-0.3833,16.3191,0.09196}, {103.7,-0.3833,16.3514,0.09199}, {103.8,-0.3833,16.3837,0.09203}, {103.9,-0.3833,16.4162,0.09206}, {104,-0.3833,16.4488,0.09209}, {104.1,-0.3833,16.4814,0.09213}, {104.2,-0.3833,16.5142,0.09216}, {104.3,-0.3833,16.547,0.09219}, {104.4,-0.3833,16.58,0.09223}, {104.5,-0.3833,16.6131,0.09226}, {104.6,-0.3833,16.6462,0.09229}, {104.7,-0.3833,16.6795,0.09233}, {104.8,-0.3833,16.7129,0.09236}, {104.9,-0.3833,16.7464,0.0924}, {105,-0.3833,16.78,0.09243}, {105.1,-0.3833,16.8137,0.09247}, {105.2,-0.3833,16.8475,0.0925}, {105.3,-0.3833,16.8814,0.09254}, {105.4,-0.3833,16.9154,0.09257}, {105.5,-0.3833,16.9496,0.09261}, {105.6,-0.3833,16.9838,0.09264}, {105.7,-0.3833,17.0182,0.09268}, {105.8,-0.3833,17.0527,0.09271}, {105.9,-0.3833,17.0873,0.09275}, {106,-0.3833,17.122,0.09278}, {106.1,-0.3833,17.1569,0.09282}, {106.2,-0.3833,17.1918,0.09286}, {106.3,-0.3833,17.2269,0.09289}, {106.4,-0.3833,17.262,0.09293}, {106.5,-0.3833,17.2973,0.09296}, {106.6,-0.3833,17.3327,0.093}, {106.7,-0.3833,17.3683,0.09304}, {106.8,-0.3833,17.4039,0.09307}, {106.9,-0.3833,17.4397,0.09311}, {107,-0.3833,17.4755,0.09315}, {107.1,-0.3833,17.5115,0.09318}, {107.2,-0.3833,17.5476,0.09322}, {107.3,-0.3833,17.5839,0.09326}, {107.4,-0.3833,17.6202,0.09329}, {107.5,-0.3833,17.6567,0.09333}, {107.6,-0.3833,17.6932,0.09337}, {107.7,-0.3833,17.7299,0.09341}, {107.8,-0.3833,17.7668,0.09344}, {107.9,-0.3833,17.8037,0.09348}, {108,-0.3833,17.8407,0.09352}, {108.1,-0.3833,17.8779,0.09356}, {108.2,-0.3833,17.9152,0.09359}, {108.3,-0.3833,17.9526,0.09363}, {108.4,-0.3833,17.9901,0.09367}, {108.5,-0.3833,18.0277,0.09371}, {108.6,-0.3833,18.0654,0.09375}, {108.7,-0.3833,18.1033,0.09378}, {108.8,-0.3833,18.1412,0.09382}, {108.9,-0.3833,18.1792,0.09386}, {109,-0.3833,18.2174,0.0939}, {109.1,-0.3833,18.2556,0.09394}, {109.2,-0.3833,18.294,0.09397}, {109.3,-0.3833,18.3324,0.09401}, {109.4,-0.3833,18.371,0.09405}, {109.5,-0.3833,18.4096,0.09409}, {109.6,-0.3833,18.4484,0.09413}, {109.7,-0.3833,18.4872,0.09417}, {109.8,-0.3833,18.5262,0.09421}, {109.9,-0.3833,18.5652,0.09424}, {110,-0.3833,18.6043,0.09428}, {110.1,-0.3833,18.6436,0.09432}, {110.2,-0.3833,18.6829,0.09436}, {110.3,-0.3833,18.7223,0.0944}, {110.4,-0.3833,18.7618,0.09444}, {110.5,-0.3833,18.8015,0.09448}, {110.6,-0.3833,18.8412,0.09452}, {110.7,-0.3833,18.8809,0.09456}, {110.8,-0.3833,18.9208,0.0946}, {110.9,-0.3833,18.9608,0.09464}, {111,-0.3833,19.0009,0.09467}, {111.1,-0.3833,19.041,0.09471}, {111.2,-0.3833,19.0812,0.09475}, {111.3,-0.3833,19.1215,0.09479}, {111.4,-0.3833,19.1619,0.09483}, {111.5,-0.3833,19.2024,0.09487}, {111.6,-0.3833,19.243,0.09491}, {111.7,-0.3833,19.2836,0.09495}, {111.8,-0.3833,19.3243,0.09499}, {111.9,-0.3833,19.3651,0.09503}, {112,-0.3833,19.406,0.09507}, {112.1,-0.3833,19.447,0.09511}, {112.2,-0.3833,19.488,0.09515}, {112.3,-0.3833,19.5291,0.09519}, {112.4,-0.3833,19.5703,0.09523}, {112.5,-0.3833,19.6116,0.09527}, {112.6,-0.3833,19.6529,0.09531}, {112.7,-0.3833,19.6943,0.09534}, {112.8,-0.3833,19.7358,0.09538}, {112.9,-0.3833,19.7774,0.09542}, {113,-0.3833,19.819,0.09546}, {113.1,-0.3833,19.8607,0.0955}, {113.2,-0.3833,19.9024,0.09554}, {113.3,-0.3833,19.9442,0.09558}, {113.4,-0.3833,19.9861,0.09562}, {113.5,-0.3833,20.028,0.09566}, {113.6,-0.3833,20.07,0.0957}, {113.7,-0.3833,20.112,0.09574}, {113.8,-0.3833,20.1541,0.09578}, {113.9,-0.3833,20.1963,0.09582}, {114,-0.3833,20.2385,0.09586}, {114.1,-0.3833,20.2807,0.0959}, {114.2,-0.3833,20.323,0.09594}, {114.3,-0.3833,20.3653,0.09598}, {114.4,-0.3833,20.4077,0.09602}, {114.5,-0.3833,20.4502,0.09606}, {114.6,-0.3833,20.4926,0.0961}, {114.7,-0.3833,20.5351,0.09614}, {114.8,-0.3833,20.5777,0.09618}, {114.9,-0.3833,20.6203,0.09622}, {115,-0.3833,20.6629,0.09626}, {115.1,-0.3833,20.7056,0.0963}, {115.2,-0.3833,20.7483,0.09634}, {115.3,-0.3833,20.791,0.09638}, {115.4,-0.3833,20.8338,0.09642}, {115.5,-0.3833,20.8766,0.09646}, {115.6,-0.3833,20.9194,0.0965}, {115.7,-0.3833,20.9622,0.09654}, {115.8,-0.3833,21.0051,0.09658}, {115.9,-0.3833,21.048,0.09662}, {116,-0.3833,21.0909,0.09666}, {116.1,-0.3833,21.1339,0.0967}, {116.2,-0.3833,21.1769,0.09674}, {116.3,-0.3833,21.2199,0.09678}, {116.4,-0.3833,21.2629,0.09682}, {116.5,-0.3833,21.3059,0.09686}, {116.6,-0.3833,21.3489,0.09691}, {116.7,-0.3833,21.392,0.09695}, {116.8,-0.3833,21.4351,0.09699}, {116.9,-0.3833,21.4782,0.09703}, {117,-0.3833,21.5213,0.09707}, {117.1,-0.3833,21.5644,0.09711}, {117.2,-0.3833,21.6075,0.09715}, {117.3,-0.3833,21.6507,0.09719}, {117.4,-0.3833,21.6938,0.09723}, {117.5,-0.3833,21.737,0.09727}, {117.6,-0.3833,21.7802,0.09731}, {117.7,-0.3833,21.8233,0.09735}, {117.8,-0.3833,21.8665,0.09739}, {117.9,-0.3833,21.9097,0.09743}, {118,-0.3833,21.9529,0.09747}, {118.1,-0.3833,21.9961,0.09751}, {118.2,-0.3833,22.0393,0.09755}, {118.3,-0.3833,22.0825,0.09759}, {118.4,-0.3833,22.1258,0.09763}, {118.5,-0.3833,22.169,0.09767}, {118.6,-0.3833,22.2122,0.09771}, {118.7,-0.3833,22.2554,0.09775}, {118.8,-0.3833,22.2986,0.0978}, {118.9,-0.3833,22.3419,0.09784}, {119,-0.3833,22.3851,0.09788}, {119.1,-0.3833,22.4283,0.09792}, {119.2,-0.3833,22.4715,0.09796}, {119.3,-0.3833,22.5148,0.098}, {119.4,-0.3833,22.558,0.09804}, {119.5,-0.3833,22.6012,0.09808}, {119.6,-0.3833,22.6444,0.09812}, {119.7,-0.3833,22.6877,0.09816}, {119.8,-0.3833,22.7309,0.0982}, {119.9,-0.3833,22.7741,0.09824}, {120,-0.3833,22.8173,0.09828} }; return girlsWeightForHeight[index < girlsWeightForHeight.length ? index : girlsWeightForHeight.length]; } }
44.812715
113
0.413355
01b3a0f9d1fa3ee4f4c82f245c4ccaff82920ede
8,874
/* * Copyright 2020 Eric Medvet <eric.medvet@gmail.com> (as eric) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package it.units.erallab; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import it.units.erallab.hmsrobots.core.objects.Robot; import it.units.erallab.hmsrobots.tasks.Locomotion; import it.units.erallab.hmsrobots.util.Grid; import it.units.erallab.hmsrobots.viewers.*; import it.units.erallab.hmsrobots.viewers.drawers.Ground; import it.units.erallab.hmsrobots.viewers.drawers.SensorReading; import it.units.erallab.hmsrobots.viewers.drawers.Voxel; import org.apache.commons.csv.CSVFormat; import org.apache.commons.csv.CSVRecord; import org.apache.commons.lang3.tuple.Pair; import org.dyn4j.dynamics.Settings; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.Reader; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.function.Predicate; import java.util.logging.Logger; import java.util.stream.Collectors; import java.util.stream.Stream; import static it.units.malelab.jgea.core.util.Args.*; /** * @author eric * @created 2020/08/19 * @project VSREvolution */ public class VideoMaker { private static final String PREDICATE_DEF = "≡"; private static final String PREDICATE_SEP = "\\^"; private static final String PREDICATE_F_SEP = ";"; private static final String[] PREDICATE_F_PARS = new String[]{"[", "]"}; private static final Logger L = Logger.getLogger(VideoMaker.class.getName()); /* example of invocation /usr/lib/jvm/jdk-14.0.1/bin/java -cp ~/IdeaProjects/VSREvolution/out/artifacts/VSREvolution_jar/VSREvolution.jar it.units.erallab.VideoMaker inputFile=vsrs-short-all-p10-t10-10.ser.txt globalPredicate=seed≡1^terrain≡uneven5^mapper≡centralized columnPredicates=evolver≡mlp-0-cmaes^body≡biped-4x3,evolver≡mlp-0-cmaes^body≡biped-cpg-4x3 rowPredicates=quant[births\;500\;2]≡0,quant[births\;500\;2]≡250,quant[births\;500\;2]≡500 transformation=identity */ public static void main(String[] args) throws IOException { //get params String inputFileName = a(args, "inputFile", null); String outputFileName = a(args, "outputFile", null); String serializedRobotColumn = a(args, "serializedRobotColumnName", "best.serialized.robot"); String terrainName = a(args, "terrain", "flat"); String transformationName = a(args, "transformation", "identity"); double episodeTime = d(a(args, "episodeT", "30.0")); int w = i(a(args, "w", "1024")); int h = i(a(args, "g", "768")); int frameRate = i(a(args, "frameRate", "30")); //read predicates Map<String, Predicate<String>> globalPredicate = Arrays.stream(a(args, "globalPredicate", "").split(PREDICATE_SEP)).sequential() .map(VideoMaker::buildPredicate) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); List<Map<String, Predicate<String>>> columnPredicates = l(a(args, "columnPredicates", "")) .stream() .map(pairs -> Arrays.stream(pairs.split(PREDICATE_SEP)).sequential() .map(VideoMaker::buildPredicate) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue))) .collect(Collectors.toList()); List<Map<String, Predicate<String>>> rowPredicates = l(a(args, "rowPredicates", "")) .stream() .map(pairs -> Arrays.stream(pairs.split(PREDICATE_SEP)).sequential() .map(VideoMaker::buildPredicate) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue))) .collect(Collectors.toList()); //read data from file Reader reader = new FileReader(inputFileName); List<Map<String, String>> records = CSVFormat.DEFAULT.withDelimiter(';').withFirstRecordAsHeader().parse(reader).getRecords().stream() .map(CSVRecord::toMap).collect(Collectors.toList()); L.info(String.format("Read %d data lines from %s", records.size(), inputFileName)); //filter data Grid<List<Map<String, String>>> recordGrid = Grid.create( columnPredicates.size(), rowPredicates.size(), (x, y) -> records.stream() .filter(r -> match(r, globalPredicate)) .filter(r -> match(r, columnPredicates.get(x))) .filter(r -> match(r, rowPredicates.get(y))) .collect(Collectors.toList()) ); L.info(String.format( "Grid # of records: %s", recordGrid.stream() .map(e -> String.format("(%d,%d)->%d", e.getX(), e.getY(), e.getValue().size())) .collect(Collectors.joining(", ")) )); //build named grid of robots Set<String> relevantKeys = Stream.concat(columnPredicates.stream(), rowPredicates.stream()) .map(Map::keySet) .reduce(Sets::union) .orElse(Set.of()); Grid<Pair<String, Robot<?>>> namedRobotGrid = Grid.create( recordGrid, r -> r.isEmpty() ? null : Pair.of( r.get(0).entrySet().stream() .filter(e -> relevantKeys.contains(e.getKey())) .map(e -> e.toString()) .collect(Collectors.joining("\n")), Utils.buildRobotTransformation(transformationName).apply(Utils.safelyDeserialize(r.get(0).get(serializedRobotColumn), Robot.class)) ) ); //prepare problem Locomotion locomotion = new Locomotion( episodeTime, Locomotion.createTerrain(terrainName), Lists.newArrayList(Locomotion.Metric.TRAVELED_X_DISTANCE), new Settings() ); //do simulations ScheduledExecutorService uiExecutor = Executors.newScheduledThreadPool(4); ExecutorService executor = Executors.newCachedThreadPool(); GridSnapshotListener gridSnapshotListener; if (outputFileName == null) { gridSnapshotListener = new GridOnlineViewer( Grid.create(namedRobotGrid, Pair::getLeft), uiExecutor ); ((GridOnlineViewer) gridSnapshotListener).start(3); } else { gridSnapshotListener = new GridFileWriter( w, h, frameRate, new File(outputFileName), Grid.create(namedRobotGrid, Pair::getLeft), uiExecutor, GraphicsDrawer.build().setConfigurable("drawers", List.of( it.units.erallab.hmsrobots.viewers.drawers.Robot.build(), Voxel.build(), Ground.build(), SensorReading.build() )).setConfigurable("generalRenderingModes", Set.of( GraphicsDrawer.GeneralRenderingMode.GRID_MAJOR, GraphicsDrawer.GeneralRenderingMode.TIME_INFO, GraphicsDrawer.GeneralRenderingMode.VOXEL_COMPOUND_CENTERS_INFO )) ); } GridEpisodeRunner<Robot<?>> runner = new GridEpisodeRunner<>( namedRobotGrid, locomotion, gridSnapshotListener, executor ); runner.run(); if (outputFileName != null) { executor.shutdownNow(); uiExecutor.shutdownNow(); } } private static boolean match(Map<String, String> values, Map<String, Predicate<String>> predicates) { for (String key : predicates.keySet()) { if (!values.containsKey(key)) { return false; } if (!predicates.get(key).test(values.get(key))) { return false; } } return true; } //expects a ^-piece of something like: evolver≡e1^body≡b1^quant(births|1000|2)≡3 private static Map.Entry<String, Predicate<String>> buildPredicate(String string) { String left = string.split(PREDICATE_DEF)[0]; String right = string.split(PREDICATE_DEF)[1]; if (!left.contains(PREDICATE_F_PARS[0])) { return Map.entry(left, s -> s.equals(right)); } String fName = left.substring(0, left.indexOf(PREDICATE_F_PARS[0])); String[] fArgs = left.substring(left.indexOf(PREDICATE_F_PARS[0]) + 1, left.indexOf(PREDICATE_F_PARS[1])).split(PREDICATE_F_SEP); if (fName.equals("quant")) { double range = Double.parseDouble(fArgs[1]); int bins = Integer.parseInt(fArgs[2]); return Map.entry( fArgs[0], s -> Math.floor(Double.parseDouble(s) / range * bins) * range / bins == Double.parseDouble(right) ); } return null; } }
41.858491
451
0.675118
0f8755b7e4689b79c5129e0cabc71b0bded9d68f
2,488
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * */ package org.apache.polygene.library.sql.generator.implementation.grammar.manipulation; import java.util.Objects; import org.apache.polygene.library.sql.generator.grammar.definition.table.ColumnDefinition; import org.apache.polygene.library.sql.generator.grammar.manipulation.AddColumnDefinition; import org.apache.polygene.library.sql.generator.grammar.manipulation.AlterTableAction; import org.apache.polygene.library.sql.generator.implementation.grammar.common.SQLSyntaxElementBase; import org.apache.polygene.library.sql.generator.implementation.transformation.spi.SQLProcessorAggregator; /** * */ public class AddColumnDefinitionImpl extends SQLSyntaxElementBase<AlterTableAction, AddColumnDefinition> implements AddColumnDefinition { private final ColumnDefinition _columnDefinition; public AddColumnDefinitionImpl( SQLProcessorAggregator processor, ColumnDefinition columnDefinition ) { this( processor, AddColumnDefinition.class, columnDefinition ); } protected AddColumnDefinitionImpl( SQLProcessorAggregator processor, Class<? extends AddColumnDefinition> realImplementingType, ColumnDefinition columnDefinition ) { super( processor, realImplementingType ); Objects.requireNonNull( columnDefinition, "Column definition" ); this._columnDefinition = columnDefinition; } @Override protected boolean doesEqual( AddColumnDefinition another ) { return this._columnDefinition.equals( another.getColumnDefinition() ); } public ColumnDefinition getColumnDefinition() { return this._columnDefinition; } }
38.875
133
0.762058
aef119813e7bde78d52cd53c162cb151d44e9a84
5,952
package io.tpa.tpalib.distribution; import android.app.Activity; import android.os.Build; import android.os.Bundle; import android.util.Log; import java.io.Serializable; /** * Provides checks for application up dates. */ public class CheckUpdateMonitor { private static final String TAG = "CheckUpdateMonitor"; private ShowsUpdate checkUpdateTask = null; private int currentActivityHashCode; // Only store the hash code to avoid context memory leaks private AppList redoList; private boolean simpleUpdate; private boolean isAutomaticUpdateCheckEnabled; private boolean shouldCheckUpdate; public CheckUpdateMonitor(String url, boolean simpleUpdate, boolean debug, boolean isAutomaticUpdateCheckEnabled) { this.simpleUpdate = simpleUpdate; this.isAutomaticUpdateCheckEnabled = isAutomaticUpdateCheckEnabled; this.shouldCheckUpdate = false; init(url, debug); } private void init(String url, boolean debug) { UpdateConfig.setVersionsUrl(url); UpdateConfig.setDebug(debug); } @SuppressWarnings("unused") //Called from TPA-Lib public void onActivityCreated(Bundle arg1) { if (arg1 == null) { return; } Serializable ser = arg1.getSerializable(this.getClass().getName()); if (ser instanceof AppList) { if (UpdateConfig.debug()) { Log.d(TAG, "On activity create: setting redoList"); } redoList = (AppList) ser; } } @SuppressWarnings("unused") //Called from TPA-Lib public void onActivitySaveInstanceState(Activity activity, Bundle arg1) { if (checkUpdateTask != null && currentActivityHashCode == activity.hashCode()) { if (checkUpdateTask.getState() == ShowsUpdate.State.DISPLAY) { if (UpdateConfig.debug()) { Log.d(TAG, "On activity save: Saving update dialog data"); } checkUpdateTask.safeDismiss(); arg1.putSerializable(this.getClass().getName(), checkUpdateTask.getUpdateInfo()); } else { //run it again later if (UpdateConfig.debug()) { Log.d(TAG, "On activity save: nothing to save"); } currentActivityHashCode = 0; } } } @SuppressWarnings("unused") //Called from TPA-Lib public void onAppStarted() { shouldCheckUpdate = true; } @SuppressWarnings("unused") //Called from TPA-Lib public void onActivityResumed(Activity activity) { if (checkUpdateTask != null && checkUpdateTask.getState() != ShowsUpdate.State.DONE) { if (redoList != null) { if (UpdateConfig.debug()) { Log.d(TAG, "resume dialog, state: " + checkUpdateTask.getState()); } if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { checkUpdateTask = UpdateDialogFragment.newInstance(redoList, ShowsUpdate.State.DISPLAY, simpleUpdate); activity.getFragmentManager().beginTransaction().add((UpdateDialogFragment) checkUpdateTask, "UPDATE_FRAGMENT").commitAllowingStateLoss(); // ((UpdateDialogFragment) checkUpdateTask).show(activity.getFragmentManager(), "updateFragment"); } else { checkUpdateTask = new UpdateDialogLegacy(activity, redoList, ShowsUpdate.State.DISPLAY, simpleUpdate); ((UpdateDialogLegacy) checkUpdateTask).show(); currentActivityHashCode = activity.hashCode(); } } else { if (UpdateConfig.debug()) { Log.d(TAG, "checkUpdate continue"); } checkUpdateTask = new DialogCheckUpdateTask(activity, simpleUpdate); AsyncHelper.executeAsyncTask((DialogCheckUpdateTask) checkUpdateTask); currentActivityHashCode = activity.hashCode(); } } else if (isAutomaticUpdateCheckEnabled && shouldCheckUpdate) { shouldCheckUpdate = false; if (checkUpdateTask != null) { checkUpdateTask.safeDismiss(); } if (UpdateConfig.debug()) { Log.d(TAG, "Running automatic update check"); } checkUpdateTask = new DialogCheckUpdateTask(activity, simpleUpdate); AsyncHelper.executeAsyncTask((DialogCheckUpdateTask) checkUpdateTask); currentActivityHashCode = activity.hashCode(); } } @SuppressWarnings("unused") //Called from TPA-Lib public void checkForUpdates(Activity activity) { if (checkUpdateTask != null) { checkUpdateTask.safeDismiss(); } if (UpdateConfig.debug()) { Log.d(TAG, "checkUpdate manual"); } checkUpdateTask = new DialogCheckUpdateTask(activity, simpleUpdate); AsyncHelper.executeAsyncTask((DialogCheckUpdateTask) checkUpdateTask); currentActivityHashCode = activity.hashCode(); } @SuppressWarnings("unused") //Called from TPA-Lib public void checkForUpdateAvailable(Activity activity, UpdateAvailableCallback updateAvailableCallback) { if (UpdateConfig.debug()) { Log.d(TAG, "checkUpdateAvailable manual"); } CheckUpdateAvailableTask checkUpdateTask = new CheckUpdateAvailableTask(activity, updateAvailableCallback); AsyncHelper.executeAsyncTask(checkUpdateTask); currentActivityHashCode = activity.hashCode(); } @SuppressWarnings("unused") //Called from TPA-Lib //I think? public void onActivityPaused(Activity activity) { // Nothing to do here } @Override public boolean equals(Object o) { return o instanceof CheckUpdateMonitor; } @Override public int hashCode() { return 17; } }
37.670886
158
0.628864
0d65e7e4dc68e72c5773c05ac16c3502972c551f
204
package com.github.gnastnosaj.boilerplate.cordova.channel.middleware; import org.json.JSONObject; /** * Created by jasontsang on 1/17/18. */ public interface ChannelEvent { JSONObject toJSON(); }
18.545455
69
0.75
9280d500eda389181ee92b9a071ee1cadafa1030
4,841
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.wildfly.swarm.plugin.maven; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.List; import org.eclipse.aether.RepositoryException; import org.eclipse.aether.collection.UnsolvableVersionConflictException; import org.eclipse.aether.graph.DependencyFilter; import org.eclipse.aether.graph.DependencyNode; import org.eclipse.aether.util.graph.transformer.ConflictResolver; import org.eclipse.aether.util.graph.visitor.PathRecordingDependencyVisitor; import org.eclipse.aether.version.Version; import org.eclipse.aether.version.VersionConstraint; /** * @author Ken Finnigan */ public class NewestVersionSelector extends ConflictResolver.VersionSelector { @Override public void selectVersion(ConflictResolver.ConflictContext context) throws RepositoryException { ConflictGroup group = new ConflictGroup(); for (ConflictResolver.ConflictItem item : context.getItems()) { DependencyNode node = item.getNode(); VersionConstraint constraint = node.getVersionConstraint(); boolean backtrack = false; boolean hardConstraint = constraint.getRange() != null; if (hardConstraint) { if (group.constraints.add(constraint)) { if (group.winner != null && !constraint.containsVersion(group.winner.getNode().getVersion())) { backtrack = true; } } } if (isAcceptable(group, node.getVersion())) { group.candidates.add(item); if (backtrack) { backtrack(group, context); } else if (group.winner == null || isNewer(item, group.winner)) { group.winner = item; } } else if (backtrack) { backtrack(group, context); } } context.setWinner(group.winner); } private boolean isNewer(ConflictResolver.ConflictItem item1, ConflictResolver.ConflictItem item2) { return item1.getNode().getVersion().compareTo(item2.getNode().getVersion()) > 0; } private void backtrack(ConflictGroup group, ConflictResolver.ConflictContext context) throws UnsolvableVersionConflictException { group.winner = null; for (Iterator<ConflictResolver.ConflictItem> it = group.candidates.iterator(); it.hasNext(); ) { ConflictResolver.ConflictItem candidate = it.next(); if (!isAcceptable(group, candidate.getNode().getVersion())) { it.remove(); } else if (group.winner == null || isNewer(candidate, group.winner)) { group.winner = candidate; } } if (group.winner == null) { throw newFailure(context); } } private UnsolvableVersionConflictException newFailure(final ConflictResolver.ConflictContext context) { DependencyFilter filter = new DependencyFilter() { public boolean accept(DependencyNode node, List<DependencyNode> parents) { return context.isIncluded(node); } }; PathRecordingDependencyVisitor visitor = new PathRecordingDependencyVisitor(filter); context.getRoot().accept(visitor); return new UnsolvableVersionConflictException(visitor.getPaths()); } private boolean isAcceptable(ConflictGroup group, Version version) { for (VersionConstraint constraint : group.constraints) { if (!constraint.containsVersion(version)) { return false; } } return true; } static final class ConflictGroup { public ConflictGroup() { constraints = new HashSet<VersionConstraint>(); candidates = new ArrayList<ConflictResolver.ConflictItem>(64); } @Override public String toString() { return String.valueOf(winner); } final Collection<VersionConstraint> constraints; final Collection<ConflictResolver.ConflictItem> candidates; ConflictResolver.ConflictItem winner; } }
36.674242
115
0.655443
c951229c92404b7768d6e69a2cb6679f346b2e2f
6,430
package com.github.technus.tectech.thing.item; import com.github.technus.tectech.util.CommonValues; import com.github.technus.tectech.TecTech; import com.github.technus.tectech.util.Util; import com.github.technus.tectech.font.TecTechFontRender; import com.github.technus.tectech.loader.gui.ModGuiHandler; import com.github.technus.tectech.mechanics.elementalMatter.core.cElementalInstanceStackMap; import com.github.technus.tectech.thing.CustomItemList; import com.github.technus.tectech.thing.item.renderElemental.IElementalItem; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.EnumChatFormatting; import net.minecraft.util.IIcon; import net.minecraft.world.World; import java.util.List; import static com.github.technus.tectech.Reference.MODID; import static com.github.technus.tectech.loader.gui.CreativeTabTecTech.creativeTabTecTech; import static cpw.mods.fml.relauncher.Side.CLIENT; import static net.minecraft.util.StatCollector.translateToLocal; /** * Created by Tec on 15.03.2017. */ public final class ElementalDefinitionScanStorage_EM extends Item implements IElementalItem { public static ElementalDefinitionScanStorage_EM INSTANCE; public static IIcon offline, online; private ElementalDefinitionScanStorage_EM() { setMaxStackSize(1); setUnlocalizedName("em.definitionScanStorage"); setTextureName(MODID + ":itemDefinitionScanStorage"); setCreativeTab(creativeTabTecTech); } //return previous thing public static void setContent(ItemStack containerItem, cElementalInstanceStackMap definitions, int[] detailsOnDepthLevels){ if(containerItem.getItem() instanceof ElementalDefinitionScanStorage_EM) { if (containerItem.stackTagCompound == null) { containerItem.stackTagCompound = new NBTTagCompound(); } containerItem.stackTagCompound.setTag("elementalInfo", definitions.getScanInfoNBT(detailsOnDepthLevels)); containerItem.stackTagCompound.setTag("symbols",definitions.getScanShortSymbolsNBT(detailsOnDepthLevels)); } } public static void clearContent(ItemStack containerItem){ if(containerItem.getItem() instanceof ElementalDefinitionScanStorage_EM){ if (containerItem.stackTagCompound == null) { return; } containerItem.stackTagCompound=null; } } public static String[] getLines(ItemStack containerItem){ if(containerItem.stackTagCompound!=null && containerItem.stackTagCompound.hasKey("elementalInfo")) { return Util.infoFromNBT(containerItem.stackTagCompound.getCompoundTag("elementalInfo")); } return null; } @Override public void addInformation(ItemStack aStack, EntityPlayer ep, List aList, boolean boo) { aList.add(CommonValues.TEC_MARK_EM); try { if (aStack.stackTagCompound != null && aStack.stackTagCompound.hasKey("elementalInfo")) { aList.add(EnumChatFormatting.BLUE + translateToLocal("item.em.definitionScanStorage.desc.0"));//Contains scan result aList.add(translateToLocal("item.em.definitionScanStorage.desc.1"));//Use to read //if(DEBUG_MODE) { // aList.add("DEBUG MODE INFO - U CHEATER"); // Collections.addAll(aList, Util.infoFromNBT(aStack.stackTagCompound.getCompoundTag("elementalInfo"))); //} } else { aList.add(translateToLocal("item.em.definitionScanStorage.desc.2"));//Storage for matter scan data } } catch (Exception e) { aList.add(translateToLocal("item.em.definitionScanStorage.desc.3"));//---Unexpected Termination--- } } public static void run() { INSTANCE = new ElementalDefinitionScanStorage_EM(); GameRegistry.registerItem(INSTANCE, INSTANCE.getUnlocalizedName()); CustomItemList.scanContainer.set(INSTANCE); } @Override @SideOnly(Side.CLIENT) public void registerIcons(IIconRegister iconRegister) { offline =iconRegister.registerIcon(MODID + ":itemDefinitionScanStorageOff"); online = itemIcon = iconRegister.registerIcon(getIconString()); } @Override public IIcon getIconIndex(ItemStack itemStack) { NBTTagCompound tagCompound=itemStack.stackTagCompound; if(tagCompound!=null && tagCompound.hasKey("elementalInfo")) { return online; } return offline; } @Override public IIcon getIcon(ItemStack itemStack, int pass) { NBTTagCompound tagCompound=itemStack.stackTagCompound; if(tagCompound!=null && tagCompound.hasKey("elementalInfo")) { return online; } return offline; } @Override public void getSubItems(Item item, CreativeTabs tab, List list) { ItemStack that = new ItemStack(this, 1); list.add(that); } @Override public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer player) { if(world.isRemote){ NBTTagCompound tagCompound=itemStack.stackTagCompound; if(tagCompound!=null && tagCompound.hasKey("elementalInfo")) { player.openGui(TecTech.instance, ModGuiHandler.SCAN_DISPLAY_SCREEN_ID, world, 0, 0, 0); } } return itemStack; } @Override public String getSymbol(ItemStack aStack, int index) { try { NBTTagCompound tNBT = aStack.getTagCompound(); if (tNBT != null && tNBT.hasKey("symbols")) { String[] strings=Util.infoFromNBT(tNBT.getCompoundTag("symbols")); return strings[index%strings.length]; } else { return null; } } catch (Exception e) { return "#!"; } } @Override @SideOnly(CLIENT) public FontRenderer getFontRenderer(ItemStack stack) { return TecTechFontRender.INSTANCE; } }
39.937888
132
0.693779
d94b863fca6db66c3726016d6b4a36ab6867bc04
9,213
/* * This file is part of the pl.wrzasq.lambda. * * @license http://mit-license.org/ The MIT license * @copyright 2019 © by Rafał Wrzeszcz - Wrzasq.pl. */ package test.pl.wrzasq.lambda.cform.organization.unit.service; import com.amazonaws.services.organizations.AWSOrganizations; import com.amazonaws.services.organizations.model.ChildNotFoundException; import com.amazonaws.services.organizations.model.CreateOrganizationalUnitRequest; import com.amazonaws.services.organizations.model.CreateOrganizationalUnitResult; import com.amazonaws.services.organizations.model.DeleteOrganizationalUnitRequest; import com.amazonaws.services.organizations.model.ListParentsRequest; import com.amazonaws.services.organizations.model.ListParentsResult; import com.amazonaws.services.organizations.model.OrganizationalUnit; import com.amazonaws.services.organizations.model.Parent; import com.amazonaws.services.organizations.model.UpdateOrganizationalUnitRequest; import com.amazonaws.services.organizations.model.UpdateOrganizationalUnitResult; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.ArgumentCaptor; import org.mockito.Captor; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; import pl.wrzasq.lambda.cform.organization.unit.model.OrganizationUnitRequest; import pl.wrzasq.lambda.cform.organization.unit.service.OrganizationUnitManager; @ExtendWith(MockitoExtension.class) public class OrganizationUnitManagerTest { private static final String PHYSICAL_RESOURCE_ID = "ou-123"; private static final String OU_NAME = "test"; private static final String PARENT_ID_1 = "r-root"; private static final String PARENT_ID_2 = "ou-leaf"; @Mock private AWSOrganizations organizations; @Captor ArgumentCaptor<ListParentsRequest> listParentsRequest; @Captor ArgumentCaptor<CreateOrganizationalUnitRequest> createRequest; @Captor ArgumentCaptor<UpdateOrganizationalUnitRequest> updateRequest; @Captor ArgumentCaptor<DeleteOrganizationalUnitRequest> deleteRequest; @Test public void sync() { var unit = new OrganizationalUnit(); unit.setId(OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID); var manager = new OrganizationUnitManager(this.organizations); var input = new OrganizationUnitRequest(); input.setName(OrganizationUnitManagerTest.OU_NAME); input.setParentId(OrganizationUnitManagerTest.PARENT_ID_1); Mockito .when(this.organizations.createOrganizationalUnit(this.createRequest.capture())) .thenReturn( new CreateOrganizationalUnitResult() .withOrganizationalUnit(unit) ); var result = manager.sync(input, null); Mockito .verify(this.organizations, Mockito.never()) .listParents(Mockito.any(ListParentsRequest.class)); Mockito .verify(this.organizations, Mockito.never()) .updateOrganizationalUnit(Mockito.any(UpdateOrganizationalUnitRequest.class)); Assertions.assertSame( unit, result.getData(), "OrganizationUnitManager.sync() should return data of created organizational unit." ); Assertions.assertEquals( OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID, result.getPhysicalResourceId(), "OrganizationUnitManager.sync() should return unit ID as physical ID." ); } @Test public void syncAlreadyExists() { var unit = new OrganizationalUnit(); unit.setId(OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID); var manager = new OrganizationUnitManager(this.organizations); var input = new OrganizationUnitRequest(); input.setName(OrganizationUnitManagerTest.OU_NAME); input.setParentId(OrganizationUnitManagerTest.PARENT_ID_1); Mockito .when(this.organizations.listParents(this.listParentsRequest.capture())) .thenReturn( new ListParentsResult() .withParents( new Parent() .withId(OrganizationUnitManagerTest.PARENT_ID_1) ) ); Mockito .when(this.organizations.updateOrganizationalUnit(this.updateRequest.capture())) .thenReturn( new UpdateOrganizationalUnitResult() .withOrganizationalUnit(unit) ); var result = manager.sync( input, OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID ); Mockito .verify(this.organizations, Mockito.never()) .createOrganizationalUnit(Mockito.any(CreateOrganizationalUnitRequest.class)); Assertions.assertSame( unit, result.getData(), "OrganizationUnitManager.sync() should return data of existing organizational unit." ); Assertions.assertEquals( OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID, result.getPhysicalResourceId(), "OrganizationUnitManager.sync() should return unit ID as physical ID." ); } @Test public void syncNotExistingPhysicalId() { var unit = new OrganizationalUnit(); unit.setId(OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID); var manager = new OrganizationUnitManager(this.organizations); var input = new OrganizationUnitRequest(); input.setName(OrganizationUnitManagerTest.OU_NAME); input.setParentId(OrganizationUnitManagerTest.PARENT_ID_1); Mockito .when(this.organizations.listParents(this.listParentsRequest.capture())) .thenThrow(ChildNotFoundException.class); Mockito .when(this.organizations.createOrganizationalUnit(this.createRequest.capture())) .thenReturn( new CreateOrganizationalUnitResult() .withOrganizationalUnit(unit) ); var result = manager.sync( input, OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID ); Mockito .verify(this.organizations, Mockito.never()) .updateOrganizationalUnit(Mockito.any(UpdateOrganizationalUnitRequest.class)); Assertions.assertSame( unit, result.getData(), "OrganizationUnitManager.sync() should return data of created organizational unit." ); Assertions.assertEquals( OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID, result.getPhysicalResourceId(), "OrganizationUnitManager.sync() should return unit ID as physical ID." ); } @Test public void syncChangedParent() { var unit = new OrganizationalUnit(); unit.setId(OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID); var manager = new OrganizationUnitManager(this.organizations); var input = new OrganizationUnitRequest(); input.setName(OrganizationUnitManagerTest.OU_NAME); input.setParentId(OrganizationUnitManagerTest.PARENT_ID_1); Mockito .when(this.organizations.listParents(this.listParentsRequest.capture())) .thenReturn( new ListParentsResult() .withParents( new Parent() .withId(OrganizationUnitManagerTest.PARENT_ID_2) ) ); Mockito .when(this.organizations.createOrganizationalUnit(this.createRequest.capture())) .thenReturn( new CreateOrganizationalUnitResult() .withOrganizationalUnit(unit) ); var result = manager.sync( input, OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID ); Mockito .verify(this.organizations, Mockito.never()) .updateOrganizationalUnit(Mockito.any(UpdateOrganizationalUnitRequest.class)); Assertions.assertSame( unit, result.getData(), "OrganizationUnitManager.sync() should return data of created organizational unit." ); Assertions.assertEquals( OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID, result.getPhysicalResourceId(), "OrganizationUnitManager.sync() should return unit ID as physical ID." ); } @Test public void delete() { var manager = new OrganizationUnitManager(this.organizations); manager.delete(null, OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID); Mockito.verify(this.organizations).deleteOrganizationalUnit(this.deleteRequest.capture()); Assertions.assertEquals( OrganizationUnitManagerTest.PHYSICAL_RESOURCE_ID, this.deleteRequest.getValue().getOrganizationalUnitId(), "OrganizationUnitManager.delete() should request deletion of specified physical resource ID." ); } }
37
105
0.67687
41987a20d0c960a62e7f16490abf2121762dcebc
1,384
package com.webank.wecross.account.service.db; import javax.persistence.Column; import javax.persistence.Convert; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import lombok.Data; @Data @Entity @Table(name = "t_chain_accounts") public class ChainAccountTableBean { @Id @GeneratedValue private Integer id; @Column(nullable = false) private String username; // ua @Column(nullable = false) private Integer keyID; @Column(nullable = false, columnDefinition = "text") private String identity; // identity couldn't set to unique because of too long @Column(nullable = false, unique = true) private String identityDetail; // use this column for unique identity @Column(nullable = false) private String type; @Column(nullable = false) private boolean isDefault; @Column(nullable = false, columnDefinition = "text") private String pub; @Column(nullable = false, columnDefinition = "text") @Convert(converter = SecKeyEntryConverter.class) private String sec; @Column(columnDefinition = "text") private String ext0; @Column(columnDefinition = "text") private String ext1; @Column(columnDefinition = "text") private String ext2; @Column(columnDefinition = "text") private String ext3; }
25.163636
83
0.718931
13239b146aa3b8e5688edaf42b287ee450cad16c
1,232
package nl.sikken.bertrik; /** * Configuration interface for the application. */ public interface IDustSensorBridgeConfig { /** * @return the sensor latitude */ Double getSensorLat(); /** * @return the sensor longitude */ Double getSensorLon(); /** * @return the URL of the MQTT server */ String getMqttUrl(); /** * @return the MQTT topic to listen on */ String getMqttTopic(); /** * @return URL of the samenmeten db */ String getSamenMetenUrl(); /** * @return the samenmeten id */ String getSamenMetenId(); /** * @return user name for the samenmeten db */ String getSamenMetenUsername(); /** * @return password for the samenmeten db */ String getSamenMetenPassword(); /** * @return the URL of the luftdaten.info API */ String getLuftdatenUrl(); /** * @return timeout (ms) for accessing the luftdaten.info API */ int getLuftdatenTimeout(); /** * @return the luftdaten id to send to luftdaten info (empty to use the MQTT topic) */ String getLuftdatenIdOverride(); }
19.25
85
0.561688
2145ddd2c31d4c0086859f435779a2f0f69e22e4
1,803
package io.scicast.streamesh.server; import io.scicast.streamesh.core.StreameshOrchestrator; import io.scicast.streamesh.core.StreameshOrchestratorFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import java.io.IOException; import java.net.Inet4Address; import java.net.NetworkInterface; import java.util.Collections; @SpringBootApplication public class StreameshServer { private static final String STREAMESH_SERVER_NETWORK_INTERFACE = "streamesh.server.network.interface"; private static String serverAddress; public static void main(String[] args) throws IOException { serverAddress = System.getProperty(StartupUtils.STREAMESH_SERVER_ADDRESS_PROPERTY); if (serverAddress == null) { serverAddress = Collections.list(NetworkInterface.getNetworkInterfaces()).stream() .filter(ni -> ni.getDisplayName().equals(System.getProperty(STREAMESH_SERVER_NETWORK_INTERFACE))) .map(ni -> Collections.list(ni.getInetAddresses()).stream() .filter(inetAddress -> inetAddress instanceof Inet4Address) .map(inetAddress -> inetAddress.getHostAddress()) .findFirst() .orElse(null)) .findFirst() .orElse(null); } if (serverAddress == null) { serverAddress = StartupUtils.selectAddress(); } SpringApplication.run(StreameshServer.class, args); } @Bean public StreameshOrchestrator provideOrchestrator() { return new StreameshOrchestratorFactory().createOrchestrator(serverAddress); } }
40.977273
117
0.687743
c701b8a2d555ed67c9c0c3a1b50a8830b3d0a940
2,328
package com.github.test; import com.github.appreciated.apexcharts.ApexCharts; import com.github.appreciated.apexcharts.config.builder.*; import com.github.appreciated.apexcharts.config.chart.Type; import com.github.appreciated.apexcharts.config.chart.builder.ZoomBuilder; import com.github.appreciated.apexcharts.config.legend.HorizontalAlign; import com.github.appreciated.apexcharts.config.stroke.Curve; import com.github.appreciated.apexcharts.config.subtitle.Align; import com.github.appreciated.apexcharts.config.xaxis.XAxisType; import com.github.appreciated.apexcharts.helper.Series; import com.vaadin.flow.component.html.Div; import java.time.LocalDate; import java.util.stream.IntStream; public class AreaChartExample extends Div { public AreaChartExample() { ApexCharts areaChart = new ApexCharts() .withChart( ChartBuilder.get() .withType(Type.area) .withZoom(ZoomBuilder.get() .withEnabled(false) .build()) .build()) .withDataLabels(DataLabelsBuilder.get() .withEnabled(false) .build()) .withStroke(StrokeBuilder.get().withCurve(Curve.straight).build()) .withSeries(new Series("STOCK ABC", 10.0, 41.0, 35.0, 51.0, 49.0, 62.0, 69.0, 91.0, 148.0)) .withTitle(TitleSubtitleBuilder.get() .withText("Fundamental Analysis of Stocks") .withAlign(Align.left).build()) .withSubtitle(TitleSubtitleBuilder.get() .withText("Price Movements") .withAlign(Align.left).build()) .withLabels(IntStream.range(1, 10).boxed().map(day -> LocalDate.of(2000, 1, day).toString()).toArray(String[]::new)) .withXaxis(XAxisBuilder.get() .withType(XAxisType.datetime).build()) .withYaxis(YAxisBuilder.get() .withOpposite(true).build()) .withLegend(LegendBuilder.get().withHorizontalAlign(HorizontalAlign.left).build()); add(areaChart); setWidth("100%"); } }
48.5
132
0.591495
9e43115120068c1873575a8d450de150e3f511d6
407
package eu.theeconomystupid.engine; public final class PolicyKey extends Key { public final Key VALUE; public final Key COSTS; public final Key REVENUES; protected PolicyKey( String policyKey ) { super( policyKey ); VALUE = new Key( policyKey+".value" ); COSTS = new Key( policyKey+".costs" ); REVENUES = new Key( policyKey+".revenues" ); } }
23.941176
52
0.624079
8d611095bd04317ac27eee1e55e0c36134b21e73
10,189
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-792 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2018.01.08 at 10:45:27 PM MEZ // package de.unistuttgart.iaas.chor.messages; import javax.xml.bind.annotation.XmlRegistry; /** * This object contains factory methods for each * Java content interface and Java element interface * generated in the de.unistuttgart.iaas.chor.messages package. * <p>An ObjectFactory allows you to programatically * construct new instances of the Java representation * for XML content. The Java representation of XML * content can consist of schema derived interfaces * and classes representing the binding of schema * type definitions, element declarations and model * groups. Factory methods for each of these are * provided in this class. * */ @XmlRegistry public class ObjectFactory { /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: de.unistuttgart.iaas.chor.messages * */ public ObjectFactory() { } /** * Create an instance of {@link MessageLinkInstanceEventType } * */ public MessageLinkInstanceEventType createMessageLinkInstanceEventType() { return new MessageLinkInstanceEventType(); } /** * Create an instance of {@link ChorDeploymentMessage } * */ public ChorDeploymentMessage createChorDeploymentMessage() { return new ChorDeploymentMessage(); } /** * Create an instance of {@link IterateChorInstanceMessage } * */ public IterateChorInstanceMessage createIterateChorInstanceMessage() { return new IterateChorInstanceMessage(); } /** * Create an instance of {@link ChorStartMessage } * */ public ChorStartMessage createChorStartMessage() { return new ChorStartMessage(); } /** * Create an instance of {@link EndpointDataType } * */ public EndpointDataType createEndpointDataType() { return new EndpointDataType(); } /** * Create an instance of {@link CurrentStateType } * */ public CurrentStateType createCurrentStateType() { return new CurrentStateType(); } /** * Create an instance of {@link GetChorInstanceHistoryReturnMessage } * */ public GetChorInstanceHistoryReturnMessage createGetChorInstanceHistoryReturnMessage() { return new GetChorInstanceHistoryReturnMessage(); } /** * Create an instance of {@link ProcessInstanceInformation } * */ public ProcessInstanceInformation createProcessInstanceInformation() { return new ProcessInstanceInformation(); } /** * Create an instance of {@link ProcessBundleResultType } * */ public ProcessBundleResultType createProcessBundleResultType() { return new ProcessBundleResultType(); } /** * Create an instance of {@link ChoreographyBundleResultType } * */ public ChoreographyBundleResultType createChoreographyBundleResultType() { return new ChoreographyBundleResultType(); } /** * Create an instance of {@link ChorDeploymentEventMessage } * */ public ChorDeploymentEventMessage createChorDeploymentEventMessage() { return new ChorDeploymentEventMessage(); } /** * Create an instance of {@link ChorProcessModelsInformationType } * */ public ChorProcessModelsInformationType createChorProcessModelsInformationType() { return new ChorProcessModelsInformationType(); } /** * Create an instance of {@link ChorInstanceInformation } * */ public ChorInstanceInformation createChorInstanceInformation() { return new ChorInstanceInformation(); } /** * Create an instance of {@link ProcessBundleType } * */ public ProcessBundleType createProcessBundleType() { return new ProcessBundleType(); } /** * Create an instance of {@link ChorUndeploymentEventMessage } * */ public ChorUndeploymentEventMessage createChorUndeploymentEventMessage() { return new ChorUndeploymentEventMessage(); } /** * Create an instance of {@link GetProcessInstanceHistoryMessage } * */ public GetProcessInstanceHistoryMessage createGetProcessInstanceHistoryMessage() { return new GetProcessInstanceHistoryMessage(); } /** * Create an instance of {@link ChorIterationControlMessage } * */ public ChorIterationControlMessage createChorIterationControlMessage() { return new ChorIterationControlMessage(); } /** * Create an instance of {@link GetChorInstancesReturnMessage } * */ public GetChorInstancesReturnMessage createGetChorInstancesReturnMessage() { return new GetChorInstancesReturnMessage(); } /** * Create an instance of {@link ChoreographyBundleType } * */ public ChoreographyBundleType createChoreographyBundleType() { return new ChoreographyBundleType(); } /** * Create an instance of {@link ChorProcessModelType } * */ public ChorProcessModelType createChorProcessModelType() { return new ChorProcessModelType(); } /** * Create an instance of {@link GetChorInstancesMessage } * */ public GetChorInstancesMessage createGetChorInstancesMessage() { return new GetChorInstancesMessage(); } /** * Create an instance of {@link ChorStartReturnMessage } * */ public ChorStartReturnMessage createChorStartReturnMessage() { return new ChorStartReturnMessage(); } /** * Create an instance of {@link GetSnapshotVariablesMessage } * */ public GetSnapshotVariablesMessage createGetSnapshotVariablesMessage() { return new GetSnapshotVariablesMessage(); } /** * Create an instance of {@link StartParticipantType } * */ public StartParticipantType createStartParticipantType() { return new StartParticipantType(); } /** * Create an instance of {@link GetChorModelsReturnMessage } * */ public GetChorModelsReturnMessage createGetChorModelsReturnMessage() { return new GetChorModelsReturnMessage(); } /** * Create an instance of {@link ProcessInstanceHistoryOfChorInstance } * */ public ProcessInstanceHistoryOfChorInstance createProcessInstanceHistoryOfChorInstance() { return new ProcessInstanceHistoryOfChorInstance(); } /** * Create an instance of {@link ChorModelType } * */ public ChorModelType createChorModelType() { return new ChorModelType(); } /** * Create an instance of {@link EventType } * */ public EventType createEventType() { return new EventType(); } /** * Create an instance of {@link GetChorModelsMessage } * */ public GetChorModelsMessage createGetChorModelsMessage() { return new GetChorModelsMessage(); } /** * Create an instance of {@link CorrelationType } * */ public CorrelationType createCorrelationType() { return new CorrelationType(); } /** * Create an instance of {@link MessageLinkInstanceInformation } * */ public MessageLinkInstanceInformation createMessageLinkInstanceInformation() { return new MessageLinkInstanceInformation(); } /** * Create an instance of {@link ServiceType } * */ public ServiceType createServiceType() { return new ServiceType(); } /** * Create an instance of {@link CorrelationSetType } * */ public CorrelationSetType createCorrelationSetType() { return new CorrelationSetType(); } /** * Create an instance of {@link GetSnapshotsMessage } * */ public GetSnapshotsMessage createGetSnapshotsMessage() { return new GetSnapshotsMessage(); } /** * Create an instance of {@link GetProcessInstancesReturnMessage } * */ public GetProcessInstancesReturnMessage createGetProcessInstancesReturnMessage() { return new GetProcessInstancesReturnMessage(); } /** * Create an instance of {@link ChorUndeploymentMessage } * */ public ChorUndeploymentMessage createChorUndeploymentMessage() { return new ChorUndeploymentMessage(); } /** * Create an instance of {@link GetProcessInstancesMessage } * */ public GetProcessInstancesMessage createGetProcessInstancesMessage() { return new GetProcessInstancesMessage(); } /** * Create an instance of {@link ChorControlMessage } * */ public ChorControlMessage createChorControlMessage() { return new ChorControlMessage(); } /** * Create an instance of {@link ChorDeploymentResultMessage } * */ public ChorDeploymentResultMessage createChorDeploymentResultMessage() { return new ChorDeploymentResultMessage(); } /** * Create an instance of {@link GetProcessInstanceHistoryReturnMessage } * */ public GetProcessInstanceHistoryReturnMessage createGetProcessInstanceHistoryReturnMessage() { return new GetProcessInstanceHistoryReturnMessage(); } /** * Create an instance of {@link GetChorInstanceHistoryMessage } * */ public GetChorInstanceHistoryMessage createGetChorInstanceHistoryMessage() { return new GetChorInstanceHistoryMessage(); } /** * Create an instance of {@link ChorBreakpointsRegisteredEventMessage } * */ public ChorBreakpointsRegisteredEventMessage createChorBreakpointsRegisteredEventMessage() { return new ChorBreakpointsRegisteredEventMessage(); } }
27.098404
148
0.666012
a4cf2e3715f2512d1b39866cb01d6c31ee5994c8
656
package io.crowdcode.cloudbay.greetingservice; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; @SpringBootApplication public class GreetingServiceApplication { public static void main(String[] args) { SpringApplication.run(GreetingServiceApplication.class, args); } @Bean public ApplicationRunner shutdownAfterStart() { return (args) -> { if (args.containsOption("quite")) { System.out.println("Quite System After Startup!"); System.exit(0); } }; } }
25.230769
68
0.778963
e126c206853de3fd08e512ad91e2707b4acf9546
4,172
package com.oktaliem.page.webactions; import io.qameta.allure.Step; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; import org.testng.Assert; /** * Author : Okta Liem */ public class BaseAssertionAction extends BaseWaitsAction { public BaseAssertionAction(WebDriver driver) { super(driver); } @Step protected void checkIfTextIsExpected(WebElement element, String expected) { Assert.assertEquals(element.getText(), expected); log.info("Text is expected: " + expected); } @Step protected void checkIfTextIsExpected(By el, String expected) { Assert.assertEquals(driver.findElement(el).getText(), expected); log.info("Text is expected: " + expected); } @Step protected Boolean checkIfTextIsContains(By el, String partialText) { String text = driver.findElement(el).getText(); if (text.contains(partialText)) { log.info("Check if: " + text + " contains " + partialText + " Return TRUE"); return true; } else { log.info("Check if: " + text + " doesn't contains " + partialText + " Return FALSE"); return false; } } @Step protected Boolean checkIfTextIsContains(WebElement element, String partialText) { String text = element.getText(); if (text.contains(partialText)) { log.info("Check if: " + text + " contains " + partialText + " Return TRUE"); return true; } else { log.info("Check if: " + text + " doesn't contains " + partialText + " Return FALSE"); return false; } } @Step protected void checkIfTextIsNotExpected(WebElement element, String expected) { String el = element.getText(); Assert.assertNotEquals(el, expected); log.info("PASSED - Text is not expected, " + "expected: " + expected + " and actual: " + el); } @Step protected void checkIfTextIsNotExpected(By el, String expected) { String element = driver.findElement(el).getText(); Assert.assertNotEquals(element, expected); log.info("PASSED - Text is not expected, " + "expected: " + expected + " and actual: " + element); } @Step protected boolean checkIfElementIsVisible(WebElement element, int inSeconds) { try { WebDriverWait wait = new WebDriverWait(driver, inSeconds); wait.until(ExpectedConditions.visibilityOf(element)); log.info(element + " is visible"); return true; } catch (Exception e) { log.info(element + " is not visible"); return false; } } @Step protected boolean checkIfElementIsPresent(By by, int inSeconds) { try { WebDriverWait wait = new WebDriverWait(driver, inSeconds); wait.until(ExpectedConditions.presenceOfElementLocated(by)); log.info(by + " is present"); return true; } catch (Exception e) { log.info(by + " is not present"); return false; } } @Step protected boolean checkIfElementIsInvisible(WebElement element, int inSeconds) { try { WebDriverWait wait = new WebDriverWait(driver, inSeconds); wait.until(ExpectedConditions.invisibilityOf(element)); log.info(element + " is invisible"); return true; } catch (Exception e) { log.info(element + " is not invisible"); return false; } } @Step protected boolean checkIfElementIsClickAble(WebElement element, int inSeconds) { try { WebDriverWait wait = new WebDriverWait(driver, inSeconds); wait.until(ExpectedConditions.elementToBeClickable(element)); log.info(element + " is clickable"); return true; } catch (Exception e) { log.info(element + " is not clickable"); return false; } } }
33.645161
106
0.611937
37f1bbe38e5038924b6447595b66e1e4ac0b40c2
1,603
// Copyright 2007, 2008, 2009 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package org.apache.tapestry5.ioc.annotations; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Used to guide Tapestry when coercing from a raw type to a field or parameter type, by forcing Tapestry to coerce to * the intermediate type. This was introduced to allow coercion from string to a time period (in milliseconds) via * <a href="https://tapestry.apache.org/current/apidocs/org/apache/tapestry5/commons/util/TimeInterval.html">TimeInterval</a> * * @see org.apache.tapestry5.ioc.annotations.Value * @see org.apache.tapestry5.ioc.annotations.Symbol */ @Target({ ElementType.PARAMETER, ElementType.FIELD }) @Retention(RetentionPolicy.RUNTIME) @Documented @UseWith(AnnotationUseContext.SERVICE) public @interface IntermediateType { /** * The intermediate to coerce through. */ Class value(); }
37.27907
125
0.764816
563f384942ac3f134d79369dd9b024bc669c518f
8,744
package com.mypurecloud.sdk.v2.model; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.deser.std.StdDeserializer; import java.util.Objects; import java.io.IOException; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonValue; import com.mypurecloud.sdk.v2.model.ConversationContentAttachment; import com.mypurecloud.sdk.v2.model.ConversationContentButtonResponse; import com.mypurecloud.sdk.v2.model.ConversationContentGeneric; import com.mypurecloud.sdk.v2.model.ConversationContentLocation; import com.mypurecloud.sdk.v2.model.ConversationContentNotificationTemplate; import com.mypurecloud.sdk.v2.model.ConversationContentQuickReply; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; /** * Message content element. */ @ApiModel(description = "Message content element.") public class ConversationMessageContent implements Serializable { private static class ContentTypeEnumDeserializer extends StdDeserializer<ContentTypeEnum> { public ContentTypeEnumDeserializer() { super(ContentTypeEnumDeserializer.class); } @Override public ContentTypeEnum deserialize(JsonParser jsonParser, DeserializationContext ctxt) throws IOException { JsonNode node = jsonParser.getCodec().readTree(jsonParser); return ContentTypeEnum.fromString(node.toString().replace("\"", "")); } } /** * Type of this content element. If contentType = \"Attachment\" only one item is allowed. */ @JsonDeserialize(using = ContentTypeEnumDeserializer.class) public enum ContentTypeEnum { OUTDATEDSDKVERSION("OutdatedSdkVersion"), ATTACHMENT("Attachment"), LOCATION("Location"), QUICKREPLY("QuickReply"), NOTIFICATION("Notification"), BUTTONRESPONSE("ButtonResponse"), GENERICTEMPLATE("GenericTemplate"); private String value; ContentTypeEnum(String value) { this.value = value; } @JsonCreator public static ContentTypeEnum fromString(String key) { if (key == null) return null; for (ContentTypeEnum value : ContentTypeEnum.values()) { if (key.equalsIgnoreCase(value.toString())) { return value; } } return ContentTypeEnum.values()[0]; } @Override @JsonValue public String toString() { return String.valueOf(value); } } private ContentTypeEnum contentType = null; private ConversationContentLocation location = null; private ConversationContentAttachment attachment = null; private ConversationContentQuickReply quickReply = null; private ConversationContentNotificationTemplate template = null; private ConversationContentButtonResponse buttonResponse = null; private ConversationContentGeneric generic = null; /** * Type of this content element. If contentType = \"Attachment\" only one item is allowed. **/ public ConversationMessageContent contentType(ContentTypeEnum contentType) { this.contentType = contentType; return this; } @ApiModelProperty(example = "null", required = true, value = "Type of this content element. If contentType = \"Attachment\" only one item is allowed.") @JsonProperty("contentType") public ContentTypeEnum getContentType() { return contentType; } public void setContentType(ContentTypeEnum contentType) { this.contentType = contentType; } /** * Location content. **/ public ConversationMessageContent location(ConversationContentLocation location) { this.location = location; return this; } @ApiModelProperty(example = "null", value = "Location content.") @JsonProperty("location") public ConversationContentLocation getLocation() { return location; } public void setLocation(ConversationContentLocation location) { this.location = location; } /** * Attachment content. **/ public ConversationMessageContent attachment(ConversationContentAttachment attachment) { this.attachment = attachment; return this; } @ApiModelProperty(example = "null", value = "Attachment content.") @JsonProperty("attachment") public ConversationContentAttachment getAttachment() { return attachment; } public void setAttachment(ConversationContentAttachment attachment) { this.attachment = attachment; } /** * Quick reply content. **/ public ConversationMessageContent quickReply(ConversationContentQuickReply quickReply) { this.quickReply = quickReply; return this; } @ApiModelProperty(example = "null", value = "Quick reply content.") @JsonProperty("quickReply") public ConversationContentQuickReply getQuickReply() { return quickReply; } public void setQuickReply(ConversationContentQuickReply quickReply) { this.quickReply = quickReply; } /** * Template notification content. **/ public ConversationMessageContent template(ConversationContentNotificationTemplate template) { this.template = template; return this; } @ApiModelProperty(example = "null", value = "Template notification content.") @JsonProperty("template") public ConversationContentNotificationTemplate getTemplate() { return template; } public void setTemplate(ConversationContentNotificationTemplate template) { this.template = template; } /** * Button response content. **/ public ConversationMessageContent buttonResponse(ConversationContentButtonResponse buttonResponse) { this.buttonResponse = buttonResponse; return this; } @ApiModelProperty(example = "null", value = "Button response content.") @JsonProperty("buttonResponse") public ConversationContentButtonResponse getButtonResponse() { return buttonResponse; } public void setButtonResponse(ConversationContentButtonResponse buttonResponse) { this.buttonResponse = buttonResponse; } /** * Generic Template Object **/ public ConversationMessageContent generic(ConversationContentGeneric generic) { this.generic = generic; return this; } @ApiModelProperty(example = "null", value = "Generic Template Object") @JsonProperty("generic") public ConversationContentGeneric getGeneric() { return generic; } public void setGeneric(ConversationContentGeneric generic) { this.generic = generic; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ConversationMessageContent conversationMessageContent = (ConversationMessageContent) o; return Objects.equals(this.contentType, conversationMessageContent.contentType) && Objects.equals(this.location, conversationMessageContent.location) && Objects.equals(this.attachment, conversationMessageContent.attachment) && Objects.equals(this.quickReply, conversationMessageContent.quickReply) && Objects.equals(this.template, conversationMessageContent.template) && Objects.equals(this.buttonResponse, conversationMessageContent.buttonResponse) && Objects.equals(this.generic, conversationMessageContent.generic); } @Override public int hashCode() { return Objects.hash(contentType, location, attachment, quickReply, template, buttonResponse, generic); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ConversationMessageContent {\n"); sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); sb.append(" location: ").append(toIndentedString(location)).append("\n"); sb.append(" attachment: ").append(toIndentedString(attachment)).append("\n"); sb.append(" quickReply: ").append(toIndentedString(quickReply)).append("\n"); sb.append(" template: ").append(toIndentedString(template)).append("\n"); sb.append(" buttonResponse: ").append(toIndentedString(buttonResponse)).append("\n"); sb.append(" generic: ").append(toIndentedString(generic)).append("\n"); sb.append("}"); return sb.toString(); } /** * Convert the given object to string with each line indented by 4 spaces * (except the first line). */ private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); } }
32.505576
153
0.731587
5af72cad2a833a4761d2620cf3000673df6ca9ae
370
package ca.android; import java.util.EventListener; public interface MainControllerGestureEventListener extends EventListener { public void onSwipeRight(); public void onSwipeLeft(); public void onSwipeTop(); public void onSwipeBottom(); public void tapUp(); public void onScroll(float fromX, float fromY, float toX, float toY, float movedInX, float movedInY); }
30.833333
102
0.791892
09876dc861bb833b7abcfc917c0a32bfe41ea3be
398
package com.spk.service; import com.spk.model.User; import com.spk.model.utils.Gender; import java.util.List; /** * Created by Gl552 on 4/25/2017. */ public interface UserService extends BaseService<User> { List<User> findByGender(Gender gender); List<User> findByGenderAndUsernameNot(Gender gender, String username); User findByUsername(String username); User update(User user); }
19.9
72
0.753769
d136d97ea268496d6a0efcdb280c8093274bc568
1,846
package org.pes.onecemulator.facade.impl; import org.pes.onecemulator.converter.internal.PayerModelConverter; import org.pes.onecemulator.entity.Payer; import org.pes.onecemulator.exception.NotFoundException; import org.pes.onecemulator.exception.ValidationException; import org.pes.onecemulator.facade.PayerFacade; import org.pes.onecemulator.model.internal.PayerModel; import org.pes.onecemulator.service.PayerService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.UUID; import java.util.stream.Collectors; @Service public class PayerFacadeImpl implements PayerFacade { private static final PayerModelConverter PAYER_MODEL_CONVERTER = new PayerModelConverter(); private final PayerService payerService; @Autowired public PayerFacadeImpl(final PayerService payerService) { this.payerService = payerService; } @Override public List<PayerModel> list() { return payerService.list().stream() .map(PAYER_MODEL_CONVERTER::convert) .collect(Collectors.toList()); } @Override public List<String> listCodeBySource(final String source) { return payerService.listBySource(source).stream() .map(Payer::getCode) .collect(Collectors.toList()); } @Override public PayerModel create(final PayerModel model) throws ValidationException { return PAYER_MODEL_CONVERTER.convert(payerService.create(model)); } @Override public PayerModel update(final PayerModel model) throws NotFoundException, ValidationException { return PAYER_MODEL_CONVERTER.convert(payerService.update(model)); } @Override public void delete(final UUID id) { payerService.delete(id); } }
31.827586
100
0.741603
6ee2c98dfa5291519665ee066aa8678cf26c197e
13,122
package com.java2nb.novel.mapper; import static com.java2nb.novel.mapper.AuthorIncomeDynamicSqlSupport.*; import static org.mybatis.dynamic.sql.SqlBuilder.*; import com.java2nb.novel.entity.AuthorIncome; import java.util.Collection; import java.util.List; import java.util.Optional; import javax.annotation.Generated; import org.apache.ibatis.annotations.DeleteProvider; import org.apache.ibatis.annotations.InsertProvider; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Result; import org.apache.ibatis.annotations.ResultMap; import org.apache.ibatis.annotations.Results; import org.apache.ibatis.annotations.SelectProvider; import org.apache.ibatis.annotations.UpdateProvider; import org.apache.ibatis.type.JdbcType; import org.mybatis.dynamic.sql.BasicColumn; import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; import org.mybatis.dynamic.sql.delete.render.DeleteStatementProvider; import org.mybatis.dynamic.sql.insert.render.InsertStatementProvider; import org.mybatis.dynamic.sql.insert.render.MultiRowInsertStatementProvider; import org.mybatis.dynamic.sql.select.CountDSLCompleter; import org.mybatis.dynamic.sql.select.SelectDSLCompleter; import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; import org.mybatis.dynamic.sql.update.UpdateDSL; import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; import org.mybatis.dynamic.sql.update.UpdateModel; import org.mybatis.dynamic.sql.update.render.UpdateStatementProvider; import org.mybatis.dynamic.sql.util.SqlProviderAdapter; import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface AuthorIncomeMapper { @Generated("org.mybatis.generator.api.MyBatisGenerator") BasicColumn[] selectList = BasicColumn.columnList(id, userId, authorId, bookId, incomeMonth, preTaxIncome, afterTaxIncome, payStatus, confirmStatus, detail, createTime); @Generated("org.mybatis.generator.api.MyBatisGenerator") static UpdateDSL<UpdateModel> updateAllColumns(AuthorIncome record, UpdateDSL<UpdateModel> dsl) { return dsl.set(id).equalTo(record::getId) .set(userId).equalTo(record::getUserId) .set(authorId).equalTo(record::getAuthorId) .set(bookId).equalTo(record::getBookId) .set(incomeMonth).equalTo(record::getIncomeMonth) .set(preTaxIncome).equalTo(record::getPreTaxIncome) .set(afterTaxIncome).equalTo(record::getAfterTaxIncome) .set(payStatus).equalTo(record::getPayStatus) .set(confirmStatus).equalTo(record::getConfirmStatus) .set(detail).equalTo(record::getDetail) .set(createTime).equalTo(record::getCreateTime); } @Generated("org.mybatis.generator.api.MyBatisGenerator") static UpdateDSL<UpdateModel> updateSelectiveColumns(AuthorIncome record, UpdateDSL<UpdateModel> dsl) { return dsl.set(id).equalToWhenPresent(record::getId) .set(userId).equalToWhenPresent(record::getUserId) .set(authorId).equalToWhenPresent(record::getAuthorId) .set(bookId).equalToWhenPresent(record::getBookId) .set(incomeMonth).equalToWhenPresent(record::getIncomeMonth) .set(preTaxIncome).equalToWhenPresent(record::getPreTaxIncome) .set(afterTaxIncome).equalToWhenPresent(record::getAfterTaxIncome) .set(payStatus).equalToWhenPresent(record::getPayStatus) .set(confirmStatus).equalToWhenPresent(record::getConfirmStatus) .set(detail).equalToWhenPresent(record::getDetail) .set(createTime).equalToWhenPresent(record::getCreateTime); } @Generated("org.mybatis.generator.api.MyBatisGenerator") @SelectProvider(type = SqlProviderAdapter.class, method = "select") long count(SelectStatementProvider selectStatement); @Generated("org.mybatis.generator.api.MyBatisGenerator") @DeleteProvider(type = SqlProviderAdapter.class, method = "delete") int delete(DeleteStatementProvider deleteStatement); @Generated("org.mybatis.generator.api.MyBatisGenerator") @InsertProvider(type = SqlProviderAdapter.class, method = "insert") int insert(InsertStatementProvider<AuthorIncome> insertStatement); @Generated("org.mybatis.generator.api.MyBatisGenerator") @InsertProvider(type = SqlProviderAdapter.class, method = "insertMultiple") int insertMultiple(MultiRowInsertStatementProvider<AuthorIncome> multipleInsertStatement); @Generated("org.mybatis.generator.api.MyBatisGenerator") @SelectProvider(type = SqlProviderAdapter.class, method = "select") @ResultMap("AuthorIncomeResult") Optional<AuthorIncome> selectOne(SelectStatementProvider selectStatement); @Generated("org.mybatis.generator.api.MyBatisGenerator") @SelectProvider(type = SqlProviderAdapter.class, method = "select") @Results(id = "AuthorIncomeResult", value = { @Result(column = "id", property = "id", jdbcType = JdbcType.BIGINT, id = true), @Result(column = "user_id", property = "userId", jdbcType = JdbcType.BIGINT), @Result(column = "author_id", property = "authorId", jdbcType = JdbcType.BIGINT), @Result(column = "book_id", property = "bookId", jdbcType = JdbcType.BIGINT), @Result(column = "income_month", property = "incomeMonth", jdbcType = JdbcType.DATE), @Result(column = "pre_tax_income", property = "preTaxIncome", jdbcType = JdbcType.BIGINT), @Result(column = "after_tax_income", property = "afterTaxIncome", jdbcType = JdbcType.BIGINT), @Result(column = "pay_status", property = "payStatus", jdbcType = JdbcType.TINYINT), @Result(column = "confirm_status", property = "confirmStatus", jdbcType = JdbcType.TINYINT), @Result(column = "detail", property = "detail", jdbcType = JdbcType.VARCHAR), @Result(column = "create_time", property = "createTime", jdbcType = JdbcType.TIMESTAMP) }) List<AuthorIncome> selectMany(SelectStatementProvider selectStatement); @Generated("org.mybatis.generator.api.MyBatisGenerator") @UpdateProvider(type = SqlProviderAdapter.class, method = "update") int update(UpdateStatementProvider updateStatement); @Generated("org.mybatis.generator.api.MyBatisGenerator") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, authorIncome, completer); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, authorIncome, completer); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default int deleteByPrimaryKey(Long id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default int insert(AuthorIncome record) { return MyBatis3Utils.insert(this::insert, record, authorIncome, c -> c.map(id).toProperty("id") .map(userId).toProperty("userId") .map(authorId).toProperty("authorId") .map(bookId).toProperty("bookId") .map(incomeMonth).toProperty("incomeMonth") .map(preTaxIncome).toProperty("preTaxIncome") .map(afterTaxIncome).toProperty("afterTaxIncome") .map(payStatus).toProperty("payStatus") .map(confirmStatus).toProperty("confirmStatus") .map(detail).toProperty("detail") .map(createTime).toProperty("createTime") ); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default int insertMultiple(Collection<AuthorIncome> records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, authorIncome, c -> c.map(id).toProperty("id") .map(userId).toProperty("userId") .map(authorId).toProperty("authorId") .map(bookId).toProperty("bookId") .map(incomeMonth).toProperty("incomeMonth") .map(preTaxIncome).toProperty("preTaxIncome") .map(afterTaxIncome).toProperty("afterTaxIncome") .map(payStatus).toProperty("payStatus") .map(confirmStatus).toProperty("confirmStatus") .map(detail).toProperty("detail") .map(createTime).toProperty("createTime") ); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default int insertSelective(AuthorIncome record) { return MyBatis3Utils.insert(this::insert, record, authorIncome, c -> c.map(id).toPropertyWhenPresent("id", record::getId) .map(userId).toPropertyWhenPresent("userId", record::getUserId) .map(authorId).toPropertyWhenPresent("authorId", record::getAuthorId) .map(bookId).toPropertyWhenPresent("bookId", record::getBookId) .map(incomeMonth).toPropertyWhenPresent("incomeMonth", record::getIncomeMonth) .map(preTaxIncome).toPropertyWhenPresent("preTaxIncome", record::getPreTaxIncome) .map(afterTaxIncome).toPropertyWhenPresent("afterTaxIncome", record::getAfterTaxIncome) .map(payStatus).toPropertyWhenPresent("payStatus", record::getPayStatus) .map(confirmStatus).toPropertyWhenPresent("confirmStatus", record::getConfirmStatus) .map(detail).toPropertyWhenPresent("detail", record::getDetail) .map(createTime).toPropertyWhenPresent("createTime", record::getCreateTime) ); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default Optional<AuthorIncome> selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, authorIncome, completer); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default List<AuthorIncome> select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, authorIncome, completer); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default List<AuthorIncome> selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, authorIncome, completer); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default Optional<AuthorIncome> selectByPrimaryKey(Long id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, authorIncome, completer); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default int updateByPrimaryKey(AuthorIncome record) { return update(c -> c.set(userId).equalTo(record::getUserId) .set(authorId).equalTo(record::getAuthorId) .set(bookId).equalTo(record::getBookId) .set(incomeMonth).equalTo(record::getIncomeMonth) .set(preTaxIncome).equalTo(record::getPreTaxIncome) .set(afterTaxIncome).equalTo(record::getAfterTaxIncome) .set(payStatus).equalTo(record::getPayStatus) .set(confirmStatus).equalTo(record::getConfirmStatus) .set(detail).equalTo(record::getDetail) .set(createTime).equalTo(record::getCreateTime) .where(id, isEqualTo(record::getId)) ); } @Generated("org.mybatis.generator.api.MyBatisGenerator") default int updateByPrimaryKeySelective(AuthorIncome record) { return update(c -> c.set(userId).equalToWhenPresent(record::getUserId) .set(authorId).equalToWhenPresent(record::getAuthorId) .set(bookId).equalToWhenPresent(record::getBookId) .set(incomeMonth).equalToWhenPresent(record::getIncomeMonth) .set(preTaxIncome).equalToWhenPresent(record::getPreTaxIncome) .set(afterTaxIncome).equalToWhenPresent(record::getAfterTaxIncome) .set(payStatus).equalToWhenPresent(record::getPayStatus) .set(confirmStatus).equalToWhenPresent(record::getConfirmStatus) .set(detail).equalToWhenPresent(record::getDetail) .set(createTime).equalToWhenPresent(record::getCreateTime) .where(id, isEqualTo(record::getId)) ); } }
54.22314
173
0.673144
5d22f87a366b99aced493d28dbe261ce4277e854
354
/** * @Author: zzStar * @Date: 10-22-2020 18:46 */ public class Test { public static void main(String[] args) { ArrayStack<Object> stack = new ArrayStack<>(); for (int i = 0; i < 5; i++) { stack.push(i); System.out.println(stack); } stack.pop(); System.out.println(stack); } }
19.666667
54
0.502825
be2f01c5bb89d2e0cf03e218237023529a4cc837
2,770
package com.intellij.remoterobot.launcher; import com.intellij.remoterobot.RemoteRobot; import com.intellij.remoterobot.fixtures.JLabelFixture; import okhttp3.OkHttpClient; import org.apache.commons.io.FileUtils; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; import org.junit.jupiter.api.extension.ExtendWith; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.time.Duration; import java.util.*; import java.util.concurrent.TimeUnit; import static com.intellij.remoterobot.launcher.RemoteRobotExtKt.isAvailable; import static com.intellij.remoterobot.search.locators.Locators.byXpath; import static com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor; import static org.junit.jupiter.api.Assertions.assertEquals; @ExtendWith(CommandLineProjectTest.IdeTestWatcher.class) @Timeout(value = 25, unit = TimeUnit.MINUTES) public class LauncherJavaExampleTest { private static Process ideaProcess; private static Path tmpDir; private static RemoteRobot remoteRobot; private final static Ide.BuildType buildType = Ide.BuildType.RELEASE; private final static String version = "2021.3.2"; static { try { tmpDir = Files.createTempDirectory("launcher"); } catch (IOException e) { e.printStackTrace(); } } @BeforeAll public static void before() { final OkHttpClient client = new OkHttpClient(); remoteRobot = new RemoteRobot("http://localhost:8082", client); final IdeDownloader ideDownloader = new IdeDownloader(client); final Map<String, Object> additionalProperties = new HashMap<>(); additionalProperties.put("robot-server.port", 8082); final List<Path> plugins = new ArrayList<>(); plugins.add(ideDownloader.downloadRobotPlugin(tmpDir)); // plugins.add(path to your plugin) ideaProcess = IdeLauncher.INSTANCE.launchIde( ideDownloader.downloadAndExtract(Ide.IDEA_COMMUNITY, tmpDir, buildType, version), additionalProperties, Collections.emptyList(), plugins, tmpDir ); waitFor(Duration.ofSeconds(90), Duration.ofSeconds(5), () -> isAvailable(remoteRobot)); } @AfterAll public static void after() throws IOException { ideaProcess.destroy(); FileUtils.cleanDirectory(tmpDir.toFile()); } @Test public void test() { final JLabelFixture welcomeLabel = remoteRobot.find(JLabelFixture.class, byXpath("//div[@text.key='label.welcome.to.0']")); assertEquals(welcomeLabel.getValue(), "Welcome to IntelliJ IDEA"); } }
36.933333
131
0.711191
9def43bb0268eb5210cab46f488783b4a909adeb
2,524
// Copyright 2011-2016 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package com.google.security.zynamics.binnavi.standardplugins.pathfinder; import com.google.security.zynamics.binnavi.API.disassembly.Module; import com.google.security.zynamics.binnavi.standardplugins.utils.IconNodeRenderer; import com.google.security.zynamics.binnavi.standardplugins.utils.TreeHelpers; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JDialog; import javax.swing.JTree; /** * This class is used to show all functions and basic blocks of a module in a tree structure. */ public final class FunctionTree extends JTree { /** * Creates a new function tree object. * * @param parent The function dialog where the tree is shown. * @param module The module that provides the functions and basic blocks. */ public FunctionTree(final JDialog parent, final Module module) { setModel(new FilteredTreeModel(parent, module)); setRootVisible(false); setCellRenderer(new IconNodeRenderer()); // ATTENTION: UNDER NO CIRCUMSTANCES MOVE THIS LINE // ABOVE THE SETROOT LINE addMouseListener(new InternalMouseListener()); } /** * Passes double-click events to the nodes to handle them. */ private void handleDoubleClick(final MouseEvent event) { final IFunctionTreeNode selectedNode = (IFunctionTreeNode) TreeHelpers.getNodeAt(this, event.getX(), event.getY()); if (selectedNode == null) { return; } selectedNode.doubleClicked(); } public void dispose() { ((FunctionTreeRootNode) getModel().getRoot()).dispose(); } /** * Handles double-clicks and right-clicks on nodes. */ private class InternalMouseListener extends MouseAdapter { @Override public void mouseClicked(final MouseEvent event) { if ((event.getClickCount() == 2) && (event.getButton() == MouseEvent.BUTTON1)) { handleDoubleClick(event); } } } }
33.210526
96
0.717512
ceac069122bbdb54ec4868b8a3c33935d8dac138
4,170
package io.rivulet.converter; import org.apache.http.Consts; import org.apache.http.client.utils.URLEncodedUtils; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.nio.charset.Charset; /* Converter which replaces an HTTP URI's path entirely or by appending */ public class UriPathConverter extends BasicConverter { private static final long serialVersionUID = 5050148404894290169L; // Whether the replacement should be appended to the original private final boolean append; // Whether the original path and its replacement should be encoded. private final boolean encoded; private UriPathConverter(boolean append, boolean encoded) { super(ConverterPriority.VERY_LOW, String.class, String.class); this.append = append; this.encoded = encoded; } @Override public boolean isInPlace() { return false; } @Override public Object convert(Object target, Object source) { if(!(source instanceof String && target instanceof String)) { return null; } else { String sourceStr = (String) source; try { sourceStr = encodeIfNecessary(sourceStr); } catch(Exception e) { return null; } String targetStr = (String) target; if(!append || !targetStr.contains("/")) { return new String(sourceStr); } else if(targetStr.endsWith(sourceStr)) { return new String(targetStr); } else { return targetStr + "/" + sourceStr; } } } private String encodeIfNecessary(String path) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException { if(encoded) { Method encodeMethod = URLEncodedUtils.class.getDeclaredMethod("encPath", String.class, Charset.class); encodeMethod.setAccessible(true); return (String) encodeMethod.invoke(null, path, Consts.UTF_8); } else { return path; } } @Override public String toString() { return String.format("<UriPathConverter: %s + %s>", encoded ? "encoded" : "decoded", append ? "appending" : "replacing"); } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; UriPathConverter that = (UriPathConverter) o; if (append != that.append) return false; return encoded == that.encoded; } @Override public int hashCode() { int result = super.hashCode(); result = 31 * result + (append ? 1 : 0); result = 31 * result + (encoded ? 1 : 0); return result; } /* Provides access to the instances of UriPathConverter. */ public static UriPathConverter getInstance(boolean afterSlash, boolean encoded) { if(afterSlash) { if(encoded) { return UriPathConverterSingletons.ENCODED_APPENDING_INSTANCE; } else { return UriPathConverterSingletons.DECODED_APPENDING_INSTANCE; } } else { if(encoded) { return UriPathConverterSingletons.ENCODED_REPLACING_INSTANCE; } else { return UriPathConverterSingletons.DECODED_REPLACING_INSTANCE; } } } /* Inner class used to provide access to the four instances of UriPathConverter and ensure that only four instances of * UriPathConverter are ever created. */ private static class UriPathConverterSingletons { private static final UriPathConverter ENCODED_APPENDING_INSTANCE = new UriPathConverter(true, true); private static final UriPathConverter DECODED_APPENDING_INSTANCE = new UriPathConverter(true, false); private static final UriPathConverter ENCODED_REPLACING_INSTANCE = new UriPathConverter(false, true); private static final UriPathConverter DECODED_REPLACING_INSTANCE = new UriPathConverter(false, false); } }
36.578947
131
0.642206
3de26680b6d41e20d1212c6d2267b5552c012293
762
package com.wangyu.kgbackend.dao; import com.wangyu.kgbackend.pojo.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import java.util.List; /** * @author wongy */ public interface UserDAO extends JpaRepository<User,Integer> { /** * 根据用户名查找用户 * @param username 用户名 * @return 对应的User对象 */ User findByUsername(String username); /** * 通过用户名和密码查找对应的对象 * @param username 用户名 * @param password 密码 * @return 对应的User对象 */ User findByUsernameAndPassword(String username,String password); /** * 列出所有的表项 * @return 用户密码表 */ @Query(value = "select new User(u.id,u.username) from User u") List<User> list(); }
21.771429
68
0.664042
71ed3fcc6a5f8f1df7d7fa30d329f6f92c239136
525
package com.guircai.design.creational.factory.simplefactory; /** * 简单工厂 * 1. 产品数量极少 */ public class WuLingSimpleFactory { /** * * @param type Class: 好像具有拓展性,但是没有解决实际问题。 * @return */ public AbstractCar newCar(String type) { // 核心方法:一切从简 if ("van".equals(type)) { return new VanCar(); } else if ("mini".equals(type)) { return new MiniCar(); } // ...... // 更多的产品,违反开闭原则,应该直接拓展出一个类来造车。 return null; } }
20.192308
60
0.518095
04c03a8c64bc6be0798907ae128c02b01fb95214
6,998
package com.bugsnag; import java.io.FileWriter; import java.util.List; import java.util.Arrays; import java.util.Iterator; import java.util.Map; import java.util.Comparator; import org.json.JSONObject; import org.json.JSONArray; import com.bugsnag.utils.JSONUtils; public class Error { private static final List<String> ALLOWED_SEVERITIES = Arrays.asList("error", "warning", "info"); private Throwable exception; private Configuration config; private MetaData metaData; private Diagnostics diagnostics; private String severity; private String payloadVersion = "2"; private String groupingHash; public Error(Throwable exception, String severity, MetaData metaData, Configuration config, Diagnostics diagnostics) { this.exception = exception; this.config = config; this.metaData = metaData; this.diagnostics = diagnostics; this.setSeverity(severity); if(this.metaData == null) { this.metaData = new MetaData(); } } public JSONObject toJSON() { JSONObject error = new JSONObject(); // Add basic information JSONUtils.safePut(error, "user", diagnostics.getUser()); JSONUtils.safePutOpt(error, "app", diagnostics.getAppData()); JSONUtils.safePutOpt(error, "appState", diagnostics.getAppState()); JSONUtils.safePutOpt(error, "device", diagnostics.getDeviceData()); JSONUtils.safePutOpt(error, "deviceState", diagnostics.getDeviceState()); JSONUtils.safePut(error, "context", diagnostics.getContext()); JSONUtils.safePut(error, "severity", severity); JSONUtils.safePut(error, "payloadVersion", payloadVersion); if(groupingHash != null) { JSONUtils.safePut(error, "groupingHash", groupingHash); } // Unwrap exceptions JSONArray exceptions = new JSONArray(); Throwable currentEx = this.exception; while(currentEx != null) { JSONObject exception = new JSONObject(); JSONUtils.safePut(exception, "errorClass", currentEx.getClass().getName()); JSONUtils.safePut(exception, "message", currentEx.getLocalizedMessage()); // Stacktrace JSONArray stacktraceJSON = stacktraceToJSON(currentEx.getStackTrace()); JSONUtils.safePut(exception, "stacktrace", stacktraceJSON); currentEx = currentEx.getCause(); exceptions.put(exception); } JSONUtils.safePut(error, "exceptions", exceptions); // Merge global metaData with local metaData, apply filters, and add to this error MetaData errorMetaData = config.getMetaData().merge(metaData).filter(config.filters); JSONUtils.safePut(error, "metaData", errorMetaData); // Add thread status to payload if(config.sendThreads) { JSONUtils.safePut(error, "threads", getThreadStatus()); } return error; } public String toString() { return toJSON().toString(); } public void addToTab(String tabName, String key, Object value) { metaData.addToTab(tabName, key, value); } public boolean shouldIgnore() { return config.shouldIgnore(getExceptionName()); } public void writeToFile(String filename) throws java.io.IOException { String errorString = toString(); if(errorString.length() > 0) { // Write the error to disk FileWriter writer = null; try { writer = new FileWriter(filename); writer.write(errorString); writer.flush(); config.logger.debug(String.format("Saved unsent error to disk (%s) ", filename)); } finally { if(writer != null) { writer.close(); } } } } private JSONArray getThreadStatus() { JSONArray threads = new JSONArray(); long currentId = Thread.currentThread().getId(); Map<Thread,StackTraceElement[]> liveThreads = Thread.getAllStackTraces(); Object[] keys = liveThreads.keySet().toArray(); Arrays.sort(keys, new Comparator<Object>(){ public int compare(Object a, Object b) { return new Long(((Thread)a).getId()).compareTo(((Thread)b).getId()); } }); for(int i = 0; i < keys.length; i++) { JSONObject threadJSON = new JSONObject(); Thread thread = (Thread)keys[i]; // Don't show the current stacktrace here. It'll point at this method // rather than at the point they crashed. if (thread.getId() != currentId) { StackTraceElement[] stacktrace = liveThreads.get(thread); JSONArray stacktraceJSON = stacktraceToJSON(stacktrace); JSONUtils.safePut(threadJSON, "id", thread.getId()); JSONUtils.safePut(threadJSON, "name", thread.getName()); JSONUtils.safePut(threadJSON, "stacktrace", stacktraceJSON); threads.put(threadJSON); } } return threads; } private JSONArray stacktraceToJSON(StackTraceElement[] stacktrace) { JSONArray stacktraceJson = new JSONArray(); for(StackTraceElement el : stacktrace) { try { JSONObject line = new JSONObject(); JSONUtils.safePut(line, "method", el.getClassName() + "." + el.getMethodName()); JSONUtils.safePut(line, "file", el.getFileName() == null ? "Unknown" : el.getFileName()); JSONUtils.safePut(line, "lineNumber", el.getLineNumber()); // Check if line is inProject if(config.projectPackages != null) { for(String packageName : config.projectPackages) { if(packageName != null && el.getClassName().startsWith(packageName)) { line.put("inProject", true); break; } } } stacktraceJson.put(line); } catch(Exception lineEx) { lineEx.printStackTrace(System.err); } } return stacktraceJson; } public void setSeverity(String severity) { if(severity == null || !ALLOWED_SEVERITIES.contains(severity)) { this.severity = "warning"; } else { this.severity = severity; } } public void setGroupingHash(String groupingHash) { this.groupingHash = groupingHash; } public Throwable getException() { return exception; } public String getExceptionName() { return exception.getClass().getName(); } public StackTraceElement[] getStackTrace() { return exception.getStackTrace(); } public MetaData getMetaData() { return metaData; } }
33.483254
122
0.598028
88070fe379283f81821951ed64f31616ad8f5166
16,558
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License */ package com.android.incallui; import com.google.common.annotations.VisibleForTesting; import android.content.Context; import android.location.Address; import android.text.TextUtils; import android.text.format.DateFormat; import android.util.Pair; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.ListAdapter; import android.widget.RelativeLayout; import android.widget.RelativeLayout.LayoutParams; import android.widget.TextView; import com.android.dialer.R; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Locale; /** * Wrapper class for objects that are used in generating the context about the contact in the InCall * screen. * * This handles generating the appropriate resource for the ListAdapter based on whether the contact * is a business contact or not and logic for the manipulation of data for the call context. */ public class InCallContactInteractions { private static final String TAG = InCallContactInteractions.class.getSimpleName(); private Context mContext; private InCallContactInteractionsListAdapter mListAdapter; private boolean mIsBusiness; private View mBusinessHeaderView; private LayoutInflater mInflater; public InCallContactInteractions(Context context, boolean isBusiness) { mContext = context; mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); switchContactType(isBusiness); } public InCallContactInteractionsListAdapter getListAdapter() { return mListAdapter; } /** * Switches the "isBusiness" value, if applicable. Recreates the list adapter with the resource * corresponding to the new isBusiness value if the "isBusiness" value is switched. * * @param isBusiness Whether or not the contact is a business. * * @return {@code true} if a new list adapter was created, {@code} otherwise. */ public boolean switchContactType(boolean isBusiness) { if (mIsBusiness != isBusiness || mListAdapter == null) { mIsBusiness = isBusiness; mListAdapter = new InCallContactInteractionsListAdapter(mContext, mIsBusiness ? R.layout.business_context_info_list_item : R.layout.person_context_info_list_item); return true; } return false; } public View getBusinessListHeaderView() { if (mBusinessHeaderView == null) { mBusinessHeaderView = mInflater.inflate( R.layout.business_contact_context_list_header, null); } return mBusinessHeaderView; } public void setBusinessInfo(Address address, float distance, List<Pair<Calendar, Calendar>> openingHours) { mListAdapter.clear(); List<ContactContextInfo> info = new ArrayList<ContactContextInfo>(); // Hours of operation if (openingHours != null) { BusinessContextInfo hoursInfo = constructHoursInfo(openingHours); if (hoursInfo != null) { info.add(hoursInfo); } } // Location information if (address != null) { BusinessContextInfo locationInfo = constructLocationInfo(address, distance); info.add(locationInfo); } mListAdapter.addAll(info); } /** * Construct a BusinessContextInfo object containing hours of operation information. * The format is: * [Open now/Closed now] * [Hours] * * @param openingHours * @return BusinessContextInfo object with the schedule icon, the heading set to whether the * business is open or not and the details set to the hours of operation. */ private BusinessContextInfo constructHoursInfo(List<Pair<Calendar, Calendar>> openingHours) { try { return constructHoursInfo(Calendar.getInstance(), openingHours); } catch (Exception e) { // Catch all exceptions here because we don't want any crashes if something goes wrong. Log.e(TAG, "Error constructing hours info: ", e); } return null; } /** * Pass in arbitrary current calendar time. */ @VisibleForTesting BusinessContextInfo constructHoursInfo(Calendar currentTime, List<Pair<Calendar, Calendar>> openingHours) { if (currentTime == null || openingHours == null || openingHours.size() == 0) { return null; } BusinessContextInfo hoursInfo = new BusinessContextInfo(); hoursInfo.iconId = R.drawable.ic_schedule_white_24dp; boolean isOpenNow = false; // This variable records which interval the current time is after. 0 denotes none of the // intervals, 1 after the first interval, etc. It is also the index of the interval the // current time is in (if open) or the next interval (if closed). int afterInterval = 0; // This variable counts the number of time intervals in today's opening hours. int todaysIntervalCount = 0; for (Pair<Calendar, Calendar> hours : openingHours) { if (hours.first.compareTo(currentTime) <= 0 && currentTime.compareTo(hours.second) < 0) { // If the current time is on or after the opening time and strictly before the // closing time, then this business is open. isOpenNow = true; } if (currentTime.get(Calendar.DAY_OF_YEAR) == hours.first.get(Calendar.DAY_OF_YEAR)) { todaysIntervalCount += 1; } if (currentTime.compareTo(hours.second) > 0) { // This assumes that the list of intervals is sorted by time. afterInterval += 1; } } hoursInfo.heading = isOpenNow ? mContext.getString(R.string.open_now) : mContext.getString(R.string.closed_now); /* * The following logic determines what to display in various cases for hours of operation. * * - Display all intervals if open now and number of intervals is <=2. * - Display next closing time if open now and number of intervals is >2. * - Display next opening time if currently closed but opens later today. * - Display last time it closed today if closed now and tomorrow's hours are unknown. * - Display tomorrow's first open time if closed today and tomorrow's hours are known. * * NOTE: The logic below assumes that the intervals are sorted by ascending time. Possible * TODO to modify the logic above and ensure this is true. */ if (isOpenNow) { if (todaysIntervalCount == 1) { hoursInfo.detail = getTimeSpanStringForHours(openingHours.get(0)); } else if (todaysIntervalCount == 2) { hoursInfo.detail = mContext.getString( R.string.opening_hours, getTimeSpanStringForHours(openingHours.get(0)), getTimeSpanStringForHours(openingHours.get(1))); } else if (afterInterval < openingHours.size()) { // This check should not be necessary since if it is currently open, we should not // be after the last interval, but just in case, we don't want to crash. hoursInfo.detail = mContext.getString( R.string.closes_today_at, getFormattedTimeForCalendar(openingHours.get(afterInterval).second)); } } else { // Currently closed final int lastIntervalToday = todaysIntervalCount - 1; if (todaysIntervalCount == 0) { // closed today hoursInfo.detail = mContext.getString( R.string.opens_tomorrow_at, getFormattedTimeForCalendar(openingHours.get(0).first)); } else if (currentTime.after(openingHours.get(lastIntervalToday).second)) { // Passed hours for today if (todaysIntervalCount < openingHours.size()) { // If all of today's intervals are exhausted, assume the next are tomorrow's. hoursInfo.detail = mContext.getString( R.string.opens_tomorrow_at, getFormattedTimeForCalendar( openingHours.get(todaysIntervalCount).first)); } else { // Grab the last time it was open today. hoursInfo.detail = mContext.getString( R.string.closed_today_at, getFormattedTimeForCalendar( openingHours.get(lastIntervalToday).second)); } } else if (afterInterval < openingHours.size()) { // This check should not be necessary since if it is currently before the last // interval, afterInterval should be less than the count of intervals, but just in // case, we don't want to crash. hoursInfo.detail = mContext.getString( R.string.opens_today_at, getFormattedTimeForCalendar(openingHours.get(afterInterval).first)); } } return hoursInfo; } String getFormattedTimeForCalendar(Calendar calendar) { return DateFormat.getTimeFormat(mContext).format(calendar.getTime()); } String getTimeSpanStringForHours(Pair<Calendar, Calendar> hours) { return mContext.getString(R.string.open_time_span, getFormattedTimeForCalendar(hours.first), getFormattedTimeForCalendar(hours.second)); } /** * Construct a BusinessContextInfo object with the location information of the business. * The format is: * [Straight line distance in miles or kilometers] * [Address without state/country/etc.] * * @param address An Address object containing address details of the business * @param distance The distance to the location in meters * @return A BusinessContextInfo object with the location icon, the heading as the distance to * the business and the details containing the address. */ private BusinessContextInfo constructLocationInfo(Address address, float distance) { return constructLocationInfo(Locale.getDefault(), address, distance); } @VisibleForTesting BusinessContextInfo constructLocationInfo(Locale locale, Address address, float distance) { if (address == null) { return null; } BusinessContextInfo locationInfo = new BusinessContextInfo(); locationInfo.iconId = R.drawable.ic_location_on_white_24dp; if (distance != DistanceHelper.DISTANCE_NOT_FOUND) { //TODO: add a setting to allow the user to select "KM" or "MI" as their distance units. if (Locale.US.equals(locale)) { locationInfo.heading = mContext.getString(R.string.distance_imperial_away, distance * DistanceHelper.MILES_PER_METER); } else { locationInfo.heading = mContext.getString(R.string.distance_metric_away, distance * DistanceHelper.KILOMETERS_PER_METER); } } if (address.getLocality() != null) { locationInfo.detail = mContext.getString( R.string.display_address, address.getAddressLine(0), address.getLocality()); } else { locationInfo.detail = address.getAddressLine(0); } return locationInfo; } /** * Get the appropriate title for the context. * @return The "Business info" title for a business contact and the "Recent messages" title for * personal contacts. */ public String getContactContextTitle() { return mIsBusiness ? mContext.getResources().getString(R.string.business_contact_context_title) : mContext.getResources().getString(R.string.person_contact_context_title); } public static abstract class ContactContextInfo { public abstract void bindView(View listItem); } public static class BusinessContextInfo extends ContactContextInfo { int iconId; String heading; String detail; @Override public void bindView(View listItem) { ImageView imageView = (ImageView) listItem.findViewById(R.id.icon); TextView headingTextView = (TextView) listItem.findViewById(R.id.heading); TextView detailTextView = (TextView) listItem.findViewById(R.id.detail); if (this.iconId == 0 || (this.heading == null && this.detail == null)) { return; } imageView.setImageDrawable(listItem.getContext().getDrawable(this.iconId)); headingTextView.setText(this.heading); headingTextView.setVisibility(TextUtils.isEmpty(this.heading) ? View.GONE : View.VISIBLE); detailTextView.setText(this.detail); detailTextView.setVisibility(TextUtils.isEmpty(this.detail) ? View.GONE : View.VISIBLE); } } public static class PersonContextInfo extends ContactContextInfo { boolean isIncoming; String message; String detail; @Override public void bindView(View listItem) { TextView messageTextView = (TextView) listItem.findViewById(R.id.message); TextView detailTextView = (TextView) listItem.findViewById(R.id.detail); if (this.message == null || this.detail == null) { return; } messageTextView.setBackgroundResource(this.isIncoming ? R.drawable.incoming_sms_background : R.drawable.outgoing_sms_background); messageTextView.setText(this.message); LayoutParams messageLayoutParams = (LayoutParams) messageTextView.getLayoutParams(); messageLayoutParams.addRule(this.isIncoming? RelativeLayout.ALIGN_PARENT_START : RelativeLayout.ALIGN_PARENT_END); messageTextView.setLayoutParams(messageLayoutParams); LayoutParams detailLayoutParams = (LayoutParams) detailTextView.getLayoutParams(); detailLayoutParams.addRule(this.isIncoming ? RelativeLayout.ALIGN_PARENT_START : RelativeLayout.ALIGN_PARENT_END); detailTextView.setLayoutParams(detailLayoutParams); detailTextView.setText(this.detail); } } /** * A list adapter for call context information. We use the same adapter for both business and * contact context. */ private class InCallContactInteractionsListAdapter extends ArrayAdapter<ContactContextInfo> { // The resource id of the list item layout. int mResId; public InCallContactInteractionsListAdapter(Context context, int resource) { super(context, resource); mResId = resource; } @Override public View getView(int position, View convertView, ViewGroup parent) { View listItem = mInflater.inflate(mResId, null); ContactContextInfo item = getItem(position); if (item == null) { return listItem; } item.bindView(listItem); return listItem; } } }
41.395
100
0.636913
d462db72f2168e62c5bf9d52e950981172560c20
754
package com.sme.java8.patterns.td; import com.sme.java8.patterns.model.Address; import com.sme.java8.patterns.model.Person; /** * Person */ public class PersonTD { /** * Create {@link Person}. * * @return Returns {@link Person} instance. */ public static Person createPerson() { final Address address = new Address(); address.setId(10); address.setCity("city"); address.setState("state"); address.setStreet("street"); address.setZipCode("zipCode"); final Person person = new Person(); person.setId(1); person.setFirstName("firstName"); person.setLastName("lastName"); person.setAddress(address); return person; } }
22.176471
47
0.603448