text
stringlengths
7
995k
/* 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 * distribut...
package com.qyh.coderepository.menu.dagger.annotation; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import javax.inject.Scope; /** * @author 邱永恒 * @time 2017/11/15 10:39 * @desc Fragment作用域 */ @Scope @Retention(RetentionPolicy.RUNTIME) public @interface PreFragment { }
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2005, 2006, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "Li...
/* * Copyright (c) 2008-2019, 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 ch.makery.address.view; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import ch.m...
package mb.sdf3; import mb.common.message.Severity; import mb.constraint.common.ConstraintAnalyzer; import mb.constraint.common.ConstraintAnalyzer.MultiFileResult; import mb.constraint.common.ConstraintAnalyzer.SingleFileResult; import mb.constraint.common.ConstraintAnalyzerContext; import mb.jsglr1.common.JSGLR1Parse...
package org.springframework.samples.merlantico.model; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToMany; import javax.persistence.ManyToOne; import javax.persistence.OneToOne; import javax.persistence.Table;...
package io.tarantool.driver.integration; import io.tarantool.driver.ClusterTarantoolTupleClient; import io.tarantool.driver.ProxyTarantoolTupleClient; import io.tarantool.driver.TarantoolClientConfig; import io.tarantool.driver.TarantoolClusterAddressProvider; import io.tarantool.driver.TarantoolServerAddress; import ...
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2016-2020 AppyBuilder.com, All Rights Reserved - Info@AppyBuilder.com // https://www.gnu.org/licenses/gpl-3.0.en.html // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2012 MIT, All rights reserved // Released under the Apache License, Version 2...
/** * Copyright (c) 2018 Uber Technologies, 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...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 // 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: 2012.08.25 at 0...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2009 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") (...
/** * iBizSys 5.0 用户自定义代码 * http://www.ibizsys.net */ package net.ibizsys.psrt.srv.common.entity; /** * 实体[TSSDTaskLog] 数据对象 */ //@Entity public class TSSDTaskLog extends TSSDTaskLogBase { public TSSDTaskLog() { super(); } }
package com.mob.developer; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.widget.AbsListView; import android.widget.EditText; import java.io.IOException; import okhttp3.OkHttpClient; import okhttp3.Request; imp...
/** * <Neha Lalwani>, <001268916>, <lalwani.n@husky.neu.edu> * <Nirali Merchant>, <001268909>, <merchant.n@husky.neu.edu> * <Chintan Koticha>, <001267049>, <koticha.c@husky.neu.edu> * <Apoorva Lakhmani>, <001256312>, <lakhmani.a@husky.neu.edu> */ package com.csye6225.demo.controllers; import com.amazonaws.auth....
/* * Copyright (C) 1999-2011 University of Connecticut Health Center * * Licensed under the MIT License (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.opensource.org/licenses/mit-license.php */ package cbit.vcell.so...
package com.ow.tracer.common.base; import java.util.HashMap; import java.util.Map; /** * @auther: Easy * @Date: 18-9-6 01:43 * @Description:返回成功 */ public enum BaseEnums implements BaseEnum<String,String> { SUCCESS("request.success", "请求成功"), FAILURE("request.failure", "请求失败"), OPERATION_SUCCESS(...
package com.produtos.apirest.resources; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org....
/* * Copyright 2000-2021 Vaadin 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* # Copyright (c) 2017 European Commission # Licensed under the EUPL, Version 1.2 or – as soon they will be # approved by the European Commission - subsequent versions of the # EUPL (the "Licence"); # You may not use this work except in compliance with the Licence. # You may obtain a copy of the ...
package com.oguzdev.hnclient; import java.io.Serializable; public class NewsItem implements Serializable { /** * */ private static final long serialVersionUID = 8382843960451352970L; private String itemId; private String title; private String externalUrl; private String domain; private String pointsText;...
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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 agre...
/* * 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")...
/* * BSD 3-Clause License - imaJe * * Copyright (c) 2016, Michael Ludwig * 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 copyrig...
package com.knight.designpatterns.creational.prototype; import java.util.Hashtable; import com.knight.designpatterns.creational.prototype.shape.Circle; import com.knight.designpatterns.creational.prototype.shape.Rectangle; import com.knight.designpatterns.creational.prototype.shape.Shape; import com.knight.designpatt...
package gtd.stack.filter.after; import gtd.stack.filter.IAfterFilter; public class CharRangeFollowRequirement implements IAfterFilter{ private final char from; private final char to; public CharRangeFollowRequirement(char from, char to){ super(); this.from = from; this.to = to; } public boolean isFi...
/** * */ package hu.hw.cloud.shared.cnst; import java.io.Serializable; /** * @author CR * */ public enum InventoryType implements Serializable { PHYS("PHYS"), GENE("GENE"), COMP("COMP"); private final String text; /** * @param text */ InventoryType(final String text) { this.text = text; } /* * ...
/* * 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 ...
package com.airsltd.core.data; import static org.junit.Assert.*; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import com.airsltd.core.data.Tuple; public class TupleTest { @BeforeClass public static void setUpBeforeClass() throw...
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2020 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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...
package com.flylikewind.mobilesecurityguard.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class BlackNumberDBHelper extends SQLiteOpenHelper { public BlackNumberDBHelper(Context context) { super(context, "blacknumber", nu...
package de.unigoe.informatik.swe.kcast.declaration; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import de.unigoe.informatik.swe.kcast.initialisation.MyInitialisation; import de.unigoe.informatik.swe.kcast.statement.MyBlock; import de.unig...
/** play a video by MediaPlayer.java */ { String path = "/sdcard/testvedio1.mp4"; MediaPlayer mediaPlayer = new MediaPlayer(); try { mediaPlayer.setDataSource(path); } catch (IOException io){ io.printStackTrace(); Log.e("DeviceInfo-PlayVideo", io.getMessage()); } MediaPl...
package vo; import javax.persistence.*; @Entity @Table(name = "category", schema = "exam") public class CategoryEntity { private int categoryId; private String categoryName; @Id @Column(name = "category_id") public int getCategoryId() { return categoryId; } public void setCategor...
package io.kowalski.cronnark; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; public class CronNarkTokenGen { public static void main(final String[] args) { final String compactJws = Jwts.builder() .setIssuer("cronnark.kowalski.io") .signWith(Signat...
/* * Copyright (c) 2016 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 in ...
package net.glowstone.command; import com.google.common.collect.ImmutableList; import net.glowstone.GlowWorld; import net.glowstone.entity.EntityRegistry; import net.glowstone.entity.GlowEntity; import net.glowstone.io.entity.EntityStorage; import net.glowstone.util.mojangson.Mojangson; import net.glowstone.util.mojan...
package cn.easy4j.oss.core.jackson; import com.fasterxml.jackson.annotation.JacksonAnnotationsInside; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation...
package com.jarvanmo.slientpackageinstaller; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test ...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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...
package net.teraware.util; import com.google.gson.Gson; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.util.Scanner; import javax.servlet.ServletContext; /** * Classe...
package pm.pride; import java.sql.SQLException; public final class EntityRevisioner { public static void revisionEntity(RecordDescriptor red, Object entity) throws SQLException { if (red instanceof RevisionedRecordDescriptor) { RecordDescriptor recordDescriptorForRevisioning = ((RevisionedRec...
package tech.quantit.northstar.strategy.api.utils.time; import java.time.Instant; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.ZoneId; import xyz.redtorch.pb.CoreField.BarField; import xyz.redtorch.pb.CoreField.TickField; public interface GetTime { static LocalTime from(TickField ti...
package timeboard.core.model; /*- * #%L * core * %% * Copyright (C) 2019 Timeboard * %% * 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 limitat...
/* * Copyright 2018 Shinya Mochida * * Licensed under the Apache License,Version2.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 wr...
/* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.gluu.oxauth.ws.rs; import static org.gluu.oxauth.model.register.RegisterRequestParam.APPLICATION_TYPE; import static org.gluu.oxauth.model.register.RegisterReque...
package com.udacity.gradle.builditbigger.service; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import android.util.Pair; import com.google.api.client.extensions.android.http.AndroidHttp; import com.google.api.client.extensions.android.json.AndroidJsonFactory; import com....
/** * Copyright 2008 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 applicable ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/logging/audit_data.proto package com.google.iam.v1.logging; public final class AuditDataProto { private AuditDataProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { }...
package org.apereo.cas.aup; import org.apereo.cas.util.CollectionUtils; import lombok.val; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.test.context.TestPropertySource; import static or...
/* * 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) 2011 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
import java.util.Random; /** * This subclass creates a unit circle distribution. * Random polar coordinates are made first, and then those are translated * into x and y coordinates. * * @author Vladimir Jovanovic * @version 1.0.0 * @since December 14, 2012 */ public class RGGUnitCircle extends RandomGeometric...
/* * MIT License * * Copyright (c) ReformCloud-Team * Copyright (c) contributors * * 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 th...
public class test { public int f() { return 1; } public static void g(container c) { if(c == null) return; test[] args = c.test_array; if(args == null || args.length != 1 || args[0] == null) return; asserthere.doassert(args[0].f() == 1); } } class container { public test[] test...
public class Basic { public static void main(String[] args) { BookList bookList = new BookList(); bookList.getConnection(); bookList.getBook(); // b1.printBookArr(); // 2. 배열 출력 // b.printObjArr(); // 4. 객체 배열 출력 - 이 메소드가 BookList안에 있을 경우! // for(int i = 0; i < b.bookArr.length; i++) { // private로 하면 이거...
/** * Copyright © 2016-2021 The Thingsboard 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 applicab...
package com.cm.thread.ConcurrentCollections.Day1; import java.util.*; import java.util.concurrent.CopyOnWriteArrayList; /** * 写是复制容器 * 多线程环境下,写时效率低,读时效率高 * 适合写少读多的场景 * * @author chengawu * @date 12/24/2018 3:43 PM */ public class T02_CopyOnWriteList { public static void main(String[] args) { // List...
package com.webank.weevent.governance.entity; import java.util.HashMap; import java.util.Map; import javax.persistence.Entity; import javax.persistence.Table; import javax.persistence.Transient; import javax.persistence.UniqueConstraint; import com.webank.weevent.governance.entity.base.RuleEngineBase; import lombok...
package org.infinispan.server.infinispan; import org.infinispan.factories.annotations.InfinispanModule; /** * {@code InfinispanModule} annotation is required for component annotation processing */ @InfinispanModule(name = "server-infinispan") public class Module implements org.infinispan.lifecycle.ModuleLifecycle {...
/* * Copyright 2020 ConsenSys AG. * * 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 wr...
package com.jhonystein.pedidex; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; @ApplicationPath("/api") public class App extends Application { }
package boa.datagen.bugForge; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import com.google.protobuf.ByteString; import b4j.core.DefaultAttachment; import b4j.core.DefaultComment; import b4j.core.DefaultIssue; import b4j.co...
package com.polidea.rxandroidble2.internal.connection; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCallback; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattDescriptor; import com.jakewharton.rxrelay2.PublishRelay; import com.jakewharton.rx...
/******************************************************************************* * Copyright (c) 2015 Mario Villacé * * 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...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.provisioning; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.ApplicationName; import com.yahoo.config.provision.ApplicationTransaction; i...
package com.stylefeng.guns.modular.mch.member.controller; import com.baomidou.mybatisplus.plugins.Page; import com.stylefeng.guns.core.base.controller.BaseController; import com.stylefeng.guns.core.common.constant.factory.PageFactory; import org.springframework.stereotype.Controller; import org.springframework.web.bi...
package br.com.zupacademy.felipe.gadelha.casadocodigo.domain.repository; import org.springframework.data.jpa.repository.JpaRepository; import br.com.zupacademy.felipe.gadelha.casadocodigo.domain.entity.Author; public interface AuthorRepository extends JpaRepository<Author, Long>{ }
/* * 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 ...
package org.corfudb.util.serializer; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufInputStream; import io.netty.buffer.ByteBufOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import lombok.extern.slf4j.Slf4j; import org.corfudb.runtime.Cor...
/* * Copyright 2015-2102 RonCoo(http://www.roncoo.com) Group. * * 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 req...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.masterdb.security.hibernate.bond; import com.opengamma.masterdb.security.hibernate.EnumBean; /** * Hibernate bean for storing an issuer type. */ public clas...
/* * Copyright (C) 2020 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 app...
package c1GuiComponents; import javax.swing.*; import java.awt.*; public class ShowBorderLayout extends JFrame { public ShowBorderLayout() { setLayout(new BorderLayout(2, 4)); add(new Button("North"), BorderLayout.NORTH); add(new Button("South"), BorderLayout.SOUTH); add(new Butto...
package io.github.pureza.happynews.command; import io.github.pureza.happynews.server.NNTPServer; import io.github.pureza.happynews.user.Editor; import io.github.pureza.happynews.user.User; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; /** * CD Command * * Allows the user to ch...
/* * Copyright 2013-2019 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 a...
/* * The MIT License (MIT) * * Copyright (c) 2020-2030 The XdagJ Developers * * 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 righ...
package com.h5g.bowling.common.model; import com.h5g.bowling.common.validation.TurnsHelper; import java.util.List; /** * The game score frame model. */ public class ScoreFrame { private List<FrameTurn> frameTurns; private FrameType frameType; public void setFrameType(FrameType frameType) { this.frameTy...
package illgirni.ds.ptde.pc.saveviewer.savefile.savedata.progress; import java.util.ArrayList; import java.util.List; import illgirni.ds.ptde.pc.saveviewer.savefile.savedata.datatype.Bonfire; import illgirni.ds.ptde.pc.saveviewer.savefile.savedata.datatype.BonfireStrength; /** * A "collection" of the kindle state o...
/* * 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 ...
package com.pandits.opensource; import java.util.Date; import java.util.TimeZone; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class JodaTimeUtilTest { private JodaTimeUtil jodaTimeUtil; @Before public void before() { jodaTimeUtil = new JodaTimeUtil(); } ...
/** * Copyright (C) 2016 - present McLeod Moores Software Limited. All rights reserved. */ package com.mcleodmoores.analytics.financial.curve.interestrate.curvebuilder; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import com.mcleodmoores.analytics...
package net.optifine.config; import java.util.Arrays; import java.util.regex.Pattern; import net.minecraft.nbt.NBTBase; import net.minecraft.nbt.NBTTagByte; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagDouble; import net.minecraft.nbt.NBTTagFloat; import net.minecraft.nbt.NBTTagInt; import n...
package app.stock; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.NoArgsConstructor; import lombok.Setter; @Setter @NoArgsConstructor @JsonIgnoreProperties(ignoreUnknown = true) public class Stock { private String id; private String name; public Stock(String id, String name)...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.batch.protocol.implementation; import com.microsoft.azure.A...
/* * 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 n...
/** * The MIT License * Copyright (c) 2014-2016 Ilkka Seppälä * <p> * 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 us...
package Warmup; public class _78GoDaddyAssessment { public static class ListNode { int val; ListNode next; ListNode(int x) { val = x; } } public static void main(String[] args) { ListNode ln=new ListNode(4); ln.next=new ListNode(2); ln.next.next=new ListNode(3); ln.next.next.next=new ListNode(4); l...
/** * This program and the accompanying materials * are made available under the terms of the License * which accompanies this distribution in the file LICENSE.txt */ package com.archimatetool.editor.views.tree.search; import org.eclipse.swt.SWT; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.ev...
package bs.framework.message; import bs.framework.account.IAccount; public interface IMessage { void sendMessage(IAccount account); }
/* * Copyright 2006-2019 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 a...
package com.wildbeeslabs.jentle.algorithms.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface ExceptionTest { ...
/* * The MIT License * * Copyright (c) 2018 ActiveEngine. * * 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...
package com.alipay.api.request; import com.alipay.api.domain.AlipayPassTemplateUpdateModel; import java.util.Map; import com.alipay.api.AlipayRequest; import com.alipay.api.internal.util.AlipayHashMap; import com.alipay.api.response.AlipayPassTemplateUpdateResponse; import com.alipay.api.AlipayObject; /** * ALIPAY ...
/* * Copyright (c) 2014 Hewlett-Packard Development Company, L.P. * * Copyright (c) 2017 SUSE 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/licens...
/* * Copyright 1999-2018 Alibaba Group Holding 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.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright (C) 2007 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 app...
package ara.kuet.musta; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.graphics.Color; import android.media.AudioManager; import android.os.Bundle; import android.support.v4.app.Fragment; import android.v...
package br.com.customers.repositories; import br.com.customers.entities.AddressEntity; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface AddressRepository extends JpaRepository<AddressEntity, Long > { }
/* * Copyright (c) 2010-2016, b3log.org & hacpai.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 applica...