text
stringlengths
3.08k
15.2k
/* * Copyright 2010 Happy-Camper Street. * * 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 a...
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
/* * Copyright 2020 FormDev Software GmbH * * 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...
package us.ihmc.robotics.numericalMethods; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import org.junit.Test; import us.ihmc.tools.continuousIntegration.ContinuousIntegrationAnnotations.ContinuousIntegrationTest; import us.ihmc.tools.testing.MutationTestingTools; public class Q...
/* * 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")...
import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Scanner; public class Day16 { private ArrayList<String> fields; private String myTicket; private ArrayList<String> nearbyTickets; public static void main(String[] args) { new Day16(); } public Day16() {...
/* * Copyright (C) 2015 Google Inc. * * 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 ...
/* * Created on May 19, 2004 */ package net.charabia.jsmoothgen.application.swtgui; import net.charabia.jsmoothgen.application.JSmoothModelBean; import net.charabia.jsmoothgen.application.swtgui.resources.JSmoothResources; import org.eclipse.swt.SWT; import org.eclipse.swt.SWTException; import org.eclipse.swt.event...
package org.jeecg.modules.staff.controller; import java.util.Arrays; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.jeecg.common.api.vo.Result; import org.jeecg.common.system.query.QueryGenerator; import org.jeecg.modules.staff.entity.RegisteredInfo; import org....
/** * Copyright (c) 2014, 2017 ControlsFX * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
package com.example.ludit.games; import android.content.SharedPreferences; import android.media.MediaPlayer; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.View; import android.widget.ImageView; import androidx.appcompat.app.AlertDialog; im...
/* * 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...
package com.czfx.gulimall.auth.controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.TypeReference; import com.czfx.common.constant.AuthServerConstant; import com.czfx.common.utils.HttpUtils; import com.czfx.common.utils.R; import com.czfx.gulimall.auth.feign...
package org.microfuse.file.sharer.bootstrap; import com.google.common.io.Closeables; import org.microfuse.file.sharer.node.commons.Constants; import org.microfuse.file.sharer.node.commons.communication.messaging.MessageType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import j...
/* * Copyright (c) 2019 OpenFTC Team * * 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, publis...
/* * Copyright (c) 2014-2015 dCentralizedSystems, LLC. All Rights Reserved. * * 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 requi...
/* Copyright 2016 - Central 1 Credit Union - https://www.central1.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 l...
/* * 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 ...
package ru.phi.modules.rest; import com.google.common.collect.Sets; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Sort; import org.springframework.http.MediaType; import org.springframework.security.access.prepo...
package com.obtuse.ui.vsp.future; /* * <p>Copyright © 2020 Obtuse Systems Corporation</p> * <p>Created by danny on 2020/01/06.</p> */ import com.obtuse.exceptions.HowDidWeGetHereError; import com.obtuse.ui.vsp.*; import com.obtuse.util.ObtuseUtil; import com.obtuse.util.UniqueId; import org.jetbrains.annotations.N...
package edu.berkeley.nlp.lm; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.Random; import edu.berkeley.nlp.lm.collections.Counter; import edu.berkeley.nlp.lm.map.ContextEncodedNgramMap; import edu.berkeley.nlp.lm.map.NgramMap; import edu.berkeley.nlp.lm.values.ProbBa...
/* * Copyright (c) 2015 <NAME> * This file is part of Project Ethercis * * 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 requ...
package simplejava.examples.graphics.Invaders; import java.io.IOException; import simplejava.graphics.Canvas; import simplejava.graphics.Color; import simplejava.graphics.Drawable; import simplejava.graphics.GraphicApplication; import simplejava.graphics.Image; import simplejava.graphics.Point; import simplejava.grap...
/** * Copyright (C), 2007-2014, eFuture 北京富基融通科技有限公司 * FileName: ServiceVersion.java * Author: 亮 * Date: 2014-10-31 上午9:42:23 * Description: * History: * <author> <time> <version> <description> * */ package com.efuture.wechat.common; import com.alibaba.fastjson.JSONObject; import com.efuture.wechat.ut...
/* * Created on 27/10/2006 * * Copyright 2005-2010 Ignis Software Tools Ltd. All rights reserved. */ package jsystem.treeui.suteditor; import java.awt.Container; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; ...
package azkaban.web.pages; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedHashMap; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import azkaban.flow.Compo...
package org.yeastrc.paws.server_communication; import java.io.ByteArrayOutputStream; import java.io.InputStream; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHt...
/* * Copyright 2022 HEAVY.AI, Inc. * * 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...
/* * (c) Copyright 2019 Palantir Technologies Inc. All rights reserved. * * 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 ...
package com.cy.http.utils; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.Closeable; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.RandomAccessFile; import java.io....
/* * Copyright 2016 Crown Copyright * * 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...
package com.bytedance.tools.codelocator.parser; import com.bytedance.tools.codelocator.model.Dependencies; import com.bytedance.tools.codelocator.model.DependenciesInfo; import com.bytedance.tools.codelocator.utils.Log; import org.jetbrains.annotations.Nullable; import java.io.BufferedReader; import java.io.IOExcept...
/* * Copyright (C) 2017 Google Inc. * * 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 agree...
package com.github.peacetrue.tree; import com.github.peacetrue.tree.extractor.Extractor; import com.github.peacetrue.tree.extractor.StringExtractor; import com.github.peacetrue.tree.iterate.ConsumerIterator; import java.util.*; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.stream.Collectors; /*...
/* * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
/* * @(#)ImageTool.java * * Copyright (c) 1996-2010 by the original authors of JHotDraw * and all its contributors. * All rights reserved. * * The copyright of this software is owned by the authors and * contributors of the JHotDraw project ("the copyright holders"). * You may not use, copy or modify this soft...
/** ========================================================================= * * Copyright (C) 2011, 2012 IBM Corporation * * based on work of * * Copyright (C) 2006, 2007 TAO Consulting Pte <http://www.taoconsulting.sg/>...
/* * 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 ...
/* * Copyright (C) 2013 <NAME>, Inc. (www.lisa-park.net) * * 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. * * ...
package output.util; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.Scanner; import java.util.TreeSet; import java.util.regex.Matcher; import jav...
/* * Copyright 2013-2017 <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditions and the fo...
package org.metaborg.spoofax.meta.core.pluto.build; import java.io.File; import java.io.IOException; import java.nio.file.Path; import java.util.List; import java.util.regex.Pattern; import org.apache.commons.io.FileUtils; import org.metaborg.spoofax.meta.core.pluto.SpoofaxBuilder; import org.metaborg.spoofax.meta.co...
package com.hzxy.modules.jsmscode.service; import cn.jiguang.common.ClientConfig; import cn.jiguang.common.ServiceHelper; import cn.jiguang.common.connection.ApacheHttpClient; import cn.jiguang.common.resp.APIConnectionException; import cn.jiguang.common.resp.APIRequestException; import com.hzxy.modules.jsmscode.clien...
/* * Copyright 2014-2018 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package edu.kit.mima.gui.components.tabframe.popuptab; import com.weis.darklaf.components.border.AdaptiveLineBorder; import edu.kit.mima.gui.icon.Icons; import com.weis.darklaf.components.alignment.Alignment; import edu.kit.mima.gui.components.button.IconButton; import edu.kit.mima.gui.components.tabbedpane.DnDTabbedP...
/* * Copyright 2012 - 2020 <NAME> * * 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 t...
package org.voimala.myrts.screens.gameplay.units.turrets; import com.badlogic.gdx.math.Vector2; import org.voimala.myrts.screens.gameplay.units.AbstractUnit; import org.voimala.myrts.screens.gameplay.weapons.AbstractWeapon; import org.voimala.myrts.screens.gameplay.world.AbstractGameObject; import org.voimala.utility....
/* * 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 ...
/* CFGrl Version 2 -- converts .cfg-r file to equivalent .cfg file Author: <NAME> Version: 2-071105.0 Input: .cfg-r file with a single derivation Output: .cfg file with abbreviated forward leftmost version of the derivation Supersedes Version 1, available at http://www.student.cs.uwaterlo...
/*- * #%L * Elastic APM Java agent * %% * Copyright (C) 2018 - 2019 Elastic and contributors * %% * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. ...
package seedu.address.logic.commands; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static seedu.address.logic.commands.CommandTestUtil.assertCommandFailure; import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess; import static seedu.address.test...
import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.Arrays; import com.nag.exceptions.NAGBadIntegerException; import com.nag.routines.Routine; import com.nag.routines.E04.E04MT; import com.nag.routines.E04.E04RA; import com.nag.ro...
package rlbot.manager; import rlbot.ControllerState; import rlbot.Hivemind; import rlbot.cppinterop.RLBotDll; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicBoolean; import java.util.function.Function; /** ...
package com.L0v4iy.deezer; import com.L0v4iy.deezer.client.DeezerApiWrapper; import com.L0v4iy.deezer.crypto.AudioDecrypter; import com.L0v4iy.deezer.crypto.AudioLoader; import com.L0v4iy.deezer.domain.Track; import com.L0v4iy.deezer.domain.Tracks; import com.L0v4iy.deezer.domain.internal.search.Search; import com.L0v...
/******************************************************************************* * Copyright 2019 grondag * * 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/l...
/******************************************************************************* * Copyright (c) 1998, 2014 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1...
/****************************************************************************** * * * Copyright (c) 1999-2003 Wimba S.A., All Rights Reserved. * * ...
package org.oikarinen.iwantdemo.wsdef; import java.util.Arrays; import java.util.LinkedHashSet; import java.util.Set; import org.fluentjava.iwant.api.core.SubPath; import org.fluentjava.iwant.api.javamodules.JavaBinModule; import org.fluentjava.iwant.api.javamodules.JavaClasses; import org.fluentjava.iwant.api.javamo...
/** * Copyright 2015 <NAME> * * 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 ...
package models; import info.schleichardt.play2.mailplugin.Mailer; import models.enumeration.UserState; import org.apache.commons.lang.exception.ExceptionUtils; import org.apache.commons.mail.HtmlEmail; import org.joda.time.DateTime; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Elemen...
package com.horizon.randomplay.series; import android.content.Context; import com.horizon.randomplay.components.series.Episode; import com.horizon.randomplay.components.Mood; import com.horizon.randomplay.components.series.MoodsSeries; import com.horizon.randomplay.components.series.Season; import com.horizon.random...
package com.echostreams.pulsar.jms.example.jms1; import com.echostreams.pulsar.jms.client.PulsarConnection; import com.echostreams.pulsar.jms.client.PulsarConnectionFactory; import com.echostreams.pulsar.jms.config.PulsarConfig; import org.apache.pulsar.client.api.*; import org.apache.pulsar.client.impl.ConsumerBuilde...
package se.popcorn_time.base.database.tables; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.support.annotation.NonNull; import android.text.TextUtils; import java.io.File; import java.util.Locale; import se.popcorn_time.ba...
package com.diozero.sampleapps.mfrc522; /*- * #%L * Organisation: diozero * Project: diozero - Sample applications * Filename: MFRC522Test.java * * This file is part of the diozero project. More information about this project * can be found at https://www.diozero.com/. * %% * Copyright (C) 2016 - 20...
package org.apache.mina.transport.rawsocket; import java.util.Hashtable; import org.jnetpcap.Pcap; import org.jnetpcap.PcapBpfProgram; import org.jnetpcap.packet.JRegistry; import org.jnetpcap.packet.PcapPacket; import org.jnetpcap.packet.PcapPacketHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /*...
package src; import src.GameObject.Moveable.Tank; import src.GameObject.Moveable.Bullet; import src.GameObject.Stationary.BreakWall; import src.GameObject.Stationary.Wall; import src.GameObject.Stationary.PowerUp; import javax.swing.JPanel; import java.awt.Graphics; import java.awt.Font; import java.awt.Colo...
package com.tonyk.veffects.activity; import java.io.IOException; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.graphics.BitmapFactory; import android.graphics.BitmapFactory.Options; import android.media.ExifInterface; import android.net.Uri; import android....
/* * Copyright (c) 2011-2020, baomidou (<EMAIL>). * <p> * 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 * <p> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by a...
/* * 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 co.edu.uniandes.csw.idiomas.persistence; import co.edu.uniandes.csw.idiomas.entities.EncuentroEntity; import java.util.List; i...
package io.keyko.nevermined.cli; import com.google.common.base.Charsets; import io.keyko.nevermined.NeverminedCLI; import io.keyko.nevermined.cli.helpers.Constants; import io.keyko.nevermined.models.contracts.ProvenanceEntry; import io.keyko.nevermined.models.contracts.ProvenanceEvent; import io.keyko.nevermined.model...
package algorithms.imageProcessing.scaleSpace; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.logging.Logger; /** * class to use CSSContourMatcher to match the given contours lists from the * edges of two different images * with logic to retry with reverse ordered...
package animation3d.gui; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.util.ArrayList; import javax.swing.JButton; im...
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * 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.or...
/* * Copyright (c) 2011-2014, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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.apach...
package com.javaweb.servlet; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import ...
package com.agile.framework.utils; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.List; impor...
package com.thunderpunch.spherelayoutlib.layout; import android.animation.AnimatorSet; import android.animation.ValueAnimator; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.view.animation.DecelerateInterpolator; import android.view.animation.Interpolat...
/* * JBoss, Home of Professional Open Source * Copyright 2013, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.affair.entity; import com.fasterxml.jackson.annotation.JsonFormat; import com.thinkgem.jeesite.common.persistence.DataEntity; import com.thinkgem.jeesite.common.util...
package mailServer; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.Socket; import java.util.ArrayList; public class POP3Client { /***********TestClient************************************...
package com.example.voicerecognizersp; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Locale; import org.apache.commons.math3.stat.descriptive.DescriptiveStatistics; i...
// Copyright 2019 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 ...
package com.threed.jpct.demos.shader; import org.lwjgl.input.Mouse; import com.threed.jpct.*; import com.threed.jpct.util.*; public class ParallaxMapping { private World world; private FrameBuffer buffer; private Object3D plane; private Light light; private GLSLShader shader; private float scale...
package plugin.google.maps; import android.content.res.AssetManager; import android.util.Log; import android.view.View; import android.webkit.WebView; import com.google.android.libraries.maps.model.TileOverlay; import com.google.android.libraries.maps.model.TileOverlayOptions; import org.apache.cordova.CallbackConte...
package com.king.demo.contact; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import com.king.demo.R; import com.king.demo.contact.contacts.Contact; import android.content.Context; import android.text.TextUtils; import and...
package unesc.grammar; import java.util.HashMap; import java.util.Map; import java.util.StringTokenizer; public class Grammar { /* constants: */ public static final Map<String, Integer> LINGUAGEM = new HashMap<String, Integer>(); public static final Map<String, String> GRAMATICA = new HashMap<String, S...
/* * Copyright 2014 Grafos.ml * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agre...
/* * Copyright (c) 2008 <NAME>. * * 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 ...
/*- * #%L * Elastic APM Java agent * %% * Copyright (C) 2018 - 2019 Elastic and contributors * %% * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. ...
/* * Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. * * 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 ...
package com.eudycontreras.othello.tooling; import java.util.ArrayList; import java.util.List; import com.eudycontreras.othello.threading.ThreadManager; import com.eudycontreras.othello.tooling.FXSpan.ISpan; import javafx.application.Platform; /** * <H2>Created by</h2> <NAME> * <h4> Mozilla Public Lice...
package cc.cxsj.nju.gobang.chess; import cc.cxsj.nju.gobang.ui.MainFrame; import org.apache.log4j.Logger; import cc.cxsj.nju.gobang.Main; import cc.cxsj.nju.gobang.config.ServerProperties; import java.util.IntSummaryStatistics; public class ChessBoard { private static final Logger LOG = Logger.getLogger(Main.cla...
/* * 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 ...
package com.emergentideas.webhandle.bootstrap; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import com.emergentideas.logging.Logger; import com.emergentideas.logging.SystemOutLogger; import com.emergentideas.webhandle.AppLocation; import...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * 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 a...
/* * Copyright (C) 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package com.gerken.xaa.model.backup; // Begin imports import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.eclipse.core.resources.IFi...
/* * Copyright (c) 2002-2022 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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....
/* * FASE.java * * @author <NAME> (<EMAIL>) * * 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 requir...